Agent redline
Use when setting up agent governance for a repo, or when working in a repo that contains agent-policy.yaml. Classifies structural risk and routes human attention to red-zone changes.From its SKILL.md
npx -y skills add rore/agent-redline --skill agent-redlineAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
3.0 KB, 681 tokens by cl100k_base, as published. Nobody here has run it
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
agent-policy.yamlexists in the repo root → readoperating-mode.md. Everyday work.- The user asked you to set up agent-redline → read
bootstrap-mode.md. One-time setup. - Neither → this skill is not relevant.
Read only the file for the mode that applies.
Principles (non-negotiable)
- Classify before editing. Decide blue / red / gray before you touch a file; note any
watchpaths to surface in the PR. - 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.
- 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. - Never auto-commit CI changes. Workflows, branch protection, CODEOWNERS — propose, don't commit.
- Default conservative on uncertainty. Gray > blue, red > gray, boundary risk > everything.
- No slop. Tight PR descriptions, tight code comments. What's not obvious from the code, and what it does.
Decision priority
When ambiguous:
- The repo's
agent-policy.yaml - The repo's
AGENTS.md/CLAUDE.md/GEMINI.md - The active language extension's
operating.md(if present) - These principles
- Ask the developer
Do not invent rules the policy doesn't state.
Resources (load on demand)
operating-mode.md— read when entering operating modebootstrap-mode.md— read when entering bootstrap mode- Active extension's files in
extensions/<name>/—profile.mdandscaffold.mdduring bootstrap;operating.mdonce per session in operating mode if present docs/agent/in the consuming repo — read a per-checkpoint doc only when escalating to that checkpoint
What ships with it: 36 files
294.2 KB alongside SKILL.md, 5 of them executable
assets/
extensions/
- jvm-archunit/adapter.yaml1.1 KB
- jvm-archunit/operating.md2.3 KB
- jvm-archunit/profile.md17.6 KB
- jvm-archunit/README.md3.6 KB
- jvm-archunit/scaffold.md11.6 KB
- jvm-archunit/suppressions.yaml394 B
- python/adapter.yaml1.0 KB
- python/operating.md2.8 KB
- python/profile.md16.8 KB
- python/README.md3.4 KB
- python/scaffold.md18.5 KB
- python/scripts/run-import-linter.pyruns11.9 KB
- python/suppressions.yaml629 B
references/
- per-checkpoint/api-change-checkpoint.md2.2 KB
- per-checkpoint/blue-zone-work.md1.2 KB
- per-checkpoint/boundary-violation.md2.8 KB
- per-checkpoint/gray-zone-change.md2.0 KB
- per-checkpoint/persistence-change-checkpoint.md2.6 KB
- per-checkpoint/pr-discipline.md2.3 KB
- per-checkpoint/red-zone-change.md1.9 KB
- per-checkpoint/security-change-checkpoint.md2.1 KB
scripts/
- agent-redline-report.pyruns61.0 KB
- agent-redline-tune.pyruns15.3 KB
- _reporter.pyruns61.0 KB
- bootstrap-mode.md18.1 KB
- operating-mode.md5.3 KB
- .package-source-rev8 B
- README.md1.6 KB