conductorscore

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
ConductorScore reads your local coding-agent transcripts and uploads only the resulting numbers (your score) — never transcript text.
ConductorScore 会读取你本地的 coding-agent transcript,并且只上传由此得出的数字(你的分数)——绝不上传 transcript 文本。

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
On Windows, if
python3
isn't found, use
python
or
py -3
instead.
If the script prints
↑ vX.Y.Z available — run: gh skill update …
, relay that line so the user can update; then continue normally.
The script drives the flow. Don't narrate the steps or restate its progress lines. Your jobs are: (a) run the script, (b) handle the
CONDUCTORSCORE_ASK
lines below, and (c) when the scan finishes, render the final report from the
CONDUCTORSCORE_RESULT
line (see "Final report").
当用户调用此 skill 时,请说 "Calculating your ConductorScore",并在下一行显示脚本报告的 skill 版本(脚本的首行输出为
Version X.Y.Z
)——例如在标题下方显示
Version 0.5.0
。从此 skill 自己的目录运行 orchestrator——即包含此 SKILL.md 且在
scripts/
子目录中带有
run.py
的文件夹。不要假定固定位置:根据 agent 和 installer 的不同,skill 可能位于
~/.claude/skills/conductorscore/
、
~/.codex/skills/conductorscore/
、
~/.cursor/skills/conductorscore/
或
~/.agents/skills/conductorscore/
。 使用与此文件相邻的
scripts/run.py
:
python3 <this-skill-dir>/scripts/run.py
在 Windows 上,如果找不到
python3
,请改用
python
或
py -3
。
如果脚本打印
↑ vX.Y.Z available — run: gh skill update …
,请将这一行转发给用户,以便其进行更新;然后继续正常执行。
脚本会驱动整个流程。不要叙述各个步骤,也不要复述其进度行。你的任务是:(a) 运行脚本,(b) 处理下方的
CONDUCTORSCORE_ASK
行,(c) 扫描完成后,根据
CONDUCTORSCORE_RESULT
行呈现最终报告(参见“最终报告”)。

ASK relay rule

ASK 转发规则

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-run
    run.py
    with NO new flag — it resumes the login and continues. On Cancel, stop.
  • providers
    → re-run with
    --providers=all
    (All),
    --providers=claude
    (Claude Code),
    --providers=codex
    (Codex), or
    --providers=cursor
    (Cursor). On Cancel, stop.
  • daily
    → present EXACTLY two choices, Yes and No (no Cancel, no other options). Re-run with ONLY
    --daily=yes
    or
    --daily=no
    — do NOT add
    --providers
    ; this enables/declines the once-per-day hook and does NOT re-scan.
如果打印出的某一行以
CONDUCTORSCORE_ASK <id> "<question>" [opt A] [opt B] …
开头,说明脚本已经停止并要求用户作出决定。使用方括号中的选项,将
<question>
作为多项选择题呈现(使用问题 UI;不要添加额外文字),然后使用对应的 flag 重新运行
run.py
:
  • login
    → 脚本会打印一个 GitHub URL 和 code。将它们展示给用户,让用户在浏览器中完成授权;用户确认("I've authorized")后,不带任何新 flag 重新运行
    run.py
    ——它会恢复登录并继续执行。选择 Cancel 时停止。
  • providers
    → 使用
    --providers=all
    (All)、
    --providers=claude
    (Claude Code)、
    --providers=codex
    (Codex)或
    --providers=cursor
    (Cursor)重新运行。选择 Cancel 时停止。
  • daily
    → 恰好呈现两个选项:Yes 和 No(不要 Cancel,也不要提供其他选项)。仅使用
    --daily=yes
    或
    --daily=no
    重新运行——不要添加
    --providers
    ;这会启用或拒绝每日一次的 hook,并且不会重新扫描。

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. After the
daily
question is resolved, present the user a final report in 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
扫描完成后,脚本会打印一行:
CONDUCTORSCORE_RESULT {"score":N,"url":"...","sessions":N,"verified_github":bool}
。 不要显示该原始行。在
daily
问题解决后,按以下确切格式向用户呈现最终报告(保留 ✓、📊 和各个项目符号):
✓ 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

/conductorscore debug
renders a session locally as a self-contained HTML timeline (HITL/AFK/Tool/Idle) 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 HITL/AFK/Tool/Idle breakdown.
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
    , or
    codex 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-redact
    is 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.
/conductorscore debug
会在本地将会话渲染为自包含的 HTML timeline(HITL/AFK/Tool/Idle),并在浏览器中打开。它完全在用户的机器上运行,且不上传任何内容——连扫描时会发送的数字也不上传。 当用户输入
/conductorscore debug …
,或要求可视化、查看或调试某个会话、展示其 timeline,或查看其 HITL/AFK/Tool/Idle 分解时,使用此路径。
斜杠接口就是
session_viewer.py
接口:将用户在
debug
后输入的所有内容原样传递给 Python CLI——下面的每个 flag 都一一对应,因此
/conductorscore debug <ARGS>
会运行
session_viewer.py <ARGS>
。
python3 <this-skill-dir>/scripts/session_viewer.py [ARGS]
(
session_viewer.py
与
run.py
位于此 skill 的
scripts/
目录中 wherever the skill is installed。在 Windows 上,如果找不到
python3
,请改用
python
或
py -3
。)
支持的参数(完整的 Python CLI 接口):
  • (无参数) → 当前用户所在的 session。
    SessionStart
    hook 会记录当前 transcript,因此直接运行会可视化当前活跃 session。要检查更早的 session,用户需先使用内置 picker(
    claude --resume
    /
    /resume
    或
    codex resume
    )导航到目标 session,然后运行
    /conductorscore debug
    ——不要重新实现该导航逻辑。
  • <path.jsonl>
    → 渲染指定的 transcript。
  • --list
    → 打印可发现的本地 session(index、date、id、project)后退出。
  • --pick N
    → 渲染
    --list
    列表中的第 N 个 session(最新优先)。
  • --no-redact
    → 显示真实的 transcript 文本。默认情况下为脱敏模式:消息气泡仅显示与线上传输等效的视图(hashes、token counts 和工具名称,不含原始文本),与扫描实际上传的内容完全一致,因此页面可安全分享。
    --no-redact
    在本地使用是安全的(不会向机器外部发送任何内容),最适合动手调试。
  • --out <path>
    → 将 HTML 写入
    ~/.cache/conductorscore/
    以外的位置。
  • --no-open
    → 渲染 HTML,但不启动浏览器。
脚本会打印一份仅限本地使用的调试摘要——包括源 transcript、脱敏模式、message/turn/streak/leverage 计数,以及明确的“不上传任何内容”保证——随后写入 HTML 并打开它。请原样转发脚本的控制台摘要及其
Rendered … → <path>
行;不要重新叙述或复述这些数字。

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
— it resumes the pending login, finishes authentication, and proceeds to the scan.
首次运行会打印一个
https://github.com/login/device
URL 和一个 code,然后停止(不会在后台轮询)。向用户显示该 URL 和 code,让其在浏览器中完成授权;用户确认后,重新运行
run.py
——它会恢复待处理的登录、完成身份验证并继续扫描。

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.
ConductorScore 完全在你的机器上运行。它读取本地的 coding-agent transcript 来计算 metrics,然后只上传:
  • 数字——计数、token 总数、耗时和衍生分数。
  • 你已经通过使用它们而公开的名称——session 中调用的 skills、slash-commands、MCP servers、plugins 和 model IDs(这些名称会出现在你的公开资料中)。仅上传名称——不包含参数或内容。
它绝不上传 transcript 或 message 文本、prompts、code、file contents 或 file paths。在计算任何 metric 之前,消息和文件文本都会在设备端缩减为截断的 SHA-256 hash(仅用于 dedup/similarity)。确切的 wire payload 记录在
WIRE_FORMAT.md
中,可随时检查(
wire_format_sample.json
是一个真实示例)。只有在设备完成配对后才会进行上传,仅扫描你同意授权的 agents,并且绝不会在未配对的机器上上传。