Scaffold a new ObjectStack project in seconds.
npm create objectstack@latest my-app# Create a project in a new directory (blank template)
npx create-objectstack my-app
# Use a specific template
npx create-objectstack my-app --template todo
# Scaffold in the current directory
npx create-objectstack
# Skip automatic dependency installation
npx create-objectstack my-app --skip-install| Template | Source | Description |
|---|---|---|
blank (default) |
bundled (offline) | Minimal starter — one object, REST API, ready to extend |
todo |
remote | Universal task & project management starter |
compliance |
remote | Compliance posture & evidence management (SOC2 / ISO27001) |
content |
remote | Content marketing pipeline — editorial calendar & channel ROI |
contracts |
remote | Post-signature CLM — approvals, obligations, renewals |
procurement |
remote | Source-to-pay — vendors, POs, receipts, invoice matching |
Remote templates are fetched from
objectstack-ai/templates at
scaffold time and require network access; blank is bundled and always works
offline.
| Option | Description |
|---|---|
[name] |
Project name (defaults to current directory name) |
-t, --template <name> |
Project template (default: blank) |
--skip-install |
Skip dependency installation |
--skip-skills |
Skip installing the ObjectStack AI skills bundle |
-V, --version |
Show version |
-h, --help |
Show help |
- Copies the template into the target directory and rewrites its identity:
package.jsonname,objectstack.manifest.jsonname/displayName, theobjectstack.config.tsmanifest literals, and the README title. A namespace is derived from the project name (my-app→my_app) and every object name in the template is re-prefixed to match (blank_note→my_app_note). - Installs dependencies (pnpm if available, otherwise npm).
- Installs the ObjectStack AI skills bundle for coding agents
(
npx skills add objectstack-ai/framework/skills --all— scoped to the curatedskills/catalog). - Writes
AGENTS.mdand.github/copilot-instructions.mdwith the project conventions — unless the template ships its own.
my-app/
├── objectstack.config.ts # defineStack() entry point
├── objectstack.manifest.json # name, namespace, version
├── package.json
├── tsconfig.json
├── .gitignore
├── README.md
├── AGENTS.md # conventions for coding agents
└── src/
└── objects/
├── index.ts
└── note.object.ts
Next steps inside the project:
npm run dev # start the dev server
npm run validate # verify metadata: schema + predicates + bindingsSee the docs: Your First Project.
Apache-2.0. See LICENSING.md.