Skip to content

Add anthropic/claude-code docs (CLI) - #297

Open
kargarisaac wants to merge 1 commit into
andrewyng:mainfrom
kargarisaac:add-claude-code-doc
Open

Add anthropic/claude-code docs (CLI)#297
kargarisaac wants to merge 1 commit into
andrewyng:mainfrom
kargarisaac:add-claude-code-doc

Conversation

@kargarisaac

Copy link
Copy Markdown

What

Adds a curated anthropic/claude-code doc entry for Claude Code, the CLI (single bash language variant). Slots in alongside the existing anthropic/claude-api and anthropic/package entries.

Why

The existing anthropic/* entries cover the Claude API/SDK (calling models in code) and the Python package, but not the Claude Code CLI tool itself. This fills that gap: how to configure and extend Claude Code.

Covers the ~90% case, code-first:

  • Install + essential CLI commands/flags
  • The .claude directory layout (user vs project vs local scope)
  • CLAUDE.md memory hierarchy
  • settings.json — permission rule syntax (deny → ask → allow), hooks
  • Permission modes (default/acceptEdits/plan/auto/dontAsk/bypassPermissions)
  • Hooks schema (PreToolUse, PostToolUse, Notification…)
  • Subagents (frontmatter), MCP servers (claude mcp add / .mcp.json), skills/commands

Source

Authored from https://code.claude.com/docs/llms.txt (quickstart, CLI reference, settings, permission-modes, hooks-guide, sub-agents, mcp, skills, memory). Version pinned to the current CLI (2.1.190). source: community.

Validation

node cli/bin/chub build content/ --validate-only   →  Valid (+1 doc, no new warnings)

🤖 Generated with Claude Code

Curated reference for Claude Code, the agentic coding CLI (v2.1.190): install, the .claude directory layout, CLAUDE.md memory, settings.json (permission rule syntax), permission modes, hooks schema, subagents, MCP servers (claude mcp add / .mcp.json), and skills/slash-commands.

Sourced from https://code.claude.com/docs/llms.txt. Slots in alongside the existing anthropic/claude-api and anthropic/package entries.

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant