Documentation Index
Fetch the complete documentation index at: https://docs.gofastskill.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Discovery commands help you find, index, and manage skills in your FastSkill ecosystem. These commands provide semantic search, vector indexing, and repository management capabilities.Command Architecture:
- Repository Management: Use
fastskill reposfor all repository operations (add, remove, list, test, refresh) and catalog browsing (skills, show, versions) - Skill Discovery: Use
fastskill search(remote catalogs by default; add--localfor installed skills and embeddings)
For detailed documentation on specific commands, see the dedicated command pages linked below.
Command Reference
fastskill search
Query skills. Default scope is remote (catalog APIs). Use--local to search installed skills; local embedding search uses OpenAI when configured and respects --embedding.
See search Command for complete documentation with output formats.
- Optionally embeds the query and searches the local vector index when
--embeddingis notfalse - Uses the skills directory from
skill-project.toml/ discovery unless--skills-diris set
<QUERY>: Search string--local: Search installed skills only--remote: Explicit remote search (same as default when--repositoryis not used alone)--repository <NAME>: Limit remote search to one configured repository-l, --limit <N>: Max results (default: 10)-f, --format <FORMAT>:table,json,grid, orxml(default: table)--json: Shorthand for--format json--embedding <true|false|auto>: Local only; ignored for remote search--skills-dir <PATH>: Override skills directory (local search / service bootstrap)
- table (default): Human-readable rows
- json / xml / grid: Structured or machine-readable layouts
fastskill reindex
Rebuild the vector search index by scanning all installed skills. Updates embeddings and similarity database.See reindex Command for complete documentation with concurrency options.
- Scans the configured skills directory for installed skills
- Generates embeddings for SKILL.md content when embedding search is enabled
- Stores vectors in the local index database used by
fastskill search --local - Tracks file hashes (SHA256) for change detection
- Skips unchanged files unless
--forceis set
--skills-dir <PATH>: Override skills directory for this run--force: Rebuild all embeddings (ignore hash cache)--max-concurrent <N>: Concurrent embedding requests (default: 5)--progress/--no-progress: Control progress UI
- After installing new skills
- After updating existing skills
- When search results are stale or incomplete
- When skill content has changed
fastskill repos
Manage skill repositories for discovering and installing skills. Supports multiple repository types with authentication and priority-based resolution. This is the primary command for repository management and catalog browsing.See repos Command for complete documentation with subcommands and authentication.
- Manages repository configuration in
skill-project.toml[tool.fastskill.repositories] - Supports multiple repository types:
git-marketplace,http-registry,zip-url,local - Handles authentication: PAT, SSH key, SSH, Basic Auth, API Key
- Implements priority-based conflict resolution (lower priority = higher precedence)
pat: Personal Access Token (for git repositories)ssh-key: SSH key pathssh: SSH connectionbasic: Basic authentication (username/password)api-key: API key (for HTTP registries)
- Lower priority numbers are checked first
- Default priority: 0
- Higher priority values are checked later
Search and Reindex Workflow
Initial Setup
After Updates
Adding New Skills
Performance Considerations
Reindexing
File Hash Detection:- Files are hashed with SHA256 to detect changes
- Unchanged files are skipped during reindex
- Use
--forceto bypass hash cache
- Embedding API requests are concurrent (default: 10)
- Use
--max-concurrentto control API rate limiting - Lower values reduce API rate limit errors
- Higher values speed up reindexing
Searching
Semantic Search:- Uses cosine similarity for ranking
- Embeddings are cached in SQLite database
- Search is O(log n) with vector index
- Use natural language queries (similar to SKILL.md descriptions)
- Include relevant domain terms
- Try different query phrasings for better results
Troubleshooting
Search returns no results
Search returns no results
Reindex fails
Reindex fails
OpenAI API key not set: Set
OPENAI_API_KEY environment variable.API rate limit errors: Reduce concurrent requests with
--max-concurrent 3.Network errors: Check internet connectivity and OpenAI API status.
Repository not found
Repository not found
Best Practices
Reindex after changes
Always run
fastskill reindex after installing, updating, or modifying skills to keep search index current.Use natural language queries
Search queries work best with natural language that matches skill descriptions in SKILL.md files.
Organize repositories by priority
Set lower priority numbers for primary repositories to ensure preferred skills are discovered first.
Test repositories after configuration
Use
fastskill repos test <name> to verify repositories are accessible before using them.See Also
- Install Command - Install skills from repositories
- repos Command - Primary repository management and catalog browsing documentation
- Search Command - Detailed search command documentation
- Repository System - Repository types and configuration