~ / rigs / Njengah / claude-code-tracker

Njengah/claude-code-tracker

Claude Code cost tracking app built for teaching and demonstrating how Claude Code works.

↗ GitHub ★ 2 no license updated 2mo ago project Claude Code
share on X
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
CONTEXT TAX · EVERY TURN
~3.1k tokens
Moderate · median rig: 2.3k · breakdown
GUARDRAILS
0/5
No committed guardrails · details

Copy this rig

# review before running: this installs third-party code
$ claude mcp add --transport http claude-code-docs https://code.claude.com/docs/mcp
$ npx degit Njengah/claude-code-tracker/.claude ./rig-claude-code-tracker  # 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.

$ claude mcp add --transport http claude-code-docs https://code.claude.com/docs/mcp
$ curl -fsSL --create-dirs -o .claude/agents/auth-guard.md https://raw.githubusercontent.com/Njengah/claude-code-tracker/main/.claude/agents/auth-guard.md
$ curl -fsSL --create-dirs -o .claude/agents/usage-scout.md https://raw.githubusercontent.com/Njengah/claude-code-tracker/main/.claude/agents/usage-scout.md

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

{
  "permissions": {
    "deny": [
      "Read(./.env)",
      "Read(**/.env)",
      "Read(~/.ssh/**)",
      "Bash(rm -rf *)",
      "Read(**/*.pem)",
      "Bash(rm -rf /)",
      "Bash(git push --force:*)",
      "Bash(sudo *)",
      "Read(.env)",
      "Bash(rm -rf /*)",
      "Read(./.env.*)",
      "Read(~/.aws/**)",
      "Bash(git push --force*)",
      "Bash(rm -rf:*)",
      "Read(**/*.key)",
      "Read(**/.env.*)",
      "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(git rebase *)",
      "Bash(wget *)",
      "Bash(npm publish:*)",
      "Bash(git commit *)",
      "Bash(gh pr merge *)"
    ]
  }
}

MCP servers (1)

serversourceest. tokens
code.claude.com · "claude-code-docs" remote · remote 2.5k

Subagents (2)

auth-guard
model: sonnet
Read-only reviewer for JWT login, password hashing, and /auth routes in this tracker. Use when the user asks to review auth.py, registration, login tokens, or get_current_user. Use after changes to au
usage-scout
model: haiku
Read-only scout for session, token, and cost code in this FastAPI tracker. Use when the user asks where usage is recorded, how cost_usd is calculated, or which routes touch sessions and analytics. Use

Similar rigs

copied ✓