Skip to content
Skill

Surfacer

Turns a mapped web surface into a CLI, OpenAPI spec or MCP server and flags drift

Surfacer is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
115
Last commit
License
MIT
Listing updated

Similar skills

About Surfacer

Surfacer takes a description of a service's surface, meaning an IR file usually produced by the companion surface-recon skill, and compiles it into working interfaces. The skill points the agent at the surfacer binary, which can emit a Rust shim, a just-bash runner, help text, a TypeScript CLI, an OpenAPI 3.1 document and an MCP server from the same description.

Beyond generation, the skill covers keeping those interfaces usable. It explains how to check whether a previously mapped target has changed, so an integration built against a service with no official API can be revisited rather than rewritten by hand. The full workflow, targets and auth handling are loaded from the binary itself via a core manual command, so the skill stays in step with the installed version.

The skill expects the surfacer CLI to be installed for generation and drift checks. Without it, the agent can still produce a recon report using surface-recon. It also lists cases where surfacer is the wrong fit, such as APIs you define yourself or services that already ship an SDK.

When your agent uses it

Compile a mapped surface into working interfaces and keep them alive as the target changes. Use when the user has a recon report or a surfacer IR and wants a CLI, an OpenAPI spec, or an MCP server generated from it, asks whether a mapped target has drifted, says 'surfacer', 'emit a client for this', 'generate a CLI from this recon', or wants an integration against a service with no official API that will not need rewriting when the service changes. Pairs with surface-recon, which produces the IR.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (3 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Copy the skill folder to ~/.claude/skills/surfacer to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/crafter-station/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/surfacer &&
cp -R "$tmp/skills/surfacer" ~/.claude/skills/surfacer &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/surfacer inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/surfacer to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/crafter-station/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/surfacer &&
cp -R "$tmp/skills/surfacer" ~/.agents/skills/surfacer &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/surfacer inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/surfacer to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/crafter-station/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/surfacer &&
cp -R "$tmp/skills/surfacer" ~/.cursor/skills/surfacer &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/surfacer inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/crafter-station/skills.git --path skills/surfacer

Or copy the folder to ~/.gemini/skills/surfacer yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/surfacer:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/crafter-station/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/surfacer &&
cp -R "$tmp/skills/surfacer" ~/.copilot/skills/surfacer &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/surfacer inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/crafter-station/skills.git

Then copy skills/skills/surfacer into your agent's skills folder as surfacer. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Interface generation
Compiles a mapped surface into a CLI, OpenAPI spec or MCP server.
Drift detection
Checks whether a mapped target has changed since it was recorded.
IR linting
Validates the intermediate representation before anything is emitted.
Multiple output targets
Emits a Rust shim, shell runner, help text, TypeScript CLI and more from one IR.
Recon pairing
Works with surface-recon, which writes the report and IR it consumes.
Version-matched manual
Reads the full workflow from the installed binary rather than a copied file.

Good for

  • Generate a CLI from a recon report of a service with no official API
  • Check whether a previously mapped website has changed its endpoints
  • Produce an OpenAPI 3.1 spec from a surface description
  • Create an MCP server for an integration that must survive service changes
  • Lint a surfacer IR file before emitting interfaces from it

Surfacer FAQ

What does surfacer need to run?

The surfacer binary must be installed for generation and drift checks. The skill can still produce a recon report without it, using surface-recon.

Where does the input file come from?

It reads a .surfacer.json IR file. The intended source is surface-recon, though an IR can also be written by hand, for example by translating a published OpenAPI spec.

When should I not use Surfacer?

Not for a CLI over your own database or scaffolder, where there is no surface to map, and not when the target has a usable official API with an SDK.

Does surfacer perform reconnaissance itself?

No. It does no recon of its own and only emits interfaces from an existing IR file.

How do I install Surfacer in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/surfacer to use it in all your projects, or to .claude/skills/surfacer in one project.

Does Surfacer run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Surfacer?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Surfacer?

The closest alternatives to Surfacer are Surface recon, Contracts, Sail sandbox, Mosaic sandbox and Agent CLI.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from crafter-station/skills

  1. Audits an existing CLI for agent operability and human readability, reporting

    • Open source
    • 115 GitHub stars
    • Developer tools
  2. Guides an agent through building CLIs it can run safely and a human can supervise

    • Open source
    • 115 GitHub stars
    • Developer tools
  3. Generates OG social preview images and favicon sets from your brand colors

    • Open source
    • 115 GitHub stars
    • Design and media
  4. Builds hierarchical AGENTS.md context files so agents can navigate a codebase

    • Open source
    • 115 GitHub stars
    • Developer tools
  5. Guides a full Obsidian community plugin release from version bump to published tag

    • Open source
    • 115 GitHub stars
    • Developer tools
  6. Generates a draft Claude skill from documentation URLs via Firecrawl (deprecated)

    • Open source
    • 115 GitHub stars
    • Developer tools