mirror of
https://github.com/basicmachines-co/basic-memory
synced 2026-06-21 13:47:35 +00:00
a70b355838
Add full plugin infrastructure for distribution: Marketplace: - Add marketplace.json for self-hosting at basicmachines-co/basic-memory - Users can add via: /plugin marketplace add basicmachines-co/basic-memory Slash Commands: - /remember [title] - Capture insights to Basic Memory - /continue [topic] - Resume previous work with context - /context <url> - Build context from memory:// URLs - /recent [timeframe] - Show recent activity Hooks: - PostToolUse: Confirm when notes are saved - Stop: Suggest /remember for valuable conversations Updated PLUGIN.md with comprehensive documentation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: phernandez <paul@basicmachines.co>
27 lines
713 B
JSON
27 lines
713 B
JSON
{
|
|
"hooks": {
|
|
"PostToolUse": [
|
|
{
|
|
"matcher": "mcp__basic-memory__write_note",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "echo '✓ Note saved to Basic Memory'"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Stop": [
|
|
{
|
|
"matcher": "*",
|
|
"hooks": [
|
|
{
|
|
"type": "prompt",
|
|
"prompt": "If this conversation contained valuable insights, decisions, or learnings that should be preserved, suggest using `/remember [title]` to capture them in Basic Memory. Only suggest this if there's genuinely valuable content worth preserving - don't suggest for trivial interactions."
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|