mcpbeat

Pi Goal

code-yeongyu/pi-goal

Persistent Codex-style goal tracking for pi. Use when the user explicitly asks to set, continue, audit, pause, resume, complete, or inspect a long-running goal.

33k tokens
context cost
the whole folder, loaded on every use
27
files
ships runnable scripts
0
copies elsewhere
how many repositories repackaged it
67138
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/code-yeongyu/oh-my-openagent --skill pi-goal

What comes with it

131 463 bytes besides the instruction
AGENTS.md
LICENSE
README.md
package.json
scripts/qa/drive.mjs
scripts/qa/mock-provider/index.ts
src/goal/command.ts
src/goal/continuation.ts
src/goal/errors.ts
src/goal/format.ts
src/goal/prompt.ts
src/goal/store.ts
src/goal/types.ts
src/goal/ui.ts
src/goal/validation.ts
src/index.ts
test/codex-alignment.test.ts
test/command.test.ts
test/continuation.test.ts
test/extension.test.ts
test/format.test.ts
test/prompt.test.ts
test/store.test.ts
test/ui.test.ts
test/validation.test.ts
tsconfig.json

The instruction itself

3 sections, as written by the author

pi-goal

Use goal tools only when the user explicitly wants persistent goal tracking or when an active goal already exists.

Tools

Create a goal:

create_goal({
	objective: "Ship the pi-goal extension",
	token_budget: 50000,
});

Inspect a goal:

get_goal({});

Update a goal:

update_goal({
	status: "complete",
});

update_goal only accepts complete. User-facing /goal commands control pause, resume, budget-limited, and clear transitions.

Completion Rule

Before marking a goal complete, audit the actual current state:

  • Restate the goal as concrete deliverables.
  • Map every explicit requirement to real evidence.
  • Inspect files, command output, test results, or repository state for each item.
  • Treat uncertainty as incomplete.
  • Call update_goal({ status: "complete" }) only when no required work remains.

Use budget-limited status when the reason to stop is budget exhaustion rather than completion.

How to use it

Copy the folder

Take code-yeongyu/pi-goal from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.