Skip to content
Agent Memory
Command

/agent-brain-types

Output as JSON

BOOST
From plugin
agent-brain
11944 skills9 agents44 commands
Install
> /plugin marketplace add SpillwaveSolutions/agent-brain
> /plugin install agent-brain@agent-brain-marketplace

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/agent-brain-types

Context preview

What this command does when you run it.

Output as JSON

Command definition

agent-brain-types.md
name: agent-brain-types
description: List available file type presets for indexing
parameters:
  - name: json
    description: Output as JSON
    required: false
    default: false
skills:
  - using-agent-brain
last_validated: 2026-03-16

File Type Presets

Purpose

Show all available file type presets that can be used with the `--include-type` flag during indexing. Presets are named groups of glob patterns that make it easy to index specific categories of files without writing individual patterns.

Usage

/agent-brain:agent-brain-types

Examples

/agent-brain:agent-brain-types

Execution

Display all available file type presets:

agent-brain types list

# JSON output for scripting
agent-brain types list --json

Expected Output

Preset       Extensions
python       *.py, *.pyi, *.pyw
javascript   *.js, *.jsx, *.mjs, *.cjs
typescript   *.ts, *.tsx
go           *.go
rust         *.rs
java         *.java
csharp       *.cs
c            *.c, *.h
cpp          *.cpp, *.hpp, *.cc, *.hh
web          *.html, *.css, *.scss, *.jsx, *.tsx
docs         *.md, *.txt, *.rst, *.pdf
text         *.md, *.txt, *.rst
pdf          *.pdf
code         *.py, *.pyi, *.pyw, *.js, *.jsx, ...

Use with: agent-brain index <path> --include-type <preset>

Output

Show the preset table and explain how to use presets with the index command. Provide examples of combining presets:

# Index only Python files
agent-brain index ./src --include-type python

# Index Python and documentation files
agent-brain index ./project --include-type python,docs

# Index all code files
agent-brain index ./repo --include-type code

# Combine presets with custom patterns
agent-brain index ./project --include-type typescript --include-patterns "*.json"

Notes

  • Presets can be combined with commas: `--include-type python,docs`
  • Presets can be combined with `--include-patterns` for custom patterns
  • The `code` preset is a union of all language presets
  • These presets are local (no server connection required)
  • Use `agent-brain index --help` to see all indexing options
Read more
Ships withagent-brain

A RAG-based (Retrieval-Augmented Generation) document indexing and semantic search system for AI agents and applications. Agent Brain enables intelligent querying of documentation and source code using natural language.

Get the whole plugin

Other commands on agent-brain.