一键导入
chore-execute
Execute a saved chore — run deploy, publish, push, or any repeatable task from docs/chore/.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Execute a saved chore — run deploy, publish, push, or any repeatable task from docs/chore/.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Long-running iterative development loops. Run arbitrarily-long tasks without diluting model attention. Triggers: ralph, ralph loop, iterative loop, long-running task, development loop.
Full compactor reference — tool parameters, anti-patterns, sandbox languages, context budget, workflows.
Diagnostics — validate config, session DB, runtimes, and troubleshoot compactor issues.
Context management — compact session, recall history, run code, search content.
Stats display — context savings, session metrics, compactions, sandbox and recall/search counters.
Helps you use the /unipi:btw side-conversation workflow effectively. Use when you want to think in parallel, ask side questions without interrupting ongoing work, or inject a side thread back into the main agent.
基于 SOC 职业分类
| name | chore-execute |
| description | Execute a saved chore — run deploy, publish, push, or any repeatable task from docs/chore/. |
Run saved chore definitions. Autocomplete available for chore file selection.
This skill MAY: read chore file, run commands, ask user for confirmation, report results. This skill MAY NOT: create new chores, edit code (unless chore requires it).
/unipi:chore-execute chore:<path>(optional) <string(greedy)>(optional)
chore:<path> — chore file to execute (autocomplete available)string(greedy) — optional context or overrides (e.g., "skip tests", "dry run").unipi/docs/chore/<chore-name>.md
If chore: arg provided:
.unipi/docs/chore/If no chore provided:
.unipi/docs/chore/Available chores:
┌─────────────────────────────┬─────────────────────────────────────┐
│ Chore │ Description │
├─────────────────────────────┼─────────────────────────────────────┤
│ push-github-main.md │ Push current branch to GitHub main │
│ publish-npm.md │ Publish package to npm registry │
│ deploy-staging.md │ Deploy to staging environment │
│ run-full-tests.md │ Run complete test suite │
└─────────────────────────────┴─────────────────────────────────────┘
Exit: Chore loaded. Steps understood.
Before executing, verify pre-conditions:
Pre-conditions:
✓ All changes committed — verified
✓ On correct branch — verified (main)
? Tests passing — should I run tests first?
If pre-conditions fail:
"Pre-condition not met: {description}. Fix this before continuing?"
If string(greedy) contains overrides:
Exit: Pre-conditions verified (or overridden).
For each step in the chore:
Display step:
Step 2/5: Push to remote
> git push origin main
Confirm execution (for destructive commands):
"Execute this step?"
Run command:
{command}
Check result:
Report progress:
✓ Step 1/5: Verify clean working tree
✓ Step 2/5: Push to remote
○ Step 3/5: Verify push (running...)
Exit: All steps completed.
If a step fails:
Report failure:
✗ Step 2/5: Push to remote — FAILED
Error: rejected (non-fast-forward)
Check chore's failure handling section:
Options:
If recovery succeeds:
"Recovered from failure. Continuing..." → Resume execution
If recovery fails:
"Cannot recover. Chore aborted at step {N}." → Report what was completed and what remains
After all steps complete:
Chore Complete: {chore-name}
✓ Step 1: {name}
✓ Step 2: {name}
✓ Step 3: {name}
✓ Step 4: {name}
✓ Step 5: {name}
Post-conditions:
✓ {Post-condition 1} — verified
✓ {Post-condition 2} — verified
"Chore
{chore-name}completed successfully."
If there were issues:
"Chore completed with notes: {notes}"
When user types /unipi:chore-execute chore:, autocomplete shows:
Available chores:
┌─────────────────────────────┬────────────┬─────────────────────────────────────┐
│ File │ Type │ Description │
├─────────────────────────────┼────────────┼─────────────────────────────────────┤
│ push-github-main.md │ git │ Push current branch to GitHub main │
│ publish-npm.md │ publish │ Publish package to npm registry │
│ deploy-staging.md │ deploy │ Deploy to staging environment │
└─────────────────────────────┴────────────┴─────────────────────────────────────┘
User selects one, or types path manually.
The string(greedy) parameter can override chore behavior:
| Override | Effect |
|---|---|
skip tests | Skip test/verification steps |
dry run | Show commands without executing |
force | Skip pre-condition checks |
verbose | Show detailed output |
step 3 | Start from step 3 |
Example:
/unipi:chore-execute chore:publish-npm skip tests
/unipi:chore-execute chore:push-github-main
Output:
Loading chore: push-github-main
Description: Push current branch changes to GitHub main
Pre-conditions:
✓ All changes committed — verified (3 files committed)
✓ On correct branch — verified (main)
Executing steps:
Step 1/3: Verify clean working tree
> git status
✓ Working tree clean
Step 2/3: Push to remote
> git push origin main
✓ Pushed to origin/main
Step 3/3: Verify push
> git log --oneline -1
✓ Remote matches local
Post-conditions:
✓ Remote main is up to date
Chore push-github-main completed successfully.
/unipi:chore-execute chore:publish-npm dry run
Output:
Loading chore: publish-npm
Description: Publish package to npm registry
Mode: DRY RUN (commands shown but not executed)
Steps that would run:
1. npm whoami
2. npm test
3. npm run build
4. npm publish
5. npm view @pi-unipi/workflow version
Dry run complete. No commands executed.
When a step fails, the agent should:
Example:
Step 2/5: Push to remote
> git push origin main
✗ FAILED: rejected (non-fast-forward)
Diagnosis: Remote has commits not in local branch
Recovery options:
1. Pull and merge: git pull origin main
2. Force push: git push --force origin main (dangerous!)
3. Abort chore
Which option?
.unipi/docs/chore/ for discoverability