Skip to content

alta new ​

Creates content from a skeleton; genres: chart, quest-pack, onboarding, cinematics, universe, mission, signin (alta new chart is alta chart new).

Usage ​

text
alta new <genre> <dir> [--id <id>] [--kind <kind>] [--branch <branch>] [--template <flow>] [--tool <id>] [--force]

Arguments ​

NameDescription
genrerequiredWhat to create: chart, quest-pack, onboarding, cinematics, universe, mission, signin.
dirrequiredThe folder to write the files into (created if missing).

Options ​

NameTypeDefaultDescription
--idstringDefault: the folder's nameThe content's id: lower-case letters, digits and dashes, 2 to 32 characters, starting with a letter.
--kindstringDefault: agentchart: its kind, one of agent, team, module, skill, quest-pack, universe.
--branchstringDefault: coreThe branch a quest pack adds its quests to.
--templatestringDefault: link-codesignin: the sign-in template, one of link-code, device-code, email-link, secret, tool-browser.
--toolstringDefault: the template's ownsignin: the tool, one of claude, codex, gh, practice that offers the template.
--forceflagOverwrite files that already exist.

Exit codes ​

NameDescription
0ok
1problems found
2bad usage
3not in this version

Examples ​

A quest pack, with a step that does it (inputs, run, check)

Terminal
sh
alta new quest-pack my-pack
Output
text
created my-pack/quests.json (quest-pack, id my-pack)
next: edit the texts, then `alta lint my-pack`, then `alta dev my-pack`

A universe, as a folder of data

Terminal
sh
alta new universe my-world
Output
text
created my-world/universe.json, my-world/vocabulary.json, my-world/palette.json, my-world/copy/en.json, my-world/art.json, my-world/onboarding.json, my-world/copy/fr.json, my-world/cinematics.json (universe, id my-world)
next: edit the texts, then `alta lint my-world`, then `alta dev my-world`

A sign-in step: a device code shown to the player

Terminal
sh
alta new signin my-login --template device-code --tool gh
Output
text
created my-login/quests.json (signin, id my-login)
next: edit the texts, then `alta lint my-login`, then `alta dev my-login`

See also ​

Alta OS is open source (MIT).