@substrate-kit/cli
v0.1.2
Published
Scaffold interactive canvas playgrounds with Substrate primitives
Maintainers
Readme
@substrate-kit/cli
Command line tool and MCP server for Substrate, a set of primitives for building creative tools.
Starting a new project? Use create-substrate, which installs this CLI for you.
To add Substrate to an existing project:
npx @substrate-kit/cli initThis installs the agent skills into .claude/skills/, writes CLAUDE.md, components.json and .mcp.json, and adds the CLI to your dev dependencies. After installing, the short command works:
npx substrate-kit add slider number-input colour-pickerCommands
| Command | Description |
| --- | --- |
| init | Install skills and configuration in the current project |
| create [name] | Create a new playground project |
| add [components...] | Install components; opens a picker with no arguments |
| docs [component] | Read component documentation in the terminal |
| browse [component] | Open component documentation in the browser |
| variables [component] | Show the theme override variables for a component |
| mcp | Start the Substrate MCP server over stdio |
Licence
MIT
