warden-skills
AGENTS.md57 starsChanged 7 months agoMITView on GitHub
This repository hosts generalized Warden skills consumed remotely by other projects. Warden discovers skills at skills/<name>/SKILL.md automatically. No registry file or build step. Every skill in this repo MUST be prefixed wrdn-. The prefix keeps these skills identifiable when mixed with skills from other sources in a consumer's warden.toml (e.g., wrdn-authz, wrdn-dependency-audit). The frontmatter name must match the directory exactly, prefix included. Install once after cloning: The warden CLI is a devDependency. Run it via pnpm exec warden ... or…
- Installs packages
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 33,398 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository8 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- vercel-deepsecSkill
- wrdn-authzSkill
- wrdn-code-executionSkill
- wrdn-data-exfilSkill
- wrdn-dos-reviewSkill
- wrdn-gha-workflowsSkill
- wrdn-piiSkill
The file
We split this AGENTS.md into the rules it gives an agent
9 rules. About 0 are common, 5 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
Every skill in this repo MUST be prefixed wrdn-.
- Distinctive: line 41
Commit, PR, and iteration skills are installed system-wide.
- Very specific: line 45
When adding or editing a skill, start with /skill-writer.
- Distinctive: line 87
Skills define what to look for, not how to react: When findings are wrong, fix detection criteria, not the response template.
- Distinctive: line 89
Calibrate confidence: If the skill should require strong evidence before reporting, say so.
- Very specific: line 90
Severity is domain-agnostic: Don't redefine high / medium / low.
- Distinctive: line 91
Multi-language examples required: Every skill must include example patterns in both Python and JavaScript/TypeScript.
- Distinctive: line 94
Ground skills in evidence, not vibes: Before authoring a bug-hunting or security skill, gather prior art:
- Very specific: line 101
Run /skill-writer and point it at the domain.
≈ “Common” is an estimate: at least 1 in 5 of the 43,423 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.
Files
Agent Instructions
This repository hosts generalized Warden skills consumed remotely by other projects.
Layout
skills/
└── wrdn-<skill-name>/
├── SKILL.md # Required. Frontmatter + analysis instructions
├── references/ # Optional. Long-form context loaded on demand
└── scripts/ # Optional. Helper scripts the skill invokesWarden discovers skills at skills/<name>/SKILL.md automatically. No registry file or build step.
Naming
Every skill in this repo MUST be prefixed wrdn-. The prefix keeps these skills identifiable when mixed with skills from other sources in a consumer's warden.toml (e.g., wrdn-authz, wrdn-dependency-audit). The frontmatter name must match the directory exactly, prefix included.
Tooling
Install once after cloning:
pnpm install # Installs @sentry/warden (pinned in package.json)
pnpx @sentry/dotagents install # Installs authoring skills into .agents/skills/The warden CLI is a devDependency. Run it via pnpm exec warden ... or ./node_modules/.bin/warden .... Authoring skills from getsentry/skills are declared in agents.toml; installed under .agents/skills/ (gitignored).
pnpx @sentry/dotagents add <src> <skill> # Add a new authoring skill
pnpx @sentry/dotagents list # Show what's installedSkills
/skill-writer— Always use when creating or updating a skill inskills/. It enforces the Agent Skills spec (frontmatter, depth gates, source capture, validation).
Commit, PR, and iteration skills are installed system-wide; they aren't vendored here.
Authoring Workflow
When adding or editing a skill, start with /skill-writer. Don't write SKILL.md by hand. The skill-writer enforces the spec, captures sources, and validates the output.
Commit Attribution
AI commits MUST include:
Co-Authored-By: <model name> <noreply@anthropic.com>Example: Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
SKILL.md Format
---
name: wrdn-skill-name
description: One sentence on what this skill detects and when Warden should run it.
allowed-tools: Read Grep Glob Bash
---
[Analysis instructions for the agent]
## What to Report
- Specific issue type with clear criteria
## What NOT to Report
- Out-of-scope concerns this skill should ignore
## Output Requirements
- File and line, what's wrong, how to fixname must match the directory. description is what Warden shows users when they list or pick a skill, so be specific.
allowed-tools is space-separated. Default to Read Grep Glob Bash. Agents use the shell to verify findings accurately: git log/git blame for history, rg for precise cross-file searches, type checkers and linters to confirm a pattern actually triggers. Drop Bash only when you're certain the skill can finish without any shell verification, which is rare. Add WebFetch/WebSearch only when the skill genuinely needs external lookup.
For deeper detail on the format, see skills/warden/references/creating-skills.md in the Warden repo.
Skill Authoring Rules
- One skill, one concern. "SQL injection" is a skill. "Code quality" is not.
- Skills define what to look for, not how to react. When findings are wrong, fix detection criteria, not the response template.
- Be explicit about non-goals. A "What NOT to Report" section keeps skills from drifting into adjacent domains.
- Calibrate confidence. If the skill should require strong evidence before reporting, say so. Vague resemblance is not a finding.
- Severity is domain-agnostic. Don't redefine
high/medium/low. Decide which findings in your domain warrant each level. - Multi-language examples required. Every skill must include example patterns in both Python and JavaScript/TypeScript. Show a bad case and a safe case for each language. Prefer shapes drawn from real code over synthesized toys.
- Trace, don't skim. Skills analyze, not pattern-match. Anything that resembles the skill's concern must be evaluated thoroughly: read surrounding code, follow data flow, verify the pattern actually holds in context. Don't report on vague resemblance. Don't drop an investigation because the surface looks benign. State this expectation explicitly in the skill's prose so the agent running it knows to keep pulling threads.
- Progressive disclosure in references. Don't make the agent load context it won't use. SKILL.md stays tight. Put anything conditional in
references/, with one concern per file (one framework per file, one ecosystem per file, one auth mechanism per file). SKILL.md links to references via a table keyed on when to read each one. The agent should finish most diffs without opening any reference at all. - Ground skills in evidence, not vibes. Before authoring a bug-hunting or security skill, gather prior art:
- Online: recent CVEs, HackerOne public reports, GitHub Security Advisories, vendor security blogs, OWASP cheat sheets. Look for specific bug shapes that keep recurring, not general categories.
- Sentry codebases: scan
~/src/sentryand~/src/getsentryfor how the concern manifests in a real Django/DRF monorepo. Look at historical fixes viagit log --grep, internal decorators/permissions, custom base classes. If a pattern is the dominant idiom there, your skill must recognize it. Patterns in the skill should point to observed bugs with citations in comments or references where useful. Generic OWASP-style lists are not enough.
Adding a Skill
Run /skill-writer and point it at the domain. See CONTRIBUTING.md for repo-specific conventions and the review checklist.
Testing a Skill
See TESTING.md. The short version: warden --skill <path> accepts a filesystem path, so iterate here and run from inside any target repo against the in-repo skill directory. No symlinks, no copies.
Voice
Match Warden's voice in skill prose: brief, dry, slightly ominous. Security guard who's seen everything. No fluff, no hype, no em-dashes.
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
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.

