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 dimetron/pi-go --skill verify-session-flowgit clone --depth 1 https://github.com/dimetron/pi-goWrote 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/dimetron/pi-go/verify-session-flow)<a href="https://agentmods.dev/skills/dimetron/pi-go/verify-session-flow"><img src="https://agentmods.dev/badge/skills/dimetron/pi-go/verify-session-flow/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/dimetron/pi-go/verify-session-flow"><img src="https://agentmods.dev/badge/skills/dimetron/pi-go/verify-session-flow.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.00122 | $0.01686 |
| Opus 5.5 | $0.00049 | $0.00674 |
| Sonnet 5.5 | $0.00024 | $0.00337 |
| Haiku 4.5 | $0.00012 | $0.00169 |
Grade A, and why
verify-session-flow 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 20d 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 — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Verify the session flow
This is the model of what a person sees: launch, type, wait, cancel, quit. It exists because the two failures a user actually notices are structural — a session that cannot be interrupted, and a quit that discards work — and both span several handlers, so neither is visible in a unit test of any one of them.
The properties: the Ctrl+C quit needs two presses, Esc stops an armed goal loop, a canceled turn hands its queued prompt to the next turn rather than dropping it, and no TUI state is a dead end.
Does my change touch the verified code
git diff --stat <sync-commit>..HEAD -- \
internal/tui/tui.go internal/tui/agent_loop.go internal/tui/commands.go \
internal/tui/goal.go internal/autocompact/hook.go
Model covers (each model step names the handler it stands for):
| Model action | Code |
|---|---|
InitProgress / InitDone / InitFailed |
the deferred-init splash, tui.go:563-565, 2391-2417 |
SubmitIdle |
handleInputSubmit → enqueuePrompt → submit, tui.go:783, agent_loop.go:985-1049 |
SubmitSteers |
while busy, a prompt steers instead of queueing, tui.go:785-787, agent_loop.go:961-975 |
GoalCycleQueues |
a goal cycle's own prompt occupies the queue, goal.go:284-296 |
TurnEndQueued / TurnEndIdle / TurnEndGoalCycle |
handleAgentDone, agent_loop.go:2013-2075 |
EscBusy / EscIdle |
handleInterruptKey, tui.go:1273-1281 |
CtrlCBusyFirst / CtrlCBusyAgain / CtrlCIdleFirst / CtrlCIdleSecond |
tui.go:1283-1297 |
CtrlCTimerFires |
resetCtrlCCount, tui.go:2353-2359 |
CancelSettlesToIdle / CancelSettlesToQueued |
cancelAgent, agent_loop.go:830-874 |
GoalSetIdle / GoalStop |
handleGoalCommand, goal.go:361-400 |
Quit / QuitIdle |
tea.Quit, /quit |
Not modelled, and why: the modal overlays (commit, login, skill-create,
branch and search popups). Each is a pointer that either swallows or forwards a
key; none can strand a running turn, and the ordering claim they make is the
five-line handler list in handleKey (tui.go:1144-1151), which a reader checks
by eye. Also out of scope: rendering, scrolling, the diff sidebar, /run and
/pr-autofix (separate machines), and the pre-turn compaction hook, whose
guarantee is only that it never aborts a turn.
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.
- 20d ago First seen · 108 lines · 122 tokens per session scan A 5fba5567e8d4
verify-session-flow is a skill published in the GitHub repository dimetron/pi-go (232 stars, last pushed 6d ago), licensed MIT. It adds 122 tokens to every session and 1,686 once invoked, about $0.0005 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-11-09.
verify-session-flow compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| verify-session-flowdimetron/pi-go | Skill | 232 | 6d ago | MIT | A | 122 | Claude Code, Codex |
| test-fixpatriceckhart/zot | Skill | 372 | today | MIT | A | 17 | Claude Code |
| find-tracesaxiomhq/cli | Skill | 60 | 6d ago | MIT | A | 37 | Claude Code |
| troubleshoot-tervaterva-sh/terva | Skill | 5 | yesterday | MIT | A | 83 | Claude Code, Codex |
| golang-lintalexastrum/skl | Skill | 11 | 5d ago | MIT | A | 100 | Claude Code |
| golang-troubleshootingalexastrum/skl | Skill | 11 | 5d ago | MIT | A | 130 | Claude Code |
| golang-samber-oopsalexastrum/skl | Skill | 11 | 5d ago | MIT | A | 74 | Claude Code |