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
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). See init Command.fastskill install
Install skills from
skill-project.toml (supports groups and --lock). See install Command.fastskill update
Update skills to latest from source with version strategies. See update Command.
fastskill reindex
Rebuild the search index for semantic discovery. See reindex Command.
fastskill serve
Start the HTTP server (use
--enable-registry for the web UI). See serve Command.Skills
fastskill add
Add skills from registry ID, git, zip, or local folder (supports
--branch, --tag, -e, --group). See skill commands.fastskill read
Retrieve skill documentation and base directory path in agent-optimized format. See skill commands.
fastskill list
List locally installed skills with reconciliation status (supports
--json, --grid). See skill commands.fastskill disable
Disable skills by ID. See skill commands.
fastskill remove
Remove skills by ID. See skill commands.
fastskill show
Show skill details and dependency tree. See skill commands.
Registry & search
fastskill search
Semantic search across installed skills (supports
--format xml, --format json). See search Command.fastskill sources
Manage repositories (list/add/remove/show/update/test/refresh/create) with authentication and priority. See sources Command.
fastskill auth
Manage authentication (login/logout/whoami) with JWT tokens and RBAC. See auth Command.
Packaging & publish
fastskill package
Package skills into ZIP artifacts with change detection and version bumps. See package Command.
fastskill publish
Publish packaged artifacts to blob storage with job tracking. See publish Command.
Diagnostics
fastskill version
Show CLI version.
Version Command
fastskill version
Display the FastSkill CLI version information.- CLI version number (e.g.,
fastskill 0.9.3) - Based on the version defined in Cargo.toml
- Verify FastSkill installation
- Check version for compatibility
- Include in bug reports
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
Commit manifest and lock
Commit
skill-project.toml and skills.lock together for reproducible installs.Scope dev skills
Use groups (e.g.,
--group dev) and install with --without dev for lean production deploys.