agentleFS
aracharach/arc/skills/arc-host/SKILL.md

arc-host

Skill11 starsChanged 2 months agoMITView on GitHub

Operate the Arc exe.dev deployment — studio, MCP server, health checks, and redeploy. Use on arc-studio or arc-server VMs, or when asked to check, restart, or update the hosted Arc stack.

The file

Files
SKILL.md

Arc Host (exe.dev)

You are on an exe.dev VM running Arc. Agents grok arc — diagrams are typed JSON, validated, and opened in the studio.

Endpoints

Local on this VM:

ServicePortsystemd unit
Studio preview5188arc-studio
MCP HTTP5190arc-mcp

Repo: ~/arc (bun, React 19, Vite 7).

MCP tools (authoring loop)

Connect to http://127.0.0.1:5190/mcp or the public URL. Tools:

  • validate_diagram — schema check
  • diff_diagram — structural delta
  • auto_layout — Sugiyama layout
  • render_ascii — terminal preview
  • render_svg — deterministic SVG export
  • render_png — PNG image when Chrome/Chromium is installed (ARC_CHROME overrides lookup)
  • render_html — React component, iframe embed, or standalone HTML
  • diagram_to_typescript — TS module export
  • editor_handoff — #data= studio URL

ARC_EDITOR_URL on arc-server points at the studio for handoff links.

Redeploy

cd ~/arc
git pull --ff-only
~/.bun/bin/bun install
~/.bun/bin/bun run build:lib
~/.bun/bin/bun run build        # studio VM only
~/.bun/bin/bun run build:mcp
sudo systemctl restart arc-mcp arc-studio 2>/dev/null || sudo systemctl restart arc-mcp
curl -sf http://127.0.0.1:5190/health
curl -sf -o /dev/null -w '%{http_code}\n' http://127.0.0.1:5188/editor  # studio VM

Scout

Deployment channel: #arc. Aliases: @arc-studio, @arc-server, @arc-author, @arc-host.

scout send --channel arc "status: <one-line summary>"

Docs: ~/arc/docs/agent/exe-dev.agent.md, ~/arc/docs/agent/mcp.agent.md.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.