Marketplace para o sistema carbon-claude-brain - memória persistente para Claude Code
npx claudepluginhub marcoscarbonera/carbon-claude-brainPersistent memory system for Claude Code using Obsidian vault for project knowledge and Inkdrop for personal journals. Automatically loads context at session start and saves learnings at session end.
Persistent memory for Claude Code using Obsidian as a second brain and Inkdrop as a journal — no databases, no services, no complexity.
flowchart TB
Start([Start Session]) --> Hook1[session-start.sh]
Hook1 --> Obs1[📖 Load from Obsidian]
Hook1 --> Ink1[📓 Load from Inkdrop]
Obs1 --> |Project Context|Load[Context Loaded]
Obs1 --> |Global Knowledge|Load
Ink1 --> |Personal Preferences|Load
Ink1 --> |Previous Learnings|Load
Load --> Work[👨💻 Coding Session]
Work --> Skills{Skills Available}
Skills --> |/carbon-brain-plan|PlanSkill[Update Plan]
Skills --> |/carbon-brain-context|CtxSkill[View Context]
Skills --> |/carbon-brain-search|SearchSkill[Search Projects]
Skills --> |/carbon-brain-search-patterns|PatternSkill[Search Patterns]
PlanSkill --> SaveObs[💾 Save to Obsidian]
Work --> Hook2[post-tool-use.sh]
Hook2 --> |Important Decisions|Capture[Capture Notes]
Work --> End([End Session])
End --> Hook3[session-end.sh]
Hook3 --> SaveObs2[💾 Update Obsidian Status]
Hook3 --> SaveInk[📓 Save Journal to Inkdrop]
style Start fill:#fff,stroke:#000,stroke-width:3px
style End fill:#fff,stroke:#000,stroke-width:3px
style Work fill:#fff,stroke:#000,stroke-width:2px
style Load fill:#fff,stroke:#000,stroke-width:2px
style Skills fill:#fff,stroke:#000,stroke-width:2px
graph LR
Claude[🤖 Claude Code]
Project[📁 Your Project]
Obsidian[📖 Obsidian<br/>Project Knowledge<br/><small>plans, decisions, architecture</small>]
Inkdrop[📓 Inkdrop<br/>Personal Memory<br/><small>preferences, learnings, patterns</small>]
Claude -->|works on| Project
Claude -->|reads at start| Obsidian
Claude -->|reads at start| Inkdrop
Claude -->|saves at end| Obsidian
Claude -->|saves at end| Inkdrop
style Claude fill:#fff,stroke:#000,stroke-width:3px
style Project fill:#fff,stroke:#000,stroke-width:2px
style Obsidian fill:#fff,stroke:#000,stroke-width:2px
style Inkdrop fill:#fff,stroke:#000,stroke-width:2px
Business Logic:
What gets loaded each session:
localhost:19840) — optionalbash ≥4.0, curl, node (usually pre-installed)Install directly from the plugin marketplace:
# Add the marketplace
/plugin marketplace add marcoscarvalhodearaujo/carbon-claude-brain
# Install the plugin
/plugin install carbon-claude-brain@carbon-claude-brain
# Run the configuration wizard
/carbon-brain-setup
Interactive Mode (Default): The wizard uses intelligent auto-detection and simplified prompts:
obsidian.json to find your vaultsReduced complexity: 4 manual prompts → 1-2 prompts
Non-Interactive Mode (Advanced): For automated setup or reproducible configuration:
Copy the example config:
cp ${CLAUDE_PLUGIN_ROOT}/.env.example ${CLAUDE_PLUGIN_ROOT}/.env
Edit .env with your settings:
# Required
OBSIDIAN_VAULT="/Users/yourname/Documents/MyVault"
# Optional - leave empty to disable Inkdrop
INKDROP_URL=""
INKDROP_USER=""
INKDROP_PASS=""
Run setup:
/carbon-brain-setup
The script will detect the .env file and run without prompts.
Advantages:
Clone and install manually:
git clone https://github.com/marcoscarvalhodearaujo/carbon-claude-brain
cd carbon-claude-brain
./install.sh