claude-code

claude-code is a skill for Claude Code from berekvolgyipeter/dotclaude. It costs 92 tokens per session (954 once invoked), scanned A, original, MIT.

A skill for configuring and troubleshooting Claude Code, Anthropic’s command-line coding tool. It covers the tool’s extensions and settings, including MCP servers, skills, subagents, hooks, permissions, and keybindings.

In plain words
What is it for?
Setting up Claude Code, configuring its extensions and permissions, and troubleshooting its behavior.
Why use it?
Claude Code configuration can involve several files and extension types, so problems are often hard to locate. This provides guidance for choosing and diagnosing those configuration options.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

Good fit Setting up Claude Code, configuring its extensions and permissions, and troubleshooting its behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/berekvolgyipeter/dotclaude/claude-code
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.

Any agent
npx skills add berekvolgyipeter/dotclaude --skill claude-code
Clone the repo
git clone --depth 1 https://github.com/berekvolgyipeter/dotclaude

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for claude-code

README.md
[![agentmods](https://agentmods.dev/badge/skills/berekvolgyipeter/dotclaude/claude-code/github.svg)](https://agentmods.dev/skills/berekvolgyipeter/dotclaude/claude-code)
Your own site
<a href="https://agentmods.dev/skills/berekvolgyipeter/dotclaude/claude-code"><img src="https://agentmods.dev/badge/skills/berekvolgyipeter/dotclaude/claude-code/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for claude-code

Your own site · 80×15
<a href="https://agentmods.dev/skills/berekvolgyipeter/dotclaude/claude-code"><img src="https://agentmods.dev/badge/skills/berekvolgyipeter/dotclaude/claude-code.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 954 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00092 $0.00954
Opus 5.5 $0.00037 $0.00382
Sonnet 5.5 $0.00018 $0.00191
Haiku 4.5 $0.00009 $0.00095

Measured 1mo ago against content hash be4edbdeb089, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

claude-code 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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/fetch-claude-code-urls.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/claude-code/SKILL.md · 82 lines

How it starts

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

Claude Code

Overview

Claude Code is Anthropic's official CLI providing specialized subagents, extensibility (plugins, skills, hooks, MCP), and enterprise features (sandboxing, monitoring). See references/claude-code-urls.md for the full documentation index.

Instructions

Step 0 — Refresh the doc index when fetching docs

If you need to consult the official docs to answer (i.e. you'll hit step 1 or step 2 below), run bash ~/.claude/skills/claude-code/scripts/fetch-claude-code-urls.sh first to rewrite references/claude-code-urls.md from Anthropic's current llms.txt. Skip the refresh for purely conceptual answers or when the existing snapshot is sufficient.

Step 1 — Find the relevant doc

Read references/claude-code-urls.md to find the matching doc. Each line is:

- [Title](https://code.claude.com/docs/en/<page>.md): <description>

Match the user's question to the most relevant entry by title or description.

If no good match is found:

  • Try broad matching (e.g., user asks about "permissions" → check settings.md, permissions.md, plugins.md)
  • If still no match, try WebFetch of the most likely URL from the topic table below
  • If that fails, answer directly from your knowledge and suggest the user check the official docs at https://code.claude.com/docs

Step 2 — Answer the question

For capability/concept questions ("can Claude Code do X?", "what is Y?"):

  • Answer directly from your knowledge if confident
  • Cite the matching URL from claude-code-urls.md for further reading

For implementation/configuration questions (formats, schemas, syntax, step-by-step):

  • WebFetch the .md URL from claude-code-urls.md to get current, accurate details
  • Provide complete working examples with file paths
  • Always cite the source URL
  • If WebFetch fails, answer from your knowledge and note that you're using cached information

Key Topics → Doc Mapping

Common shortcuts — not exhaustive. Always consult claude-code-urls.md for the full list.

Read the full file on GitHub · 82 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 82 lines · 92 tokens per session scan A be4edbdeb089

Subscribe to this mod's changes

claude-code is a skill published in the GitHub repository berekvolgyipeter/dotclaude (2 stars, last pushed 3d ago), licensed MIT. It adds 92 tokens to every session and 954 once invoked, about $0.0004 per session on Opus 5.5. 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-31.