~ / rigs / anthropics / claude-agent-sdk-python

anthropics/claude-agent-sdk-python

No description.

↗ GitHub ★ 8,218 mit updated 3d ago project Claude Code Claude plugin
share on X
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
CONTEXT TAX · EVERY TURN
~1.1k tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
1/5
No YOLO mode · details

Copy this rig

# review before running: this installs third-party code
$ npx degit anthropics/claude-agent-sdk-python/.claude ./rig-claude-agent-sdk-python  # inspect, then merge into .claude/

MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.

$ npx degit anthropics/claude-agent-sdk-python/.claude/skills/verify .claude/skills/verify
$ curl -fsSL --create-dirs -o .claude/agents/test-agent.md https://raw.githubusercontent.com/anthropics/claude-agent-sdk-python/main/.claude/agents/test-agent.md

This rig commits no guardrails. Here is the community baseline instead — the deny/ask rules most often found across all 6,974 rigs:

{
  "permissions": {
    "deny": [
      "Read(./.env)",
      "Read(**/.env)",
      "Read(~/.ssh/**)",
      "Bash(rm -rf *)",
      "Read(**/*.pem)",
      "Bash(rm -rf /)",
      "Bash(git push --force:*)",
      "Bash(sudo *)",
      "Read(~/.aws/**)",
      "Bash(rm -rf /*)",
      "Read(./.env.*)",
      "Read(.env)",
      "Bash(git push --force*)",
      "Bash(rm -rf:*)",
      "Read(**/.env.*)",
      "Read(**/*.key)",
      "Bash(sudo:*)",
      "Bash(git reset --hard*)",
      "Bash(git reset --hard:*)",
      "Read(.env.*)"
    ],
    "ask": [
      "Bash(git push:*)",
      "Bash(git push *)",
      "Bash(git commit:*)",
      "Bash(rm *)",
      "Bash(rm:*)",
      "Bash(npm publish:*)",
      "Bash(wget *)",
      "Bash(git rebase *)",
      "Bash(gh pr merge *)",
      "Bash(git commit *)"
    ]
  }
}

Skills (1)

Subagents (1)

test-agentA simple test agent for SDK testing

Hooks (1)

eventmatcherruns
PostToolUseEdit|Write|MultiEditpython -m ruff check src/ tests/ scripts/ --fix && python -m ruff format src/ tests/ scripts/

Slash commands (3)

/commit/generate-changelog/label-issue

Permissions

deny (0)
—
ask (0)
—
allow (5)
Bash(python -m ruff check src/ tests/ scripts/ --fix)
Bash(python -m ruff format src/ tests/ scripts/)
Bash(python -m mypy src/ scripts/)
Bash(python -m pytest tests/)
Bash(python -m pytest tests/*)

Similar rigs

copied ✓