Coding Agent Boilerplate (cab) is a starting point for building apps with Pi.dev. Clone it, and your project starts with agent rules and skills already in place instead of pasting prompts into every session.
Requires Node.js 18 or newer and an internet connection.
npx create-cab ./my-projectOmit the directory to install into the current directory:
npx create-cabThe command installs AGENTS.md, .agents/, .pi/settings.json, and .pi/aliases.json from the current main branch of mii9000/cab.
The command stops before writing if a destination file exists. Review the reported paths, then replace regular files explicitly:
npx create-cab ./my-project --force--force does not follow symbolic links, replace directories, or delete unrelated files.
- Run
npm test. - Run
npm pack --dry-runand inspect the included files. - Confirm
create-cabis still available on npm. - Authenticate with
npm login. - Publish with
npm publish. - Test the published version in a temporary directory.