Work with project stands (local/dev/stage/prod) from anywhere: a global project registry, the active stand, and deploys driven by a runbook. Trigger on /ops or requests like "deploy X to dev", "switch the stand", "how do I deploy this project", "add a project", "where do I deploy", "show my projects".
85%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Low
Low-risk findings worth noting
This skill helps you work with project stands: local, dev, stage, prod.
It is designed for juniors: you never need to edit any JSON file by hand — just
tell the agent what you want, and the agent runs the right kodu ops command or edits
the file for you.
local (your machine), dev (test
server), stage (pre-prod), prod (production, be careful!).~/.config/kodu/registry.json. It is created automatically. Thanks to it kodu
can find a project by name from any directory..runbook/runbook.md inside a project, describing step by
step how to work with each stand (where to go, which docker compose to run, how to
clone the repo). It lives in .gitignore and is never committed..runbook/config.json.kodu commands this skill relies on| Command | What it does |
|---|---|
kodu ops init | Set up stands in the current project (creates .runbook/, fixes .gitignore, adds the project to the registry) |
kodu ops list | Show all projects and their active stands |
kodu ops add <name> --path <dir> | Register a project under a unique name |
kodu ops status [name] | Show the project's active stand |
kodu ops use <stand> | Switch the active stand (in the current project) |
kodu ops use <name> <stand> | Switch the active stand of a named project (from anywhere) |
kodu ops path <name> | Print the repository path (handy: cd $(kodu ops path my-api)) |
kodu ops runbook <name> [stand] | Show the instructions for a stand |
Never make the user edit JSON by hand. When they ask to change something — run the command or edit the file yourself, then report the result in plain language.
| What the user says | What the agent does |
|---|---|
| "add project my-api, it's in ~/work/my-api" | kodu ops add my-api --path ~/work/my-api |
| "set up stands here" / "init the project" | kodu ops init (from the project folder), help fill in the runbook |
| "switch me to dev" | kodu ops use dev |
| "switch billing to prod" | kodu ops use billing prod (ask for confirmation — it's prod) |
| "add a stage stand to this project" | kodu ops use stage (the stand is added automatically), or edit .runbook/config.json |
| "change the path of project billing to …" | edit the entry in ~/.config/kodu/registry.json for the user |
| "what projects / stands do I have?" | kodu ops list or kodu ops status |
| "where is project X?" | kodu ops path X |
After any change — briefly say what you changed and why, and show kodu ops status
when useful.
kodu ops path <name> (gives you the path) or work in its folder.kodu ops runbook <name> <stand> (or open
.runbook/runbook.md).docker compose, ssh, etc.).
Show every dangerous command to the user before running it.<...> placeholders — ask the user for the details and
help fill in the file.If the project does not have .runbook/ yet:
kodu ops init (use --name <name> if the folder name
doesn't fit)..runbook/ folder with
config.json (active stand) and runbook.md (instructions), and that .runbook/
is already added to .gitignore.runbook.md for the real infrastructure.prod stand, explicitly
ask: "Are we sure we're deploying to prod?"..gitignore — automatically. The .runbook/ folder must always be in
.gitignore; kodu ops init does this itself. Never commit .runbook/.docker compose down, deletions, migrations, and other
irreversible steps — show the command to the user.uxname/kodu
db733be
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.