Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ancoder-skill-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
skill-cli
CLI for managing and testing Anthropic Agent Skills (e.g. anthropics/skills).
Install (npm)
# Global
npm install -g ancoder-skill-cli
# Or run without installing
npx ancoder-skill-cli --helpThe npm package is self-contained and includes prebuilt binaries for:
- macOS arm64
- macOS x64
- Linux arm64
- Linux x64
- Windows x64
After install, the wrapper selects the correct bundled binary for the current platform automatically.
Build from source (Go)
cd skill-cli
go build -o bin/skill-cli .
# Then run: ./bin/skill-cli --help
# Or via npm: node bin/skill-cli.js --helpCommands
| Command | Description |
|---|---|
skill-cli validate <path> |
Validate a skill directory's SKILL.md |
skill-cli list [--path <dir>] |
List installed skills |
skill-cli create <name> [--path <dir>] |
Create a new skill scaffold |
skill-cli test <path> |
Test a skill (placeholder) |
Publish to npm
Set
repository.urlinpackage.jsonto your GitHub repo (e.g.git+https://github.com/your-org/skill-cli.git).Build binaries per platform before publishing the npm package:
bash scripts/build-all.shOptionally attach the same binaries to a GitHub Release with names:
skill-cli-darwin-arm64,skill-cli-darwin-x64skill-cli-linux-x64,skill-cli-linux-arm64skill-cli-win32-x64.exe
Publish the package:
npm login --registry=https://registry.npmjs.org/ npm publish --access public --registry=https://registry.npmjs.org/ --userconfig ~/.npmrc
Users who npm install -g ancoder-skill-cli get a fully bundled package. No extra binary download is required during install.
License
MIT