Claude Skill

arc-host

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.

LLM Mart · 0 points · 2 views 0 listing impressions 0 install-command copies
Download hudsonkit-arc-skills_arc-host-24ea394.zip · 1 KB

Install

skills CLI npx skills add https://github.com/hudsonkit/arc/tree/main/skills/arc-host
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install hudsonkit-arc@llmmart
Git git clone https://github.com/hudsonkit/arc.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole hudsonkit/arc collection as a plugin from our marketplace. Git is the plain clone.

Skill manifest

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

Surface URL
Studio https://arc-studio.exe.xyz/
Editor https://arc-studio.exe.xyz/editor
MCP HTTP https://arc-server.exe.xyz/mcp
MCP health https://arc-server.exe.xyz/health
Shelley (arc-server) https://arc-server.shelley.exe.xyz

Local on this VM:

Service Port systemd unit
Studio preview 5188 arc-studio
MCP HTTP 5190 arc-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.

Files (arc)
  • SKILL.md 2.1 KB
    ---
    name: arc-host
    description: 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.
    when: exe.dev
    ---
    
    # 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
    
    | Surface | URL |
    |---------|-----|
    | Studio | https://arc-studio.exe.xyz/ |
    | Editor | https://arc-studio.exe.xyz/editor |
    | MCP HTTP | https://arc-server.exe.xyz/mcp |
    | MCP health | https://arc-server.exe.xyz/health |
    | Shelley (arc-server) | https://arc-server.shelley.exe.xyz |
    
    Local on this VM:
    
    | Service | Port | systemd unit |
    |---------|------|--------------|
    | Studio preview | 5188 | `arc-studio` |
    | MCP HTTP | 5190 | `arc-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
    
    ```bash
    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`.
    
    ```bash
    scout send --channel arc "status: <one-line summary>"
    ```
    
    Docs: `~/arc/docs/agent/exe-dev.agent.md`, `~/arc/docs/agent/mcp.agent.md`.
    

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.