~ / rigs / gg2762 / Claude-Code-Skill-Architecture-and-Token-Management

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.

↗ GitHub ★ 2 MIT updated 5mo ago project Claude Code
field: unknown workflow: Planning & specsSecurity review
stack: Shell
share on X
ARCHETYPE
Minimalist
Lean instructions, few tools, tiny context tax. Lets the model think.
CONTEXT TAX · EVERY TURN
~348 tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
0/5
No committed guardrails · details
Quality 0/100 Guardrails v2

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

copied ✓