Agent skill · Backend & API

curl-command-generator

Generates ready-to-run cURL commands from Express, Next.js, Fastify, or other API routes. Creates copy-paste commands with proper headers, authentication, and request bodies. Use when users request "generate curl commands", "curl examples", "api curl", or "command line api testing".

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill curl-command-generator --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 12 KB
Bundled scripts: none
Path: skills/api/curl-command-generator/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# cURL Command Generator Generate ready-to-run cURL commands for quick API testing from the command line. ## Core Workflow 1. **Scan routes**: Find all API route definitions 2. **Extract metadata**: Methods, paths, params, bodies 3. **Generate commands**: Create cURL commands with flags 4. **Add authentication**: Bearer, Basic, API Key headers 5. **Include examples**: Request bodies with sample data 6. **Output options**: Markdown, shell script, or plain text ## Basic cURL Syntax ```bash # GET request curl -X GET "http://localhost:3000/api/users" # POST with JSON body curl -X POST "http://localhost:3000/api/users" \ -H "Content-Type: application/json" \ -d '{"name": "John", "email": "john@example.com"}' # With authentication curl -X GET "http://localhost:3000/api/users" \ -H "Authorization: Bearer YOUR_TOKEN" # With query parameters curl -X GET "http://localhost:3000/api/users?page=1&limit=10" # Show response headers curl -i -X GET "http://localhost:3000/api/users" # Verbose output curl -v -X GET "http://localhost:3000/api/users" ``` ## Generator Script ```typescript // scripts/generate-curl.ts import * as fs from "fs"; interface RouteInfo { method: string; path: string; name: stri

What's inside
Steps it walks through
  1. Core Workflow
  2. Basic cURL Syntax
  3. Generator Script
  4. Complete Example Output (Markdown)
  5. Shell Script Output
  6. Advanced cURL Flags
  7. Environment-Specific Commands
  8. CLI Script
  9. Makefile Integration
  10. Best Practices
  11. Output Checklist
Ships with 1 file
  • metadata.json
Commands it runs
GET request
curl -X GET "http://localhost:3000/api/users"
POST with JSON body
curl -X POST "http://localhost:3000/api/users" \
With authentication
curl -X GET "http://localhost:3000/api/users" \
With query parameters
curl -X GET "http://localhost:3000/api/users?page=1&limit=10"
Show response headers
curl -i -X GET "http://localhost:3000/api/users"
More from claude-skill-registry
All skills →
About this skill
What does the curl-command-generator skill do?

Generates ready-to-run cURL commands from Express, Next.js, Fastify, or other API routes. Creates copy-paste commands with proper headers, authentication, and request bodies. Use when users request "generate curl commands", "curl examples", "api curl", or "command line api testing".

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill curl-command-generator --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going