用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/javimosch/goal-mode --skill goal-mode命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | goal-mode |
| description | Generic /goal implementation for Devin CLI and OpenCode. |
| triggers | ["user","model"] |
Generic /goal command implementation for Devin CLI, OpenCode, and Pi. Provides persistent session-scoped objectives that persist across turns with automatic continuation hooks.
Primary users: Devin CLI, OpenCode, Pi
Note for Pi: Pi has an alternative implementation via npm:@narumitw/pi-goal (available May 16) - if installed, do not use this repo to avoid conflicts.
The goal mode is bundled with Devin CLI and OpenCode. No installation needed for those tools.
/goal <objective> — set active goal
/goal status — show goal + continuation instructions
/goal pause / resume — toggle continuation
/goal clear — delete goal
/goal complete — mark done (after audit)
/goal --tokens 250K <obj> — set with soft token budget
See REFERENCE.md for detailed setup instructions for Devin CLI (Stop hook) and OpenCode (idle plugin).
Remove the Stop lifecycle hook from ~/.config/devin/config.json:
# Remove the "stop" hook from config.json
# Edit the file and remove the stop lifecycle hook section
Delete goal database and state:
rm -f ~/.config/devin/goal.db
Remove the idle plugin:
rm -f ~/.config/opencode/plugins/goal-continue.js
Delete goal database and state:
rm -f ~/.config/opencode/goal.db
Remove the goal skill directory:
rm -rf ~/.config/pi/skills/goal
Delete goal database and state:
rm -f ~/.config/pi/goal.db
Note: If using Pi's npm package (@narumitw/pi-goal), uninstall it instead:
npm uninstall -g @narumitw/pi-goal
The generic script auto-detects the calling CLI and stores per-tool isolated state in SQLite databases. See REFERENCE.md for full architecture details.