Skip to main content
prompt GP ChatGPT

07-tool-system — Claude Code prompt: tool audit

07-tool-system is a Claude Code prompt for auditing the CLI tool interface, registry, and imports. It also asks for a smoke test that loads the available tools.

no license ★ 3,444 updated 2026-10-14

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/commands/07-tool-system.md
Open on GitHub

What 07-tool-system does

The prompt directs the agent to inspect the Tool interface and execution context, then review the registry in src/tools.ts and tool files under src/tools/. It asks the agent to identify tools controlled by feature flags or USER_TYPE and check imports under both enabled and disabled conditions.

Ten core tools are singled out, covering file operations, search, shell commands, and sub-agent spawning. The task also includes fixing import errors and writing scripts/test-tools.ts to load the registry through getTools() and print the available tools. Run the check with bun scripts/test-tools.ts in the Claude Code project.

What it helps with

  • document the Tool interface and permission checks
  • sort registry entries by availability and gating conditions
  • find missing tool files and unresolved imports
  • write a smoke test for loading the tool registry

Example prompts for the agent

  • Inspect the Tool interface and document the data passed to tool execution.
  • Audit the tool registry and test imports with feature flags enabled and disabled.
  • Create scripts/test-tools.ts and check that the core tools load.

How to install 07-tool-system

Manually: put the files in place

.claude/commands/07-tool-system.md

Questions about 07-tool-system

How do I install 07-tool-system in Claude Code?

Place the command file at .claude/commands/07-tool-system.md.

What does 07-tool-system do?

It guides an audit of the tool interface, registry, and imports, then asks for a script that checks tool loading.

What does 07-tool-system need to run?

It needs the Claude Code source project. The loading check uses Bun and runs with bun scripts/test-tools.ts.

Similar prompts

All prompts for Agent setup: memory, context, orchestration →

From the same set17

The whole set →
15-production-bundle 15-production-bundle is a Claude Code prompt for configuring production bundling and packaging of CLI tools for Node.js 20+ and Bun 1.1+. GP ChatGPT ★ 3,444repo stars 11-mcp-integration The 11-mcp-integration prompt guides an investigation of Claude Code’s MCP client and server mode. Use it to inspect configuration and outline a client-to-server test. GP ChatGPT ★ 3,444repo stars 10-context-and-prompts 10-context-and-prompts takes the agent through the CLI prompt layer: reads the builder, repairs context collection on Linux, connects memory from CLAUDE.md. The last step is a script that prints the finished prompt. GP ChatGPT ★ 3,444repo stars 05-env-and-auth 05-env-and-auth sets up environment variables and tests API connectivity in claude-code workspaces. Creates a documented .env.example and builds a test script for Bun. GP ChatGPT ★ 3,444repo stars 06-ink-react-terminal-ui 06-ink-react-terminal-ui — a Claude prompt that follows the React + Ink render path in the claude-code repo, checks the components and theme, and ends with a working terminal render test. GP ChatGPT ★ 3,444repo stars 14-dev-runner The 14-dev-runner prompt configures a development runner for Claude Code to execute TypeScript directly with Bun. It eliminates the need for full production builds during iterative work. GP ChatGPT ★ 3,444repo stars 09-query-engine The 09-query-engine prompt guides an architecture review of QueryEngine and a basic conversation test against the Anthropic API. Use it to trace requests, streaming events, and tool calls. GP ChatGPT ★ 3,444repo stars 12-services-layer 12-services-layer — a prompt that configures Claude Code CLI background services: analytics, policy limits, remote settings, session memory, and bootstrap data. GP ChatGPT ★ 3,444repo stars

Project sponsors

Companies that keep this analytics open