New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

brainmaxxing

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brainmaxxing

Obsidian-native LLM wiki with tiered search and visual dashboard, usable by any agent via MCP

latest
Source
npmnpm
Version
0.2.2
Version published
Maintainers
1
Created
Source

brainmaxxing

a three-tier knowledge pipeline for AI agents

Raw sources go in, compiled wiki pages come out, generated artifacts build on top. The knowledge doesn't decay — it compounds.

Install

npm install -g brainmaxxing
brainmaxxing setup

The setup wizard walks you through 4 steps:

  • Knowledge base mode — global wiki, project-specific (.wiki/ per repo), or both (default)
  • Storage location — auto-detects Obsidian vaults, or pick a custom path. Defaults to ~/.brainmaxxing/wiki
  • Search engine — fts (BM25, no download, default) or hybrid (BM25 + ~2GB vector model)
  • Register MCP server with Claude Code — say yes. Writes brainmaxxing into ~/.claude.json

Install the Claude Code plugin (optional)

Adds /wiki:* slash commands on top of the MCP tools:

/plugin marketplace add ShahriarBijoy/brainmaxxing
/plugin install brainmaxxing@brainmaxxing
/reload-plugins

Prefer the UI? Run /plugin and use the Marketplaces and Discover tabs.

Verify

/mcp

You should see brainmaxxing listed as connected. If not, restart Claude Code.

Quick start

Just talk to Claude — it calls the MCP tools for you:

You: dump ~/papers/attention-is-all-you-need.pdf into my wiki
You: cook a page about the transformer architecture from that paper
You: lookup "attention mechanism"
You: what does my wiki currently contain?
You: check the health of my knowledge graph

Or use the plugin's workflow commands:

/wiki:setup           # interactive walkthrough
/wiki:research RLHF   # full pipeline: web search → raw → wiki → output
/wiki:ingest          # process anything sitting in raw/
/wiki:query "what do I know about reward hacking?"
/wiki:lint            # graph health check with fix suggestions
/wiki:compile         # synthesize wiki pages into an output document

Dashboard

Auto-starts with the MCP server at http://localhost:6969 (force graph, page browser, graph health). To launch standalone:

brainmaxxing web

MCP tools

14 tools across three tiers. All data-only — no internal LLM calls, no API key needed. The host agent does its own reasoning.

Wiki tier

ToolWhat it does
recallRead a wiki page by slug
cookCreate/update a page with typed relationships
lookupSearch pages (BM25 via FTS5, or hybrid BM25 + qmd vector ranking)
shelfList all pages
inventoryFull manifest with metadata and relationships
vibesGraph health check: orphans, contradictions, broken links
yapAppend to the operation log
tidyRegenerate the index page
statusSystem health across all three tiers

Raw tier

ToolWhat it does
dumpAdd a file to raw/ for later processing
stashList raw files with processing status

Output tier

ToolWhat it does
dropWrite a generated artifact to output/
receiptsList outputs with citation and promotion status
glow_upPromote an output to a full wiki page

All tools accept scope: "auto" (default), "global", "project", or "all".

Plugin skills

SkillWorkflow
/wiki:setupInteractive setup wizard
/wiki:researchFull pipeline: web search → raw/ → wiki/ → output/
/wiki:ingestProcess raw/ files into wiki/ pages
/wiki:queryAnswer questions from wiki/, save to output/
/wiki:lintGraph health check with fix suggestions
/wiki:compileSynthesize wiki/ pages into output/ documents

How it works

Three folders:

your-wiki/
  raw/        ← Dump anything here. PDFs, articles, notes.
  wiki/       ← Compiled knowledge. Agent-organized, interconnected.
  output/     ← Generated artifacts. Reports, answers, analyses.

The agent reads from raw/, writes structured pages to wiki/ with typed semantic relationships, and generates research outputs that cite wiki pages. When an output is good enough, it gets promoted back into the wiki with glow_up.

Research orchestration

You: "research RLHF"
         │
         ▼
┌─────────────────────┐
│  Break into facets   │  "theory", "implementations", "limitations"
└────────┬────────────┘
         │
    ┌────┼────┐
    ▼    ▼    ▼
  Agent Agent Agent     ← each researches one facet independently
    │    │    │
    └────┼────┘
         ▼
┌─────────────────────┐
│  Merge findings      │  deduplicate, find cross-connections, flag contradictions
└────────┬────────────┘
         ▼
┌─────────────────────┐
│  Cook wiki pages     │  one page per concept, typed relationships
└────────┬────────────┘
         ▼
┌─────────────────────┐
│  Drop synthesis      │  output report citing all pages created
└─────────────────────┘

Subagents only gather information — they never write to the wiki. The orchestrator makes all editorial calls. For narrow topics, it skips the fan-out and researches linearly.

Promotion

raw/                    wiki/                   output/
messy sources    →    curated pages      →    generated artifacts
                                                    │
                                              worth keeping?
                                                    │
                                              ┌─────┴─────┐
                                              no          yes
                                                           │
                                                       glow_up
                                                           │
                                                           ▼
                                                   back into wiki/
                                                   as a synthesis page

glow_up promotes an output to a permanent wiki page, automatically creating summarizes relationships to every page the output cited.

Relationship types

TypeMeaning
supportsEvidence that strengthens the target
contradictsEvidence that challenges the target
extendsBuilds on the target concept
supersedesReplaces the target
implementsPractical application of a concept
citesReferences as a source
summarizesCondensed version of the target

Every relationship requires a reason string — not just "A contradicts B" but why. Those reasons are indexed and searchable.

Configuration

Created by brainmaxxing setup at ~/.brainmaxxing/config.yaml:

mode: both                # global | project | both
globalWikiPath: "D:/obsidian/my-vault/brainmaxxing"
searchTier: fts           # fts (default) | hybrid (BM25 + vectors)
dashboardPort: 6969       # auto-starts with MCP server

Wiki page schema

---
title: "Reinforcement Learning from Human Feedback"
type: concept             # summary | entity | concept | comparison | synthesis
sources: ["https://arxiv.org/abs/2203.02155"]
relationships:
  - slug: reward-hacking
    type: contradicts
    reason: "Reward hacking demonstrates RLHF can be gamed"
  - slug: transformer-architecture
    type: extends
    reason: "RLHF builds on pretrained transformer models"
created: "2026-04-06T00:00:00.000Z"
updated: "2026-04-06T00:00:00.000Z"
confidence: high          # high | medium | low
status: active            # active | stale | superseded
---

Content with [[wikilinks]] to other pages.

Architecture

brainmaxxing/
├── src/
│   ├── cli.ts              # CLI: setup, web, mcp
│   ├── types.ts            # WikiPage, Relationship, RawFileStatus, OutputMeta
│   ├── schemas.ts          # Zod validation (relationships, frontmatter, config)
│   ├── mcp/server.ts       # MCP server (14 data-only tools)
│   ├── wiki/               # Reader, writer, graph analysis, path resolution
│   ├── raw/                # Manifest tracking, file ingestion
│   ├── output/             # Writer, promotions tracking
│   ├── search/             # FTS5 (default) + QMD hybrid (opt-in)
│   ├── config/             # Config loader + setup wizard with migration
│   └── web/                # Vite + Express dashboard (force graph, page browser)
├── skills/                 # Claude Code plugin skills (6 workflows)
├── AGENTS.md               # Agent protocol for any MCP client
└── package.json            # Claude Code plugin manifest

Tech: TypeScript, Zod 4, MCP SDK, SQLite FTS5, gray-matter, vitest. Optional: @tobilu/qmd for hybrid vector search.

Credits

Inspired by Karpathy's LLM Wiki idea.

License

MIT

FAQs

Package last updated on 07 Apr 2026

Related posts