Author a custom skill in 10 minutes
This walks through the canonical flow: scaffold a SKILL.md from the CLI, fill it in, upload, assign to an agent, invoke, and iterate. No browser, no API key required (for the offline path).1. Scaffold
Pick a slug (kebab-case) and a category, then runinit:
./invoice-classifier/SKILL.md with the canonical body
sections and frontmatter. It is fully offline — no network round-trip,
no credential needed.
2. Edit
Open the scaffold in your editor. Three things to focus on: Description (frontmatter) — the LLM uses this to decide if the skill is relevant. Make the trigger phrase concrete:## When to use — restate the trigger and add at least one near-miss
the skill should NOT activate on. Without a negative example the agent
over-fires.
## Steps — concrete, ordered actions:
## Output format — be precise. The LLM follows whatever shape you
spell out:
3. Upload
scan_status: CLEAN, spdx_license: MIT, and
maturity: COMMUNITY.
4. Assign
For one agent:- Renders the skill body into the agent’s
[SKILLS AVAILABLE]system-prompt block. - Materialises
SKILL.mdat the right path for whichever CLI the agent uses (.claude/skills/invoice-classifier/SKILL.md,.opencode/skills/..., etc.).
5. Invoke
Trigger the skill from the user side viacrewship run:
--dry-run to inspect the assembled prompt without spending tokens:
6. Iterate
Pull the current SKILL.md back from the registry, edit, re-upload:id and
preserves every agent_skills row, so assigned agents pick up the new
body on their next run with no re-assignment needed.
When to bump the version
Theversion frontmatter field is currently informational — the upsert
is “last write wins” by slug regardless of version. Bumping it is still
useful for human reviewers. Plans for a future release: surface a
warning when an import would replace a higher version with a lower one.
When to use skill create instead
If you have an Anthropic API key (workspace credential type=API_KEY,
not OAuth), you can ask the platform to draft the SKILL.md for you:
skill-creator system
prompt against Sonnet. Output goes straight into the registry with
source=GENERATED. Use this for first drafts, then skill export to
edit + iterate normally.
If you don’t have an API key, or you want the agents themselves to capture
the workflows they discover, see
Agent-authored skills — the agent writes
the SKILL.md with its own runtime model (no API key) and it lands in a
review queue instead of going live directly.
Sharing a skill with another workspace
There’s no marketplace yet. The simplest pattern:http.curloptResolve support. Each import checks the installed HTTPS
transport against a temporary, owned TLS listener on 127.0.0.1, with a
separate wrong-address control reserved on 127.0.0.2 or an assigned local
interface; if support
cannot be demonstrated, the import is refused. DNS answers are validated and
one approved address is pinned while certificate verification retains the
original hostname. Redirects and inherited Git configuration, proxy settings,
credential helpers and hooks are disabled. Private repositories requiring
inherited authentication are consequently unsupported by this import path.
Administrators can permit an exact private Git hostname in boot configuration:
CREWSHIP_SKILLS_PRIVATE_HOSTS overrides this list with comma-separated exact
hostnames; an explicitly empty value clears it. Changes require a server
restart. Workspace owners and import request bodies cannot modify this policy.
It does not permit loopback, link-local, metadata or other reserved destinations.
The importer reads only regular SKILL.md files of at most 512 KiB from the
opened source directory. Relative symlinks resolving within that directory
remain supported. Absolute links and links escaping the directory are skipped.
This is a file-read boundary, not a filesystem or process sandbox for local
imports authorized by the host OS user.