/arc:blockletfrom arc
Discovers, scaffolds, builds, and inspects Arc blocklets (installable AFS apps) via `arc blocklet` commands. Use for creating and managing blocklet projects.
Ships in arc. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Blocklets are installable AFS apps (manifest + optional AUP pages/agents). This booklet is L0 — verify flags with arc blocklet <cmd> --help.
arc --help
arc blocklet --help
arc blocklet recipe list
arc blocklet recipe explain <name> # e.g. basic | blog | agent | minimal-app
arc blocklet list [dir] # local packages under dir (or cwd)
arc blocklet inspect <path|ref>
arc blocklet check <dir> # validate against recipe/profile
After a daemon is up (arc skill show daemon) — add --instance <name> to
every arc afs call below unless you're on the default instance
(arc skill show afs covers this):
arc afs ls /blocklets --instance <name> # live catalog when mounted
arc afs ls /registry/blocklets --instance <name> # registry entries if present
arc afs explain /blocklets --instance <name>
# WM: open a running blocklet in a surface
# exec $WM/.actions/open-blocklet --args '{"blocklet":"<name>"}' --instance <name>
# Prefer: explain that action first
Use an empty isolated directory — never scaffold into the monorepo root.
mkdir -p /tmp/my-blocklet && cd /tmp/my-blocklet
arc blocklet create . --name my-blocklet --recipe basic
# basic → blocklet.yaml only (smallest green path)
# --name becomes the DID identifier: alphanumeric / hyphen / underscore only.
# Omitting it derives one from the directory basename, and `create` REFUSES
# (exit 5) rather than write a DID `blocklet build` would reject (arc#6281).
arc blocklet check .
arc blocklet build .
# → dist/ with .afs/manifest.json + blocklet.dist.json
Richer recipes (need more files; still offline-capable):
| Recipe | What you get |
|---|---|
basic / blank | manifest only |
blog | AUP blog pages |
agent | AI chat + agent |
minimal-app | web + aup + agent + settings |
agent-workspace | workspace-shaped app |
support-community | support-community shell |
arc blocklet create /tmp/blog-app --name blog-app --recipe blog
arc blocklet build /tmp/blog-app
arc blocklet deploy --help
arc blocklet run --help # serve one blocklet on the daemon
arc blocklet instance list
arc blocklet instance deploy --help
Cloud / Pages deploy needs project credentials — read --help and fail closed if secrets missing.
arc skill install blocklet
# → .agents/skills/blocklet/SKILL.md and .claude/skills/blocklet/SKILL.md
arc skill show daemonarc skill show afsarc skill show space, arc skill show indexexplain / /.knowledge over memorizing recipe file listsWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub arcblock/agent-skills --plugin arc7 skills in this plugin
/afsUse AFS paths via `arc afs` (list/read/write/exec/explain) once a world is available./daemonStart, attach, and check the ARC daemon / service without breaking a live session./indexWhen to use: find AFS/DID Space content via FTS, anchors, or optional vectors at `/modules/index` (retrieval Index — not the federated AFS Index manifest)./mcpConnect MCP clients (`arc mcp`), negotiate local vs remote capability, and explore the live AFS tool surface./siteWhen to use: build a full website via `/web/.actions/create-site` — themes at `/web/.library/themes`; writable storage on a fresh instance is `/work` (not `/storage`); tell disk `.web/.build` from the HTTP host; map daemon :4900 vs Web Device port vs `*.localhost`./spaceWhen to use: persist app state without a separate DB+object store — DID Space is the strongest AFS implementation (paths under /spaces, /user, /instance).Other plugins' skills for the same job