agentleFS
Twodragon0Twodragon0/claudesec/docs/AGENTS.md

claudesec

AGENTS.md16 starsChanged 6 months agoMITView on GitHub

Agent guidance for ClaudeSec documentation changes and quality gates

The file

We split this AGENTS.md into the rules it gives an agent

7 rules. About 0 are common, 1 is distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    All documentation for ClaudeSec: DevSecOps guides, compliance frameworks, AI/LLM security, GitHub security features, architecture diagrams, …

    line 14
  2. Very specific:

    Every Markdown file requires YAML frontmatter: title, description, tags.

    line 51
  3. Very specific:

    No broken links — validate with lychee "/*.md" before commit.

    line 55
  4. Very specific:

    Create docs/guides/<kebab-name>.md with YAML frontmatter.

    line 69
  5. Distinctive:

    Add an entry to the relevant table in README.md under the Documentation section.

    line 70
  6. Very specific:

    If it introduces a new compliance control, update scanner/lib/compliance-map.py.

    line 71
  7. Very specific:

    Use the /new-guide slash command for scaffolding.

    line 72

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

AGENTS.md — docs/

<!-- Parent: ../AGENTS.md --><!-- Generated: 2026-04-08 -->

Purpose

All documentation for ClaudeSec: DevSecOps guides, compliance frameworks, AI/LLM security, GitHub security features, architecture diagrams, and step-by-step tutorials. All files are Markdown with YAML frontmatter.

Directory Structure

docs/
├── devsecops/       # DevSecOps pipeline and practices
├── ai/              # AI/LLM security (OWASP LLM, MITRE ATLAS, prompt injection)
├── compliance/      # NIST CSF 2.0, ISO 27001/42001, KISA ISMS-P
├── github/          # GitHub security features, branch protection, Actions
├── architecture/    # Draw.io diagrams (scanner flow, security domains)
├── reports/         # Report templates and samples
└── guides/          # Step-by-step tutorials and operations runbooks

Key Files

FileDescription
guides/getting-started.mdQuick setup and first scan
guides/claude-lead-agents-and-best-practices.mdMulti-agent roles and handoff format
guides/hourly-operations.mdHourly cron automation and improvement loop
guides/compliance-mapping.mdSOC 2, ISO 27001, NIST, PCI-DSS, KISA ISMS-P
guides/workflow-components.mdReusable composite actions and template contract
guides/incident-response.mdIR runbook
guides/shell-lint-policy.mdShellCheck scope, severity, and CI options
devsecops/owasp-top10-2025.mdOWASP Top 10 2025 with controls and code examples
devsecops/pipeline.mdEnd-to-end secure CI/CD pipeline
ai/llm-top10-2025.mdOWASP LLM Top 10 2025
ai/mitre-atlas.mdMITRE ATLAS — 66 AI threat techniques
compliance/isms-p.mdKISA ISMS-P 102-item certification guide
compliance/nist-csf-2.mdNIST CSF 2.0 six-function framework

For AI Agents

Writing Conventions

  • Every Markdown file requires YAML frontmatter: title, description, tags.
  • File names: kebab-case (e.g., owasp-top10-2025.md).
  • Code blocks must specify language identifier (```bash, ```yaml, etc.).
  • Security claims must cite authoritative sources: OWASP, NIST, CIS, MITRE ATLAS.
  • No broken links — validate with lychee "**/*.md" before commit.

Quality Gate

# Lint all docs
markdownlint "docs/**/*.md"

# Check links
lychee "docs/**/*.md"

Adding a New Guide

  1. Create docs/guides/<kebab-name>.md with YAML frontmatter.
  2. Add an entry to the relevant table in README.md under the Documentation section.
  3. If it introduces a new compliance control, update scanner/lib/compliance-map.py.
  4. Use the /new-guide slash command for scaffolding.

Compliance Coverage

FrameworkLocation
NIST CSF 2.0compliance/nist-csf-2.md
ISO 27001:2022compliance/iso27001-2022.md
ISO 42001:2023compliance/iso42001-ai.md
KISA ISMS-Pcompliance/isms-p.md
OWASP Top 10 2025devsecops/owasp-top10-2025.md
OWASP LLM Top 10ai/llm-top10-2025.md

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.