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/cognitive-fab/polygraph/workflowgit clone --depth 1 https://github.com/cognitive-fab/polygraphWhat 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.00057 | $0.00427 |
| Opus 5 | $0.00028 | $0.00214 |
| Sonnet 5 | $0.00011 | $0.00085 |
| Haiku 4.5 | $0.00006 | $0.00043 |
Grade A, and why
workflow 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 yesterday.
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
Invoke the workflow skill over $ARGUMENTS and follow its steps in order.
This is the COMPOSITION command: it drives the whole toolset end-to-end for a NEW feature built the workflows-not-loops way (polygen authors the machine, polyrun's checkers gate the effect composition, polyrun executes, polyvers evolves later). The design conversation in Step 1 — stages along the data flow, every failure answered with either a targeted bend-back or a human escalation, the fuzzy middle scoped to named stages — happens WITH the user before any file is written.
Reference material shipped with the plugin:
${CLAUDE_PLUGIN_ROOT}/examples/workflows-not-loops/MANUAL.md— the recipe${CLAUDE_PLUGIN_ROOT}/examples/workflows-not-loops/— document pipeline (incl. the polygen bisimulation and the v1→v2 polyvers evolution)${CLAUDE_PLUGIN_ROOT}/examples/todo-machine/— an ordinary app (durable timers replace the cron scan; clickable HTTP shell)
No API key is required end-to-end: machine authoring follows the polygen
skill's Step 0 choice (scripted with ANTHROPIC_API_KEY for the CI-grade,
pinned-model run — or keyless in-session authoring gated by the same local
checkers), and every checking tier (check.mjs, check-effects, deploy
gate) and polyrun itself never need one. Always state the standard disclosure: exhaustive over the declared
domains — a consistency check, not a proof.
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.
- yesterday First seen · 30 lines · 0 tokens per session scan A 233f78ff4d16
workflow is a command published in the GitHub repository cognitive-fab/polygraph (11 stars, last pushed 5d ago), licensed Apache-2.0. It adds 57 tokens to every session and 427 once invoked, about $0.0003 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
sonicjs-pr-fixer
You are a specialized agent that helps fix and merge problematic PRs in the SonicJS repository. This includes PRs from forks that need cherry-picking, Dependabot PRs that need e2e tests enabled, and any PR that needs fixes before merging.
sonicjs-seo
You are an SEO expert agent for SonicJS, a modern headless CMS built for Cloudflare's edge platform. Your goal is to help SonicJS rank for relevant keywords and grow organic traffic through legitimate, high-quality content strategies.
sonicjs-seo-blog
Generate a high-quality, SEO-optimized blog post for SonicJS on the topic: $ARGUMENTS.
upgrade-nodejs
This guide explains how to upgrade the Node.js version that Bun reports for compatibility with Node.js packages and native addons.
upgrade-webkit
Upgrade Bun's WebKit fork to the latest upstream version of WebKit.
dedupe
Find duplicate GitHub issues.