Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/polygraphso/litmus/gradegit clone --depth 1 https://github.com/polygraphso/litmusWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00019 | $0.00838 |
| Opus 5 | $0.00010 | $0.00419 |
| Sonnet 5 | $0.00004 | $0.00168 |
| Haiku 4.5 | $0.00002 | $0.00084 |
Grade A, and why
grade scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Run the polygraph litmus on $ARGUMENTS using the run_litmus tool from the
polygraph-litmus MCP server (bundled with this plugin). Report the letter grade,
the one-line summary, and any failed category with its findings. If the grade is
capped at B because Docker was unavailable, say so plainly.
run_litmus grades MCP servers, not skills. If $ARGUMENTS is a skill (a
skill directory, or a request to grade or validate a skill), use the skill path
instead — the run_skill_litmus tool or the grade-skill prompt — not
run_litmus.
Token-gated servers
If the target is an https:// URL and run_litmus fails to connect because the
server is token-gated (an auth error such as 401, invalid_token, or "No
authorization provided"), litmus needs a bearer token — it connects as a fresh,
independent client, so it has none of the user's existing session.
Don't immediately ask the user to paste one. First look for the token they already have: the same MCP client config that makes this server work in their agent. Only when that fails should you ask.
- If the user already supplied a token (in
$ARGUMENTSor the conversation), use it directly — skip discovery. - Otherwise, check the config files that exist and find the entry whose URL
matches the target (ignore a trailing-slash difference). Common locations:
project
./.mcp.json,./.cursor/mcp.json,./.vscode/mcp.json; user-level~/.claude.json, the Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.jsonon macOS, the equivalent for the platform), and~/.cursor/mcp.json. Read that entry'sheaders, resolving any${VAR}placeholder from the environment. - If found, confirm before using it: name the source file, never print the
token value, and state plainly that grading will make live, authenticated
tool calls to the server as the user (read-only tools only). On
confirmation, re-run
run_litmuspassing the token asbearer(strip a leadingBearer), or as aheader"Key: Value"for a non-Authorizationscheme. - If nothing is found, the server may use OAuth. Tell the user a browser window
will open for them to log in, then re-run
run_litmuswithinteractive_auth: true— litmus opens the browser, captures the token via a local127.0.0.1callback, and uses it for this run only (never stored). If the user declines, or the server isn't OAuth, ask for a bearer token and say why: litmus connects as a fresh client and needs the same token their agent already uses for this server.
Never pass unsafe_host_exec, and never enable state-changing calls just to get
past auth.
If run_litmus isn't in your available tools, it may just need loading (some
clients surface MCP tools lazily) — try to load it before concluding it's
missing. Only if the polygraph-litmus server genuinely isn't connected, tell me
to enable the plugin (/plugin install polygraph@polygraphso, adding the
marketplace first with /plugin marketplace add polygraphso/litmus if needed)
and restart the session so the tools load. Do not suggest claude mcp add — the
plugin already provides the server.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 59 lines · 19 tokens per session scan A 286f3a9cfad2
grade is a command published in the GitHub repository polygraphso/litmus (8 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 19 tokens to every session and 838 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
template
Manage issue templates for streamlined issue creation.
design-review
Workflow recipe — review a design end-to-end, ending in measured numbers rather than adjectives, by chaining 4 skills.
setup-pm-skills
Onboard a new user — find out what they do, recommend the right bundles & top skills, and set up a project CONTEXT.md so every skill is tailored to them.
security-review
CWE 기반 보안 검토 + STRIDE 위협 모델링 (v6 - effort:max 강제).
auto-browse
Auto-browse — learn, optimize, and graduate browser operations or web data-mining workflows.
release-harn
Run the tag-first Harn release workflow.