docs/mintlify/docs-mintlify-mig-tmp/opencode.mdx
OpenCode is a powerful terminal-based AI coding assistant written in Go. it implements the Agent Skills open standard, which means screenpipe skills work out of the box.
OpenCode discovers skills from multiple locations. copy the screenpipe skills to any of these:
# copy to current project
mkdir -p .opencode/skills
cp -r /path/to/screenpipe/.claude/agents/* .opencode/skills/
# copy to home directory for all projects
mkdir -p ~/.opencode/skills
cp -r /path/to/screenpipe/.claude/agents/* ~/.opencode/skills/
# clone screenpipe and symlink skills
git clone https://github.com/screenpipe/screenpipe ~/screenpipe
ln -s ~/screenpipe/.claude/agents ~/.opencode/skills/screenpipe
| 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 |
OpenCode automatically discovers installed skills. invoke them in your prompts:
# start OpenCode
opencode
> @screenpipe-query find what I was reading about docker compose
> @screenpipe-health check if recording is working
> @screenpipe-logs show me errors from today
or let OpenCode choose automatically:
> what was I working on in VS Code this morning?
# OpenCode will invoke screenpipe-query
> is my screen recording working?
# OpenCode will invoke screenpipe-health
OpenCode also supports MCP servers. if you prefer MCP over skills:
# add to your opencode config
opencode config mcp add screenpipe "npx -y screenpipe-mcp"
context-aware coding:
> I was looking at a react component earlier that had a cool
> animation effect, use screenpipe to find it and help me
> implement something similar
recall documentation:
> use screenpipe to find that kubernetes docs page I was
> reading about pod scheduling
meeting follow-up:
> what did we discuss in the team call about the database
> migration? use screenpipe to find it
debug from memory:
> there was an error in my terminal earlier, use screenpipe
> to find it and help me fix it
screenpipe skills follow the Agent Skills standard:
---
name: screenpipe-query
description: Query screen recordings and audio transcriptions
tools:
- Bash
- WebFetch
---
# Screenpipe Query Agent
Instructions for querying screenpipe data...
you can customize these skills or create your own following the same format.
go install github.com/opencode-ai/opencode@latest).opencode/skills/ or ~/.opencode/skills/skills not discovered?
opencode skills list to see available skills.mdqueries returning no data?
curl http://localhost:3030/healthcurl "http://localhost:3030/search?limit=1"OpenCode not using skills?
@screenpipe-query find...still stuck? ask in our discord.