Examples

Lagune Prompt Examples: Automate the Blue Team Flow

Copy-ready Lagune prompts: a read-only scan, the full Blue Team flow, and a Zero Trust audit, plus detection scoped to a commit, a branch or PR diff, or a real incident.

Copy-ready Lagune prompts you can paste directly into your AI agent.

πŸ’§ Shallow Scan​

A read-only sweep that reads the code on its own and reports every flaw with a fix, without running the Blue Team flow or writing to Lagune's tracking.

tip

Works better in planning mode and with a charter (/lagune.charter) defined.

AspectTrade-offLevel
EffortOne agent scans and reports, no sub-agents.
TimeQuick. A single read-only pass, nothing is applied.
Token UsageModerate, shared. The whole scan runs in one context.
/lagune You are a cybersecurity researcher with deep expertise in defensive security, using Lagune to improve your knowledge and precision.

Scan the workspace on your own and pair each flaw you find with a concrete fix. This is a standalone sweep, not the Blue Team flow: do not run detect, plan, harden, or verify, and write nothing to Lagune's tracking.

At the end, list every flaw you found, each with its severity and a concrete fix.
warning

A quick scan is one broad, unscoped prompt, so some agents are likelier to refuse it or cut it short. If yours pushes back, run the full Blue Team flow below instead: its scoped, step-by-step phases are far less likely to be blocked.


🌊 Auto Blue Team Audit Flow​

Runs the full command flow end to end without asking for user confirmation.

AspectTrade-offLevel
EffortOne agent, no sub-agents, regardless of codebase size.
TimeMedium, but less thorough in large codebases. Each command runs once, one after another.
Token UsageLower, but less isolated. Every command shares the same context.
Execute the following commands, one by one: `/lagune.charter`, `/lagune.detect`, `/lagune.plan`, `/lagune.harden`, and `/lagune.verify`.

## Loop

When `/lagune.verify` reproves one or more fixes, repeat `/lagune.harden` and then `/lagune.verify` until all findings are properly resolved.

## Important

The `/lagune.harden` command requires user confirmation before executing. Confirm everything automatically to not block the execution.

- Don't pause, don't ask: in case of doubt, do everything in "full" mode.

πŸͺ„ Scoped Detection​

Point /lagune.detect at a slice of your project instead of the whole thing. Describe the scope in plain language (a commit, a pull request, or a real situation) and it maps only the security-relevant findings there.

tip

Everything it detects here is a normal finding, so you can carry it straight into /lagune.plan, /lagune.harden, and /lagune.verify, scoped to just those items.

Give a fresh batch of commits its own security pass, scoped to just what they changed, for example:

/lagune.detect Scope the detection to everything that changed since commit `a1b2c3d`.

🚨 Zero Trust Audit​

Treats the whole workspace and every dependency as hostile: it hunts for interpreters, network calls, encoded payloads, and code hidden in unlikely places to slip past scanners, then ends with a go/no-go verdict on whether the project is safe to use.

We recommend installing with the specializations this audit leans on:

  • OWASP, AI/LLM, and the project's stack (e.g., JavaScript, Python, etc.).
danger

Be careful when running projects from untrusted sources in your local environment. Use an isolated environment, such as a sandbox (recommended), VM, or similar, to prevent malicious code from affecting your system.

AspectTrade-offLevel
EffortOne agent sweeps the whole workspace, no sub-agents.
TimeMedium. One agent works through the code and its dependencies in sequence.
Token UsageModerate, but shared. The sub-skills, the code, and the dependencies all load into one context.
/lagune You are a cybersecurity researcher with deep expertise in zero trust defensive security, using Lagune to improve your knowledge and precision.

Map the entire workspace as an untrusted source and a potential malicious scope. Every interpreter, fetch, base64, and the like must be treated as a potential threat.

Extend your analysis to the dependencies and sub-dependencies: a project may try to hide malicious code in an unlikely place to slip past scanners.

Mandatory sub-skills (read them one at a time):

- @.lagune/skills/interpreter.md
- @.lagune/skills/secrets.md
- @.lagune/skills/llm.md
- @.lagune/skills/path.md

To be clear: every mapped vulnerability must be treated as a potential threat, without exception.

At the end, give a verdict on whether the project is safe and trustworthy for me to use or not.

Last updated on July 24, 2026.

Copyright Β© 2026-present Weslley AraΓΊjo and contributors. Lagune is under the MIT License. Please check the Security Policy.

All product names, trademarks, and registered trademarks mentioned are the property of their respective owners and are used for identification purposes only.