# second brain

> A local-first RAG system for indexing Markdown vaults and generating project documents via local LLMs.

second brain is a paid AI agent skill on Agensi by Vishal Zambre, in LLM Ops. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $30 (one-time purchase)
- Creator: [Vishal Zambre](https://www.agensi.io/creators/vishal-zambre)
- Category: [LLM Ops](https://www.agensi.io/skills/llm-ops)
- Version: 1.0
- Last updated: 2026-10-15
- Security: scan passed (2026-10-15); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/second-brain
- Tags: llm-ops, python, rag, markdown, ollama, local-llm

## About this skill

Stop feeding your entire knowledge base into context windows or cloud-hosted notebooks. This skill implements a local-first retrieval system that processes your private Markdown vault using local LLMs. It solves the privacy problem by ensuring sensitive project notes and technical documentation stay on your disk, only sending specific, retrieved context packs to a local model for synthesis.

### What it does
- **Vault Indexing** generates a local vector store from your Markdown notes for efficient retrieval.
- **Privacy Enforcement** ensures note content stays local, preventing large-scale data leakage to cloud providers.
- **Synthesis Engine** transforms raw notes into structured project briefs, research summaries, and technical proposals.
- **Decision Tracking** records architecture decisions directly back to your vault as formatted Markdown files.
- **Risk Assessment** automatically appends technical and timeline risks to every generated document based on vault hooks.

### How it works
1. **Index** the vault using `make index` whenever your local Markdown files are updated.
2. **Query** the system using specific commands like `make research` or `make brief` with a targeted subject string.
3. **Verify** the output, which combines retrieved context with mandatory risk and assumption sections.
4. **Persist** decisions by running `make decision`, which saves a timestamped record to the vault.

### Frameworks & tools
Built with Python 3.10+, GNU Make, and Ollama. It requires the llama3 model and utilizes Chroma for local vector storage of Markdown files.

### Why this beats prompting it yourself
Manual prompting requires copy-pasting notes, which is slow and risks leaking data to the model provider. This skill automates the RAG pipeline locally, ensuring consistent formatting and mandatory risk analysis that single prompts often skip.

### Use cases
- Draft project briefs using scattered meeting notes and technical specs.
- Generate technical proposals from private internal documentation.
- Synthesize research findings across dozens of disparate Markdown files.
- Log architectural decisions with automated risk and assumption tagging.

### Known limitations
Requires a local Ollama instance running llama3. The vault must contain Markdown files to function. It does not support non-markdown file formats or remote vector databases.

## Requires

- Python

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the second brain skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What does second brain do?

A local-first RAG system for indexing Markdown vaults and generating project documents via local LLMs.

### Which AI agents support second brain?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use second brain?

Connect your AI agent to Agensi through MCP, then ask it to use second brain on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
