Autopilot
Yeachan-Heo/oh-my-claudecode
Takes a short product idea through requirements, design, planning, parallel implementation, QA cycles and multi-reviewer validation to produce working code.
Drafts and reviews /goal prompts for long-running autonomous agents, turning a vague request into a completion contract with outcome, evidence, constraints and a stop condition.
$ npx skills add Michaelliv/pi-goal --skill pi-goal-writer -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Michaelliv/pi-goal pi-goal-writer --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Michaelliv/pi-goal.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/pi-goal-writer .claude/skills/pi-goal-writer && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "pi-goal-writer" agent skill from https://github.com/Michaelliv/pi-goal/tree/main/skills/pi-goal-writer into .claude/skills/pi-goal-writer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pi-goal-writer", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Michaelliv/pi-goal/tree/main/skills/pi-goal-writerType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Michaelliv/pi-goal --skill pi-goal-writer -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Michaelliv/pi-goal pi-goal-writer --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Michaelliv/pi-goal.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/pi-goal-writer .agents/skills/pi-goal-writer && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "pi-goal-writer" agent skill from https://github.com/Michaelliv/pi-goal/tree/main/skills/pi-goal-writer into .agents/skills/pi-goal-writer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pi-goal-writer", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Michaelliv/pi-goal --skill pi-goal-writer -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Michaelliv/pi-goal pi-goal-writer --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Michaelliv/pi-goal.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/pi-goal-writer .cursor/skills/pi-goal-writer && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "pi-goal-writer" agent skill from https://github.com/Michaelliv/pi-goal/tree/main/skills/pi-goal-writer into .cursor/skills/pi-goal-writer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pi-goal-writer", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Michaelliv/pi-goal.git --path skills/pi-goal-writer--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Michaelliv/pi-goal --skill pi-goal-writer -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Michaelliv/pi-goal pi-goal-writer --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Michaelliv/pi-goal.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/pi-goal-writer .gemini/skills/pi-goal-writer && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "pi-goal-writer" agent skill from https://github.com/Michaelliv/pi-goal/tree/main/skills/pi-goal-writer into .gemini/skills/pi-goal-writer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pi-goal-writer", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Michaelliv/pi-goal pi-goal-writerInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Michaelliv/pi-goal --skill pi-goal-writer -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Michaelliv/pi-goal.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/pi-goal-writer .github/skills/pi-goal-writer && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "pi-goal-writer" agent skill from https://github.com/Michaelliv/pi-goal/tree/main/skills/pi-goal-writer into .github/skills/pi-goal-writer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pi-goal-writer", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Michaelliv/pi-goal --skill pi-goal-writer -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Michaelliv/pi-goal pi-goal-writer --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Michaelliv/pi-goal.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/pi-goal-writer .opencode/skills/pi-goal-writer && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "pi-goal-writer" agent skill from https://github.com/Michaelliv/pi-goal/tree/main/skills/pi-goal-writer into .opencode/skills/pi-goal-writer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pi-goal-writer", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
pi-goal-writerDrafts and reviews /goal prompts for long-running autonomous agents, turning a vague request into a completion contract with outcome, evidence, constraints and a stop condition.
A goal differs from an ordinary prompt because the agent keeps using it to decide what to do next and whether it can honestly stop, so the skill insists a strong goal names six parts: the outcome that must be true when done, a verification surface such as tests, commands or a diff audit, constraints that must not regress, boundaries on which files or tools may be touched, an iteration policy for choosing the next action, and a blocked stop condition for when to halt honestly with evidence rather than drift. It refuses to produce a vague goal like make this better or finish the feature, turning the user's rough intent into something with auditable completion criteria instead.
The workflow defaults to writing a Pi-compatible /goal command, reusable in Codex Goal mode, and gathers context from the relevant repository, issue, test suite or PR before drafting rather than inventing a verification surface; it asks at most three clarifying questions, only when missing information would change the goal's contract. For high-stakes or ambiguous work it offers two versions, a narrower safer goal and a broader one that delegates more discovery, with a recommendation between them.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 3f100be. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Pi Goal Writer loads about 1.7k tokens when it runs. Until then it costs about 75 tokens; SKILL.md has 640 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from Michaelliv/pi-goal at commit 3f100be, republished under its MIT licence (© Michaelliv). 640 words, ~1,716 tokens.
.claude/skills/pi-goal-writer/SKILL.md (or your agent's skills folder).Write /goal prompts that are fit for persistent autonomous work. A goal is not a bigger ordinary prompt; it is a completion contract. The agent will keep using it to decide what to do next and whether it can honestly stop, so the goal must define the desired end state, the evidence that proves it, the constraints that must remain true, and when to stop as blocked instead of drifting.
Use this skill for Pi pi-goal first. The same goal-writing principles also apply to Codex Goal mode and compatible /goal workflows.
Never produce a vague goal such as “make this better,” “finish the feature,” or “improve the codebase.” Turn the user’s rough intent into a goal with auditable completion criteria.
A strong goal includes six parts:
pi-goal. Write a Pi-compatible /goal command unless the user explicitly asks for another harness. The goal body can usually be reused in Codex Goal mode; Pi also supports optional token budgets such as /goal --tokens 50k ....Use this shape unless the user asks for a different format:
/goal <desired end state>, verified by <specific evidence>, while preserving <constraints>. Use <allowed inputs/tools/scope> and avoid <forbidden scope>. Between iterations, <how to choose the next best action and what to re-check>. If blocked or no defensible path remains, stop with <evidence gathered, attempted paths, blocker, and next input needed>.For Pi token budgets:
/goal --tokens 50k <same goal contract>Make the goal self-contained. It should survive context compaction and continuation turns. Include exact command names when known, but do not invent commands. Say “run the relevant project checks identified in AGENTS.md/package scripts” only when exact commands are unknown and the agent can inspect them.
Make completion evidence-based. The goal should require the agent to inspect real artifacts before declaring success: files changed, tests passed, benchmark numbers, rendered screenshots, logs, PR checks, or a written audit. Do not let “tests pass” be the only evidence unless the tests actually cover every requirement.
Bound the scope. Name excluded directories or behaviors when important, such as “do not rewrite CLI user-facing output,” “do not change public API behavior,” or “do not touch generated files except via the generator.”
Preserve honesty under uncertainty. If evidence may be unavailable, require a final report that separates confirmed findings, approximate/proxy evidence, blocked claims, and remaining uncertainty.
Prefer concrete stop language: “If blocked, stop with the exact blocker and what would unlock progress.” Avoid weak endings like “do your best.”
Before returning a goal, verify it answers:
/goal command?Weak:
/goal improve loggingStrong:
/goal Implement structured runtime logging, verified by targeted logger tests, the full project check/type/test suite, and final audits showing no production console.* calls outside approved CLI/UI/logger-sink exceptions. Preserve existing operator-visible console behavior, avoid logging secrets or credentials, and keep the logger generic rather than error-only. Between iterations, inspect the diff and audit remaining catch paths before deciding the next change. If blocked, stop with the unverified requirement, evidence gathered, and the next input needed.Weak:
/goal fix flaky checkout testStrong:
/goal Diagnose and either fix or conclusively characterize the flaky checkout test, verified by a reliable local reproduction or an evidence-backed failure analysis plus the relevant test command passing when a fix is made. Preserve public checkout behavior and avoid broad timing hacks unless the evidence shows timing is the root cause. Between iterations, record the hypothesis tested, command output, and next most likely cause. If the flake cannot be reproduced or no safe fix remains, stop with attempted reproductions, logs, suspected causes, and the missing evidence needed.Weak:
/goal reproduce this paperStrong:
/goal Produce the strongest evidence-backed reproduction of the paper using available local resources, verified by a final claim-by-claim report and any generated artifacts or runnable checks. Attempt the headline results where feasible, label approximate reconstructions separately from exact reproductions, and do not overclaim missing seeds, checkpoints, datasets, or implementation details. Between iterations, map claims to available evidence and prioritize the highest-value verifiable claim. If exact reproduction is blocked, stop with confirmed claims, proxy evidence, blocked claims, and the specific missing materials.© Michaelliv, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/pi-goal-writer of Michaelliv/pi-goal.
Open the folder on GitHubat commit 3f100be
Pi Goal Writer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Pi Goal Writer this skillMichaelliv/pi-goal | 228 | — | ~1.7k | Automated safety check: Pass | MIT | |
| AutopilotYeachan-Heo/oh-my-claudecode | 40k | — | ~4.4k | Automated safety check: Pass | MIT | |
| PRP Loop: Autonomous PipelineWirasm/prp | 2.3k | — | ~863 | Automated safety check: Pass | MIT | |
| Ultragoal Multi-Goal LedgerYeachan-Heo/gajae-code | 2.9k | — | ~8.4k | Automated safety check: Pass | MIT | |
| Spektacular Plan Implementationjumppad-labs/jumppad | 263 | — | ~1.8k | Automated safety check: Pass | MPL-2.0 | |
| Goal Objective DrafterQwenLM/qwen-code | 28k | — | ~3.5k | Automated safety check: Pass | Apache-2.0 |
Yeachan-Heo/oh-my-claudecode
Takes a short product idea through requirements, design, planning, parallel implementation, QA cycles and multi-reviewer validation to produce working code.
Wirasm/prp
Runs a detached, resumable loop that plans, implements, opens a PR, reviews and fixes a feature across headless CLI sessions until the review is clean.
Yeachan-Heo/gajae-code
Breaks a brief into ordered goals, keeps a durable ledger under .omc/ultragoal and prints handoff text so a Claude /goal run survives session restarts.
jumppad-labs/jumppad
Executes an approved plan step by step through the spektacular CLI, which acts as the state machine, producing code, tests and a changelog.
QwenLM/qwen-code
Turns a vague intention into a /goal objective with one outcome, numbered yes-or-no checks, guardrails, a budget and a block protocol, without starting the work.
anombyte93/prd-taskmaster
Phase 3 of the prd-taskmaster pipeline: smart mode selection and user handoff.
Categories
Drafts and reviews /goal prompts for long-running autonomous agents, turning a vague request into a completion contract with outcome, evidence, constraints and a stop condition. A goal differs from an ordinary prompt because the agent keeps using it to decide what to do next and whether it can honestly stop, so the skill insists a strong goal names six parts: the outcome that must be true when done, a verification surface such as tests, commands or a diff audit, constraints that must not regress, boundaries on which files or tools may be touched, an iteration policy for choosing the next action, and a blocked stop condition for when to halt honestly with evidence rather than drift. It refuses to produce a vague goal like make this better or finish the feature, turning the user's rough intent into something with auditable completion criteria instead.
Pi Goal Writer fits situations like: writing a /goal prompt for a long-running autonomous agent; reviewing or auditing an existing goal for missing success criteria; turning a vague request like finish the feature into a completion contract.
Run `npx skills add Michaelliv/pi-goal --skill pi-goal-writer -a claude-code`. Or copy the skill folder (skills/pi-goal-writer in Michaelliv/pi-goal) into .claude/skills/pi-goal-writer in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Michaelliv/pi-goal --skill pi-goal-writer -a codex`. Or copy the skill folder (skills/pi-goal-writer in Michaelliv/pi-goal) into .agents/skills/pi-goal-writer in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Michaelliv/pi-goal --skill pi-goal-writer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pi-goal-writer, .gemini/skills/pi-goal-writer, .github/skills/pi-goal-writer and .opencode/skills/pi-goal-writer in your project.
SKILL.md names no scripts, command-line tools or credentials: Pi Goal Writer is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Pi Goal Writer is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.7k tokens (SKILL.md is roughly 6.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Pi Goal Writer: Autopilot (Yeachan-Heo/oh-my-claudecode, 40k stars), PRP Loop: Autonomous Pipeline (Wirasm/prp, 2.3k stars), Ultragoal Multi-Goal Ledger (Yeachan-Heo/gajae-code, 2.9k stars) and Spektacular Plan Implementation (jumppad-labs/jumppad, 263 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Michaelliv (a GitHub user) maintains it in Michaelliv/pi-goal, which has 228 GitHub stars. The repository was last updated on June 21, 2026.
Source: Michaelliv/pi-goal on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.