mainframe-curl-requests

mainframe-curl-requests is a skill for Codex from CATWILLgh/MAINFRAME. It costs 24 tokens per session (1,211 once invoked), scanned C, a copy of curl-requests, MIT.

A guide for making bounded HTTP or HTTPS requests with the curl command-line tool.

In plain words
What is it for?
Use it to check endpoints, test API handlers, upload or download data by URL, and diagnose network requests with controlled methods, status handling, and retries.
Why use it?
It reduces risks involving the wrong endpoint, unsafe redirects, exposed credentials, missing timeouts, and unclear request results.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to check endpoints, test API handlers, upload or download data by URL, and diagnose network requests with controlled methods, status handling, and retries.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/catwillgh/mainframe/mainframe-curl-requests
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.

Any agent
npx skills add CATWILLgh/MAINFRAME --skill mainframe-curl-requests
Clone the repo
git clone --depth 1 https://github.com/CATWILLgh/MAINFRAME

Made for: Codex.

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 mainframe-curl-requests

README.md
[![agentmods](https://agentmods.dev/badge/skills/catwillgh/mainframe/mainframe-curl-requests/github.svg)](https://agentmods.dev/skills/catwillgh/mainframe/mainframe-curl-requests)
Your own site
<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.

agentmods 80×15 button for mainframe-curl-requests

Your own site · 80×15
<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>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,211 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 89% copy Near-identical to another mod 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.00024 $0.01211
Opus 5.5 $0.00010 $0.00484
Sonnet 5.5 $0.00005 $0.00242
Haiku 4.5 $0.00002 $0.00121

Measured 13d ago against content hash b4cd11413fa2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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
Origin

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.

skills/mainframe-curl-requests/SKILL.md · 128 lines

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 --version and the installed manual before relying on a version-sensitive option.
  • Put --disable first 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-timeout and --max-time according to the operation's expected latency.
  • Use --fail for 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-null when supported. Review needed, potentially sensitive bodies through an authorized protected output boundary before exposing them. Use --fail-with-body only when the error body is needed and safe to inspect.
  • Use -sS for machine-oriented output. Capture the HTTP status separately with --write-out when the result must prove both transport and application behavior.
  • Let --data, --form, and other data options choose their normal request method. Use --request only when the endpoint contract requires an explicit override.
  • Remember that -I changes an HTTP request to HEAD, while -i keeps the selected method and includes response headers in output.

Read the full file on GitHub · 128 lines

Files

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.

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. 13d ago Changed · +7 lines · -1 tokens per session b4cd11413fa2
  2. 1mo ago Changed · +1 lines · -43 tokens per session 3f41349165d5
  3. 2mo ago Changed · +3 lines · -20 tokens per session c046a82ee4dd
  4. 3mo ago First seen · 117 lines · 88 tokens per session scan C 4d53b3204baa

Subscribe to this mod's changes

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.

Related

mainframe-curl-requests compared with skills from other repositories

mainframe-curl-requests next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mainframe-curl-requestsCATWILLgh/MAINFRAMESkill213d agoMITC24Codex
azure-patternsvibeeval/vibecosystemSkill55418d agoMITA19Claude Code, Codex
build-a-stripe-integrationsuperset-sh/supersetSkill17kyesterdayMITA74Claude Code
aws-patternsvibeeval/vibecosystemSkill55418d agoMITA31Claude Code, Codex
cmux-socket-policymanaflow-ai/cmuxSkill29ktodaynoneA50Codex
live-canvashamr0/liteagentsSkill283d agoApache-2.0A50Claude Code
docs-builderhamr0/liteagentsSkill283d agoApache-2.0A23Claude Code