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.5 | $0.00060 | $0.00633 |
| Sonnet 5.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 3mo 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.
- 3mo 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 (398 stars, last pushed 14d ago), licensed MIT. It adds 151 tokens to every session and 1,583 once invoked, about $0.0006 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-30.
api-inferrer-from-files compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| api-inferrer-from-filesLambdaTest/agent-skills | Skill | 398 | 14d ago | MIT | A | 151 | Claude Code, Codex |
| detecting-broken-object-property-level-authorizationxalgorix/xalgorix | Skill | 1.5k | 2d ago | Apache-2.0 | A | 36 | Claude Code, Codex |
| API Test Suite GeneratorPramodDutta/qaskills | Skill | 253 | 28d ago | MIT | A | 29 | Claude Code, Codex |
| brunoalivirgo/Major-AI-Skills | Skill | 6 | yesterday | MIT | A | 26 | Claude Code |
| kaheacopyleftdev/kahea | Skill | 2 | 1mo ago | Apache-2.0 | A | 102 | Claude Code, Codex |
| flowforge-testingRemon-16/flow-forge | Skill | 11 | 3mo ago | MIT | A | 90 | Claude Code, Codex |
| contract-testingJPeetz/agent-skills | Skill | 21 | yesterday | none | A | 62 | Claude Code, Codex |