Getting started
This page takes you from nothing to a release bundle, then to AI-written text, the studio, and CI. The examples use the invented habit tracker Pebble (example/pebble, https://pebble.example.com).
What you need
- Node 22 or newer (or Bun), for
npx justshipped. In CI you can use the single-file executable or the Docker image instead: see any CI. - A git repository with at least one release tag, such as
v2.0.0or2.0.0. No tags at all? See Release flow.
No account, no key and no config file are needed for a first run.
First run
In your repository:
npx justshipped generate --dry-run --no-aiThis prints one row per change in your latest release: its audience (public or internal), its importance, what decided that (rule, label, ai, or human), and where it lands in the notes. Nothing is written. --no-ai means rules only: no model is called.
If the command says it cannot tell the version, your HEAD has commits after the last tag. Name the release with --to <tag>, or give a range such as v1.0.0..v2.0.0.
Now write the bundle:
npx justshipped generate --no-aiYou get releases/<version>/changelog.md and releases/<version>/release.json. Open the changelog and edit it if you like: an edited file is kept the next time you run generate. --fresh throws edits away.
Write a config
Everything so far was inferred from the repository. To see and change it:
npx justshipped init --yes
npx justshipped doctor
npx justshipped pluginsinitwritesjustshipped.config.yamlwith the inferred values spelled out,templates/feature-card.tsx(the image template, yours to edit), and a CI example for your host. It also fillsbrandwith the logo, colors and fonts it finds in the repository, each under a comment naming the file it came from (see Finding the brand). It never replaces an existing file unless you pass--force. Without--yesit asks first.doctorchecks git, the config, the model's key, each source and target, the image renderer, and the optional browser for screenshots. It exits 0 when ready, 2 when the config is not valid, and 3 when a credential is missing.pluginslists every source, model, renderer and target, and whether the config uses it.
Turn on more outputs in the config:
app:
name: Pebble
site: https://pebble.example.com
outputs:
social: { channels: [bluesky, mastodon] }
store: { app_store: true, play: true }
feed: { json: true, rss: true }
email: trueConfig reference lists every key. examples/pebble/ is a complete config with the bundle it produces.
Add a model
With rules only, each public change becomes one item titled with its commit description. A model sorts the changes the rules leave open, groups related ones into items, and writes every output in your voice. There are three ways to add one.
A provider key. Set one in the environment and drop --no-ai:
ANTHROPIC_API_KEY=... npx justshipped generateThe first of ANTHROPIC_API_KEY, OPENAI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, OPENROUTER_API_KEY that is set picks the provider. To choose yourself, or to keep the key under another variable name:
model:
provider: openai
api_key_env: PEBBLE_OPENAI_KEY # the variable's name, never the key
max_tokens: 200000 # optional cap for one runYour Claude subscription, with no key. The claude-code provider runs the Claude Code CLI installed on your computer. It is for local runs, not CI:
model:
provider: claude-codeYour ChatGPT plan, with no key. The codex provider runs the Codex CLI installed on your computer, signed in with your ChatGPT account (codex login). Just Shipped never sees the login; Codex keeps it. It is for local runs, not CI:
model:
provider: codexA local model. provider: ollama talks to Ollama on http://localhost:11434 and needs no key. Set model.write_model and model.classify_model to models you have pulled.
With no key and no provider, a run is rules-only and says so once. A provider named in the config whose key is missing is an error (exit 5); --no-ai always runs rules only. After a run with a model, the CLI prints the tokens each stage used and an estimated cost.
Tell the model how you sound under voice (tone, rules, banned words, a glossary, and files of past notes you like): see voice.
Refine in the studio
npx justshipped studio --openThe studio is a local web app over the bundle folder: sort changes, edit text, look at images, and send drafts to your targets. See Studio.
Send it somewhere
List targets in the config, then:
npx justshipped publish --plan # says what each target would do, sends nothing
npx justshipped publishTargets cover forge Releases, a pull request, a folder, a zip, a webhook, a program of your own, and social schedulers. Schedulers only ever get drafts. See Targets.
Let a coding agent run it
npx justshipped init --agent-skillThis writes a skill for Claude Code (.claude/skills/justshipped/SKILL.md) and Codex (.agents/skills/justshipped/SKILL.md), and nothing else. Then ask your agent to "write the launch kit for this release". The skill has it check the setup with doctor, look with generate --dry-run, write the bundle, read it back, offer edits, and show publish --plan. It never publishes: that stays your step. It uses the MCP server when the agent has it connected, else the CLI. Existing files are kept unless you pass --force. The skill's source is skills/justshipped/SKILL.md.
Run it in CI
In CI, AI needs a provider key stored as a secret. Without one, and with no model.provider in the config, runs are rules-only. A config that names a provider whose key is missing fails with exit 5; pass --no-ai for a rules-only run.
- GitHub Actions: GitHub Action and the complete workflows in
examples/workflows/. - GitLab: GitLab CI/CD.
- Anything else (Woodpecker, Jenkins, a shell): any CI.
Release flow explains what preview and ship do there.