opencode-session-investigation - Investigate OpenCode sessions and agent drift
Reconstruct OpenCode session behavior from exports, classify drift evidence, and recommend prompt or permission fixes.
Tags
Updated: 2026-09-17Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Export OpenCode session to JSON
- Export OpenCode session to markdown
- Search OpenCode runtime logs
- Find subsession IDs and metadata
- Classify session trace evidence
- Verify reported agent drift feedback
- Recommend targeted fixes
Inputs
- OpenCode session ID
- OpenCode session export files
- OpenCode runtime log files
- User feedback on agent drift
Outputs
- JSON session export file
- Markdown transcript export file
- Findings and recommendations markdown report
Requirements
- OpenCode CLI binary
- Access to OpenCode log directory
- ripgrep command-line tool
