repository Command
Manage skill repositories and generatemarketplace.json files for registry discovery.
Usage
Subcommands
create
Generate amarketplace.json file from a directory containing skills.
Options
| Option | Description | Default |
|---|---|---|
--path <PATH> | Directory to scan for skills | . (current directory) |
--output <PATH> | Output file path | marketplace.json in scanned directory |
--base-url <URL> | Base URL for skill download links | None |
Examples
Generate from Current Directory
Scan the current directory and createmarketplace.json:
Scan Specific Directory
Generate marketplace.json from a specific skills directory:Custom Output Location
Specify a custom output file:Include Base URL
Add base URL for download links:How It Works
Therepository create command:
- Scans for SKILL.md files: Recursively searches the specified directory for
SKILL.mdfiles - Extracts metadata: Reads YAML frontmatter from each
SKILL.mdfile - Checks skill-info.toml: If present, uses version from
skill-info.toml(takes precedence) - Generates marketplace.json: Creates a JSON file with all discovered skills
Marketplace.json Format
The generated file follows this structure:Version Priority
When determining a skill’s version, the command uses this priority:- skill-info.toml
[metadata] version(highest priority) - SKILL.md frontmatter
versionfield - “unknown” if neither is found
Directory Structure
The command expects skills in this structure:Publishing to Registry
After generatingmarketplace.json, you can:
- Host it on a web server: Place
marketplace.jsonat the root of your skills repository - Configure as source: Add your repository to
sources.toml:
- Access via registry: Skills will appear in the registry web UI when you run
fastskill serve --enable-registry