Agent skill
pinata
Pin files and JSON to IPFS via Pinata (JWT auth + helper scripts).
Install this agent skill to your Project
npx add-skill https://github.com/z80dev/lemon/tree/main/apps/lemon_skills/priv/builtin_skills/pinata
Metadata
Additional technical details for this skill
- lemon
-
{ "emoji": "\ud83d\udccc", "requires": { "bins": [ "curl" ], "config": [ "PINATA_JWT" ] } }
SKILL.md
Pinata
Use Pinata to pin content to IPFS.
This skill ships with small scripts (in scripts/) that wrap the Pinata API with
reasonable defaults. Prefer PINATA_JWT auth.
Setup
Auth (recommended):
- Set
PINATA_JWTto a Pinata JWT (Bearer token).
Optional (legacy-only, not supported by all endpoints):
- Set
PINATA_API_KEYandPINATA_API_SECRET(some older endpoints accept these).
Optional endpoint overrides:
PINATA_API_URL(default:https://api.pinata.cloud)PINATA_UPLOAD_URL(default:https://uploads.pinata.cloud)
Quickstart
Run these from the Pinata skill directory (seeded to ~/.lemon/agent/skill/pinata
by default):
Test auth:
./scripts/auth-test.sh
Upload a file (Pinata v3 uploads API):
./scripts/upload-file.sh ./path/to/file.png --network private --name file.png
Pin a JSON document (wraps your JSON as pinataContent):
./scripts/pin-json.sh ./metadata.json --name "metadata.json"
Pin an existing CID (by hash):
./scripts/pin-by-hash.sh bafy... --name "my-cid"
Unpin:
./scripts/unpin.sh bafy...
Notes
- These scripts print raw JSON responses (so you can pipe into
jqif you want). - For very large uploads, resumable uploads, or folder uploads, consider Pinata’s official tooling and docs: https://docs.pinata.cloud/
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
summarize
Summarize or extract text/transcripts from URLs, podcasts, and local files (great fallback for “transcribe this YouTube/video”).
tmux
Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
github
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
peekaboo
Capture and automate macOS UI with the Peekaboo CLI.
runtime-remsh
Connect to a running Lemon or lemon-gateway BEAM node, run recompile() for hot code reload, and execute Elixir code in that live runtime via IEx remsh or rpc-eval.
session-logs
Search and analyze your own Lemon session logs (older/parent conversations) using jq.
Didn't find tool you were looking for?