ワンクリックで
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 ページを確認してインストールできます。
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.
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