Quickstart
Get started with Better Skills in under 5 minutes. This guide walks you through installing the CLI, authenticating, and syncing your first skill.Better Skills requires an account. The CLI will open your browser for device flow authentication.
Prerequisites
- Operating System: macOS (Darwin) or Linux
- Architecture: x64 (x86_64/amd64) or arm64 (aarch64)
- Shell: bash or compatible
- Internet Connection: Required for installation and authentication
Installation
Run the Installer
Install the Better Skills CLI with a single command:The installer will:
- Detect your OS and architecture
- Download the latest CLI binary from GitHub releases
- Install to
~/.local/bin/better-skills - Configure the wrapper script with the default server URL
Authentication
Better Skills uses device flow authentication for secure CLI access.Start Login
Initiate the login process:The CLI will:
- Request a device code from the server
- Display a verification URL
- Automatically open your browser to the authorization page
- Show a user code (e.g.,
ABCD-EFGH)
Authorize in Browser
If the browser doesn’t open automatically, manually visit the URL shown in the terminal.
- Enter the displayed user code when prompted
- Sign in or create a Better Skills account
- Authorize the CLI application
The CLI polls the server every few seconds until you complete authorization.
Confirm Success
Once authorized, the CLI will:
- Receive and store your access token
- Display your account email/name
- Save the session to
~/.better-skills/session.json
Sync Your First Skill
Now that you’re authenticated, sync your vault skills to your local environment.Run Sync
Sync all enabled vault skills to The CLI will:
.agents/skills/ directories:- Fetch all skills from your personal and enterprise vaults
- Install each skill to
.agents/skills/<vault-slug>/<skill-slug>/ - Create
SKILL.mdand resource files - Write a
.better-skills-lock.jsonto track synced skills
Review Synced Skills
List the skills in your local environment:You’ll see directories named by vault and skill slug, for example:
List and Search Skills
Explore your vault skills with the CLI.Clone and Edit a Skill
Clone a skill to a local directory for editing.Clone the Skill
Download a skill to a local folder:The CLI will:
- Create the target directory
- Write
SKILL.mdwith original markdown (UUID mention tokens) - Write all resource files
- Generate
.resource-ids.jsonfor validation
Edit Locally
Make changes to Add resources, update instructions, or modify mentions.
SKILL.md or resource files:Validate Changes
Before updating, validate the skill structure:This checks:
- Frontmatter required fields
[[resource:new:...]]mention targets exist- All resources are referenced in
SKILL.mdor another resource
Next Steps
You’ve successfully installed Better Skills, authenticated, and synced your first skill!Create a Skill
Learn how to create a new skill from scratch
CLI Commands
Explore all available CLI commands and options
Web Dashboard
Manage skills visually in the web app
Skill Structure
Understand the anatomy of a skill and best practices
Troubleshooting
Installation fails with 'unsupported operating system'
Installation fails with 'unsupported operating system'
The installer currently supports macOS (Darwin) and Linux only. Windows support is planned.Supported architectures:
- x64 (x86_64, amd64)
- arm64 (aarch64)
Login times out or fails
Login times out or fails
Common causes:
- Network firewall blocking
https://server.better-skills.dev - Browser did not complete authorization
- Server is unreachable (check
better-skills health)
- Run
better-skills healthto verify connectivity - Check your firewall settings
- Manually open the verification URL in your browser
Sync installs to the wrong directory
Sync installs to the wrong directory
By default, sync writes to
.agents/skills/ in the current working directory.The CLI detects agent configuration from:AGENTSenvironment variable (comma-separated).better-skills.jsonconfig file- Interactive prompt (if TTY is available)
better-skills: command not found
better-skills: command not found
Add Add this to your shell profile (
~/.local/bin to your PATH:~/.bashrc, ~/.zshrc, etc.) to persist.For more help, see the CLI Reference or open an issue on GitHub.