Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By cdubiel08v0.1.76MITIn 1 marketplace
Knowledge graph for ralph-hero: semantic search, relationship traversal, and document indexing across thoughts/ documents. Optional companion to ralph-hero.
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
knowledge-graph, semantic-search, obsidian, ralph-hero, document-indexing, fts5, embeddings
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Semantic search over a personal knowledge corpus (thoughts/ plus any other
markdown roots). Uses SQLite + sqlite-vec for local embeddings and exposes
a stdio MCP server to Claude Code.
cd plugin/ralph-knowledge
npm install
npm run build
npm run reindex # index default root (../../thoughts)
npm run reindex -- /path/to/roots # CLI override, see "Configuration"
A SQLite file is written to ~/.ralph-hero/knowledge.db by default.
| Skill | Purpose |
|---|---|
/ralph-knowledge:setup | First-time index build, roots configuration, optional dream-loop bootstrap. |
/ralph-knowledge:capture | In-flow memory capture — "remember this" distills the current insight/session into raw memories via knowledge_remember. |
/ralph-knowledge:dream-loop | On-demand memory consolidation: ingest raw activity (Gemma lab logs, git history, llm-cli transcripts, Claude Code sessions), synthesize reflections. |
/ralph-knowledge:curate | Human-gated promotion of recurring insights into the wiki tier. |
/ralph-knowledge:setup-obsidian | Configure thoughts/ as an Obsidian vault for browsing. |
The memory path is: capture/ingest (raw) → dream-loop (reflection) → curate (wiki).
ralph-knowledge reads configuration from four sources. Each source can be missing; later sources fill in only what earlier sources did not provide. The precedence for roots (directories to index), from highest to lowest, is:
npm run reindex -- /a /b /c)RALPH_KNOWLEDGE_DIRS environment variable (comma-separated)roots[] in ~/.ralph/knowledge.config.json../../thoughts (relative to the current working directory)dbPath precedence is independent:
.dbRALPH_KNOWLEDGE_DB environment variabledbPath in ~/.ralph/knowledge.config.json~/.ralph-hero/knowledge.db~/.ralph/knowledge.config.jsonCreate this file to persist multi-root setups and global ignore patterns.
The path can be overridden via the RALPH_KNOWLEDGE_CONFIG env var.
{
"roots": [
"~/projects/ralph-hero/thoughts",
"~/projects/acme-crawler/thoughts",
"~/notes"
],
"ignorePatterns": [
"**/drafts/**",
"**/worktrees/**",
"*.bak"
],
"dbPath": "~/.ralph-hero/knowledge.db"
}
All fields are optional. Tilde (~) prefixes in roots[] and dbPath are
expanded to the user's home directory at load time. Malformed JSON, non-object
top levels, and non-string entries are ignored with a warning.
On startup, ralph-knowledge logs which source provided the roots, e.g.:
Using roots from: config
Per-root .ralphignore files use full gitignore syntax and are layered on
top of the config's ignorePatterns and the following default globals (always
applied):
.claude/node_modules/dist/.git/*.logExample .ralphignore at the top of a root directory:
# Skip a whole subtree
.claude/worktrees/**
# Skip drafts but keep the index
drafts/**
!drafts/INDEX.md
# Skip anything ending in .bak
*.bak
Patterns behave exactly like .gitignore:
**/name/** matches name/ at any depth.! negates an earlier match, re-including a path./ makes the pattern directory-only.Directories whose names start with . or _ are also always skipped, as a
fast-path before any matcher is consulted.
knowledge_search and knowledge_recallralph-knowledge exposes two retrieval MCP tools that wrap the same underlying hybrid search. They differ on who decides the tier policy:
| Tool | When to use | Tier handling |
|---|---|---|
knowledge_search | Power-user / explicit path. You know the tier and want full control over rerank, lambda, return_diagnostics, chunk metadata, etc. | You pass memory_tier explicitly (doc, raw, reflection, wiki, or any — default any). |
knowledge_recall | Default for agents and skills. You declare your role and the tool picks the right tiers. | A role-keyed policy fans out one rerank-enabled hybrid.search() per tier in the role's list, then merges and re-ranks. |
knowledge_think | You want a synthesized, sourced answer to a question, not a result list. Retrieves the top-K excerpts, then asks the local model for a cited answer + an explicit gaps report ("what the bank does NOT know"). Optional role biases the tier mix. | Fail-open: returns the retrieved sources even when the local model is offline. Borrowed from the gbrain think idiom (GH-1512). |
knowledge_recall(query, role, ...) follows this fixed policy map:
npx claudepluginhub cdubiel08/ralph-hero --plugin ralph-knowledgePlugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.