Skip to content
Back to skills

Agent Discipline

DSecurity

Always-on agent behavior rules: linter suppression policy, required test gates, test deletion, remote scripts and look-alike packages, credential handling, scope discipline.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 21, 2026
ai-agentsbashapi

Works with

  • api

Security analysis

D50/100
  • criticalPipes output to a shell interpreter
  • criticalDownloads and executes remote scripts — classic supply chain attack

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

Scanned October 21, 2026

npx -y skills add emgiezet/aisdlc --skill agent-discipline --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agent Discipline?

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

Security grade badge for Agent Discipline
[![Security: D — Skills Directory](https://www.skillsdirectory.com/api/skills/emgiezet-agent-discipline/badge)](https://www.skillsdirectory.com/skills/emgiezet-agent-discipline)

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-discipline
description: Always-on agent behavior rules: linter suppression policy, required test gates, test deletion, remote scripts and look-alike packages, credential handling, scope discipline.
user-invocable: false
---

# Agent discipline — always-on rules — do not write these

Enforced by pre-write and pre-bash policies. Full text on invocation.

## Blockers
- AP-AGENT-001 — Suppression comments require ≥10-char justification; bare suppressions are blocked pre-write.
- AP-AGENT-004 — curl | sh is always blocked; an install whose name resembles a popular package needs confirmation.
- AP-AGENT-005 — Reading `.env*`, private keys, and credential files is denied; find values via safe alternatives.
- AP-AGENT-006 — Use placeholder values in code examples; real credentials must never appear in written files.

## Errors
- AP-AGENT-002 — Weakening a required test gate needs human review; linter thresholds are recorded, not gated.
- AP-AGENT-003 — Fix failing tests by correcting the code; never skip, mark incomplete, or delete tests to clear CI.
- AP-AGENT-009 — Pin new dependencies to an explicit stable version; never use `@latest` or loose ranges.

## Warnings
- AP-AGENT-007 — Restrict edits to the lines required by the task; do not reformat or refactor out of scope.
- AP-AGENT-008 — Before calling any framework API, verify the version-specific docs via Context7.

Details for any ID: `reference/<ID>.md`

Files in this skill

  • SKILL.md1.4 KB
  • reference/AP-AGENT-001.md572 B
  • reference/AP-AGENT-002.md746 B
  • reference/AP-AGENT-003.md519 B
  • reference/AP-AGENT-004.md811 B
  • reference/AP-AGENT-005.md597 B
  • reference/AP-AGENT-006.md604 B
  • reference/AP-AGENT-007.md642 B
  • reference/AP-AGENT-008.md631 B
  • reference/AP-AGENT-009.md607 B

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…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.