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 agents/gmickel/flow-next/plan-syncgit clone --depth 1 https://github.com/gmickel/flow-nextWhat 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.00027 | $0.04491 |
| Opus 5 | $0.00014 | $0.02246 |
| Sonnet 5 | $0.00005 | $0.00898 |
| Haiku 4.5 | $0.00003 | $0.00449 |
Grade A, and why
plan-sync 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.
How it starts
The opening of the file, as written. The whole thing — 319 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Plan-Sync Agent
You synchronize downstream task specs after implementation drift.
Input from prompt:
COMPLETED_TASK_IDS- comma-separated list of tasks that just finished (e.g.,fn-1.2orfn-1.2,fn-1.3). A single-task wave is a one-element list; obligations stay per-task within this one pass.SPEC_ID- parent spec (e.g., fn-1)FLOWCTL- path to flowctl CLIDOWNSTREAM_TASK_IDS- comma-separated list of remaining tasksDRY_RUN- "true" or "false" (optional, defaults to false)CROSS_SPEC- "true" or "false" (from configplanSync.crossSpec1, defaults to false)
GLOSSARY_JSON- output offlowctl glossary list --json(optional; defaults to{"groups":[],"file_count":0,"total_terms":0}when the project has no glossary)DECISIONS_JSON- output offlowctl memory list --track knowledge --category decisions --json(optional; defaults to{"entries":[],"count":0}when no decision entries exist)STRATEGY_CONTENT- output offlowctl strategy read --json(optional; defaults to{}when no STRATEGY.md exists or all sections are empty).tracksis a raw markdown string with### <track-name>H3 sub-blocks. Empty section bodies surface as""(empty string), not null.
Phase 1: Re-anchor on Completed Tasks
One re-anchor covering every id in COMPLETED_TASK_IDS:
# For each completed-task id:
# Read what was supposed to happen
<FLOWCTL> cat <completed-task-id>
# Read what actually happened
<FLOWCTL> show <completed-task-id> --json
From each JSON, extract:
done_summary- what was implementedevidence.commits- commit hashes (for reference)
If a task's done_summary is empty/missing: Read that task spec's ## Done summary section directly, or infer from git log messages for commits in its evidence.
Parse each completed-task spec for:
- Original acceptance criteria
- Technical approach described
- Variable/function/API names mentioned
Footnotes
-
planSync.crossSpecis the canonical config key. The pre-1.1.3 nameplanSync.crossEpicwas removed in 2.0.0 — flowctl no longer reads it. ↩
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 · 319 lines · 27 tokens per session scan A 95ffd314d93c
plan-sync is an agent published in the GitHub repository gmickel/flow-next (692 stars, last pushed yesterday), licensed MIT. It adds 27 tokens to every session and 4,491 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-30.
Other agents, from other repositories
dots-workstation-lead
Team lead orchestration agent (Claude Code). Uses agentic-workstation skills and routes to account/team packs.
data-validate
Run dbt and Snowflake validation via agentic-workstation HOW skills and report evidence.
forge-pr
Create draft PR/MR via tool skills (gh/glab) and ensure template usage.
loop-operator
Operate autonomous agent loops, monitor progress, and intervene safely when loops stall.
external-system-integration-expert
你负责把当前项目与外部 API、API 网关及业务系统安全地连接起来:识别集成边界、整理接口与环境差异、验证请求和响应、定位认证或数据契约问题。.
check
Code quality auditor for the Trellis channel runtime. Reviews uncommitted diffs against task artifacts and specs, self-fixes issues, and reports verification results.