一键导入
mojo-init
Initialize session with repo state and available work
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Initialize session with repo state and available work
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Backlog.md task management — use when reading or updating project tasks
Session completion checklist — fires when unpushed work remains
Atomic commit workflow with conventional commit format
Minimal-editing instruction injected at the first edit of each commit cycle
PR creation, status, and review feedback workflow
Interactive rebase, fixup, and commit message rewriting patterns
基于 SOC 职业分类
| name | mojo-init |
| description | Initialize session with repo state and available work |
| once | true |
| triggers | [{"event":"chat.message"}] |
You are running in a sandboxed environment by default. The sandbox isolates filesystem access while allowing read-write to the current project directory and necessary git directories. Check IN_AGENT_SANDBOX environment variable to confirm sandbox status.
Check repository state and pick work:
if [[ -n "${OPENCODE:-}" ]]; then
echo "Agent: OpenCode"
elif [[ -n "${CLAUDE_CODE:-}" ]]; then
echo "Agent: Claude Code"
else
echo "Agent: Unknown"
fi
if [[ -n "${IN_AGENT_SANDBOX:-}" ]]; then
echo "Sandbox: enabled"
else
echo "Sandbox: disabled"
fi
echo ""
echo "Git status:"
git status --short --branch
forge pr status
forge pr next-action
Change only what is necessary. Edit the minimum code required to accomplish the task. Do not rename variables, restructure functions, reformat blocks, or add comments unless that is the explicit goal.
Preserve the original. Treat existing code as deliberately written. If it works and is not the subject of the task, leave it exactly as it is.
One concern per edit. If you find yourself changing something "while you're in there," stop. That change belongs in a separate task.