Install
$ agentstack add skill-imrandev3-agentmemory-opencode-skill-opencode-skill ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
AgentMemory - Persistent Memory for AI Coding Agents
agentmemory silently captures what your agent does, compresses it into searchable memory, and injects the right context when the next session starts.
Quick Start
# Terminal 1: Start the memory server
npx @agentmemory/agentmemory
# Terminal 2: Add to OpenCode
# Edit opencode.json and add the MCP config
Configuration for OpenCode
Add this to your opencode.json:
{
"mcp": {
"agentmemory": {
"type": "local",
"command": ["npx", "-y", "@agentmemory/mcp"],
"enabled": true,
"env": {
"AGENTMEMORY_URL": "http://localhost:3111"
}
}
}
}
Commands
Search Memory
Use /recall or memory_smart_search MCP tool to search past observations.
Example: /recall JWT auth middleware
Remember Something
Use /remember or memory_save MCP tool to save insights.
Example: /remember Use jose package instead of jsonwebtoken for Edge compatibility
Session History
Use /session-history to see recent session summaries.
Forget
Use /forget to delete observations or sessions.
What Gets Captured
The system automatically captures:
- User prompts
- Tool usage (file edits, tests, commands)
- Error contexts
- Session summaries
- Sub-agent lifecycle
Key MCP Tools
memory_smart_search- Hybrid semantic + keyword searchmemory_save- Save an insight, decision, or patternmemory_recall- Search past observationsmemory_sessions- List recent sessionsmemory_profile- Project profile (concepts, files, patterns)memory_file_history- Past observations about specific files
Viewer
Open http://localhost:3113 to watch memory build live with session replay, knowledge graph, and health dashboard.
Troubleshooting
If MCP tools aren't available:
- Confirm agentmemory server is running (
npx @agentmemory/agentmemory) - Check OpenCode config has correct MCP entry
- Restart OpenCode after config changes
For more info: https://github.com/rohitg00/agentmemory
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: ImranDev3
- Source: ImranDev3/agentmemory-opencode-skill
- License: Apache-2.0
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.