scan

scan is a command for Claude Code from mrlm-xyz/demo-claude-marketplace. It costs 18 tokens per session (248 once invoked), scanned A, original, Apache-2.0.

A command that reviews an OpenAPI specification, the machine-readable description of a web API. It checks whether the API is complete, consistent, secure, and aligned with common REST conventions.

In plain words
What is it for?
Use it to inspect endpoint naming, HTTP methods, request and response schemas, security definitions, examples, versioning, pagination, filtering, and deprecation notices.
Why use it?
It finds design and documentation gaps before they cause problems for API users or implementations, such as missing errors, unclear schemas, or incomplete security requirements.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the api-guardian plugin — 2 skills, 2 commands, 2 agents shipped together

Good fit Use it to inspect endpoint naming, HTTP methods, request and response schemas, security definitions, examples, versioning, pagination, filtering, and deprecation notices.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/mrlm-xyz/demo-claude-marketplace/scan
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.

Clone the repo
git clone --depth 1 https://github.com/mrlm-xyz/demo-claude-marketplace

Made for: Claude Code.

Or install api-guardian, the plugin that ships this one along with the rest of its 2 skills, 2 commands, 2 agents.

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 scan

README.md
[![agentmods](https://agentmods.dev/badge/commands/mrlm-xyz/demo-claude-marketplace/scan/github.svg)](https://agentmods.dev/commands/mrlm-xyz/demo-claude-marketplace/scan)
Your own site
<a href="https://agentmods.dev/commands/mrlm-xyz/demo-claude-marketplace/scan"><img src="https://agentmods.dev/badge/commands/mrlm-xyz/demo-claude-marketplace/scan/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 scan

Your own site · 80×15
<a href="https://agentmods.dev/commands/mrlm-xyz/demo-claude-marketplace/scan"><img src="https://agentmods.dev/badge/commands/mrlm-xyz/demo-claude-marketplace/scan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 248 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.00018 $0.00248
Opus 5 $0.00009 $0.00124
Sonnet 5 $0.00004 $0.00050
Haiku 4.5 $0.00002 $0.00025

Measured 12d ago against content hash 3648e52cef6b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

scan 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 12d ago.

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.

claude-plugins/api-guardian/commands/scan.md · 44 lines

What it actually says

Scan Command

Analyze OpenAPI specification for design quality, completeness, and adherence to best practices.

Scope

This command reviews OpenAPI specs for:

  • REST compliance (resource naming, HTTP methods)
  • Schema completeness and correctness
  • Security definitions and requirements
  • Error response documentation
  • Request/response examples
  • Versioning strategy
  • Pagination and filtering patterns
  • Deprecation notices

Execution Flow

  1. Load and validate OpenAPI specification
  2. Check resource naming and URL structure
  3. Verify HTTP method usage and status codes
  4. Review request/response schemas
  5. Validate security definitions
  6. Check error response documentation
  7. Verify examples and descriptions
  8. Assess versioning and deprecation
  9. Generate report with findings
  10. Provide actionable recommendations

Constraints

  • Use api-guardian openapi skill for validation
  • Check against OpenAPI 3.x standards
  • Validate schema definitions are complete
  • Ensure security schemes are defined
  • Verify all endpoints have descriptions
  • Check for consistent error handling
  • Review naming conventions
  • Suggest improvements with examples
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. 12d ago First seen · 44 lines · 18 tokens per session scan A 3648e52cef6b

Subscribe to this mod's changes

scan is a command published in the GitHub repository mrlm-xyz/demo-claude-marketplace (34 stars, last pushed 9d ago), licensed Apache-2.0. It adds 18 tokens to every session and 248 once invoked, about $0.0001 per session on Opus 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.