emanuprods/dotfiles/opencode-memory
Claude Code and agent skill by emanuprods/dotfiles
- community
Checking that the SKILL.md file is still in the repository.
Browse local OpenCode history: sessions, messages, plans, prompt history, and prior decisions. Use when the user says history, previous session, last time, remember, recall, plans, prior work, or when resuming/debugging repeated work where earlier OpenCode context may help. Do not use for fresh tasks or when current files/git already answer the question.
Install
npx vskill@latest install emanuprods/dotfiles/opencode-memorySKILL.md
The same SKILL.md was published earlier as emanuprods/dotfiles/opencode-memory.
OpenCode Memory Browser
Read-only lookup for local OpenCode history. Use it only when prior sessions, plans, or decisions would help. Do not inject history by default.
Use When
- User asks for history, previous sessions, last time, plans, recall, or memory.
- Resuming a project where prior OpenCode context may matter.
- Debugging a repeat issue that may have appeared earlier.
Do not use when repo files/git already answer the question or the task is new.
Rules
- Read-only. Never modify OpenCode DB/files.
- Use
sqlite3with read-only URI. Do not read the DB with file-read tools. - Keep results small with
LIMITand targetedLIKE. - Summarize relevant findings; do not dump raw history.
- Avoid auth/provider tables:
account,credential,control_account,account_state.
Setup
Run this first in bash:
Useful files:
- Plans:
$DATA_ROOT/plans/*.md - Prompt history:
$STATE_ROOT/prompt-history.jsonl - Session diffs:
$DATA_ROOT/storage/session_diff/<session-id>.json
Queries
Summary
Recent sessions
Search text
Replace SEARCH_TERM first.
Read session text
Replace SESSION_ID_HERE first. Text parts only; use the reference for tool, patch, file, reasoning, or V2 internals.
Plans And Prompt History
Prompt history entries currently use input, mode, and parts[]; do not assume root text.
Deep Reference
Use references/storage-format.md only when you need table details, part/tool shapes, legacy JSON paths, or debug queries.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/skills/opencode-memory/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/emanuprods/dotfiles/opencode-memory)