~ / rigs / bsamsonov / claude-code-config

bsamsonov/claude-code-config

My Claude Code setup: rate-limit-aware hooks and status line, narrow subagents, skills, cost analysis, OpenCode offloading

↗ GitHub ★ 0 MIT updated 1mo ago personal setup Claude Code
field: AI / ML workflow: ResearchGit & commits
share on X
ARCHETYPE
Skill Collector
Ten-plus skills loaded on demand. A procedural-knowledge library.
CONTEXT TAX · EVERY TURN
~1.0k tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
0/5
No committed guardrails · details
Quality 3/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit bsamsonov/claude-code-config/agents ./rig-claude-code-config/agents
$ npx degit bsamsonov/claude-code-config/commands ./rig-claude-code-config/commands
$ npx degit bsamsonov/claude-code-config/skills ./rig-claude-code-config/skills
$ npx degit bsamsonov/claude-code-config/hooks ./rig-claude-code-config/hooks

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 bsamsonov/claude-code-config/skills/architect .claude/skills/architect
$ npx degit bsamsonov/claude-code-config/skills/atomic-commit .claude/skills/atomic-commit
$ npx degit bsamsonov/claude-code-config/skills/code-via-opencode .claude/skills/code-via-opencode
$ npx degit bsamsonov/claude-code-config/skills/code-walkthrough .claude/skills/code-walkthrough
$ npx degit bsamsonov/claude-code-config/skills/codebase-tutorial .claude/skills/codebase-tutorial
$ npx degit bsamsonov/claude-code-config/skills/deep-research-economy .claude/skills/deep-research-economy
$ npx degit bsamsonov/claude-code-config/skills/deep-research .claude/skills/deep-research
$ npx degit bsamsonov/claude-code-config/skills/github-push .claude/skills/github-push
$ npx degit bsamsonov/claude-code-config/skills/instagram-transcript .claude/skills/instagram-transcript
$ npx degit bsamsonov/claude-code-config/skills/move-project .claude/skills/move-project
$ npx degit bsamsonov/claude-code-config/skills/poc-portfolio-prep .claude/skills/poc-portfolio-prep
$ npx degit bsamsonov/claude-code-config/skills/research-via-opencode .claude/skills/research-via-opencode
$ npx degit bsamsonov/claude-code-config/skills/resume-after-window .claude/skills/resume-after-window
$ npx degit bsamsonov/claude-code-config/skills/translate-ru .claude/skills/translate-ru
$ curl -fsSL --create-dirs -o .claude/agents/codebase-agent.md https://raw.githubusercontent.com/bsamsonov/claude-code-config/main/agents/codebase-agent.md
$ curl -fsSL --create-dirs -o .claude/agents/lightweight-agent.md https://raw.githubusercontent.com/bsamsonov/claude-code-config/main/agents/lightweight-agent.md
$ curl -fsSL --create-dirs -o .claude/agents/plain-agent.md https://raw.githubusercontent.com/bsamsonov/claude-code-config/main/agents/plain-agent.md
$ curl -fsSL --create-dirs -o .claude/agents/research-lite.md https://raw.githubusercontent.com/bsamsonov/claude-code-config/main/agents/research-lite.md

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

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

Skills (14)

Subagents (4)

codebase-agent
model: sonnet
Work on the local repository: reading code, searching, git, writing files and documentation. No web, no nested subagents, no MCP. A mid-size toolset — use instead of general-purpose when the task stay
lightweight-agent
model: sonnet
Lightweight web search + file processing agent. The default subagent for research and writing documents: no shell, no MCP, no nested subagents.
plain-agent
model: haiku
Near-zero-context baseline agent: no tools, minimal prompt. Used as the reference point for bin/agent-context and for cheap headless calls.
research-lite
model: sonnet
Lightweight web research subagent with a built-in checkpoint/resume protocol.

Slash commands (1)

/wake

Similar rigs

copied ✓