warden-sweep

warden-sweep is a skill for Claude Code from getsentry/warden. It costs 71 tokens per session (737 once invoked), scanned A, original, Apache-2.0.

A skill for scanning every file in a repository with Warden, checking reported issues through deeper code tracing, and creating draft pull requests for confirmed problems.

In plain words
What is it for?
Full-repository bug sweeps, batch code analysis, and preparing draft pull requests for validated findings.
Why use it?
It reduces the manual effort needed to review a whole codebase and separate likely bugs from verified issues.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Full-repository bug sweeps, batch code analysis, and preparing draft pull requests for validated findings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/getsentry/warden/warden-sweep
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add getsentry/warden --skill warden-sweep
Clone the repo
git clone --depth 1 https://github.com/getsentry/warden

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for warden-sweep

README.md
[![agentmods](https://agentmods.dev/badge/skills/getsentry/warden/warden-sweep/github.svg)](https://agentmods.dev/skills/getsentry/warden/warden-sweep)
Your own site
<a href="https://agentmods.dev/skills/getsentry/warden/warden-sweep"><img src="https://agentmods.dev/badge/skills/getsentry/warden/warden-sweep/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for warden-sweep

Your own site · 80×15
<a href="https://agentmods.dev/skills/getsentry/warden/warden-sweep"><img src="https://agentmods.dev/badge/skills/getsentry/warden/warden-sweep.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 737 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00071 $0.00737
Opus 5.5 $0.00028 $0.00295
Sonnet 5.5 $0.00014 $0.00147
Haiku 4.5 $0.00007 $0.00074

Measured 3mo ago against content hash ac342777e4b0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

warden-sweep scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

The scan reads SKILL.md. This mod also ships 8 executable files (scripts/_utils.py, scripts/create_issue.py, scripts/extract_findings.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/warden-sweep/SKILL.md · 79 lines

How it starts

The opening of the file, as written. The whole thing — 79 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Warden Sweep

Run a full-repository Warden sweep: scan files, verify findings, create a tracking issue, open draft PRs for validated issues, and organize the final report.

Requires: warden, gh, git, jq, uv.

Run commands from the repository root. Use the host's skill-root path for bundled scripts and references.

Output goes to .warden/sweeps/<run-id>/.

References

Load only the reference for the current phase:

Need Read
Script arguments, outputs, and side effects references/script-interfaces.md
Phase 1 scan workflow references/scan-phase.md
Phase 2 verification workflow references/verify-phase.md
Phase 3 tracking issue workflow references/issue-phase.md
Phase 4 patch and draft PR workflow references/patch-phase.md
Phase 5 organize and final report workflow references/organize-phase.md
Resume behavior and artifact layout references/resume-and-artifacts.md
Verification task prompt template references/verify-prompt.md
Patch task prompt template references/patch-prompt.md

Workflow

Track progress across phases:

  • Phase 1: Scan repository files with Warden.
  • Phase 2: Verify findings before patching.
  • Phase 3: Create a tracking issue.
  • Phase 4: Patch verified findings and open draft PRs.
  • Phase 5: Organize results and produce the final report.

Phase Order

  1. Read references/script-interfaces.md once before running scripts.
  2. Run Phase 1 from references/scan-phase.md. Save runId and sweepDir.
  3. Run Phase 2 from references/verify-phase.md. Verify every finding before patching.
  4. Run Phase 3 from references/issue-phase.md. Continue if issue creation fails.
  5. Run Phase 4 from references/patch-phase.md. Patch sequentially, one finding at a time.
  6. Run Phase 5 from references/organize-phase.md.
  7. For interrupted or partial runs, read references/resume-and-artifacts.md and continue from the first incomplete phase.

Read the full file on GitHub · 79 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 79 lines · 71 tokens per session scan A ac342777e4b0

Subscribe to this mod's changes

warden-sweep is a skill published in the GitHub repository getsentry/warden (426 stars, last pushed yesterday), licensed Apache-2.0. It adds 71 tokens to every session and 737 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

warden-sweep compared with skills from other repositories

warden-sweep next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
warden-sweepgetsentry/wardenSkill426yesterdayApache-2.0A71Claude Code
sync-bridgechromium/chromiumSkill26ktodayBSD-3-ClauseA109Claude Code, Codex
sync-model-processorchromium/chromiumSkill26ktodayBSD-3-ClauseA98Claude Code, Codex
adversarial-revieweremdash-cms/emdashSkill15ktodayMITA72Claude Code, Codex
gitnexushashgraph-online/awesome-codex-pluginsSkill1.6k2d agoApache-2.0A58Codex
issuejeremylongshore/tons-of-skills-marketplaceSkill3.0ktodayMITA115Claude Code
octocode-graphbgauryy/octocodeSkill977todayMITA43Claude Code, Codex