gg2762/Claude-Code-Skill-Architecture-and-Token-Management
The non-obvious setup that keeps a Claude Code project sharp as it grows: skill architecture, context budget, document ingestion, and permission/trust. The things I wish I knew before I started.
stack: Shell
ARCHETYPE
Minimalist
Lean instructions, few tools, tiny context tax. Lets the model think.
Copy this rig
# review before running: this installs third-party code
$ npx degit gg2762/Claude-Code-Skill-Architecture-and-Token-Management/skills ./rig-claude-code-skill-architecture-and-token-management/skills 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 gg2762/Claude-Code-Skill-Architecture-and-Token-Management/skills/context-budget .claude/skills/context-budget $ npx degit gg2762/Claude-Code-Skill-Architecture-and-Token-Management/skills/ingestion-compression .claude/skills/ingestion-compression $ npx degit gg2762/Claude-Code-Skill-Architecture-and-Token-Management/skills/permission-setup .claude/skills/permission-setup $ npx degit gg2762/Claude-Code-Skill-Architecture-and-Token-Management/skills/skill-architecture .claude/skills/skill-architecture
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 (4)
Similar rigs
Naeha-S/ctxcap
Offline token-budget linter for agent context files — measures CLAUDE.md/AGENTS.md, finds dead references, returns a ranked plan.
Pragmatist 2.6k tok · · Q20
IFAKA/claude-code-dotfiles
Shareable Claude Code context optimization config — curl install
Minimalist 498 tok · · Q0
cveralyon/axel-setup
AXEL — Claude Code team configuration package. Additive bootstrap with hooks, agents, commands, skills, and plugins.
Pragmatist 4.0k tok · · Q8
ngc-shj/claude-code-config
Safe default settings for Claude Code with agentic multi-model architecture
Fort Knox 1.9k tok · · Q36