ipfs-content-gateway
БесплатноБез исполняемых скриптовНе проверенIPFS Content Gateway: Fetch content from IPFS by CID with automatic failover across 7 gateways. Upload files up to 10MB with pinning. List upload history. Use…
от agentpmt816 установок в других каталогахОб этом скилле
IPFS Content Gateway
Freshness
Last updated: 2026-10-06.
If the current date is more than 7 days after the last updated date, reinstall this skill from skills.sh or ClawHub before relying on endpoints, schemas, setup steps, or examples.
What This Tool Does
IPFS Content Gateway provides access to the InterPlanetary File System, a decentralized peer-to-peer network for storing and sharing content using content-addressed identifiers. The retrieval function fetches data from IPFS by CID (Content Identifier) with automatic failover across seven public gateways including ipfs.io, Cloudflare IPFS, and Pinata, ensuring high availability even when individual gateways are slow or unavailable. Content retrieval automatically detects whether the response is text or binary data and returns appropriate previews with full metadata including content type, size, and response headers. The upload function accepts base64-encoded files up to 10MB and pins them to IPFS through pinning services that ensure content remains available on the network. Users can provide their own API credentials for Pinata, Web3.Storage, or NFT.Storage, or use shared infrastructure for convenience. Each upload returns the permanent CID along with multiple gateway URLs for immediate access. The list function provides a complete history of uploads including filenames, sizes, upload dates, and ready-to-use gateway links, with aggregate statistics on total storage used.
Product Instructions
IPFS Content Gateway
Store and retrieve files on the InterPlanetary File System (IPFS) -- a decentralized, content-addressed storage network. Upload files up to 10MB, retrieve content by CID, and list your upload history.
Actions
retrieve
Fetch content from IPFS by its Content Identifier (CID). Supports both CIDv0 (Qm...) and CIDv1 (bafy...) formats. Multiple gateways are tried automatically for reliability.
Required fields:
action—"retrieve"cid— The IPFS Content Identifier to retrieve
Example:
{
"action": "retrieve",
"cid": "QmYwAPJzv5CZsnA625s3Xf2nemtYgPpHdWEz79ojWnPbdG"
}
Response includes: content (text preview up to 10,000 chars or binary indicator), content_type, content_length, gateway_url, and ipfs_url.
upload
Upload a file to IPFS. The file is pinned so it remains available on the network. Maximum file size is 10MB.
Required fields:
action—"upload"content— Base64-encoded file contentfilename— Original filename with extension (e.g.,"report.pdf")
Optional fields:
pinning_api_key— Your own pinning service API key for unlimited uploadspinning_service— Which service your API key is for. Required whenpinning_api_keyis provided. One of:"pinata","web3storage","nftstorage"
Example (using shared service):
{
"action": "upload",
"content": "SGVsbG8gV29ybGQh",
"filename": "hello.txt"
}
Example (using your own Pinata key):
{
"action": "upload",
"content": "SGVsbG8gV29ybGQh",
"filename": "hello.txt",
"pinning_api_key": "your-pinata-jwt-token",
"pinning_service": "pinata"
}
Response includes: cid, filename, file_size_bytes, file_size_mb, ipfs_url, and multiple gateway_urls for accessing the content.
list
List all files you have previously uploaded through this tool, sorted by most recent first.
Required fields:
action—"list"
Example:
{
"action": "list"
}
Response includes: array of uploads (each with cid, filename, file_size, upload_date, ipfs_url, gateway_url), plus totals for upload count and combined size.
Common Workflows
Store a document permanently
- Base64-encode your file content
- Use
uploadwith the encoded content and filename - Save the returned CID -- this is the permanent address of your content
Retrieve previously stored content
- Use
retrievewith the CID you received from an upload or found elsewhere - Text content is returned directly; binary content is identified by type
Review your upload history
- Use
listto see all files you have uploaded - Each entry includes the CID and gateway URL for easy access
Important Notes
- File size limit: 10MB maximum per upload
- Content encoding: Files must be base64-encoded before uploading
- CID formats: Both CIDv0 (
Qm...) and CIDv1 (bafy...) are supported for retrieval - Persistence: Uploaded content is pinned to IPFS, meaning it will remain available as long as the pinning service maintains it
- Gateway fallback: Retrieval automatically tries multiple gateways if the first one fails
- Own credentials: For heavy usage, provide your own API key from Pinata, Web3.Storage, or NFT.Storage to avoid shared service limits
When To Use
- Use this skill for
IPFS Content Gatewayon AgentPMT. - Use it when an agent needs this specific tool's behavior, schema, inputs, outputs, and invocation sh
Установить ipfs-content-gateway в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл ipfs-content-gateway?
IPFS Content Gateway: Fetch content from IPFS by CID with automatic failover across 7 gateways. Upload files up to 10MB with pinning. List upload history. Use when an agent needs ipfs content gateway, ipfs content retrieval, decentralized storage access, cid content lookup, ipfs gateway access, list, retrieve, cid through AgentPMT-hosted remote tool calls. Discovery terms: ipfs content gateway, ipfs content retrieval, decentralized storage access, cid content lookup, ipfs gateway access, list.
Как установить скилл ipfs-content-gateway?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ipfs-content-gateway запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic