goal

goal is a skill for Claude Code, Codex from KonghaYao/peri. It costs 39 tokens per session (367 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.

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.

agentmods
npx agentmods add skills/konghayao/peri/goal
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.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.svg" alt="Measured on agentmods" 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 367 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00367
Opus 5 $0.00019 $0.00183
Sonnet 5 $0.00008 $0.00073
Haiku 4.5 $0.00004 $0.00037

Measured 6d ago against content hash cd313f148e59, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 6d 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.

peri-middlewares/src/skills/builtin/skills/goal/SKILL.md · 34 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 unsolvable → goal tool, action=block, reason=why you're blocked
  5. Need to abandon/reset the goal → goal tool, action=clear (releases the singleton slot, works on terminal states)
  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 (missing permissions, missing dependencies)
  • 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. 6d 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 (160 stars, last pushed yesterday), licensed Apache-2.0. It adds 39 tokens to every session and 367 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

qa-testing

Verify your work by actually operating the app or website you changed, instead of assuming it works. Strongly recommended whenever you build, modify, or debug a web app, website, or desktop GUI app. Drive real browsers with the agent-browser CLI and native desktop apps with the cua-driver CLI. These are installed on…

openinterpreter/openinterpreter · 77 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openinterpreter/openinterpreter · 113 tokens

babysit-pr

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…

openinterpreter/openinterpreter · 114 tokens

skill-creator

Create or update a Codex skill with appropriately scoped instructions and any needed supporting resources.

openinterpreter/openinterpreter · 21 tokens

codex-pr-body

Update the title and body of one or more pull requests.

openinterpreter/openinterpreter · 17 tokens

remote-tests

Testing against remote executors in integration tests.

openinterpreter/openinterpreter · 12 tokens