Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add lokafinnsw/claude-code-goal-mode/plugin install goal-modeWrote 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/lokafinnsw/claude-code-goal-mode/using-goal-mode)<a href="https://agentmods.dev/skills/lokafinnsw/claude-code-goal-mode/using-goal-mode"><img src="https://agentmods.dev/badge/skills/lokafinnsw/claude-code-goal-mode/using-goal-mode/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/lokafinnsw/claude-code-goal-mode/using-goal-mode"><img src="https://agentmods.dev/badge/skills/lokafinnsw/claude-code-goal-mode/using-goal-mode.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.00095 | $0.06113 |
| Opus 5 | $0.00048 | $0.03057 |
| Sonnet 5 | $0.00019 | $0.01223 |
| Haiku 4.5 | $0.00010 | $0.00611 |
Grade A, and why
using-goal-mode 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 9d 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 — 367 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Working with goal-mode
This skill teaches you (the controller agent driving a goal) how to interact with the goal-mode engine without breaking it, without spam-looping the chat, and without falsely declaring achievement. Read it once per conversation when a goal is active; the rules don't change between turns.
The full functional reference is in commands/goal-help.md (the slash command /goal-mode:goal-help). This skill focuses on behavior: when to do what, what NOT to do, and how to recover from edge cases.
v3 Default Workflow (Stop-hook is hint-only)
In v3.0+, the Stop hook returns null stdout on lifecycle=pursuing by default. The agent drives the goal explicitly via slash commands. Stop hook does NOT inject continuation prompts every turn. No more silence loops, no more multi-session leakage spam — the agent is in control of when state advances.
Recommended workflow
-
Inspect the cursor:
/goal-mode:goal-currentReturns the cursor task with checkbox-style AC coverage. Use
--jsonfor scripting or--as-builtinfor piping into Claude Code's built-in/goal "..."command. -
Do the work in normal Claude Code mode. Read files, edit code, run tests, etc. — no special tag emission required.
-
Record evidence per acceptance criterion:
/goal-mode:goal-evidence-add --criterion N --file path[:line] --note "..." /goal-mode:goal-evidence-add --criterion N --command "npm test -- foo" --exit-code 0 --note "..."The engine validates
lifecycle='pursuing'andcursor.status ∈ {pursuing, review-pending}per call. -
Claim achievement:
/goal-mode:goal-achieve- If all ACs have evidence AND
cursor.review[]is empty → marks achieved + advances cursor. - If reviewers required → transitions cursor to
review-pending. - If any AC missing → exits 1, lists missing criterion indices.
- If all ACs have evidence AND
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.
- 9d ago First seen · 367 lines · 95 tokens per session scan A 4a93045ad9f0
using-goal-mode is a skill published in the GitHub repository lokafinnsw/claude-code-goal-mode (3 stars, last pushed 3mo ago), licensed MIT. It adds 95 tokens to every session and 6,113 once invoked, about $0.0005 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 skills, from other repositories
hive.browser-automation
Required before any hive-browser CLI command. The browser is driven from the terminal by running hive-browser ... --json via terminalexec — not via MCP tools. Teaches the browser lifecycle rules (the bridge attaches to the USER'S running Chrome — never kill or launch browser processes; timeouts are transport issues…
hive.worker-delegation
Concrete patterns for breaking colony work into parallel worker jobs via runplaybook — when fan-out helps, how to model the goal as a tracker table, write the worker skill, author the playbook, pilot, and let convergence retry/resume the gap.
hive.linkedin-automation
Read before automating LinkedIn with browser tools. LinkedIn combines shadow DOM (#interop-outlet), strict Trusted Types CSP that silently drops innerHTML, Lexical composer, native beforeunload dialogs that hang the bridge, and aggressive spam filters — each has bitten us at least once. Verified flows for profile…
hive.x-automation
Read before automating X / Twitter with browser tools. Verified flows for post, reply, delete, search-and-engage, plus the Draft.js compose quirks that silently disable the send button. Includes the daily-reply and job-market-reply playbooks. Requires hive.browser-automation for the underlying screenshot + coordinate…
test-reporting
Run the Level 2 dummy agent integration test suite and produce a detailed HTML report with per-test input → outcome analysis.
hive.slack-notifications-setup
Set up a Slack notification channel (Sentinel) for a colony by driving the browser — reuse or create the "Hive Sentinel" Slack app from a JSON manifest, install it, capture the bot + app tokens, create/select the channel via the Slack API, and turn Sentinel on so the colony can ping the user on Slack and accept…