files

Manage indexed folders for Brain via add_files_source, remove_files_source, and reindex_files_source.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/cirne/brain-app --skill files-cirne
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: files
Source: https://github.com/cirne/brain-app/tree/main/assets/user-skills/files
Command: npx skills add https://github.com/cirne/brain-app --skill files-cirne

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Brain needs to manage which local folders it indexes for fast, relevant search results. This skill lets you decide which folders to include, exclude, or refresh, so Brain only hunts where you want it to.

Core Features & Use Cases

  • Add, remove, rename, or re-index folders so Brain's index stays aligned with your workspace.
  • Use sane defaults to index common document types (PDFs, Word, Markdown, plain text) while skipping large or noisy data like photos, videos, node_modules, and .git folders.
  • Re-read or refresh a folder after new files are added, and review current indexed sources with status checks.

Quick Start

Add a folder to index by running add_files_source with path and optional label, then run reindex_files_source to refresh.

Frequently Asked Questions about files

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I control which folders Brain indexes on my computer?

You control folder indexing by using add_files_source to include a directory path and remove_files_source to exclude it, ensuring Brain only searches your specified workspace locations.

What file types does Brain skip when indexing local folders?

When indexing local folders, Brain skips large or noisy files like photos, videos, node_modules, and .git folders by default, focusing on common document types like PDFs, Word, Markdown, and plain text.

Can I re-index a folder after adding new files to it?

Yes, you can re-index a folder after adding new files by running the reindex_files_source operation, which refreshes the existing index to include newly added documents in Brain search results.

How do I check the status of my indexed folders in Brain?

You can review current indexed sources by performing a status check, which displays the active indexed folders and their current indexing state within Brain's search configuration.

Does Brain index common document formats like PDFs and Markdown?

Yes, Brain indexes common document formats like PDFs, Word, Markdown, and plain text files by default, while skipping large media files and noisy directories like node_modules or .git.

Why is Brain searching in folders I do not want included?

Brain may search unwanted folders if they were previously added as sources; use the remove_files_source operation to delete them from the index and restrict Brain's search scope to your desired directories.