OpenCode is a powerful terminal-based AI coding assistant. it implements the Agent Skills open standard, which means screenpipe skills work out of the box.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/screenpipe/screenpipe/llms.txt
Use this file to discover all available pages before exploring further.
what is OpenCode?
OpenCode is a terminal-native AI coding assistant that brings Claude, GPT-4, and other AI models to your command line. with screenpipe integration, OpenCode gets context about what you’ve been working on across all your apps.setup
OpenCode discovers skills from multiple locations. choose the option that works best for you:OpenCode uses the same Agent Skills format as Claude Code. files in
.claude/agents/ work in .opencode/skills/ and vice versa.available skills
once installed, OpenCode has access to these screenpipe skills:| skill | description |
|---|---|
screenpipe-query | search screen OCR, audio transcriptions, and UI events (keyboard input, clicks, app switches, clipboard) |
screenpipe-health | check status, diagnose issues, verify permissions |
screenpipe-logs | retrieve and analyze screenpipe logs |
usage
OpenCode automatically discovers installed skills. invoke them in your prompts:explicit skill invocation
automatic skill selection
let OpenCode choose the right skill automatically:example workflows
context-aware coding:- invoke
screenpipe-queryto search your screen history - find the React component
- analyze the code
- help you implement it
MCP alternative
OpenCode also supports MCP servers if you prefer MCP over skills:skills vs MCP
| skills | MCP | |
|---|---|---|
| token efficiency | ✅ more efficient | ❌ more overhead |
| setup | copy files | run command |
| recommended for | local tools, codebase context | external APIs, remote services |
| OpenCode team recommendation | ✅ preferred | use for external integrations |
skill format reference
screenpipe skills follow the Agent Skills standard. here’s the structure:creating custom screenpipe skills
want to create your own screenpipe skill?- create a
.mdfile in.opencode/skills/or~/.opencode/skills/ - add YAML frontmatter with
name,description, andtools - write instructions for the AI agent
- save and test
requirements
- screenpipe running on localhost:3030
- OpenCode installed:
go install github.com/opencode-ai/opencode@latest - skills copied to
.opencode/skills/or~/.opencode/skills/
troubleshooting
skills not discovered?- run
opencode skills listto see available skills - verify files are in correct location:
.opencode/skills/or~/.opencode/skills/ - check skill file ends in
.md - ensure YAML frontmatter is valid
- verify screenpipe is running:
curl http://localhost:3030/health - check data exists:
curl "http://localhost:3030/search?limit=1" - ensure screenpipe has screen recording permissions
- try a broader time range
- mention the skill explicitly:
@screenpipe-query find... - check skill description matches your query intent
- ensure the skill file is properly formatted
- check screenpipe API is accessible
- verify Node.js is installed (for npx commands in skills)
- look at OpenCode’s debug output for details
- ensure Go is installed:
go version - try reinstalling:
go install github.com/opencode-ai/opencode@latest - check your
$GOPATH/binis in your$PATH