# Claude Code Guardrails Pack for BMAD Projects

> Install 3 hooks and 5 isolated-context agents into Claude Code: commit quality, context warnings, CLAUDE.md health, code review, security audit, story wrap-up.

Claude Code Guardrails Pack for BMAD Projects is a paid AI agent skill on Agensi by Dmytro Olaresko, in Workflow Automation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $1 (one-time purchase)
- Creator: [Dmytro Olaresko](https://www.agensi.io/creators/dmytro-olaresko)
- Category: [Workflow Automation](https://www.agensi.io/skills/workflow-automation)
- Version: 1.2.0
- Last updated: 2026-11-27
- Security: scan passed (2026-11-27); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/claude-code-guardrails-pack-for-bmad-projects
- Tags: coding, automation

## About this skill

Quality guardrails for Claude Code, built for BMAD workflows. This skill installs the bundled hooks and agents into the user's project and explains how to use them.

All files live in `plugin/` next to this SKILL.md.

| Type | Name | What it does |
|---|---|---|
| Hook | `docc-health-check` | SessionStart. Checks `CLAUDE.md` size. Warns at 120 lines. Auto-compresses at 200 lines (backup kept). |
| Hook | `docc-commit-guard` | Before `git commit`. Enforces conventional commits, subject up to 50 chars, body depth scaled to diff size, no AI attribution lines. |
| Hook | `docc-context-monitor` | After every tool call. Warns at 70% and 85% context use. |
| Agent | `docc-librarian` | Reads large files and diffs. Returns short summaries. |
| Agent | `docc-reviewer` | Read-only post-implementation review with `file:line` evidence. |
| Agent | `docc-auditor` | Read-only security audit: injection, secrets, auth, lock-file risks. |
| Agent | `docc-code-reviewer` | Second-opinion review of the current branch through a different model via the OpenRouter MCP. Isolated context. |
| Agent | `docc-wrap-story` | Writes session decisions and gotchas to memory files before `/clear`. |

- macOS or Linux
- Python 3.11+
- Claude Code with hooks and subagent support
- OpenRouter MCP server (`openrouterai`) - only for `docc-code-reviewer`

## Requires

- Python 3.11+
- Claude Code
- OpenRouter MCP (code-reviewer agent only)
- Git

## Known limitations

Context monitor estimates usage from transcript size against a 1M-token window. Hooks need python3 on PATH. docc-code-reviewer needs the openrouterai MCP. This pack adds hooks and agents only, no skills.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Claude Code Guardrails Pack for BMAD Projects skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What does Claude Code Guardrails Pack for BMAD Projects do?

Install 3 hooks and 5 isolated-context agents into Claude Code: commit quality, context warnings, CLAUDE.md health, code review, security audit, story wrap-up.

### Which AI agents support Claude Code Guardrails Pack for BMAD Projects?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use Claude Code Guardrails Pack for BMAD Projects?

Connect your AI agent to Agensi through MCP, then ask it to use Claude Code Guardrails Pack for BMAD Projects on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
