create-grain
v0.1.2
Published
Create a Grain instance and shared memory repo.
Maintainers
Readme
create-grain
Create a Grain instance and shared memory repo.
npx create-grain@latestYou will be prompted for a studio name.
Local development:
node packages/create-grain/bin/create-grain.js my-studio --openThis creates:
my-studio-instancemy-studio-memorymy-studio-instance/memory -> ../my-studio-memory- Grain hooks, command docs, Cursor rules, and agent protocol
- creative memory templates
- Canvas v0 static publishing support
- two initialized git repositories, unless
--no-gitis passed
Options
| Option | What it does |
| --- | --- |
| --open | Open the generated instance folder after setup |
| --no-git | Skip git init for environments that handle git separately |
| --help | Print usage |
First Run
cd my-studio-instance
bin/grain
bin/grain brief "first brief" --body "What we are building" --active
bin/grain publish "first canvas" --artifact "path/to/artifact.html" --body "What this proves."
bin/grain save "initialize grain"