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 CATWILLgh/MAINFRAME --skill mainframe-curl-requestsgit clone --depth 1 https://github.com/CATWILLgh/MAINFRAMEWrote 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/catwillgh/mainframe/mainframe-curl-requests)<a href="https://agentmods.dev/skills/catwillgh/mainframe/mainframe-curl-requests"><img src="https://agentmods.dev/badge/skills/catwillgh/mainframe/mainframe-curl-requests/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/catwillgh/mainframe/mainframe-curl-requests"><img src="https://agentmods.dev/badge/skills/catwillgh/mainframe/mainframe-curl-requests.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.00024 | $0.01211 |
| Opus 5.5 | $0.00010 | $0.00484 |
| Sonnet 5.5 | $0.00005 | $0.00242 |
| Haiku 4.5 | $0.00002 | $0.00121 |
Grade C, and why
mainframe-curl-requests scanned grade C with 2 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 13d 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.
Reaches for credential fileshighPrivilege escalation
SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.
`.netrc`, even when curl may consume it natively. Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
name: mainframe-curl-requests This is a copy
89% identical to curl-requests — 10 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 128 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Bounded curl requests
Use curl as a transport tool, not as authority to mutate an external system. Before sending a request, establish the intended target and environment, the endpoint contract, the operation's actual side effects, and the evidence the response must provide. A diagnostic task does not authorize deployment, data mutation, or another external side effect. Do not infer safety from the HTTP method alone.
When a URL originates in untrusted content, validate its scheme, host, port, and redirect boundary before requesting it. Prefer a purpose-built client when it provides the required evidence with narrower access or safer authentication.
Safe request defaults
- Check
curl --versionand the installed manual before relying on a version-sensitive option. - Put
--disablefirst so an uninspected user-level curl configuration cannot add credentials, proxies, redirects, output paths, or weaker transport settings. Omit it only when the assigned operation explicitly depends on a known configuration. - Use HTTPS and constrain allowed protocols. Plain HTTP is acceptable only for a verified local plaintext service.
- Set both
--connect-timeoutand--max-timeaccording to the operation's expected latency. - Use
--failfor HTTP failure detection when error bodies are unnecessary. It does not suppress successful bodies and can miss authentication failures. Discard unneeded bodies with--output /dev/null(Windows:NUL), or use--out-nullwhen supported. Review needed, potentially sensitive bodies through an authorized protected output boundary before exposing them. Use--fail-with-bodyonly when the error body is needed and safe to inspect. - Use
-sSfor machine-oriented output. Capture the HTTP status separately with--write-outwhen the result must prove both transport and application behavior. - Let
--data,--form, and other data options choose their normal request method. Use--requestonly when the endpoint contract requires an explicit override. - Remember that
-Ichanges an HTTP request to HEAD, while-ikeeps the selected method and includes response headers in output.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 13d ago Changed · +7 lines · -1 tokens per session b4cd11413fa2
- 1mo ago Changed · +1 lines · -43 tokens per session 3f41349165d5
- 2mo ago Changed · +3 lines · -20 tokens per session c046a82ee4dd
- 3mo ago First seen · 117 lines · 88 tokens per session scan C 4d53b3204baa
mainframe-curl-requests is a skill published in the GitHub repository CATWILLgh/MAINFRAME (2 stars, last pushed 13d ago), licensed MIT. It adds 24 tokens to every session and 1,211 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 2 findings (reaches for credential files, makes network calls). It is 89% identical to curl-requests, differing in 10 lines, and is treated as a copy.
mainframe-curl-requests compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mainframe-curl-requestsCATWILLgh/MAINFRAME | Skill | 2 | 13d ago | MIT | C | 24 | Codex |
| azure-patternsvibeeval/vibecosystem | Skill | 554 | 18d ago | MIT | A | 19 | Claude Code, Codex |
| build-a-stripe-integrationsuperset-sh/superset | Skill | 17k | yesterday | MIT | A | 74 | Claude Code |
| aws-patternsvibeeval/vibecosystem | Skill | 554 | 18d ago | MIT | A | 31 | Claude Code, Codex |
| cmux-socket-policymanaflow-ai/cmux | Skill | 29k | today | none | A | 50 | Codex |
| live-canvashamr0/liteagents | Skill | 28 | 3d ago | Apache-2.0 | A | 50 | Claude Code |
| docs-builderhamr0/liteagents | Skill | 28 | 3d ago | Apache-2.0 | A | 23 | Claude Code |