track

Declare local folders or glob patterns as indexed document sources for a project.

Updated Apr 24, 2026
One-click install
npx skills add https://github.com/Cain-Ish/claude-code-plugin --skill track-cain-ish
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: track
Source: https://github.com/Cain-Ish/claude-code-plugin/tree/main/skills/track
Command: npx skills add https://github.com/Cain-Ish/claude-code-plugin --skill track-cain-ish

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It solves the problem of making Claude Code know which local folders and files should be indexed for your project’s local wiki search.

Core Features & Use Cases

  • Declare tracked doc sources: Add or remove folders and glob patterns that the plugin will index for the active project.
  • Safe, validated locations: Refuses locations containing unsafe characters that could break the underlying shell invocation.
  • Search-ready indexing: Ensures newly tracked paths are scanned into the searchable registry at the next session start.

Quick Start

Run the command /second-brain:track docs/ to add the docs folder as a tracked source for your current project.

Frequently Asked Questions about track

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

FAQPage Schema
How do I add local markdown folders to my project's knowledge search index?

To add local markdown folders to knowledge search, declare the directory or glob pattern as a document source. The system validates the relative path for safe characters and updates the project's doc-sources configuration atomically.

Can I use glob patterns like notes/**/*.mdx to track custom documentation trees?

Yes, you can use glob patterns like notes/**/*.mdx to track custom documentation trees. The tool accepts globbing syntax to match specific file trees across your project workspace for local wiki indexing.

What is local wiki document indexing and when do I need it for my project?

Local wiki document indexing scans declared project files into a searchable registry for knowledge_search. You need it when your workflow requires up-to-date local documentation coverage, such as searching across docs/ or custom notes directories.

Does the document tracking tool validate glob patterns and paths before indexing?

Yes, the document tracking tool validates glob patterns and paths before indexing. It refuses locations containing unsafe characters that could break the underlying shell invocation, ensuring only safe relative paths are added.

Why are my newly tracked document sources not showing up in search results immediately?

Newly tracked document sources are scanned into the searchable registry at the next session start. The configuration is applied atomically via the CLI tool, but the indexing update requires a session restart to take effect.

What is the best way to configure multiple custom notes directories for project search?

The best way to configure multiple custom notes directories is to declare each folder or glob pattern individually using the track command. The tool updates the active project's doc-sources configuration atomically to handle multiple paths safely.