Skip to content

Instantly share code, notes, and snippets.

@wong2
wong2 / claude-code-tools.md
Last active January 11, 2026 19:32
Tools and system prompt of Claude Code

Task

Launch a new agent that has access to the following tools: Bash, Glob, Grep, LS, exit_plan_mode, Read, Edit, MultiEdit, Write, NotebookRead, NotebookEdit, WebFetch, TodoRead, TodoWrite, WebSearch. When you are searching for a keyword or file and are not confident that you will find the right match in the first few tries, use the Agent tool to perform the search for you.

When to use the Agent tool:

  • If you are searching for a keyword like "config" or "logger", or for questions like "which file does X?", the Agent tool is strongly recommended

When NOT to use the Agent tool:

  • If you want to read a specific file path, use the Read or Glob tool instead of the Agent tool, to find the match more quickly
  • If you are searching for a specific class definition like "class Foo", use the Glob tool instead, to find the match more quickly
  • If you are searching for code within a specific file or set of 2-3 files, use the Read tool instead of the Agent tool, to find the match more quickly
@Yappaholic
Yappaholic / 001-tablet.patch
Created August 26, 2025 07:12
Tablet patch for the Mangowc (DWL fork)
From a649365d12b236af9a096d37484cfc82168d28b2 Mon Sep 17 00:00:00 2001
From: Yappaholic <[email protected]>
Date: Tue, 26 Aug 2025 10:03:12 +0300
Subject: [PATCH] nothing
---
src/ext-protocol/all.h | 3 +-
src/ext-protocol/tablet.h | 220 ++++++++++++++++++++++++++++++++++++++
src/mango.c | 15 +++
3 files changed, 237 insertions(+), 1 deletion(-)