Skip to content
Back to skills

Agent Redline

ASecurity

Use when setting up agent governance for a repo, or when working in a repo that contains agent-redline-policy.yaml. Classifies structural risk and routes human attention to red-zone changes.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 23, 2026
ai-agentsgoapibackendsecurity

Works with

  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned September 23, 2026

npx -y skills add rore/Pallium --skill agent-redline --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agent Redline?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agent Redline
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rore-agent-redline/badge)](https://www.skillsdirectory.com/skills/rore-agent-redline)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: agent-redline
description: Use when setting up agent governance for a repo, or when working in a repo that contains agent-redline-policy.yaml. Classifies structural risk and routes human attention to red-zone changes.
---

# agent-redline

You classify changes before editing. Deterministic CI checks (a boundary-rule backend, the reporter) catch what you miss.

## Vocabulary

| Term | Meaning |
|---|---|
| **Red zone** | Changes are dangerous: contracts, modeling, architecture, security, persistence, shared behavior. |
| **Blue zone** | Autonomous work fine: isolated, replaceable, strongly testable, low blast-radius. |
| **Gray zone** | Unclassified. Cautious by default. |
| **Watch** | Additive tag (not a zone): paths surfaced in the PR comment regardless of red/blue/gray classification. No checkpoint, no gate — visibility only. |
| **Boundary rule** | Deterministic dependency rule (`X must not import Y`). Enforced by a backend (e.g., ArchUnit). |
| **Checkpoint** | Required human attention; satisfied by a label or CODEOWNER approval. Types: `architecture-review`, `api-review`, `persistence-review`, `security-review`, `ops-review`. |

## Pick a mode

1. **`agent-redline-policy.yaml` exists in the repo root** → read [`operating-mode.md`](operating-mode.md). Everyday work.
2. **The user asked you to set up agent-redline** → read [`bootstrap-mode.md`](bootstrap-mode.md). One-time setup.
3. **Neither** → this skill is not relevant.

Read only the file for the mode that applies.

## Principles (non-negotiable)

1. **Classify before editing.** Decide blue / red / gray before you touch a file; note any `watch` paths to surface in the PR.
2. **Refuse boundary shortcuts.** If a change would create a forbidden dependency, fix the structure or escalate. Do not suppress, do not modify the architecture-test files, do not launder the import.
3. **Architecture-test files are red.** Any change to the boundary-rule backend's definition files (e.g., ArchUnit test classes) requires `architecture-review`, regardless of what the policy says.
4. **Never auto-commit CI changes.** Workflows, branch protection, CODEOWNERS — propose, don't commit.
5. **Default conservative on uncertainty.** Gray > blue, red > gray, boundary risk > everything.
6. **No slop.** Tight PR descriptions, tight code comments. What's not obvious from the code, and what it does.

## Decision priority

When ambiguous:

1. The repo's `agent-redline-policy.yaml`
2. The repo's `AGENTS.md` / `CLAUDE.md` / `GEMINI.md`
3. The active language extension's `operating.md` (if present)
4. These principles
5. Ask the developer

Do not invent rules the policy doesn't state.

## Resources (load on demand)

- `operating-mode.md` — read when entering operating mode
- `bootstrap-mode.md` — read when entering bootstrap mode
- Active extension's files in `extensions/<name>/` — `profile.md` and `scaffold.md` during bootstrap; `operating.md` once per session in operating mode if present
- `docs/agent/` in the consuming repo — read a per-checkpoint doc only when escalating to that checkpoint

Files in this skill

  • SKILL.md3 KB
  • assets/schema/agent-policy.schema.json14.2 KB
  • assets/schema/boundary-violations.schema.json2.2 KB
  • assets/schema/suppressions.schema.json2 KB
  • assets/templates/AGENTS.md.template972 B
  • assets/templates/agent-policy.yaml.template3.9 KB
  • assets/templates/pr-template.md401 B
  • assets/templates/pre-push-check.sh4.9 KB
  • assets/templates/suppressions.yaml600 B
  • bootstrap-mode.md21.2 KB
  • extensions/jvm-archunit/README.md3.6 KB
  • extensions/jvm-archunit/adapter.yaml1.1 KB
  • extensions/jvm-archunit/operating.md2.3 KB
  • extensions/jvm-archunit/profile.md18 KB
  • extensions/jvm-archunit/scaffold.md12.8 KB
  • extensions/jvm-archunit/suppressions.yaml394 B
  • extensions/python/README.md3.4 KB
  • extensions/python/adapter.yaml1 KB
  • extensions/python/operating.md2.8 KB
  • extensions/python/profile.md16.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…