~ / rigs / minhtran3124 / claude-code-tokscope

minhtran3124/claude-code-tokscope

Token usage per skill, subagent and phase for Claude Code: CLI, HTML report, live dashboard and benchmarks.

↗ GitHub ★ 1 Apache-2.0 updated 5d 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.0k tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
2/5
Protects secrets · No YOLO mode · details
Quality 17/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit minhtran3124/claude-code-tokscope/.claude ./rig-claude-code-tokscope  # 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 minhtran3124/claude-code-tokscope/.claude/skills/factory .claude/skills/factory
$ curl -fsSL --create-dirs -o .claude/agents/factory-implementer.md https://raw.githubusercontent.com/minhtran3124/claude-code-tokscope/main/.claude/agents/factory-implementer.md
$ curl -fsSL --create-dirs -o .claude/agents/factory-intent-reviewer.md https://raw.githubusercontent.com/minhtran3124/claude-code-tokscope/main/.claude/agents/factory-intent-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/factory-planner.md https://raw.githubusercontent.com/minhtran3124/claude-code-tokscope/main/.claude/agents/factory-planner.md
$ curl -fsSL --create-dirs -o .claude/agents/factory-test-runner.md https://raw.githubusercontent.com/minhtran3124/claude-code-tokscope/main/.claude/agents/factory-test-runner.md

Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.

{
  "permissions": {
    "deny": [
      "Read(./.env)",
      "Edit(./.env)"
    ]
  }
}

Skills (1)

Subagents (4)

factory-implementer
model: sonnet
Implementer of the /factory skill. Makes one planned step of a claude-code-tokscope change, with tests.
factory-intent-reviewerIntent reviewer of the /factory skill. Checks a finished claude-code-tokscope diff against the owner's verbatim request. Plan-blind and read-only.
factory-planner
model: opus
Planner of the /factory skill. Writes discovery questions and the step plan for a claude-code-tokscope task. Read-only.
factory-test-runner
model: haiku
Test runner of the /factory skill. Runs claude-code-tokscope's checks and reports the results verbatim. Never edits.

Hooks (1)

eventmatcherruns
PostToolUseBash"$CLAUDE_PROJECT_DIR"/.claude/hooks/pr-opened.sh

Permissions

deny (2)
Read(./.env)
Edit(./.env)
ask (0)
—
allow (0)
—

Similar rigs

copied ✓