# 🪼 Lagune [AI](https://lagune.ai) [![Secured By Lagune](https://img.shields.io/badge/Lagune-2f7bff?logo=springsecurity&logoColor=white&label=Secured%20By&labelColor=303952)](https://lagune.ai) [![Version](https://img.shields.io/npm/v/lagune?label=&color=2f7bff&logo=npm&logoColor=white)](https://www.npmjs.com/package/lagune) [![Monthly Downloads](https://img.shields.io/npm/dt/lagune?label=&color=2f7bff&logo=npm&logoColor=white)](https://www.npmjs.com/package/lagune) [![No API Key Needed](https://img.shields.io/badge/No%20API%20Key%20Needed-2f7bff?logo=claudecode&logoColor=white)](https://lagune.ai/docs) Instead of running a generic checklist, what if security existed **before**, **during**, and **after** development? --- [**Give us a ⭐ on GitHub**](https://github.com/wellwelwel/lagune)
It helps more people discover the project. --- #### 📘 Documentation English Português (Brasil) Español (España) Deutsch Français Italiano Türkçe Українська Русский 简体中文 日本語 한국어 हिन्दी Bahasa Indonesia ไทย Dansk Norsk Polski العربية --- An AI agent running Lagune: a project charter, a secure user sign-up, and a Blue Team audit
--- ## Get Started ### Install and Update Pick your agent:
Install Update
Claude Code
```bash claude plugin install lagune --marketplace wellwelwel/lagune ``` ```bash claude plugin marketplace update lagune claude plugin update lagune@lagune ```
Claude Code Extension
- Type `/plugin` and select **Manage plugins**. - Add `wellwelwel/lagune` on the **Marketplaces** tab. - Install `lagune` on the **Plugins** tab. - Type `/plugin` and select **Manage plugins**. - Open the **Marketplaces** tab. - Select the refresh icon on `lagune`.
Codex
```bash codex plugin marketplace add wellwelwel/lagune codex plugin add lagune@lagune ``` ```bash codex plugin marketplace upgrade lagune ```
Universal (skills.sh)
```bash npx skills add wellwelwel/lagune -y ``` ```bash npx skills update ```
Universal (GitHub CLI)
```bash gh skill install wellwelwel/lagune --all --scope project ``` ```bash gh skill update --all ```
- [**Antigravity**](https://lagune.ai/docs/install/antigravity-cli) - [**Cursor**](https://lagune.ai/docs/install/cursor) - [**Devin for Terminal**](https://lagune.ai/docs/install/devin-cli) - [**Factory Droid**](https://lagune.ai/docs/install/factory-droid) - [**Gemini CLI**](https://lagune.ai/docs/install/gemini-cli) - [**GitHub Copilot**](https://lagune.ai/docs/install/github-copilot-cli) - [**Grok Build**](https://lagune.ai/docs/install/grok-build) - [**Hermes Agent**](https://lagune.ai/docs/install/hermes-agent) - [**Kimi Code**](https://lagune.ai/docs/install/kimi-code) - [**Muse Code**](https://lagune.ai/docs/install/muse-code) - [**OpenCode**](https://lagune.ai/docs/install/opencode) - [**Pi**](https://lagune.ai/docs/install/pi) - [**Qwen Code**](https://lagune.ai/docs/install/qwen-code) > [!NOTE] > > - See the [**Install**](https://lagune.ai/docs) section for **detailed instructions**. > - [**Migrate from previous Lagune**](https://lagune.ai/docs/commands/migrate) manifest-based setup. --- ### Skills Once installed, your **AI** agent unlocks a set of commands, all governed by the **charter**: secure new work as you build it, or run the full audit over a project. > [!TIP] > > See real-world [**Prompt Samples**](https://lagune.ai/docs/examples/prompts) 🪼 #### › First use Start here, before building or auditing: | Skill | What it does for you | | -------------------------------------------------------------- | ------------------------------------------------------------------------------ | | [**/lagune-charter**](https://lagune.ai/docs/commands/charter) | Sets your project's security rules, the foundation every other skill builds on | ##### Examples ```md /lagune-charter ``` ```md /lagune-charter @ ``` ```md /lagune-charter ``` #### › Build _(Universal)_ Harden the work as you write it, with no flow to follow: | Skill | What it does for you | | ----------------------------------------------------- | -------------------------------------------------------------------------- | | [**/lagune**](https://lagune.ai/docs/commands/lagune) | Builds what you ask and hardens it as it is written, guided by the charter | ##### Examples ```md /lagune let users upload a custom photo on their profile. ``` ```md /lagune nothing happens when the user submits the form. Look into what it might be and fix it. ``` ```md /lagune decouple and improve the payload logic ``` #### › Audit: the Blue Team flow These five run in order. Each builds on the previous, so following the list top to bottom is all it takes: | # | Skill | What it does for you | | --- | -------------------------------------------------------------- | ------------------------------------------------------------------------------ | | 1 | [**/lagune-charter**](https://lagune.ai/docs/commands/charter) | Sets your project's security rules, proposed for you or shaped by what you say | | 2 | [**/lagune-detect**](https://lagune.ai/docs/commands/detect) | Reads your code and maps what your system does and where the risks are | | 3 | [**/lagune-plan**](https://lagune.ai/docs/commands/plan) | Turns what detect found into a defense plan, with a fix for each finding | | 4 | [**/lagune-harden**](https://lagune.ai/docs/commands/harden) | Applies the plan's fixes to your code, safely and one at a time | | 5 | [**/lagune-verify**](https://lagune.ai/docs/commands/verify) | Proves each applied fix holds and closes out the ones that do | ##### Examples ```md You are a cybersecurity orchestrator: - 0th sub-agent: /lagune-charter (only if no charter exists) - 1st sub-agent: /lagune-detect - 2nd sub-agent: /lagune-plan - 3rd sub-agent: /lagune-harden - 4th sub-agent: /lagune-verify Loop: re-run harden and verify sub-agents until all findings are closed. ``` Combine them with your own skills, for example: ```md // ... - 3rd sub-agent: /lagune-harden /engineering - 4th sub-agent: /lagune-verify /code-review ``` #### › Special skills | Skill | What it does | | -------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ | | [**/lagune-specialize**](https://lagune.ai/docs/commands/specialize) | Teaches **Lagune** a new security specialization from articles, exploits, or topics | | [**/lagune-prove**](https://lagune.ai/docs/commands/prove) | Turns each detected finding into a runnable, defense-only proof for responsible disclosure | > [!TIP] > > Security is not a cost, it is an investment: what you put in upfront, you save many times over in the incidents you never have 🙋🏻‍♂️ > [!NOTE] > > Some agents take the commands under the plugin's name, such as `/lagune:lagune-charter`. Your agent's [**install page**](https://lagune.ai/docs) shows how to type them. > [!IMPORTANT] > > See the full [**documentation**](https://lagune.ai/) for usage examples and more. --- ### Dashboard For an interactive live view of `.lagune/`, run: ```bash npx lagune ``` It serves a dashboard and opens it on a random port: - [x] **Live Reload** - [x] **Private** and **Local** - [x] Follow the findings, fixes, and verdicts, and manage the categories, directly from your browser - [x] No `node_modules` or `package.json` is needed 📦
Overview
> [!TIP] > > - 🚪 Use `--port` to specify a custom port. > - ⏏️ Press `Ctrl+C` to stop. --- ## Requirements You will need [**Node.js (LTS)**](https://nodejs.org/en/download/package-manager) installed on your system. --- ## Security To report a vulnerability and see the supported versions, check the [**Security Policy**](https://github.com/wellwelwel/lagune/blob/main/SECURITY.md). --- ## Contributing See the [**Contributing Guide**](https://github.com/wellwelwel/lagune/blob/main/CONTRIBUTING.md) and please follow our [**Code of Conduct**](https://github.com/wellwelwel/lagune/blob/main/CODE_OF_CONDUCT.md) 🚀 --- ## Acknowledgements ### Partners Partners get an exclusive logo across the repositories and landing pages, plus a spot on a dedicated partners page. > Help my work grow by [**becoming a partner**](https://weslley.io/?partners) 🖖 ### Supporters Really thanks to everyone who has supported and keeps supporting my work. [![Sponsors](https://wellwelwel.github.io/wellwelwel/sponsors.svg?v=1)](https://github.com/sponsors/wellwelwel) > Support my work by [**becoming a sponsor**](https://github.com/sponsors/wellwelwel) too ✨ --- ## License **Lagune** is under the [**Apache License 2.0**](https://github.com/wellwelwel/lagune/blob/main/LICENSE).
Copyright © 2026-present [**Weslley Araújo**](https://github.com/wellwelwel) and [**contributors**](https://github.com/wellwelwel/lagune/graphs/contributors). All product names, trademarks, and registered trademarks mentioned are the property of their respective owners and are used for identification purposes only.