/ob2h:ob2hfrom ob2h
Provides long-term memory, knowledge graph, AST code graph, and session logging via a local MCP server. Use to recall user/project facts, save decisions, analyze codebase architecture, and assess refactor impact.
Ships in ob2h. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
OB2H keeps everything it learns in one local store on the user's machine: memories, a knowledge graph, an AST graph of registered projects, lessons, working-context slots and session logs. The store lives in the plugin setting Data directory; nothing is sent anywhere except the LLM or embedding API that ob2h is configured to use.
The tools come from the ob2h MCP server. Their names below omit the prefix of the host
(for example mcp__ob2h__memory_save); the prefix differs between hosts.
No ob2h tools in this session? The ob2h executable is missing or the Data directory
setting is empty. Run the ob2h-setup skill.
session_log yourself. At the end of a longer session, call session_ingest with the
transcript. Without these calls the store does not grow.origin are context, not targets for file
operations on this machine.| Group | Tools |
|---|---|
| Memory | memory_save (content, optional key, importance 0..1, project_id), memory_search (query, mode hybrid (default) / fts / vector / graph), memory_context (compact <agent_memory> block), memory_update, memory_forget, memory_feedback (helpful / unhelpful / outdated), memory_merge, memory_timeline, memory_verify, memory_audit |
| Knowledge graph | knowledge_extract (text or file_path), graph_search (mode classic / ppr), graph_reason (scope docs / memory / all), graph_stats, knowledge_reconcile (preview unless apply is true) |
| Code graph | project_init, project_scan, project_scan_status, project_context, project_graph_search, project_report, project_impact, project_call_path, ast_diff, ast_history |
| Lessons and slots | lesson_save, lesson_recall, lesson_list, lesson_delete; slot_list, slot_get, slot_create, slot_append, slot_replace, slot_delete |
| Sessions and dreaming | session_log, session_ingest, session_recap, dream_run, dream_status, dream_log, dream_restore, workspace_read, workspace_write |
| Development loops | ralph_start, ralph_context, ralph_iteration, ralph_verdict, ralph_report |
| Secrets vault | secrets_status, secrets_set, secrets_get, secrets_delete, secrets_lock |
| Housekeeping | omnes_stats, omnes_backup, viewer_open |
memory_context with a short query that describes the task.
For work in a repository, also call project_context with the project id.project_impact on the function, class or file to see what
depends on it and which tests to run.project_graph_search and project_call_path for code,
memory_search, graph_search or graph_reason for everything else.memory_save with project_id. Put durable facts in memory and procedural experience
("what to do, what to avoid") in a lesson (lesson_save).session_log for the exchange, or session_ingest for the
whole transcript.id, not project_id. Pass id explicitly in every
project_*, ast_diff and ast_history call. Without it the server uses the project
of the current session, which can be a different one.project_scan waits up to 45 seconds and then answers
that the scan is still running. Poll project_scan_status until the job is done. The job
status lives in the server process: after a restart only the database part of the status
is available.project_scan of the project.memory_save is not lesson_save. A memory is a fact about the user or a project.
A lesson is procedural experience with a confidence that grows when it is saved again.slot_append reports an overflow, compact the slot
with slot_replace.secrets_get only when the user explicitly asks for that secret, and do not repeat its
value in logs or session transcripts.memory_forget, lesson_delete,
slot_delete, secrets_delete, dream_restore, memory_merge (an explicit merge of
near-duplicates), knowledge_reconcile with apply true and workspace_write.warming_up_embeddings while the embedding model loads. Retry a few seconds later.viewer_open answers gui_unavailable on a headless
machine or on a build without the GUI. Tell the user; the CLI fallback is ob2h viewer.OB2H_DATA_DIR to the Data directory
of the plugin for every ob2h command, or the command reads a different store.OB2H_LLM_API_KEY holds either the key itself or the name of the
environment variable that holds the key. A 401 that shows a name ending in _KEY means
the name was sent instead of the key.omnes_stats, memory_search, graph_stats, dream_status, secrets_status.
omnes_backup writes a backup inside the data directory and is safe to call.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
memory, knowledge-graph, code-graph, ast-analysis, session-logging, mcp-server
2 skills in this plugin
npx claudepluginhub pofium/ob2h --plugin ob2hOther plugins' skills for the same job