Internal reference for Claude Code tools. Triggered when Claude uses wrong tool patterns.
/plugin marketplace add settlemint/agent-marketplace/plugin install crew@settlemintThis skill inherits all available tools. When active, it can use any tool Claude has access to.
references/external.mdreferences/file-operations.mdreferences/file-search.mdreferences/orchestration.mdreferences/user-interaction.mdNative tools are optimized for agent use. ALWAYS prefer over equivalent bash commands.
</objective><critical_rule>
| Bad (Bash) | Good (Native) |
|---|---|
find . -name "*.ts" | Glob({pattern: "**/*.ts"}) |
grep -r "pattern" . | Grep({pattern: "pattern"}) |
cat file.txt | Read({file_path: "file.txt"}) |
sed -i 's/old/new/' | Edit({old_string: "old", new_string: "new"}) |
echo "text" > file | Write({file_path: "file", content: "text"}) |
</critical_rule>
<routing>| Category | Reference | Tools |
|---|---|---|
| File Search | references/file-search.md | Glob, Grep |
| File Operations | references/file-operations.md | Read, Edit, Write |
| User Interaction | references/user-interaction.md | AskUserQuestion, TodoWrite |
| Agent Orchestration | references/orchestration.md | Task, TaskOutput |
| External Resources | references/external.md | WebFetch, WebSearch, Bash |
Related: ast-grep skill for structural code patterns.
<bash_subagent>
For commands with large output (tests, builds, CI), use the Bash subagent instead of direct Bash:
// DON'T: Direct Bash pollutes main context
Bash({ command: "bun run test" });
// DO: Bash subagent runs in separate context
Task({
subagent_type: "Bash",
prompt: "Run bun run test and report pass/fail with error details",
description: "test-runner",
});
When to use Bash subagent:
bun run test, vitest, jest)bun run ci, eslint, tsc)bun run build, turbo build)bun install, npm i)When to use direct Bash:
git status, ls, pwd</bash_subagent>
<quick_reference>
| Tool | Permission | Purpose |
|---|---|---|
| Glob | No | Find files by pattern |
| Grep | No | Search file contents |
| Read | No | Read file contents |
| Edit | Yes | Modify files |
| Write | Yes | Create/overwrite files |
| AskUserQuestion | No | Interactive questions |
| TodoWrite | No | Task tracking |
| Task | No | Spawn sub-agents |
| TaskOutput | No | Get agent results |
| Bash | Yes | Shell commands |
</quick_reference>
<common_patterns>
// Search then read
Glob({ pattern: "src/**/*.ts" });
Grep({ pattern: "function handleAuth", type: "ts" });
Read({ file_path: "src/auth/handler.ts" });
// Edit workflow (ALWAYS read first)
Read({ file_path: "path/to/file.ts" });
Edit({
file_path: "path/to/file.ts",
old_string: "const x = 1",
new_string: "const x = 2",
});
// Agent orchestration
Task({
subagent_type: "Explore",
prompt: "...",
description: "task",
run_in_background: true,
});
TaskOutput({ task_id: "abc123", block: true });
</common_patterns>
<success_criteria>
find/ls)grep/rg)cat/head/tail)sed/awk)</success_criteria>