Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/jhlee0409/claude-pluginsnpx agentmods add commands/jhlee0409/claude-plugins/mapWrote 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.
[](https://agentmods.dev/commands/jhlee0409/claude-plugins/map)<a href="https://agentmods.dev/commands/jhlee0409/claude-plugins/map"><img src="https://agentmods.dev/badge/commands/jhlee0409/claude-plugins/map/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.
<a href="https://agentmods.dev/commands/jhlee0409/claude-plugins/map"><img src="https://agentmods.dev/badge/commands/jhlee0409/claude-plugins/map.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00012 | $0.02268 |
| Opus 5.5 | $0.00005 | $0.00907 |
| Sonnet 5.5 | $0.00002 | $0.00454 |
| Haiku 4.5 | $0.00001 | $0.00227 |
Grade A, and why
map 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 377 lines — stays where its author put it; the contents beside it link to each section on GitHub.
OpenAPI Map
Discover and track where your generated API code is used throughout your codebase. Essential for understanding impact of API changes.
EXECUTION INSTRUCTIONS
When /oas:map is invoked, Claude MUST perform these steps in order:
Step 0: MCP Dependency Check
Invoke skill: mcp-dependency
- Verify OpenAPI Sync MCP server is installed
- If not available, offer to install via
npm install -g @jhlee0409/openapi-sync-mcp - Only proceed after MCP is confirmed available
- Load config - Read
.openapi-sync.jsonfor generated file locations - Identify API exports - Find all exported functions, hooks, types
- Search codebase - Find all files that import these exports
- Build usage graph - Map API → Components/Pages/Hooks
- Store mapping - Save to
.openapi-sync.state.json - Report results - Show usage summary
Usage
# Full codebase mapping
/oas:map
# Map specific domain only
/oas:map --tag=users
# Map specific export
/oas:map --export=useUser
# Show detailed usage
/oas:map --verbose
Step 1: Load Configuration
1. Read .openapi-sync.json
2. Identify generated domains from entities/ or api/ directory
3. For each domain, find:
- API functions (e.g., userApi.getUser)
- Query hooks (e.g., useUser, useCreateUser)
- Types (e.g., User, CreateUserRequest)
Step 2: Identify API Exports
Scan generated API files and extract exports:
// From src/entities/users/api/users-queries.ts
export const useUsers = ... // Hook export
export const useUser = ... // Hook export
export const useCreateUser = ...// Hook export
// From src/entities/users/api/users-api.ts
export const userApi = { // API object export
list: ...,
get: ...,
create: ...,
}
// From src/entities/users/model/types.ts
export interface User { ... } // Type export
export interface CreateUserRequest { } // Type export
Build export registry:
{
"users": {
"hooks": ["useUsers", "useUser", "useCreateUser", "useUpdateUser", "useDeleteUser"],
"api": ["userApi"],
"types": ["User", "CreateUserRequest", "UpdateUserRequest", "UserFilters"]
}
}
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.
- 1mo ago First seen · 377 lines · 12 tokens per session scan A a4d3050b8aed
map is a command published in the GitHub repository jhlee0409/claude-plugins (4 stars, last pushed 9mo ago), licensed MIT. It adds 12 tokens to every session and 2,268 once invoked, about $0.0000 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-31.
Other commands, from other repositories
db-auth
A deployment command for connecting a web app to Neon, a hosted PostgreSQL database, and Clerk, a service for user sign-in and account management.
design
A command that creates a draft system architecture, an OpenAPI document describing web-service endpoints, and a data model from prepared product requirements and work plans.
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.