name: gpt description: "Use GPT-5.2 for long-running coding tasks: large refactors, feature implementation etc." allowed-tools: Bash, Read
GPT-5.2 (via ocw)
Long-context coding. Best for: large refactors, feature implementation.
Prompt Guidelines
GPT strictly follows instructions. Provide as much high-level design context as possible:
- Architecture decisions, data flow, component responsibilities
- Constraints, edge cases, expected behaviors
Avoid:
- Contradictory requirements (GPT will struggle to reconcile conflicts)
- Code snippets — GPT writes code well on its own; use tokens for design info instead
Create Session (with worktree for code edits)
ocw new gpt --worktree
Returns:
- Line 1: 6-char hash
- Line 2: worktree path (e.g.,
/path/to/ocw-abc123)
The worktree is an isolated git branch. Work there freely.
Create Session (read-only, no worktree)
ocw new gpt
Chat
ocw chat <hash> << 'EOF'
your prompt
EOF
Chat with File
ocw chat <hash> -f /path/to/spec.md << 'EOF'
implement based on this
EOF
Worktree Workflow
ocw new gpt --worktree→ get hash + path- Work in worktree:
cd /path/to/ocw-{hash} - Edit, commit, push as needed
- When done:
git worktree remove /path/to/ocw-{hash}
List Sessions
ocw list