Official agent skill

ArtifactFS Git Mounts

by cloudflare in cloudflare/artifact-fs

Mounts Git remotes as local working trees with ArtifactFS without a full clone, and explains committed versus dirty overlay state and multi-repo mounts under one daemon.

OfficialApache-2.0Auto-check passedDevelopment

Install ArtifactFS Git Mounts

skills CLI
$ npx skills add cloudflare/artifact-fs --skill artifact-fs -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install cloudflare/artifact-fs artifact-fs --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/cloudflare/artifact-fs.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/artifact-fs .claude/skills/artifact-fs && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
artifact-fs
GitHub stars
1.2k
Token cost
~831 tokens
SKILL.md length
289 words
Files
1
Skills in repo
1
Repo updated
First seen
Licence
Apache-2.0

At a glance

Mounts Git remotes as local working trees with ArtifactFS without a full clone, and explains committed versus dirty overlay state and multi-repo mounts under one daemon.

  • Mounting a remote Git repo without waiting for a full clone
  • SKILL.md covers FIRST: Verify Prerequisites, Critical Rules, Quick Reference and Quick Start: One Repo, plus 2 more sections
  • Calls git and go; reaches github.com
  • Explaining committed state versus dirty overlay state in a mount

What it does

ArtifactFS is a filesystem driver that mounts large Git repos quickly and hydrates file contents on first read, and this skill covers using it as a consumer through its CLI. Prerequisites are checked first: macFUSE or /dev/fuse must be present, and the artifact-fs binary must exist or be built with go build. A dedicated state root set through ARTIFACT_FS_ROOT, usually under /tmp, keeps mounts and caches isolated.

The add-repo command registers a blobless clone but does not mount it, while the daemon command mounts all registered repos and keeps running, so one daemon can serve many repos. The mounted tree starts from the committed state of the branch HEAD, local edits live in an overlay and show as dirty state that status reports as overlay_dirty=true, and git add and git commit inside the mount are supported. Other commands list, unmount and remove repos. HTTPS remotes are preferred, and tokens should never be embedded in the remote URL because command-line arguments can show up in process listings.

When your agent uses it

  • Mounting a remote Git repo without waiting for a full clone
  • Explaining committed state versus dirty overlay state in a mount
  • Mounting several repos under one ArtifactFS daemon
  • Checking status or unmounting a repo

Example prompts

  • “Mount the main branch of this GitHub repo with ArtifactFS under /tmp.”
  • “Why does status show overlay_dirty true after I edited a file?”
  • “Register two repos and mount them with one daemon.”

Requirements

  • macFUSE on macOS or /dev/fuse on Linux
  • The artifact-fs binary, or Go to build it
  • Git remote access, preferably over HTTPS

What it can do on your machine

Read from SKILL.md and the folder at commit 2b87a48. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • go

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

ArtifactFS Git Mounts loads about 831 tokens when it runs. Until then it costs about 56 tokens; SKILL.md has 289 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~56
When it runs · the whole SKILL.md, loaded when a task matches
~831

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from cloudflare/artifact-fs at commit 2b87a48, republished under its Apache-2.0 licence (© cloudflare). 289 words, ~831 tokens.

Download SKILL.mdSave it as .claude/skills/artifact-fs/SKILL.md (or your agent's skills folder).
name
artifact-fs
description
Mounts Git remotes with ArtifactFS as local working trees without a full clone. Use when asked to mount a remote repo, explain committed state versus dirty overlay state, or mount multiple repos under one daemon.

ArtifactFS Usage

Use this skill to operate ArtifactFS as a consumer. Prefer the CLI workflow and mounted repos. Do not inspect ArtifactFS internals unless the task is about developing ArtifactFS itself.

FIRST: Verify Prerequisites

Run from the repo root. If either check fails, STOP and fix the environment first.

bash
test -e /Library/Filesystems/macfuse.fs || test -e /dev/fuse
test -x ./artifact-fs || go build -o artifact-fs ./cmd/artifact-fs

Critical Rules

  • Use a dedicated state root. Set ARTIFACT_FS_ROOT, usually under /tmp, so mounts and caches stay isolated.
  • Prefer HTTPS remotes. For private repos, use Git credential helpers or SSH auth. Do not embed tokens or passwords in the --remote URL because --remote is a CLI arg and can show up in process listings.
  • add-repo does not mount. It registers a blobless clone and exits. daemon mounts all registered repos and stays running.
  • The mounted tree starts from committed Git state. Remote commits, trees, and refs are the base view. Local edits live in an overlay and appear as dirty state until committed.
  • One daemon can mount many repos. Register each repo separately, then start one daemon --root <mount-root>.

Quick Reference

TaskCommand
Register one repo./artifact-fs add-repo --name <name> --remote <url> --branch <branch> --mount-root /tmp
Mount all registered repos./artifact-fs daemon --root /tmp
Check mount and overlay state./artifact-fs status --name <name>
List registered repos./artifact-fs list-repos
Unmount or remove a repo./artifact-fs unmount --name <name> or ./artifact-fs remove-repo --name <name>

Quick Start: One Repo

bash
export ARTIFACT_FS_ROOT=/tmp/artifact-fs-demo

./artifact-fs add-repo \
  --name workers-sdk \
  --remote https://github.com/cloudflare/workers-sdk.git \
  --branch main \
  --mount-root /tmp

./artifact-fs daemon --root /tmp &
DAEMON_PID=$!

git -C /tmp/workers-sdk rev-parse HEAD
git -C /tmp/workers-sdk status
./artifact-fs status --name workers-sdk

kill $DAEMON_PID
# If a stale mount remains:
umount /tmp/workers-sdk

Mount Semantics

  • Base view = branch HEAD from the blobless clone. File contents hydrate on first read.
  • Dirty files are overlay state, not part of the base commit. ./artifact-fs status --name <repo> reports this as overlay_dirty=true.
  • git add and git commit inside the mount are supported. After commit or checkout, the watcher re-indexes the new HEAD and reconciles stale overlay entries.

Quick Start: Multiple Repos

bash
export ARTIFACT_FS_ROOT=/tmp/artifact-fs-demo

./artifact-fs add-repo --name repo-a --remote https://github.com/org/repo-a.git --branch main --mount-root /tmp
./artifact-fs add-repo --name repo-b --remote https://github.com/org/repo-b.git --branch main --mount-root /tmp

./artifact-fs daemon --root /tmp &
DAEMON_PID=$!

ls /tmp/repo-a
ls /tmp/repo-b
./artifact-fs list-repos

kill $DAEMON_PID
umount /tmp/repo-a
umount /tmp/repo-b

© cloudflare, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/artifact-fs of cloudflare/artifact-fs.

Open the folder on GitHubat commit 2b87a48

Compare with similar skills

ArtifactFS Git Mounts next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

ArtifactFS Git Mounts compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
ArtifactFS Git Mounts this skillcloudflare/artifact-fs1.2k—~831Automated safety check: PassApache-2.0
Code Design Rationale Investigatorcursor/plugins10k9 repos~2.6kAutomated safety check: PassNone
Ansible Backport Creatoransible/ansible71k—~1.2kAutomated safety check: PassGPL-3.0
Hunk Release Workflowmodem-dev/hunk9.5k—~3.8kAutomated safety check: PassMIT
Worktrunk Release Workflowmax-sixty/worktrunk9k—~6.9kAutomated safety check: PassCustom licence
Git Conventionswerf/werf4.7k—~1.3kAutomated safety check: PassApache-2.0

Similar skills

  • Official

    Digs into why code is shaped the way it is by checking git history, pull requests and connected tools in parallel, then reporting a cited read on the tradeoffs.

    10k GitHub starsUsed in 9 repos~2.6k tokens
    DevelopmentAuto-check passed
  • Creates backports of a merged Ansible devel pull request onto the right stable branches by cherry-picking its merge commit onto new backport branches.

    71k GitHub stars~1.2k tokensUpdated today
    DevelopmentAuto-check passed
  • Hunk Release Workflow

    modem-dev/hunk

    Maintainer workflow for preparing, publishing, verifying and curating Hunk releases, with confirmation gates before tags, publishes and public edits.

    9.5k GitHub stars~3.8k tokensUpdated today
    DevelopmentAuto-check passed
  • Worktrunk Release Workflow

    max-sixty/worktrunk

    Walks a maintainer through cutting a Worktrunk release: sync the release branch, pass two test gates, review the changes, then publish.

    9k GitHub stars~6.9k tokensUpdated today
    DevelopmentAuto-check passed
  • werf conventions for branch names and commit messages. An agent skill from werf/werf.

    4.7k GitHub stars~1.3k tokensUpdated today
    DevelopmentAuto-check passed
  • Git Gh Pat Auth

    NEventStore/NEventStore

    A skill your agent uses when: authenticating git and GitHub CLI for NEventStore tasks, fixing gh auth errors, setting PAT environment variables, preparing a shell session for git push and gh issue…

    1.6k GitHub stars~828 tokensUpdated 2 mo ago
    DevelopmentAuto-check passed

Works with

Questions about ArtifactFS Git Mounts

What does ArtifactFS Git Mounts do?

Mounts Git remotes as local working trees with ArtifactFS without a full clone, and explains committed versus dirty overlay state and multi-repo mounts under one daemon. ArtifactFS is a filesystem driver that mounts large Git repos quickly and hydrates file contents on first read, and this skill covers using it as a consumer through its CLI. Prerequisites are checked first: macFUSE or /dev/fuse must be present, and the artifact-fs binary must exist or be built with go build.

When should I use ArtifactFS Git Mounts?

ArtifactFS Git Mounts fits situations like: mounting a remote Git repo without waiting for a full clone; explaining committed state versus dirty overlay state in a mount; mounting several repos under one ArtifactFS daemon; checking status or unmounting a repo.

How do I install ArtifactFS Git Mounts in Claude Code?

Run `npx skills add cloudflare/artifact-fs --skill artifact-fs -a claude-code`. Or copy the skill folder (.agents/skills/artifact-fs in cloudflare/artifact-fs) into .claude/skills/artifact-fs in your project. Claude Code loads it when a task matches its description.

How do I install ArtifactFS Git Mounts in Codex?

Run `npx skills add cloudflare/artifact-fs --skill artifact-fs -a codex`. Or copy the skill folder (.agents/skills/artifact-fs in cloudflare/artifact-fs) into .agents/skills/artifact-fs in your project. Codex loads it when a task matches its description.

Can I use ArtifactFS Git Mounts in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add cloudflare/artifact-fs --skill artifact-fs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/artifact-fs, .gemini/skills/artifact-fs, .github/skills/artifact-fs and .opencode/skills/artifact-fs in your project.

What does ArtifactFS Git Mounts need to run?

Going by SKILL.md and its folder, ArtifactFS Git Mounts needs the command-line tools its instructions call (git and go). Our summary lists: macFUSE on macOS or /dev/fuse on Linux; The artifact-fs binary, or Go to build it; Git remote access, preferably over HTTPS.

Does ArtifactFS Git Mounts access the network?

SKILL.md names 1 domain. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is ArtifactFS Git Mounts safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does ArtifactFS Git Mounts use?

ArtifactFS Git Mounts is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does ArtifactFS Git Mounts use?

About 831 tokens (SKILL.md is roughly 3.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to ArtifactFS Git Mounts?

Skills that share tags, products or a category with ArtifactFS Git Mounts: Code Design Rationale Investigator (cursor/plugins, 10k stars), Ansible Backport Creator (ansible/ansible, 71k stars), Hunk Release Workflow (modem-dev/hunk, 9.5k stars) and Worktrunk Release Workflow (max-sixty/worktrunk, 9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains ArtifactFS Git Mounts?

cloudflare (a GitHub organization, an official publisher) maintains it in cloudflare/artifact-fs, which has 1,177 GitHub stars. The repository was last updated on September 11, 2026.

Source: cloudflare/artifact-fs on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.