Skip to main content
subagent official · Anthropic

scan-loader — Claude Code subagent: what it does, how to install

A restricted helper subagent shipped with the claude-security plugin. It reads one JSON file from a run directory and hands the content back untouched.

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin install claude-security@claude-plugins-official
Open on GitHub

What scan-loader does

scan-loader is a piece of the Claude Security scan pipeline. The dispatch gives it a directory and a file name, and it reads <directory>/<file name>, then returns that JSON through structured output exactly as stored: every row, every field, nothing added, dropped or reworded.

Its toolset is cut down to Read. It opens nothing else and does nothing else. Whatever sits inside the file counts as data written by an earlier scan stage, not as instructions for the agent to follow.

It runs on sonnet with low effort. Calling it yourself makes little sense — the orchestrator is supposed to launch it, and without a directory and file name passed in there is nothing for it to load.

What it helps with

  • pull a single JSON file out of a scan run directory
  • return file contents with no fields lost or paraphrased
  • keep the agent limited to the Read tool
  • treat scan output as data rather than instructions

Example prompts for the agent

  • Run the scan-loader subagent on directory runs/2024-05-01 and file findings.json
  • Load runs/latest/report.json with scan-loader and return the JSON unchanged

How to install scan-loader

1Plugin marketplace

/plugin install claude-security@claude-plugins-official

2Manually: put the files in place

.claude/agents/scan-loader.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about scan-loader

How do I install scan-loader in Claude Code?

Through the marketplace: run /plugin install claude-security@claude-plugins-official, and the agent lands at .claude/agents/scan-loader.md.

What does scan-loader do?

It reads one JSON file from the directory and file name it is given, then returns the content through structured output without edits.

Can I invoke scan-loader directly?

It is meant to be dispatched by the Claude Security scan workflow. With no directory or file name from the orchestrator, it has nothing to read.

Similar subagents

All subagents for Security →

From the same set145

The whole set →
architecture-critic Subagent that audits architectural designs and modernized code with a skeptical lens. Spots over-engineering, unstated latency risks, and redundant service boundaries. ★ 44,770repo stars scan-verifier Takes one candidate vulnerability and tries to knock it down. The Claude Security scan workflow dispatches it; you don't call it yourself. ★ 44,770repo stars scan-researcher A read-only security auditing subagent for Claude Code. Traces vulnerabilities from untrusted inputs to risky sinks across repository files without executing project code. ★ 44,770repo stars scan-redactor This Claude Security subagent replaces secret values in completed scan reports with [REDACTED]. Scan jobs dispatch it automatically; it is not for direct invocation. ★ 44,770repo stars scan-inventory Internal cartographer subagent for the Claude Security scan workflow. It partitions repository directories into discrete review targets and tracks intentionally skipped paths. ★ 44,770repo stars patch-verifier Reviews a security fix in a scratch checkout, checks the staged diff and runs the project’s tests. A fix job dispatches it; it is not meant for direct invocation. ★ 44,770repo stars patch-generator Turns one security finding into a staged change inside a throwaway clone, ready to be handed over as a patch file. ★ 44,770repo stars explore Read-only codebase explorer for Claude Code. Locates files, traces execution flows, and finds symbol callers without modifying code. ★ 44,770repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor