Pi Goal
Productivitypi-goalPi Goal is an Agent Skill for productivity published in the code-yeongyu/oh-my-openagent repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
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.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/code-yeongyu/oh-my-openagent/blob/HEAD/packages/pi-goal/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/pi-goal, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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.