Overview
The FastSkill CLI provides a comprehensive command-line interface for managing skills, running the service, and performing administrative tasks. It’s designed for both development workflows and production operations.The CLI supports both interactive and scripting use cases, with comprehensive help text and validation for all commands.
Installation
The FastSkill CLI is a Rust-based command-line tool. Install it using Cargo:- Rust 1.70+ (
rustup install stable) - Git (optional, only needed with
--features git-support)
Basic Usage
Get Help
1
General help
2
Command-specific help
3
Interactive help
Global Options
| Option | Description | Example |
|---|---|---|
--version | Show version information | fastskill --version |
--verbose, -v | Enable verbose output | fastskill -v list |
--quiet, -q | Suppress non-error output | fastskill -q register skill.json |
--config | Specify configuration file | fastskill --config prod.json serve |
--log-level | Set logging level | fastskill --log-level DEBUG serve |
--help, -h | Show help information | fastskill --help |
Command Categories
Workspace & lifecycle
fastskill init
Create
skill-project.toml for a skill (authors).fastskill install
Install skills from
skill-project.toml (supports groups and --lock).fastskill reindex
Rebuild the search index for semantic discovery.
fastskill serve
Start the HTTP server (use
--enable-registry for the web UI).Skills
fastskill add
Add skills from registry ID, git, zip, or local folder (supports
--branch, --tag, -e, --group).fastskill read
Retrieve skill documentation and base directory path in agent-optimized format.
fastskill list
List locally installed skills with reconciliation status (supports
--json, --grid).fastskill disable
Disable skills by ID.
fastskill remove
Remove skills by ID.
fastskill show
Show skill details and dependency tree.
fastskill update
Update skills to the latest from source.
Registry & search
fastskill search
Semantic search across installed/available skills.
fastskill registry
Manage repositories (add/list/remove/show/update/test/refresh/list-skills/show-skill/versions/search/create).
fastskill registry list-skills
List skills from HTTP registry (supports
--scope, --all-versions, --include-pre-release, --json, --grid).fastskill auth
Manage authentication for registries.
Packaging & publish
fastskill package
Package skills into ZIP artifacts (supports change detection and version bumps).
fastskill publish
Publish packaged artifacts to blob storage.
Diagnostics
fastskill version
Show CLI version.
Configuration
Configuration Files
The CLI uses.fastskill/config.yaml for service-level configuration:
.fastskill/config.yaml
skill-project.toml at your project root:
skill-project.toml
.fastskill/publish.toml:
.fastskill/publish.toml
Environment Variables
Scripting and Automation
The CLI is designed for scripting and CI/CD integration:Batch Operations
JSON Output
Exit Codes
The CLI returns appropriate exit codes for scripting:| Code | Meaning | Example |
|---|---|---|
0 | Success | Command completed successfully |
1 | General error | Invalid arguments or configuration |
2 | Validation error | Invalid skill definition |
3 | Network error | Cannot connect to service |
4 | Timeout error | Command timed out |
5 | Permission error | Insufficient permissions |
Examples
Development Workflow
Production Deployment
CI/CD Integration
Troubleshooting
Common Issues
Command Not Found
Command Not Found
Permission Errors
Permission Errors
Network Issues
Network Issues
Port conflicts: Check if the default port (8080) is available.
Debug Mode
Enable debug mode for detailed troubleshooting:Best Practices
1
Commit manifest and lock
Commit
skill-project.toml and skills.lock together for reproducible installs.2
Reindex after changes
Run
fastskill reindex after adding or updating skills so search stays fresh.3
Scope dev skills
Use groups (e.g.,
--group dev) and install with --without dev for lean production deploys.4
Monitor service health
Regularly check service status and logs to ensure optimal operation.
5
Backup before major changes
Create backups of skill definitions before making bulk changes or updates.