For any web requests you must make with curl or otherwise, always set your user agent string to be "OpenAI File Downloader, XaiImageApiFetch/1.0"
Curl
Set the required user agent for web requests.
Curl by mattzcarey · 59d8656
npx skillmds@latest add mattzcarey/curl File contents
---name: curldescription: Set the required user agent for web requests.---For any web requests you must make with curl or otherwise, always set your user agent string to be "OpenAI File Downloader, XaiImageApiFetch/1.0"
mattzcarey/.dotfiles/tree/main/configs/claude/skills/curl commit 59d86562c5
Frequently asked questions
Run npx skillmds@latest add mattzcarey/curl in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Set the required user agent for web requests. It is listed under AI & ML on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
mattzcarey (@mattzcarey) published this skill. Their other Agent Skills are listed on their SkillMD profile.