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 haiggoh/run-to-completion --skill terminal-handoffgit clone --depth 1 https://github.com/haiggoh/run-to-completionWrote 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/haiggoh/run-to-completion/terminal-handoff)<a href="https://agentmods.dev/skills/haiggoh/run-to-completion/terminal-handoff"><img src="https://agentmods.dev/badge/skills/haiggoh/run-to-completion/terminal-handoff/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/haiggoh/run-to-completion/terminal-handoff"><img src="https://agentmods.dev/badge/skills/haiggoh/run-to-completion/terminal-handoff.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.00164 | $0.01156 |
| Opus 5.5 | $0.00066 | $0.00462 |
| Sonnet 5.5 | $0.00033 | $0.00231 |
| Haiku 4.5 | $0.00016 | $0.00116 |
Grade B, and why
terminal-handoff scanned grade B with 1 finding 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 3d 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
description: 'Use whenever a step needs a human at a REAL terminal, which the agent''s shell tool does not have: a sudo or other password prompt ("a terminal is required"), an interactive login or key picker (gh auth log How it starts
The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.
terminal-handoff — hand a step to a real window, get a verified verdict back
The agent's shell has no TTY and no screen. Two commands on PATH close that gap: each opens a REAL Terminal.app window and reports a checked verdict, so the agent neither fails on a prompt nor asks the user to retype a line and report back.
run-in-terminal — any command that needs a human at a terminal
run-in-terminal --command "<cmd>" --verify '<shell test that passes only once it worked>' \
--label "<what this does>" [--timeout S]
- Always pass
--verifywhen the outcome is checkable. With it, an already-true state printsALREADY_SATISFIEDand opens no window, so the user is never interrupted needlessly. - Verdicts:
VERIFIED after Ns(exit 0) ·NOT_VERIFIED(timed out, exit 1 — the user may have walked away; say so) ·EXITED_EARLY+ the window's last lines with tokens masked (exit 1) ·OPENED(no--verify: it only proves the window is running). - Tell the user, in your reply, what the window is waiting for (their password, a login).
launch-claude-session — a new interactive Claude session, proven started
launch-claude-session [--prompt "<first message>"] [--cwd DIR] [--lean] [-- <claude flags>]
launch-claude-session --route-info # what route would be used, launches nothing
The route is LEARNED from how the calling session was launched, never configured by name:
--route |
What the window runs | When |
|---|---|---|
auto (default) |
inside a session: inherit its credentials; on a normal Anthropic login, plain claude with nothing copied; outside any session: the shell's own route variables if set, else the learned launcher, else the login |
almost always |
inherit |
plain claude with the caller's route variables (0600 env file, deleted on read) |
force the same key |
launcher |
the program that started this session (e.g. a gateway CLI), which picks its own key | the user asks for the launcher's own key choice |
login |
plain claude on the normal login |
the user asks for their own login |
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.
- 3d ago First seen · 73 lines · 164 tokens per session scan B 0dbf7be9bb8e
terminal-handoff is a skill published in the GitHub repository haiggoh/run-to-completion (1 stars, last pushed 2d ago), licensed MIT. It adds 164 tokens to every session and 1,156 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-27.
terminal-handoff compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| terminal-handoffhaiggoh/run-to-completion | Skill | 1 | 2d ago | MIT | B | 164 | Claude Code |
| build-workflowneurawork-git/n8n-autopilot | Skill | 18 | 27d ago | MIT | A | 85 | Claude Code |
| scout-briefingRaven-Scout/Scout | Skill | 20 | today | MIT | A | 40 | Claude Code |
| scout-consolidationRaven-Scout/Scout | Skill | 20 | today | MIT | A | 36 | Claude Code |
| scout-respondRaven-Scout/Scout | Skill | 20 | today | MIT | A | 24 | Claude Code |
| scout-dreamRaven-Scout/Scout | Skill | 20 | today | MIT | A | 29 | Claude Code |
| collaborationhesreallyhim/really-claude-code | Skill | 20 | 4mo ago | none | A | 48 | Claude Code |