Cloudflare Artifacts Development Guide
A retrieval-first skill for building, debugging, and reviewing code that uses Cloudflare Artifacts via the Workers binding, REST API, or Git clients.
Dev & CodingIntermediate★ 500⑂ 55AI score 7/10Last updated: Nov 27, 2026
What it does
Cloudflare Artifacts is Git-compatible versioned storage where namespaces hold repositories, each with a Git remote. This skill makes Claude:
- Prefer retrieval over memory: read the linked docs page and the
Artifacts,ArtifactsRepo, andArtifactsErrordeclarations generated bynpx wrangler typesbefore writing code. - Use a task-to-docs table covering the Workers binding, local development, tokens, errors, REST API/Wrangler, limits, and event subscriptions.
- Avoid the common gotchas: the binding cannot write files or commits,
get()returns a capability whileinfo()returns metadata, mint short-livedwritetokens with the?expires=suffix handled correctly, match errors by code not message, and retry rejected concurrent pushes. - Verify like a fresh deployment: start from a namespace with no repository, exercise every route, restart, and repeat.
Who it's for
- Backend/fullstack developers using the
env.ARTIFACTSbinding on Cloudflare Workers. - Builders of AI agents that fork, commit, and push repositories programmatically.
- Platform engineers managing or importing repos through the REST API or Wrangler CLI.
Example uses
- "Create the repo if missing and push a first commit from a Worker with isomorphic-git" → code that handles the
ALREADY_EXISTSrace and initializes an empty repo instead of cloning. - "Pushes intermittently fail with 401" → replace the cached initial token with a fresh
repo.createToken("write", ttl)per push. - "Requests right after an import return 409" → branch on the
IMPORT_IN_PROGRESSerror code and add a short retry instead of string-matching messages.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/aiskillstore/marketplace/HEAD/pending/cloudflare/artifacts/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on AI Skill Mart. Copy the pending/cloudflare/artifacts folder from the GitHub repo aiskillstore/marketplace into my ~/.claude/skills/aiskillstore-artifacts/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/aiskillstore/marketplace.git /tmp/aiskillstore && mkdir -p ~/.claude/skills && cp -r /tmp/aiskillstore/pending/cloudflare/artifacts ~/.claude/skills/artifacts⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repo:
git clone https://github.com/aiskillstore/marketplace.git /tmp/aiskillstore - Create the skills folder:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r /tmp/aiskillstore/pending/cloudflare/artifacts ~/.claude/skills/artifacts - Start Claude Code in your project and confirm
artifactsappears in the skill list. - For best results, add the Artifacts binding to your Workers project and run
npx wrangler typesso the skill can read the generated type declarations.