ask-curl

Solid

AI-assisted cURL requests. Describe what you want in natural language and get a well-formed cURL command. Supports secret injection via 1Password (op://), request history, response parsing, and chained requests.

AI & Automation 36 stars 22 forks Updated today MIT

Install

View on GitHub

Quality Score: 85/100

Stars 20%
52
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Ask cURL Make HTTP requests by describing what you want. Secrets stay safe via 1Password references. ## Quick Reference ### From natural language to cURL 1. User describes: "GET my GitHub repos", "POST to Slack webhook with message 'deployed'" 2. Agent builds the cURL command with proper headers, auth, body 3. Secrets injected at runtime via `op run` — never exposed in shell history or logs ### Secret injection Use 1Password secret references (`op://vault/item/field`) instead of raw tokens: ```bash # BAD — token in plaintext curl -H "Authorization: <raw token redacted>" https://api.github.com/user # GOOD — secret injected at runtime by op op run --env-file=.env.curl -- curl -H "Authorization: Bearer $GITHUB_TOKEN" https://api.github.com/user ``` ### Execution flow ``` describe request → build curl → inject secrets (op run) → execute → parse response ``` ## Building Requests ### Standard patterns ```bash # GET with auth curl -s -H "Authorization: Bearer $TOKEN" \ -H "Accept: application/json" \ "https://api.example.com/resource" # POST JSON curl -s -X POST \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $TOKEN" \ -d '{"key": "value"}' \ "https://api.example.com/resource" # File upload curl -s -X POST \ -H "Authorization: Bearer $TOKEN" \ -F "file=@/path/to/file" \ "https://api.example.com/upload" # With query params curl -s -G \ --data-urlencode "q=search term" \ --data-urlencode "limit=10" \ "https://api.example.com/...

Details

Author
OpenCoven
Repository
OpenCoven/coven
Created
3 months ago
Last Updated
today
Language
Rust
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category