https://github.com/wellwelwel/blue-spec
π Blue Spec is a toolkit for Security-Driven Hardening (SDH), a defensive workflow to help AI agents detect what a system does and harden the defenses that matter.
https://github.com/wellwelwel/blue-spec
agent-skills ai blue-team claude-code codex copilot cursor-ai ia-driven llm prompt-engineering prompt-toolkit sdh security security-driven-hardening spec-driven
Last synced: about 7 hours ago
JSON representation
π Blue Spec is a toolkit for Security-Driven Hardening (SDH), a defensive workflow to help AI agents detect what a system does and harden the defenses that matter.
- Host: GitHub
- URL: https://github.com/wellwelwel/blue-spec
- Owner: wellwelwel
- License: mit
- Created: 2026-06-17T21:19:02.000Z (9 days ago)
- Default Branch: main
- Last Pushed: 2026-06-19T17:35:49.000Z (7 days ago)
- Last Synced: 2026-06-19T18:13:33.195Z (7 days ago)
- Topics: agent-skills, ai, blue-team, claude-code, codex, copilot, cursor-ai, ia-driven, llm, prompt-engineering, prompt-toolkit, sdh, security, security-driven-hardening, spec-driven
- Language: TypeScript
- Homepage: https://bluespec.weslley.io
- Size: 5 MB
- Stars: 54
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
- Agents: AGENTS.md
Awesome Lists containing this project
README

# π Security-Driven Hardening: Blue Spec
[](https://www.npmjs.com/package/blue-spec)
[](https://bluespec.weslley.io)
**Blue Spec** helps your AI agent make a project more secure. You point it at your code, and the agent figures out what your system actually does, then guides you through the security work that matters for it.
- **Blue Spec** works with projects in **any programming language** and supports [**37 agents**](https://bluespec.weslley.io/docs/supported-agents) β¨
---
## Table of Contents
- π± [**Get Started**](#get-started)
- [**Install**](#install)
- [**Commands**](#commands)
- π¦ [**Requirements**](#requirements)
- π [**Acknowledgements**](#acknowledgements)
- π§ββοΈ [**License**](#license)
---
## Get Started
### Install
> **Blue Spec** adapts to your environment, whether it is a new project or an existing one.
```bash
npx -y blue-spec@latest init
```
- **Blue Spec** runs on **Node.js** under the hood, you use whatever language you want π
### Commands
Once **Blue Spec** is set up in your project, your **AI** agent unlocks a set of slash commands:
| # | Command | What it does for you |
| --- | -------------------------------------------------------------------------- | ------------------------------------------------------------------------------ |
| 1 | [**/bluespec.charter**](https://bluespec.weslley.io/docs/commands/charter) | Sets your project's security rules, proposed for you or shaped by what you say |
| 2 | [**/bluespec.detect**](https://bluespec.weslley.io/docs/commands/detect) | Reads your code and maps what your system does and where the risks are |
| 3 | [**/bluespec.plan**](https://bluespec.weslley.io/docs/commands/plan) | Turns what detect found into a defense plan, with a fix for each finding |
| 4 | [**/bluespec.harden**](https://bluespec.weslley.io/docs/commands/harden) | Applies the plan's fixes to your code, safely and one at a time |
| 5 | [**/bluespec.verify**](https://bluespec.weslley.io/docs/commands/verify) | Proves each applied fix holds and closes out the ones that do |
> Each command builds on the previous, so following the list top to bottom is all it takes.
#### Special commands
| Command | What it does |
| -------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
| [**/bluespec.prove**](https://bluespec.weslley.io/docs/commands/prove) | Turns each detected finding into a runnable proof for responsible disclosure |
| [**/bluespec.specialize**](https://bluespec.weslley.io/docs/commands/specialize) | Specializes **Blue Spec** in a new security _sub_-skill from articles, exploits, or topics |
| [**/bluespec.repair**](https://bluespec.weslley.io/docs/commands/repair) | Repairs **Blue Spec**'s internal tracking |
| [**/bluespec.list**](https://bluespec.weslley.io/docs/commands/list) | Lists all finding **Blue Spec** is tracking, by name |
> [!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 ππ»ββοΈ
> [!IMPORTANT]
>
> See the full [**documentation**](https://bluespec.weslley.io/) for usage examples and more.
---
## Requirements
You will need these tools installed on your system:
- [**Node.js (LTS)**](https://nodejs.org/en/download/package-manager)
- At least one of the [**Supported Agents**](https://bluespec.weslley.io/docs/supported-agents)
---
## Security Policy
Please check the [**SECURITY.md**](https://github.com/wellwelwel/blue-spec/blob/main/SECURITY.md).
---
## Contributing
π§ Coming Soon.
---
## Acknowledgements
### Partners
> Help **Blue Spec** grow by [**becoming a partner**](https://bluespec.weslley.io/?partners) π
### Supporters
Really thanks to everyone who has supported and keeps supporting my work.
[](https://github.com/sponsors/wellwelwel)
> Support **Blue Spec** by [**becoming a sponsor**](https://github.com/sponsors/wellwelwel) too β¨
---
## License
**Blue Spec** is under the [**MIT License**](https://github.com/wellwelwel/blue-spec/blob/main/LICENSE).
Copyright Β© 2026-present [**Weslley AraΓΊjo**](https://github.com/wellwelwel) and [**contributors**](https://github.com/wellwelwel/blue-spec/graphs/contributors).
> [!IMPORTANT]
>
> ### Disclaimer
>
> **Blue Spec** is an independent open-source project and is not affiliated with, endorsed by, or associated with **Bluespec, Inc.** or the **Bluespec Hardware Description Language (HDL)** and its compiler (`bsc`).
>
> The project name "Blue Spec" comes from Blue Team (defensive security) and Spec-Driven Development. It refers to an AI-assisted security hardening tool for software projects, a different domain from Bluespec, Inc., which provides RISC-V processor IP and hardware design tools.
>
> "Bluespec" is a trademark of Bluespec, Inc. All other product names, trademarks, and registered trademarks mentioned are the property of their respective owners and are used for identification purposes only.