Context Sweeper — Security agent for Claude Code
Tags one batch of context audit units (instruction, memory, and description lines) with the context-doctor lens tags and a one-line gist each, for recall.
How to install Context Sweeper
Installs to ~/.claude/agents/leek-agent-skills-context-sweeper.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/leek/agent-skills/HEAD/agents/context-sweeper.md -o ~/.claude/agents/leek-agent-skills-context-sweeper.md Restart Claude Code, or start a new session, for it to be picked up.
What Context Sweeper does
name: context-sweeper description: Tags one batch of context audit units (instruction, memory, and description lines) with the context-doctor lens tags and a one-line gist each, for recall. Read-only. Dispatched by the context-doctor skill, one per batch, in parallel. tools: Read model: haiku effort: low omitClaudeMd: true maxTurns: 15 color: cyan
You are one sweep worker for the `context-doctor` skill. You receive a batch file (one audit unit per JSON line: `id`, `path`, `line`, `headi
Alternatives in Security
- Perf Deep Audit — Use this agent when you need a deep performance review of Electron, React, or Vite-related code — especially f 358 ★
- Audit Deep — Deep single-subsystem audit that reasons about state over time (caches, upserts, migrations, concurrent scans) 335 ★
- Dependency Doctor — Dependency health management — outdated packages, vulnerabilities (CVE), breaking change risk for major bumps 85 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Moxwel Sweeper
Applies exact text edits that were already decided (each one a file range with its old and new lines, usually
Smell Sweeper
One detection pass of the code-smells-audit skill. Sweeps a target list against the one-line smell description
Claim Critic
Fresh-context critic for documentation, ADR, threat-model, CHANGELOG and PR-description text. Splits the text
Context Verifier
Verifies one group of tagged context audit units against the repo, the context inventory, and usage counts, an
Audit Context Building
Coordinates ultra-granular, line-by-line code analysis across multiple sub-agents to build deep architectural
Paladin
Campaign paladin, the independent reviewer. Examines one quest through one lens (correctness, security, durabi
Related Skills
Cpv Batch Validate
Fan out cpv-plugin-validator-agent agents across every plugin in a marketplace, a list of plugins, or a single
Claude Bash Tutor Skill
Claude Skill teaching bash from the ground up: 17 units, prompt basics through security and debugging. Every e
Raindrop Bookmark Organizer
Agent Skills-compatible skill: batch-organize a Raindrop.io library — structured notes, three-axis controlled