From maenifold
Manages Maenifold knowledge graphs via CLI: write/read/search/edit memories, build context, run workflows, visualize graphs, track assumptions.
npx claudepluginhub msbrettorg/maenifold --plugin maenifoldThis skill uses the workspace's default tool permissions.
This skill requires the maenifold binary to be installed. For complete installation instructions see: **[references/README.md](./references/README.md)**
references/BOOTSTRAP.mdreferences/SCRIPTING.mdreferences/SECURITY_MODEL.mdusage/adopt.mdusage/analyzeconceptcorruption.mdusage/assumptionledger.mdusage/buildcontext.mdusage/deletememory.mdusage/editmemory.mdusage/extractconceptsfromfile.mdusage/findsimilarconcepts.mdusage/getconfig.mdusage/gethelp.mdusage/listassets.mdusage/listmemories.mdusage/memorystatus.mdusage/movememory.mdusage/readmcpresource.mdusage/readmemory.mdusage/recentactivity.mdQueries bundled research knowledge graph for knowledge systems methodology guidance via 3-tier KB (WHY claims, HOW docs, examples) with cited, practical answers.
Builds and maintains an LLM-curated personal knowledge base from sources like papers, articles, transcripts, and notes. Supports ingestion, querying accumulated notes, linting, auditing, and scaling.
Traverses knowledge graph across memories, entities, and relationships for comprehensive context. Use before planning complex work, investigating concept connections, or answering 'what do you know about X'.
Share bugs, ideas, or general feedback.
This skill requires the maenifold binary to be installed. For complete installation instructions see: references/README.md
If maenifold tools are not working:
which maenifold (or where maenifold on Windows)Prefer CLI execution (maenifold --tool <ToolName> --payload '{...}') over MCP tool calls. Code execution reduces token consumption by avoiding tool-definition overhead and intermediate-result bloat (rationale). Use MCP tools as fallback when CLI execution is unavailable or impractical.
For CLI scripting patterns, search techniques, and RAG composition recipes, see: references/SCRIPTING.md
If the MCP server is unavailable:
maenifold --tool <ToolName> --payload '{...}'Memory resets between sessions. That reset is not a limitation—it forces reliance on maenifold's knowledge graph and the memory:// corpus as living infrastructure. Use all maenifold tools to retrieve and persist knowledge as needed. Never rely on internal memory—use buildcontext, findsimilarconcepts and searchmemories to ground answers in the knowledge graph. When insufficient information exists for a confident recommendation, clearly state what additional data or input would help, then use external knowledge sources to research and write lineage-backed memory:// notes to inform the answer.
Always search the graph first for existing notes to update before creating new ones. Always update existing memory:// notes instead of creating duplicates. Always search for the correct folder to place new notes to ensure memory follows the ontology and is easily discoverable later.
Context will be automatically compacted as it approaches its limit. Do not stop tasks early due to token budget concerns. Save progress to memory:// when approaching the context limit and rehydrate from that location post compaction.
maenifold operates as a 6-layer composition architecture. From bottom to top:
[[WikiLink]] becomes a graph nodewritememory, searchmemories, buildcontext, findsimilarconcepts persist and query knowledgerecentactivity, assumptionledger track state across interactionsadopt conditions reasoning through roles/colors/perspectivessequentialthinking enables revision, branching, multi-day persistenceworkflow composes all layers; workflows can nest workflowsHigher layers invoke lower layers. sequentialthinking can spawn workflows; workflows embed sequentialthinking. Complexity emerges from composition, not bloated tools.
Opportunistically leverage maenifold's full cognitive stack to maximize effectiveness. For non-trivial tasks, use workflow in conjunction with the 'workflow-dispatch' workflow—follow its guidance to analyze the task and determine the best course of action. If the user asks to 'think' about something, use 'workflow-dispatch'.
Subagents are ephemeral. Use maenifold's memory:// tool to store important notes, decisions, and artifacts for future retrieval. Use sequentialthinking to capture thought processes and reasoning steps. Set totalThoughts to the initial estimate of thoughts needed and do not specify a session ID—the tool will provide the session ID automatically. Use that session ID to continue the session in future interactions.
All agents have access to all maenifold tools and can collaborate within the same sequentialthinking sessions. All agents are ephemeral, but with sequentialthinking thought processes persist across sessions and build a graph on thought which compounds over time with institutional memory. Leverage this capability fully, but create signal, not noise.
Always share the sequentialthinking session ID with subagents. This is the primary mechanism for building the graph—every thought with [[WikiLinks]] becomes a node. Never spawn a subagent without giving them a session to contribute to.
Embed [[WikiLinks]] in Task prompts to trigger automatic context injection via the PreToolUse hook. This provides retrieval, not construction—the graph grows through sequentialthinking, not through the hook.
The graph becomes the true context window with institutional memory that compounds over time.
Use writememory to contribute to institutional memory:
Use sequentialthinking to contribute to episodic memory and thought processes:
buildcontext → traverse graph relationships from a known concept
depth=1 for direct relations, depth=2+ for expanded neighborhoodincludeContent=true for file previews without separate readsfindsimilarconcepts → discover concepts by semantic similarity
Common patterns:
findsimilarconcepts → pick best match → buildcontext → searchmemories.[[WikiLinks]] inline, then search those [[WikiLinks]] using buildcontext, findsimilarconcepts and searchmemories.readmemory to review relevant documents surfaced by search results.
<external_docs> When memory:// lacks sufficient detail, call these external doc layers to ground answers in authoritative sources. Always cite the source used.
mcp__plugin_context7_context7__resolve-library-id first to get the library ID, then mcp__plugin_context7_context7__query-docs with the query. Use for library/framework APIs, architecture, and examples; prefer over generic web search.microsoft-docs:microsoft-docs for conceptual docs/tutorials, or microsoft-docs:microsoft-code-reference for API references and code samples. Use for any Microsoft/Azure guidance or code.
</external_docs>Hard constraints:
memory:// note; (3) response. Do not answer directly from internal model knowledge; the framework postdates training and internal memory is untrusted.memory:// notes (Maenifold memory) rather than internal model knowledge.memory:// note, then answer using that note and include its memory:// URI in the response.memory:// grounding exists, respond with INSUFFICIENT DATA and ask for the missing context.Freshness rules:
< 24h old: treat as trusted.24h–14d old: treat as needs verification (re-check against the repo code/docs/<external_docs>; if it still holds, say so).> 14d old: treat as needs updating before using (re-verify and update the memory note first; if unable to verify, do not cite it).Response requirement:
memory://... URI(s) used to synthesize the answer.When creating or modifying any memory:// artifact, include strict provenance.
Requirements:
## Source section with one or more sources.
memory:// note, then answer using that note and include its memory:// URI in the response.WikiLinks are graph nodes. Bad tagging = graph corruption = broken context recovery.
Ontology: Folder structure is the ontology. Run listmemories to see current domains (e.g., azure/, finops/, tech/). Nest for sub-domains (e.g., azure/billing/, tech/ml/). Align new concepts with existing folders; extend structure when a new domain emerges.
[[authentication]] never [authentication][[tool]], [[agent]], [[test]][[tools]] when meaning "all tools"[[MCP]] not [[MCP-server]][[authentication]] not [[auth-system]][[the]], [[a]], [[file]])[[machine-learning]], [[GraphRAG]], [[vector-embeddings]][[null-reference-exception]] not [[Null Reference Exception]]Anti-patterns (silently normalized but avoid):
[[my_concept]] → use [[my-concept]][[foo/bar]] → use [[foo-bar]] or separate concepts[[foo--bar]] → use [[foo-bar]][[-database-]] → use [[database]]Example: Fixed [[null-reference-exception]] in [[authentication]] using [[JWT]]
Note: Most tools accept an optional
learnparameter (boolean, default:false). Setlearn: trueto return inline help documentation instead of executing. Exceptions (MCP):buildcontext,gethelp,listassets,readmcpresource,startwatcher,stopwatcher.
| Tool | Purpose | Key Parameters |
|---|---|---|
| writememory | Create knowledge files with graph integration | title, content (must have [[WikiLinks]]), folder, tags |
| readmemory | Retrieve files by URI or title | identifier, includeChecksum |
| searchmemories | Find files via Hybrid/Semantic/FullText search | query, mode, folder, tags |
| editmemory | Modify existing files with checksum safety | identifier, operation, content, checksum |
| deletememory | Remove files with confirmation | identifier, confirm=true |
| movememory | Relocate/rename preserving WikiLinks | source, destination |
| listmemories | Explore folder structure | path |
For detailed documentation: writememory, readmemory, searchmemories, editmemory, deletememory, movememory, listmemories
| Tool | Purpose | Key Parameters |
|---|---|---|
| buildcontext | Traverse concept relationships | conceptName, depth, maxEntities, includeContent |
| findsimilarconcepts | Semantic similarity discovery | conceptName, maxResults |
| visualize | Generate Mermaid diagrams | conceptName, depth, maxNodes |
| sync | Rebuild graph from WikiLinks | (no params) |
| extractconceptsfromfile | Analyze WikiLinks in a file | identifier |
For detailed documentation: buildcontext, findsimilarconcepts, visualize, sync, extractconceptsfromfile
| Tool | Purpose | Key Parameters |
|---|---|---|
| analyzeconceptcorruption | Diagnose concept families/variants | conceptFamily, maxResults |
| repairconcepts | Replace variants with canonical form | conceptsToReplace, canonicalConcept, dryRun=true |
Warning: Always run analyzeconceptcorruption before repairconcepts. Always use dryRun=true first.
For detailed documentation: analyzeconceptcorruption, repairconcepts
| Tool | Purpose | Key Parameters |
|---|---|---|
| workflow | Multi-step methodology orchestration | workflowId, sessionId, response, status, conclusion |
| sequentialthinking | Persistent thought sessions with branching | response, thoughtNumber, totalThoughts, nextThoughtNeeded, sessionId |
| assumptionledger | Track and validate assumptions | action, assumption, concepts, confidence, context |
Critical: response and conclusion MUST include [[WikiLinks]] for graph integration.
For detailed documentation: workflow, sequentialthinking, assumptionledger
| Tool | Purpose | Key Parameters |
|---|---|---|
| adopt | Load roles/colors/perspectives | type, identifier |
| listassets | Discover available assets by type | type (optional) |
| readmcpresource | Read asset content by URI | uri |
| getconfig | View system configuration | (no params) |
| gethelp | Load tool documentation | toolName |
| memorystatus | System statistics and health | (no params) |
| recentactivity | Monitor activity with time filtering | filter, includeContent, limit, timespan |
| updateassets | Refresh assets after upgrades | dryRun=true |
For detailed documentation: adopt, listassets, readmcpresource, getconfig, gethelp, memorystatus, recentactivity, updateassets
| Category | Tools |
|---|---|
| Memory | writememory, readmemory, searchmemories, editmemory, deletememory, movememory, listmemories |
| Graph | buildcontext, findsimilarconcepts, visualize, sync, extractconceptsfromfile |
| Repair | analyzeconceptcorruption, repairconcepts |
| Reasoning | workflow, sequentialthinking, assumptionledger |
| System | adopt, listassets, readmcpresource, getconfig, gethelp, memorystatus, recentactivity, updateassets |
If new to maenifold or encountering issues:
gethelp with any tool name, or browse usage/