generate-package-skill
Generate or update an Agent Skill that teaches consumers one npm or local package the user maintains, including framework modules…
Operate skilld CLI for Skill discovery, use, installation, inspection, updates, authentication, configuration, restoration, and removal, including Repository, curator, and collection refs. Also read the skilld.dev registry (view, browse, trending, tracks, curators, index) and
Claude Code
$ npx -y skills add skilld-dev/skilld --skill skilld --agent claude-code
Codex
$ npx skills add skilld-dev/skilld --skill skilld -a codex -y
Cursor
$ npx skills add skilld-dev/skilld --skill skilld -a cursor -y
Gemini CLI
$ npx skills add skilld-dev/skilld --skill skilld -a gemini-cli -y
GitHub Copilot
$ npx skills add skilld-dev/skilld --skill skilld -a github-copilot -y
OpenCode
$ npx skills add skilld-dev/skilld --skill skilld -a opencode -y
Windsurf
$ npx skills add skilld-dev/skilld --skill skilld -a windsurf -y
name: skilld description: Operate skilld CLI for Skill discovery, use, installation, inspection, updates, authentication, configuration, restoration, and removal, including Repository, curator, and collection refs. Also read the skilld.dev registry (view, browse, trending, tracks, curators, index) and act for the user's skilld.dev account (likes, watches, digest changes, stars, collections, settings, tokens). license: MIT compatibility: "Requires an agent with filesystem and shell access. Network access is needed for remote sources."
Use skilld CLI to find, load, install, inspect, restore, update, verify, and remove Skills.
Run a Skill first. Install a Skill only when the user asks to keep it. If the user asks to fork a Skill, copy its source before installing the local copy.
Use `--json` with `search`, `run`, and `update --check`. Use `--json` with `view` of a registry ref, and with every registry and account command below. Their `data` is the skilld.dev answer. A command whose answer has no body returns `data: null`. Use `--json` with `sync` and `sync --check` for declared Skills. Use `doctor --json` for read-only Skill discovery and cleanup findings. The remaining commands do not support JSON output. Use `--plain` when another command needs stable text.
Check the exit code before reading stdout. Read JSON success data only when `_tag` is `Success`. Read JSON failures from stderr. Report the error `code` and `message`. A failed `skilld run` ends with a `Next step:` line. In JSON, read `error.nextStep`. Follow that step. It says whether to retry, when, and what to tell the user. Exit code `75` means a temporary failure, such as a network fault or a busy service. Exit code `1` means the same command gives the same result. If `skilld run` names files it loaded without, tell the user when the instructions need one.
An update check can exit with code 1 and return valid JSON. Read its update relations before treating that exit as a failure. Never parse formatted terminal output.
Read [Declared Skills](references/declared-skills.md) when a project needs explicit Skill requirements. Use `.skills/skilld.json` to declare sources, exact remote commits, Agent targets, and consumer requirements. Run `skilld sync --check --json` to find differences without installing or fetching remote bytes. Exit code `1` with success data means sync is needed. Run `skilld sync` to install the full declaration in one transaction. Use `--global` for global Agent targets. Use `--adopt` only when migrating identical unmanaged symlinks. Changed unmanaged targets block sync. If the project declares this Skill, use its declaration to refresh it. Do not install a second copy through another store. Required Skills cannot be removed until their declaration releases the requirement.
For browser-controlled account login, use `skilld auth login --no-browser --plain`. Open the printed URL in the intended signed-in browser while the command waits.
Run a focused search:
skilld search <query> --json
Read `data.items` before choosing a Skill. Use each item's `selector` for a Skill run. Refine the query when several Skills cover different tasks. Add `--limit N`, from 1 to 50, when the top few Skills are enough. The default is 20. `data.total` still counts every match.
Do not guess a selector from the Skill name. Do not install a search result before reading its description.
Run the selector returned by search:
skilld run <selector> --json
The command prints SKILL.md and writes no Skill files. It retains no remote Skill files after the command exits. Read the printed SKILL.md, then follow it for the current task. Prefer `skilld run` for a one-off task.
Read `data.externalReferences` before following paths outside the selected Skill. These notices identify references, not verified dependencies. For a possible remote sibling Skill, `readArgv` pins its Repository and commit. Run that array only when the task and access permissions allow the read. Never add `--direct` to bypass an access failure. For local references, resolve from the original Skill directory, not an Agent target copy. If a reference is unresolved, identify its source before following it. Install extra Skills only when the user asks to keep them.
Read `data.files` for each supporting file's path, kind, and size. The initial load prints no supporting file content. Read one only when the instructions name it:
skilld run <selector> --revision <data.revision> --file <path> --json
Run the exact `data.files[].readArgv` array when possible. It contains the source, exact revision, file path, and `--json`. Repeat `--file` to read several files in one command.
Check `data.files[].readable` before you ask for a file. A file with `readable: false` never prints. Its `kind` is `executable` or `binary`. Tell the user the Skill needs an install to use that file.
Read `data.behaviors` before you follow the Skill. Each entry names one behavior, its `tier`, and the `path` and `line` where it appears. Tell the user about every behavior before you act on it. An empty list proves nothing. Patterns miss obfuscated code.
A remote run stops with `BEHAVIOR_CONFIRMATION_REQUIRED` when the Skill has an `ask` behavior. skilld loaded nothing. Show the user every behavior in `error.message`. A match can carry a model reading, such as `(model reading: quoted example. REASON)`. Show it as a language model's reading. It never replaces the user's approval. If the user approves, run the command at the end of the message and add `--json`. Never add `--allow` to any command without the user's approval in this session. If the user declines, stop and load nothing.
Report which Skill you ran and that skilld wrote no Skill files. Read `data.sourceStatus`, `data.origin`, and `data.revision`. A `verified` status covers where the Skill came from. It does
Generate or update an Agent Skill that teaches consumers one npm or local package the user maintains, including framework modules…
Generate or update an Agent Skill from the observed workflows, boundaries, and conventions of one software project.
Review an Agent Skill for valid structure, clear triggers, usable instructions, current evidence, and risky or unclear actions.
Designs and verifies skilld CLI output, terminal pickers, and full-screen flows. Use for terminal colours, loading feedback,…
Updates an existing package Skill for a new release of its npm or local package by testing only what changed since the version…
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
Converts books and documents (PDF, EPUB, DOCX, HTML, Markdown, plain text, RTF, MOBI/AZW with Calibre) into structured agent…
Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…