airship
FreeNo executable scriptsNot checkedDrive Airship (`@airshiplabs/cli`), a CLI that puts a visual, pannable design canvas in front of a running dev server so an engineer can click an element…
by akillness★ 63 GitHub starsAbout this skill
Airship
Airship is a CLI-only visual editor that runs as a reverse proxy in front of an already-running dev server (Vite, Next, Remix, Rails, or anything serving HTML). It renders live device frames on an infinite canvas; selecting an element and describing a change hands the file/line plus the prompt to Claude Code, Codex, or OpenCode, which edits the real source file. Nothing is added to the project's dependencies, config, or bundle, and every edit is undoable.
When to use this skill
- Launching the visual editor against a local dev server (
npx @airshiplabs/cli --target <port>or the installedairshipbinary) - Choosing or comparing coding agents (Claude Code, Codex, OpenCode) for interactive, click-to-edit UI changes
- Sandboxing agent edits with
--safe, or picking--agent codex --safefor a real OS-level sandbox - Scaffolding a persistent
airship.config.json(airship init) so flags stop needing to be repeated - Diagnosing a broken install/auth/dev-server setup with
airship doctor - Deciding between
canvas(multi-device frames) andinline(overlay on one page) editor modes
When not to use this skill
- The user wants a standalone design tool disconnected from real source (Figma-style mockups) — Airship always writes to the actual codebase, not a separate design file
- A headless/CI code edit with no visual-selection step → drive the agent (Claude Code/Codex/OpenCode) directly instead of routing through Airship
- Browser automation or end-to-end testing → use a browser/testing skill; Airship is an editing tool, not a test runner
Instructions
Step 1: Start the dev server, then point Airship at it
pnpm dev # e.g. http://localhost:3000
npx @airshiplabs/cli --target 3000
No plugin or config changes required. Or install once and reuse the binary:
npm i -g @airshiplabs/cli
airship --target 3000
Step 2: Or let Airship start (and stop) the dev server itself
airship --exec "pnpm dev" # reads the port from package.json when --target is omitted
Bare airship with no flags asks for the port, agent, and mode
interactively — it needs a terminal.
Step 3: Pick a coding agent and, if it matters, a sandbox
airship --target 3000 --agent codex --safe
claude(default),codex,opencodediffer on cost display,--effort/--max-turnssupport, and undo (codex/opencode need the project to be a git repo for undo).--safeis not equally strong on all three: onlycodexgets a real OS sandbox;claude/opencodeget a pre-flight command/edit check, not a hard wall. Seereferences/commands.md.
Step 4: Check the environment before troubleshooting further
airship doctor --agent claude
Reports ok/warn/fail for node, airship, config, git repo, overlay
bundle, each agent, and the dev server; exits 1 on failure so airship doctor && airship is a safe pre-flight.
Step 5: Persist settings instead of repeating flags
airship init # writes airship.config.json (or an "airship" key in package.json)
Resolution order: CLI flags → AIRSHIP_* env vars → airship.config.json
→ defaults. Every flag has an AIRSHIP_<FLAG_NAME> env var (e.g.
AIRSHIP_TARGET, AIRSHIP_AGENT, AIRSHIP_SAFE).
Step 6: Choose canvas vs inline mode
airship --target 3000 --mode inline
canvas (default) shows one live frame per device size on a pannable
canvas; inline overlays the editor on the running page itself. Switchable
at runtime from the bottom bar, or per-URL with ?__airship=inline /
?__airship=shell.
Best practices
--safeis only a real sandbox with--agent codex— treatclaude/opencode--safeas a checked guardrail, not an isolation boundary; only the OS-level codex sandbox blocks writes outside the project and cuts network access.- Run
airship doctorbefore escalating to--debug— most launch failures are covered by its ordered checks (node → airship → config → git → overlay → agent → dev server). - Require Git before trusting undo on
codex/opencode— their undo reads the previous file version from Git;claude's undo does not need a repo. - Set
--cwdexplicitly in monorepos — it must match the folder the dev server treats as its root (e.g.--cwd apps/web), or file paths reported by the dev server won't resolve to real files. - Quote non-boolean
--codex-configvalues — baretrue/falseor numeric-looking values are sent as TOML booleans/numbers; quote (k='"true"') to keep a string a string. - Prefer
--jsonfor scripted/automation contexts — it disables colour and the launch banner and keeps stdout machine-readable, while banners/warnings/errors still go to stderr.
References
- references/commands.md — full CLI flag reference, exit codes, agent comparison table, safety
Install airship in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
BashReadWriteEditGlobGrepBundled files
FAQ
What does the airship skill do?
Drive Airship (`@airshiplabs/cli`), a CLI that puts a visual, pannable design canvas in front of a running dev server so an engineer can click an element, describe a change, and have Claude Code, Codex, or OpenCode edit the underlying source file directly — no plugin, no build config, nothing added to the project. Use when the user wants to launch a visual editor over a local dev server (`npx @airshiplabs/cli --target <port>`), pick or compare coding agents (`--agent claude|codex|opencode`) for live UI edits, sandbox agent edits with `--safe`, scaffold an `airship.config.json` (`airship init`), or diagnose a broken setup (`airship doctor`). Triggers on: "airship", "@airshiplabs/cli", "visual editor for my codebase", "click to edit UI", "design canvas over dev server", "airship doctor", "airship init", "pair Claude Code with a visual editor on localhost".
How do I install the airship skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the airship skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
by Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
by Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
by Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
by Anthropic