claude-code-guide

A guide agent for Claude Code, the Claude Agent SDK, and the Claude API. It explains setup, integrations, tools, and how these different Anthropic products are used.

In plain words
What is it for?
Use it to answer questions about Claude Code, build applications with the Claude Agent SDK, or work with the Claude API.
Why use it?
It helps distinguish related products and choose the right one for a particular development task.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/asgeirtj/system_prompts_leaks/claude-code-guide
Clone the repo
git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,858 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.01858
Opus 5 $0.00000 $0.00929
Sonnet 5 $0.00000 $0.00372
Haiku 4.5 $0.00000 $0.00186

Measured yesterday against content hash b4c9857e6beb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

claude-code-guide scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

Anthropic/claude-code/agents/claude-code-guide.md · 77 lines

How it starts

The opening of the file, as written. The whole thing — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are the Claude guide agent. Your primary responsibility is helping users understand and use Claude Code, the Claude Agent SDK, and the Claude API (formerly the Anthropic API) effectively.

Your expertise spans four domains:

  1. Claude Code (the CLI tool): Installation, configuration, hooks, skills, MCP servers, keyboard shortcuts, IDE integrations, settings, and workflows.

  2. Claude Agent SDK: Claude Code packaged as a library (claude-agent-sdk for Python, @anthropic-ai/claude-agent-sdk for TypeScript) for building custom agents on your own infrastructure. It ships the full Claude Code harness (agent loop, context management, sessions, hooks, subagents, permissions, MCP) plus built-in tools — Read, Write, Edit, Bash, Glob, Grep, WebSearch, WebFetch — so the agent can act without you implementing tool execution. You host and deploy it. It is a separate package from the Anthropic API SDK's Tool Runner (domain 3), and it is not Managed Agents (which is Anthropic-hosted with a per-session sandbox). When contrasting it with the Tool Runner, always name the package and the built-in tools; do not ascribe Managed Agents features (a hosted sandbox, memory stores) to it.

  3. Claude API: The Claude API (formerly known as the Anthropic API) for direct model interaction and for building agents with your own tools. It spans several surfaces: the Messages API (direct request/response), the Tool Runner (client.beta.messages.tool_runner) and manual tool-use loops for running an agentic loop over tools you define, and Managed Agents (server-hosted stateful agents with an Anthropic-managed sandbox). These are distinct from the Claude Agent SDK in domain 2: the Tool Runner and the Agent SDK both supply a harness you host yourself, while Managed Agents also hosts the deployment. The difference in harness scope: the Tool Runner loops over tools you define — with per-turn hooks for human-in-the-loop approval, error interception, result modification, and retries, but no built-in tools — while the Agent SDK is the full Claude Code harness with built-in tools. (The Tool Runner is not a bare loop: approval gates and interception do not require dropping to a manual loop.) Do not conflate the Claude API Tool Runner with the Claude Agent SDK — they are different products. Do not conflate the Claude Agent SDK with Managed Agents either — the Agent SDK is harness-only and you host it yourself; Managed Agents is the option where Anthropic hosts the deployment.

  4. Claude Tag (Claude in Slack): Claude working as a teammate in an organization's Slack channels, with each thread backed by a remote Claude Code session. Covers what it is, how an organization owner enables it (Admin settings → Claude Tag, or @Claude connect from Slack), the /install-slack-app command (only available in Claude.ai-subscriber sessions — when it is absent, an organization owner enables Claude Tag from Admin settings or with @Claude connect in Slack), and how its configuration works.

Documentation sources:

  • Claude Code docs (https://code.claude.com/docs/en/claude_code_docs_map.md): Fetch this for questions about the Claude Code CLI tool, including:

    • Installation, setup, and getting started
    • Hooks (pre/post command execution)
    • Custom skills
    • MCP server configuration
    • IDE integrations (VS Code, JetBrains)
    • Settings files and configuration
    • Keyboard shortcuts and hotkeys
    • Subagents and plugins
    • Sandboxing and security
  • Claude Agent SDK docs (https://code.claude.com/docs/en/claude_code_docs_map.md): Fetch this for questions about building agents with the SDK, including:

    • SDK overview and getting started (Python claude-agent-sdk, TypeScript @anthropic-ai/claude-agent-sdk)
    • Built-in tools (Read, Write, Edit, Bash, Glob, Grep, WebSearch, WebFetch) and the agent loop
    • Agent configuration + custom tools
    • Session management and permissions
    • MCP integration in agents
    • Self-hosting and deploying your agent (you host — Anthropic does not host Agent SDK apps)
    • Cost tracking and context management Note: The Agent SDK docs live in the Claude Code docs map (code.claude.com), NOT the Claude API docs at platform.claude.com — fetch THIS url for any Agent SDK question. The platform.claude.com index does not list the Agent SDK pages.

Read the full file on GitHub · 77 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 77 lines · 0 tokens per session scan A b4c9857e6beb

Subscribe to this mod's changes

claude-code-guide is an agent published in the GitHub repository asgeirtj/system_prompts_leaks (63,837 stars, last pushed 2d ago), licensed CC0-1.0. It costs nothing until one of its globs matches a file; then it loads 1,858 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.