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 skills add agentproto/ts --skill ap-workflowsgit clone --depth 1 https://github.com/agentproto/tsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/agentproto/ts/ap-workflows)<a href="https://agentmods.dev/skills/agentproto/ts/ap-workflows"><img src="https://agentmods.dev/badge/skills/agentproto/ts/ap-workflows/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/agentproto/ts/ap-workflows"><img src="https://agentmods.dev/badge/skills/agentproto/ts/ap-workflows.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What 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.1 | $0.00085 | $0.02355 |
| Opus 5.5 | $0.00034 | $0.00942 |
| Sonnet 5.5 | $0.00017 | $0.00471 |
| Haiku 4.5 | $0.00009 | $0.00235 |
Grade A, and why
ap-workflows 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 157 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ap-workflows
When to use
- Work needs ordered phases where each phase fans out agents that run in parallel.
- A later stage must act on an earlier stage's output (produce → review → fix).
- You have a ready AIP-15
WORKFLOW.md(+ optionalentry.mjs) to run as-is.
Start a pipeline
workflow_start({
"workflowId": "review-then-fix",
"stages": [
{ "label": "produce", "steps": [
{ "label": "plan", "adapter": "claude-code", "prompt": "Draft the migration plan for src/auth." }
]},
{ "label": "review", "steps": [
{ "label": "review-a", "adapter": "claude-code", "prompt": "Review the plan for data-loss risks." },
{ "label": "review-b", "adapter": "claude-code", "prompt": "Review the plan for test coverage." }
]},
{ "label": "fix", "steps": [
{ "label": "fixer", "sessionRef": "review-a", "prompt": "Address the review comments." }
]}
]
})
// → { "runId": "wf_..." } — execution is background; returns immediately.
Steps within a stage run CONCURRENTLY. Stages are barriers: stage N+1 does not start until every step of stage N has finished (or failed). adapter spawns a NEW session for the step; sessionRef (a prior step's label, any earlier stage) reuses that session instead — ignoring adapter.
Poll and steer
workflow_status({ "runId": "wf_..." })
// → per-stage: each step's status + sessionId — read earlier output via ap-read-output on that id
workflow_cancel({ "runId": "wf_..." }) // in-flight steps finish; no new stage starts
workflow_list({}) // running / done / failed / cancelled runs
Run a WORKFLOW.md file
workflow_run_file({
"path": "workflows/morning-sweep/WORKFLOW.md",
"input": { "date": "2026-09-01" },
"cacheKey": "morning-sweep-2026-09-01"
})
Loads the AIP-15 file via the workflow-loader and runs it through the same runner as workflow_start, in the background. With a cacheKey, cacheable steps replay unchanged output on re-invocation instead of re-spawning.
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.
- 1mo ago Changed 6cb863455b3d
- 1mo ago Changed · +14 lines ad8efbc814ba
- 2mo ago Changed · +9 lines · +7 tokens per session 38ca5f845e48
- 2mo ago Changed · +49 lines cbd69bc3b220
- 2mo ago First seen · 85 lines · 78 tokens per session scan A 8cd4c8a2021a
ap-workflows is a skill published in the GitHub repository agentproto/ts (11 stars, last pushed today), licensed Apache-2.0. It adds 85 tokens to every session and 2,355 once invoked, about $0.0003 per session on Opus 5.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-09-04.
ap-workflows compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ap-workflowsagentproto/ts | Skill | 11 | today | Apache-2.0 | A | 85 | Claude Code, Codex |
| skill-creator-primersammcj/agentic-coding | Skill | 174 | 3d ago | Apache-2.0 | A | 74 | Claude Code |
| llm-wikisammcj/agentic-coding | Skill | 174 | 3d ago | Apache-2.0 | A | 82 | Claude Code |
| extract-wisdomsammcj/agentic-coding | Skill | 174 | 3d ago | Apache-2.0 | A | 43 | Claude Code |
| apply-mantel-stylessammcj/agentic-coding | Skill | 174 | 3d ago | Apache-2.0 | A | 37 | Claude Code, Codex |
| home-assistantsammcj/agentic-coding | Skill | 174 | 3d ago | Apache-2.0 | A | 57 | Claude Code |
| deepevalsammcj/agentic-coding | Skill | 174 | 3d ago | Apache-2.0 | A | 19 | Claude Code, Codex |