pi-goal
GitHub用于持久化跟踪长期目标,支持设置、检查、暂停、恢复及完成状态。提供创建与审计工具,确保在预算耗尽或任务实际完成前进行严格验证,适用于需持续追踪的多步骤开发任务。
Trigger Scenarios
Install
npx skills add code-yeongyu/oh-my-openagent --skill pi-goal -g -y
SKILL.md
Frontmatter
{
"name": "pi-goal",
"description": "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."
}
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.
Version History
- ec3d5af Current 2026-08-20 11:15


