conductorscore
Score your Claude Code skill — measure agent leverage, craft, and anti-patterns from your local transcripts. Use when the user types /conductorscore.
- License 许可
- Apache-2.0
- 最近更新
- 2026-10-26
- Stars
- ★ 14
- Forks
- 1
01 前言 Front Matter
- name
- conductorscore
- description
- Score your Claude Code skill — measure agent leverage, craft, and anti-patterns from your local transcripts. Use when the user types /conductorscore.
02 资源文件 61
- 脚本scripts/__init__.py—
- 脚本scripts/_http.py2.7 KB
- 脚本scripts/agents/__init__.py278 B
- 脚本scripts/agents/base.py8.5 KB
- 脚本scripts/agents/claude/__init__.py1.5 KB
- 脚本scripts/agents/claude/config.py7.8 KB
- 脚本scripts/agents/claude/discovery.py5.4 KB
- 脚本scripts/agents/claude/events.py38.3 KB
- 脚本scripts/agents/claude/taxonomy.py2.9 KB
- 脚本scripts/agents/codex/__init__.py1.5 KB
- 脚本scripts/agents/codex/config.py3.7 KB
- 脚本scripts/agents/codex/discovery.py7.0 KB
- 脚本scripts/agents/codex/events.py37.7 KB
- 脚本scripts/agents/codex/taxonomy.py15.7 KB
- 脚本scripts/agents/consent.py14.1 KB
- 脚本scripts/agents/cursor/__init__.py1.9 KB
- 脚本scripts/agents/cursor/cli_events.py32.1 KB
- 脚本scripts/agents/cursor/config.py4.3 KB
- 脚本scripts/agents/cursor/discovery.py16.0 KB
- 脚本scripts/agents/cursor/events.py14.5 KB
- 脚本scripts/agents/cursor/store.py8.8 KB
- 脚本scripts/agents/cursor/taxonomy.py9.9 KB
- 脚本scripts/agents/registry.py3.5 KB
- 脚本scripts/approval_counter.py11.7 KB
- 脚本scripts/auth_store.py3.6 KB
- 脚本scripts/commit_counter.py3.6 KB
- 脚本scripts/config_scanner.py971 B
- 脚本scripts/core/__init__.py259 B
- 脚本scripts/core/config_counts.py1.6 KB
- 脚本scripts/core/edits.py2.9 KB
- 脚本scripts/core/normalized.py8.9 KB
- 脚本scripts/core/paths.py1.3 KB
- 脚本scripts/core/prompt_origin.py2.8 KB
- 脚本scripts/core/shell.py2.8 KB
- 脚本scripts/core/text.py3.0 KB
- 脚本scripts/core/thresholds.py3.1 KB
- 脚本scripts/core/timestamps.py1.5 KB
- 脚本scripts/cron_classifier.py1.8 KB
- 脚本scripts/daily.py8.5 KB
- 脚本scripts/delta_upload.py6.0 KB
- 脚本scripts/device_flow.py3.8 KB
- 脚本scripts/edit_counter.py4.1 KB
- 脚本scripts/events.py4.0 KB
- 脚本scripts/feature_cache.py6.9 KB
- 脚本scripts/frustration_detector.py3.4 KB
- 脚本scripts/output_schema.py20.5 KB
- 脚本scripts/plan_signals.py9.7 KB
- 脚本scripts/prompt_similarity.py4.0 KB
- 脚本scripts/reauth.py4.2 KB
- 脚本scripts/revert_detector.py4.8 KB
- 脚本scripts/run.py43.2 KB
- 脚本scripts/scan.py18.9 KB
- 脚本scripts/scanner.py33.9 KB
- 脚本scripts/session_viewer.py102.0 KB
- 脚本scripts/session_window.py2.7 KB
- 脚本scripts/status_writer.py1.2 KB
- 脚本scripts/time_accounting.py57.0 KB
- 脚本scripts/tool_counter.py33.1 KB
- 脚本scripts/turn_classifier.py31.9 KB
- 脚本scripts/version_check.py2.7 KB
- 其他VERSION7 B
03 SKILL.md 正文
ConductorScore reads your local coding-agent transcripts and uploads only the resulting numbers (your score) — never transcript text.
How to run
When the user invokes this skill, say "Calculating your ConductorScore" and,
on the next line, the skill version the script reports (its first output line is
Version X.Y.Z) — e.g. show Version 0.5.0 beneath the heading. Run the
orchestrator from this skill's own directory — the folder that contains this
SKILL.md, with run.py in its scripts/ subdirectory. Don't assume a fixed
location: depending on the agent and installer the skill may live under
~/.claude/skills/conductorscore/, ~/.codex/skills/conductorscore/,
~/.cursor/skills/conductorscore/, or ~/.agents/skills/conductorscore/.
Use the scripts/run.py next to this file:
python3 <this-skill-dir>/scripts/run.py --step
On Windows, if python3 isn't found, use python or py -3 instead. Always
pass --step when running run.py for a scan, including the re-runs below.
The script drives the flow. Don't narrate the steps. Your jobs are: (a) run the
script, (b) relay its progress (below), (c) handle the CONDUCTORSCORE_ASK
lines below, and (d) when the scan finishes, render the final report from
the CONDUCTORSCORE_RESULT line (see "Final report").
Progress relay rule
The scan runs in the background, and each run.py --step call returns after a
few seconds. If the output ends with CONDUCTORSCORE_PROGRESS <percent> "<text>",
the scan is still running: write <text> to the user as its own short message
(just that text, e.g. Scanning your transcripts… 42%, nothing else), then
immediately run run.py --step again with no other flags. Keep going until the
output has no CONDUCTORSCORE_PROGRESS line. Don't sleep between calls; the
script already waits.
ASK relay rule
If a printed line starts with CONDUCTORSCORE_ASK <id> "<question>" [opt A] [opt B] …,
the script has STOPPED and is asking the user to decide. Present <question> as a
multiple-choice using the bracketed options (use the question UI; don't add extra
prose), then re-run run.py with the matching flag:
login→ the script printed a GitHub URL + code. Show them, let the user authorize in their browser, and when they confirm ("I've authorized") re-runrun.py --stepwith NO new flag — it resumes the login and continues. On Cancel, stop.providers→ re-runrun.py --stepwith--providers=all(All),--providers=claude(Claude Code),--providers=codex(Codex), or--providers=cursor(Cursor). On Cancel, stop.update→ asked BEFORE any scanning, when a newer ConductorScore is published. Present EXACTLY the two printed choices, Update now and Not now. On Not now, re-runrun.py --step --skip-update(it scans with this version). On Update now:- Run the command from the
CONDUCTORSCORE_UPDATE_CMD <command>line exactly. Its output may mention other copies ("no GitHub metadata") — ignore that; don't judge success from the output. - Read the
VERSIONfile in this skill's directory (next to this SKILL.md). - If it now shows the new version, re-run
run.py --step(the updated script now runs the scan). - Otherwise this copy isn't managed by
gh skill, so the update can't reach it. Tell the user to reinstall it once withgh skill install https://github.com/flatironconsulting/conductorscore conductorscore --agent <claude-code|codex|cursor> --scope user --force(the agent you're running in), then re-runrun.py --step --skip-updateso they still get a score now.
- Run the command from the
daily→ present EXACTLY two choices, Yes and No (no Cancel, no other options). Re-run with ONLY--daily=yesor--daily=no— do NOT add--providers; this enables/declines the once-per-day hook and does NOT re-scan.
Final report
When the scan finishes the script prints a single line:
CONDUCTORSCORE_RESULT {"score":N,"url":"...","sessions":N,"verified_github":bool}.
Don't show that raw line. The --daily=yes|no re-run prints it again with a
"daily":true|false field. Render the final report from that line in the same
reply as the daily re-run, before anything else.
Never end the run without showing the user the report and its URL. Use exactly
this shape (keep the ✓ and 📊 and the bullets):
✓ ConductorScore: <score>
📊 View your full breakdown: <url>
- Scanned <sessions> sessions from your local transcripts
- <Daily auto-refresh enabled — your score updates once per day | Daily auto-refresh not enabled>
- Only your score (the numbers) was uploaded — never any transcript text
Debug / visualize a session — /conductorscore debug
/conductorscore debug renders a session locally as a self-contained HTML
timeline plus the Interactive / Background leverage table and opens it in the browser. It runs entirely on
the user's machine and uploads nothing — not even the numbers a scan sends.
Use this path when the user types /conductorscore debug …, or asks to
visualize / view / debug a session, show its timeline, or see the
leverage breakdown (Interactive / Background, HITL/AFK/Tool/Idle).
The slash interface IS the session_viewer.py interface: take whatever the user
put after debug and pass it straight through to the Python CLI — every
flag below maps 1:1, so /conductorscore debug <ARGS> runs
session_viewer.py <ARGS>.
python3 <this-skill-dir>/scripts/session_viewer.py [ARGS]
(session_viewer.py sits next to run.py in this skill's scripts/, wherever
the skill is installed. On Windows use python or py -3 if python3 isn't
found.)
Supported arguments (the full Python CLI surface):
- (no args) → the session the user is in. The SessionStart hook records the
current transcript, so a bare run visualizes the active session. To inspect an
earlier one, the user navigates to it first with the built-in picker
(
claude --resume//resume, orcodex resume), then runs/conductorscore debug— don't reinvent that navigation. <path.jsonl>→ render that explicit transcript.--list→ print discoverable local sessions (index, date, id, project) and exit.--pick N→ render the Nth session from--list(newest first).--no-redact→ show the real transcript text. Default is redacted: bubbles show the wire-equivalent view (hashes + token counts, tool names only — no raw text), matching exactly what a scan would upload, so the page is safe to share.--no-redactis safe locally (nothing leaves the machine) and best for hands-on debugging.--out <path>→ write the HTML somewhere other than~/.cache/conductorscore/.--no-open→ render without launching the browser.
The script prints a local-only debug summary — the source transcript, the
redaction mode, message/turn/streak/leverage counts, and an explicit
"nothing is uploaded" assurance — then writes the HTML and opens it. Relay the
script's console summary and its Rendered … → <path> line as-is; don't
re-narrate or restate the numbers.
Device-flow login
First run prints a https://github.com/login/device URL and a code, then STOPS
(it does not poll in the background). Show the URL and code to the user, let them
authorize in their browser, and once they confirm, re-run run.py --step — it resumes
the pending login, finishes authentication, and proceeds to the scan.
Privacy & data handling
ConductorScore runs entirely on your machine. It reads your local coding-agent transcripts to compute metrics, then uploads only:
- Numbers — counts, token totals, timing, and derived scores.
- Names you already surface by using them — the skills, slash-commands, MCP servers, plugins, and model IDs invoked in your sessions (these appear on your public profile). Just the names — no arguments, no contents.
It never uploads transcript or message text, prompts, code, file contents, or file
paths. Message and file text is reduced on-device to a truncated SHA-256 hash (used
only for dedup/similarity) before any metric is computed. The exact wire payload is
documented and inspectable in WIRE_FORMAT.md (wire_format_sample.json is a real
sample). Uploads happen only after you pair this device, only for the agents you
consent to scan, and never on an unpaired machine.