goal

goal is a skill for Claude Code, Codex from KonghaYao/peri. It costs 39 tokens per session (491 once invoked), scanned A, original, Apache-2.0.

A tracker for complex tasks that take multiple rounds of work. It records a specific objective and whether the work is still active, finished, or blocked.

In plain words
What is it for?
Use it for multi-step work or when the instruction says to keep going until a result is done. It can create, inspect, complete, block, or clear a tracked objective.
Why use it?
It keeps a long task from being abandoned halfway through and makes completion testable. It also identifies when progress cannot continue without an outside change.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for multi-step work or when the instruction says to keep going until a result is done. It can create, inspect, complete, block, or clear a tracked objective.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/konghayao/peri/goal
Install

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.

Any agent
npx skills add KonghaYao/peri --skill goal
Clone the repo
git clone --depth 1 https://github.com/KonghaYao/peri

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for goal

README.md
[![agentmods](https://agentmods.dev/badge/skills/konghayao/peri/goal/github.svg)](https://agentmods.dev/skills/konghayao/peri/goal)
Your own site
<a href="https://agentmods.dev/skills/konghayao/peri/goal"><img src="https://agentmods.dev/badge/skills/konghayao/peri/goal/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.

agentmods 80×15 button for goal

Your own site · 80×15
<a href="https://agentmods.dev/skills/konghayao/peri/goal"><img src="https://agentmods.dev/badge/skills/konghayao/peri/goal.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 491 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.00491
Opus 5.5 $0.00016 $0.00196
Sonnet 5.5 $0.00008 $0.00098
Haiku 4.5 $0.00004 $0.00049

Measured 1mo ago against content hash f0d8b5129492, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

goal 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.

mcp-packages/workspace/src/resources/builtin/skills/goal/SKILL.md · 37 lines

What it actually says

Goal Mode

When to Use

  • The user gives a complex task that requires multiple rounds to complete
  • The user says "keep going until done", "don't stop midway", "until X"

How to Use

  1. Call the goal tool with action=create and a specific, verifiable objective
  2. Work continuously until the goal is achieved
  3. Achieved → goal tool, action=complete
  4. Blocked by something you cannot resolve now → goal tool, action=block, reason=why you're blocked
    • The session reopens the goal and wakes you for a recovery attempt every 3 minutes.
    • When woken, re-check the blocker: if it is resolved, continue working; if not, call goal(block, reason) again.
  5. Need to abandon/reset the goal → goal tool, action=clear (releases the singleton slot, works on terminal states, and stops automatic recovery)
  6. Check current goal status anytime with action=get

Important Constraints

  • Objectives must be specific and verifiable: "improve code" is bad, "raise test coverage to 80%" is good
  • complete is verified: The system uses an auxiliary LLM to check if you actually achieved the goal. If verification fails, you'll get the reason back
  • block is a distress signal: Only use when truly unable to continue right now (missing permissions, missing dependencies, network outage). Do not use it to end a goal you no longer want—use clear
  • Blocked goals are retried automatically: the system wakes you every 3 minutes until the goal completes, is cleared, or the user cancels. Do not create a second goal to bypass a blocked one
  • Self-driven after creation: Once a goal is created, you'll receive a reminder after each turn. You must decide: continue / complete / block / clear
  • Singleton: Only one goal at a time. Use action=clear to release the slot before creating a new one
Changes

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.

  1. 1mo ago Changed · +3 lines f0d8b5129492
  2. 3mo ago First seen · 34 lines · 39 tokens per session scan A cd313f148e59

Subscribe to this mod's changes

goal is a skill published in the GitHub repository KonghaYao/peri (273 stars, last pushed today), licensed Apache-2.0. It adds 39 tokens to every session and 491 once invoked, about $0.0002 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-08-30.

Related

goal compared with skills from other repositories

goal next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
goalKonghaYao/periSkill273todayApache-2.0A39Claude Code, Codex
babysit-propeninterpreter/openinterpreterSkill69kyesterdayApache-2.0A114Codex
plugin-creatoropeninterpreter/openinterpreterSkill69kyesterdayApache-2.0A86Codex
codex-pr-bodyopeninterpreter/openinterpreterSkill69kyesterdayApache-2.0A17Codex
remote-testsopeninterpreter/openinterpreterSkill69kyesterdayApache-2.0A12Codex
update-v8-versionopeninterpreter/openinterpreterSkill69kyesterdayApache-2.0A86Codex
qa-testingopeninterpreter/openinterpreterSkill69kyesterdayApache-2.0A77Claude Code, Codex