printemps-tokyo

Agentsdoc — Security skill for Claude Code

Security community

Audit your repo's AI agent instruction files (AGENTS.md, CLAUDE.md, .cursor/rules, copilot-instructions) for cross-tool portability: which agents would load nothing, duplicated or contradicting conten.

How to install Agentsdoc

This entry records only its repository, not the path inside it, so there is no exact command to give. Open printemps-tokyo/agentsdoc and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Agentsdoc does

Audit your repo's AI agent instruction files (AGENTS.md, CLAUDE.md, .cursor/rules, copilot-instructions) for cross-tool portability: which agents would load nothing, duplicated or contradicting content, broken @imports and links, nesting precedence, and token bloat. Cited sources, fixes, JSON, CI exit codes. Rust CLI.

Alternatives in Security

  • Anthropic Cybersecurity Skills — 734+ structured cybersecurity skills for AI agents · MITRE ATT&CK mapped · agentskills.io open standard · Work 3.8k ★
  • Secfoo — AI security review CLI: SAST, secret scanning, SCA, threat modeling and architecture review with Claude Code 356 ★
  • Prompt Audit — Audit of Claude Code's default system prompt behavioral instructions 69 ★

README

agentsdoc

Audit a repository's AI coding agent instruction files for consistency and cross-tool portability, and show what each agent would actually load.

A single Rust binary. No network access at any point, no telemetry, three direct dependencies.

$ agentsdoc .
agentsdoc: my-project
grade C  score 67/100  |  pass 4  warn 2  fail 1  info 9

Portability (score 64)
  [FAIL] portability-claude-code     Claude Code would load no project instructions, but this repository has 1 file(s)
         - AGENTS.md  (present, not loaded by Claude Code)
         why    loads CLAUDE.md, .claude/CLAUDE.md, .claude/rules/*.md and CLAUDE.local.md,
                walking up from the working directory; AGENTS.md is not read natively
         source https://code.claude.com/docs/en/memory (read 2026-07-29): "Claude Code reads
                CLAUDE.md, not AGENTS.md."
         fix    Add a CLAUDE.md at the repository root whose first line is `@AGENTS.md`, or
                symlink CLAUDE.md to AGENTS.md. The Claude Code memory doc gives both
                recipes.

Why this is a real problem now

`AGENTS.md` is a genuine standard. [agents.md](https://agents.md/) (read 2026-07-29) describes it as an open format read by more than 60 tools, including OpenAI Codex, Google Jules, Aider, VS Code, Devin, JetBrains Junie, Cursor and GitHub Copilot, and states that it "is now stewarded by the Agentic AI Foundation under the Linux Foundation." It has no required schema -- "AGENTS.md is just standard Markdown. Use any headings you like; the agent simply parses the text you provide" -- and it nests: "Agents automatically read the nearest file in the directory tree, so the closest one takes precedence."

It is not universal. The Claude Code memory documentation ([code.claude.com/docs/en/memory](https://code.claude.com/docs/en/memory), read 2026-07-29) says plainly:

Claude Code reads `CLAUDE.md`, not `AGENTS.md`. If your repository already uses `AGENTS.md` for other