BeClaude

SecondBrain

New
70GitHub TrendingGeneralby PieroSierra

A personal knowledge base that lives in this folder. Drop content in, have it organized automatically, ask questions, and get sourced answers — either through Claude Code slash commands or a local web dashboard.

First seen 6/21/2026

Summary

SecondBrain turns your project folder into a personal knowledge base that automatically organizes content you drop in.

  • You can ask questions and receive sourced answers directly through Claude Code slash commands or a local web dashboard, making it easy to manage and retrieve information without manual effort.

Install & Usage

1
Create the agents directory
mkdir -p .claude/agents
2
Save the agent file

Add the configuration to .claude/agents/secondbrain.md

3
Invoke with @agent-name
@secondbrain

Use Cases

Save and organize notes, articles, or code snippets by simply dropping them into the folder, with automatic tagging and categorization.
Ask natural language questions about your stored knowledge and get answers with citations to the original sources.
Use the local web dashboard to browse, search, and manage your knowledge base visually without leaving your workflow.
Retrieve context from past projects or research to inform new code or decisions without switching tools.
Collaborate with a team by sharing the knowledge base folder, ensuring everyone has access to the same organized information.
Automatically summarize and link related content from multiple sources to surface connections you might have missed.

Usage Examples

1

/secondbrain save this article about React hooks to my knowledge base

2

/secondbrain what did I learn about database optimization last month?

3

/secondbrain search for Python async patterns and summarize the top results

View source on GitHub

Security Audits

LicenseUnknownSourceWarnRepositoryPass

Frequently Asked Questions

What is SecondBrain?

SecondBrain turns your project folder into a personal knowledge base that automatically organizes content you drop in. You can ask questions and receive sourced answers directly through Claude Code slash commands or a local web dashboard, making it easy to manage and retrieve information without manual effort.

How to install SecondBrain?

To install SecondBrain: create the agents directory (mkdir -p .claude/agents), then add the config to .claude/agents/secondbrain.md. Finally, @secondbrain in Claude Code.

What is SecondBrain best for?

SecondBrain is a agent categorized under General. Created by PieroSierra.

What can I use SecondBrain for?

SecondBrain is useful for: Save and organize notes, articles, or code snippets by simply dropping them into the folder, with automatic tagging and categorization.; Ask natural language questions about your stored knowledge and get answers with citations to the original sources.; Use the local web dashboard to browse, search, and manage your knowledge base visually without leaving your workflow.; Retrieve context from past projects or research to inform new code or decisions without switching tools.; Collaborate with a team by sharing the knowledge base folder, ensuring everyone has access to the same organized information.; Automatically summarize and link related content from multiple sources to surface connections you might have missed..