claude-memory-mcp/.claude-plugin/plugin.json
Viktor Barzin 0d1cff3038
Add Claude Code plugin scaffold for single-repo install
Consolidates plugin components (hooks, commands, skills, MCP config)
into this repo so it can be installed with:
  claude plugins install github:ViktorBarzin/claude-memory-mcp

- .claude-plugin/plugin.json: manifest with all hook events
- mcp/memory-mcp.json: MCP server config using existing src/
- hooks/: compaction survival, auto-recall, auto-learn, auto-approve
- commands/: /remember and /recall slash commands
- skills/: memory-management skill
- Bump MCP server to v2.0.0 with metaclaw migration fallback
- Update README with quick install and plugin hooks docs
2026-03-14 14:49:18 +00:00

66 lines
1.6 KiB
JSON

{
"name": "claude-memory",
"version": "1.0.0",
"description": "Persistent memory with semantic search, compaction survival, and auto-learning",
"author": { "name": "Viktor Barzin" },
"keywords": ["memory", "persistence", "compaction", "recall", "remember"],
"commands": ["./commands/"],
"skills": ["./skills/"],
"mcpServers": "./mcp/memory-mcp.json",
"hooks": {
"PreCompact": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/pre-compact-backup.sh",
"timeout": 30
}
]
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/post-compact-recovery.sh",
"timeout": 10
}
]
},
{
"hooks": [
{
"type": "command",
"command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/user-prompt-recall.py",
"timeout": 5
}
]
}
],
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/auto-learn.py",
"async": true
}
]
}
],
"PermissionRequest": [
{
"matcher": "mcp__.*claude_memory__memory_|mcp__.*claude_memory__secret_",
"hooks": [
{
"type": "command",
"command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/auto-allow-memory-tools.py",
"timeout": 3
}
]
}
]
}
}