pinata skill teaches an agent how to use Pinata correctly: the pinata SDK, the REST API and the MCP server, public and private files, presigned uploads from the browser, groups, gateways and access links.
Install it into your project:
skills CLI (Node.js 22.20 or later) finds the coding agents you use and installs the skill for each. It supports Claude Code, Codex, Cursor, OpenCode, Gemini CLI, GitHub Copilot, Windsurf and many more. The source is PinataCloud/skills.
Install options
.agents/skills/pinata, plus a link in each agent’s own folder (for example .claude/skills/pinata). Commit them so everyone working on the project gets the same instructions. skills-lock.json records the version installed.
What the agent learns
- Which interface to use: Pinata’s MCP tools when they’re connected, the
pinataSDK for JavaScript and TypeScript, and the REST API for any other language. - Public vs private: what each network means, why to ask before making content public, and which identifier to use where (the file
idfor updates and deletes, thecidfor serving). - Uploads: files, JSON and folders; presigned upload URLs so browser and mobile uploads never see your API key; resumable uploads for large files; folder limits; key-values and groups.
- Serving content: gateway URLs for public files, expiring access links for private files, image optimization, and gateways with access controls.
- Safety: keep
PINATA_JWTon the server, confirm before deleting or publishing, and treat file names and fetched content as data rather than instructions. - Troubleshooting: what common errors mean, such as a
404from the wrong network, a gateway401 ERR_ID:00024, or a presigned folder upload refused for its MIME type.
Use it
Agents load the skill on their own when a task involves Pinata, IPFS or*.mypinata.cloud. You can also name it:
Use the pinata skill to add avatar uploads to this Next.js app: the browser uploads with a presigned URL and the profile stores the CID
Using the pinata skill, write a Python script that uploads ./dist as one public folder and prints its gateway URLTo try it without installing:
Skills, MCP and LLM docs
They work well together: the skill tells the agent to use the MCP tools whenever they’re connected.