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.
npx skills add LambdaTest/agent-skills --skill api-inference-from-filesgit clone --depth 1 https://github.com/LambdaTest/agent-skillsWrote 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/skills/lambdatest/agent-skills/api-inference-from-files)<a href="https://agentmods.dev/skills/lambdatest/agent-skills/api-inference-from-files"><img src="https://agentmods.dev/badge/skills/lambdatest/agent-skills/api-inference-from-files/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/skills/lambdatest/agent-skills/api-inference-from-files"><img src="https://agentmods.dev/badge/skills/lambdatest/agent-skills/api-inference-from-files.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 4 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Tool Misuse · line 100 Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
- high Tool Misuse · line 106 Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
- high Privilege Escalation · line 111 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- medium Excessive Agency · line 3 Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.00151 | $0.01583 |
| Opus 5 | $0.00076 | $0.00792 |
| Sonnet 5 | $0.00030 | $0.00317 |
| Haiku 4.5 | $0.00015 | $0.00158 |
Grade A, and why
api-inferrer-from-files 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 9d 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 — 157 lines — stays where its author put it; the contents beside it link to each section on GitHub.
API Endpoint Inferrer
Generate a concise list of REST API endpoints inferred from file names or project structures. Output is intentionally minimal: one line per endpoint — the method + path + a single-sentence description. No schemas, no request bodies, no examples, no documentation blocks.
Input Formats Accepted
- A flat list of file names:
userController.js,productService.py, etc. - A directory tree (from
tree,ls -R,find, or copy-pasted folder structure) - A mix of both
- File names with or without extensions
- Any backend language/framework (Node, Python, Go, Ruby, Java, PHP, etc.)
Inference Rules
1. Extract Resources
Identify the core resource name from each file. Strip common suffixes:
Controller,Router,Route,Handler,Service,Model,View,Schema,Repository,Repo,Store,Manager,API
Examples:
userController.js→ resource:userproduct_routes.py→ resource:productOrderService.java→ resource:orderauth.go→ resource:auth
2. Map Files to Standard CRUD Endpoints
For each resource, infer standard REST endpoints based on typical conventions:
| Pattern | Endpoints to infer |
|---|---|
*Controller, *Router, *Route, *Handler |
Full CRUD: GET list, GET by ID, POST, PUT/PATCH, DELETE |
*Service |
Same as controller (services back controllers) |
*Model, *Schema |
GET list, GET by ID, POST (data-centric) |
auth*, *Auth* |
POST /login, POST /logout, POST /register, POST /refresh |
*upload*, *file*, *media* |
POST upload, GET file by ID, DELETE file |
*search* |
GET /search with query params |
*config*, *settings* |
GET settings, PUT settings |
*health*, *status*, *ping* |
GET /health or GET /status |
*webhook* |
POST /webhook |
*middleware*, *interceptor* |
Skip — not an endpoint |
*util*, *helper*, *constant* |
Skip — not an endpoint |
*test*, *spec*, *mock* |
Skip — not an endpoint |
3. Naming Convention → URL Path
Convert resource names to kebab-case plural paths:
User→/usersProductCategory→/product-categoriesOrderItem→/order-itemsauthstays →/auth
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.
- 9d ago First seen · 157 lines · 151 tokens per session scan A 80703f49ac4d
api-inferrer-from-files is a skill published in the GitHub repository LambdaTest/agent-skills (366 stars, last pushed 1mo ago), licensed MIT. It adds 151 tokens to every session and 1,583 once invoked, about $0.0008 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.
Other skills, from other repositories
detecting-broken-object-property-level-authorization
Detect and test for OWASP API3:2023 Broken Object Property Level Authorization vulnerabilities including excessive data exposure and mass assignment attacks.
API Test Suite Generator
Automatically generate comprehensive API test suites from OpenAPI specifications covering CRUD operations, error handling, authentication, pagination, and edge cases.
flowforge-testing
Generate, modify, validate, execute and triage Flow Forge API test cases. Use when the user wants to turn requirement documents, API documents, table structures or business rules into executable YAML/Excel test cases, revise existing cases after requirement/API changes, run cases with the Flow Forge executor and…
kahea
Safely use HTTP APIs and finite WebSocket sessions through the Kāhea deterministic invocation kernel. Use when an agent must discover operations from OpenAPI, Postman, HAR, cURL, HTTP files, direct descriptors, websocket-session JSON/YAML, or the supported AsyncAPI 2.6/3.0 WebSocket subset; create and review sealed…
bruno
Comprehensive operational skill specification for Anthropic Claude to automate, script, troubleshoot, and optimize Bruno API Client, Bru markup language (.bru), CLI runner (@usebruno/cli), and CI/CD test pipelines.
api-spec-generator
Generate a ready-to-import Postman or Bruno collection from an API spec, Swagger/OpenAPI file, or endpoint description. Use this skill whenever the user wants to create, export, or scaffold an API test collection. Triggers on: "generate Postman collection", "create Bruno spec", "import-ready collection", "generate…