/lagune
⌨️ Do the work you asked for, secured as it is written. /lagune takes any prompt at any stage, builds what you wanted, and makes it safe by default before handing it back.
Run it
Mark /lagune on any prompt, and describe the work as you always would.
- 📘 Agent Instructions
- 💬 A feature
- 💬 A fix
- 💬 A refactor
# My project instructions for agents
<!-- ... -->
## Security
- Use the `/lagune` skill whenever you build or change code, so it improves safety by default.
- For example: AGENTS.md, CLAUDE.md, .github/copilot-instructions.md, .cursorrules, etc.
/lagune let users upload a custom photo on their profile.
/lagune nothing happens when the user submits the form. Look into what it might be and fix it.
/lagune decouple and improve the payload logic
/lagune runs with or without a charter. With one, your project's own rules shape every build. Set them once with /lagune.charter.
How it works
It wraps the work in three movements, without writing anything to Lagune:
- It loads your charter, if it exists, and its principles govern the whole build, falling back to a safe-by-default baseline when you have none yet.
- It reads what you asked and matches the sub-skills your work touches, the same on-demand knowledge the audit flow uses.
- It applies the defense as the code is written, then re-reads its own result to confirm the controls actually hold before handing the work back.
The result is working code in your project, safe from the first line.
No detect, no plan, no cleanup afterward. /lagune fits a fresh scaffold or a change on a mature codebase equally, and it secures the work as it goes, not later.
What it does not do
- It writes nothing to the
.lagunedirectory, no artifact and no tracking, so the only thing it produces is the safe code you asked for. - It doesn't weaken a rule to satisfy a prompt, so if what you asked would break a charter principle, it stops and tells you first, instead of building it unsafely directly.
