# Surfacer

> Surfacer is an open-source agent skill for developer tools. Turns a mapped web surface into a CLI, OpenAPI spec or MCP server and flags drift. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/crafter-station/skills/tree/main/skills/surfacer
- **Repository:** https://github.com/crafter-station/skills
- **GitHub stars:** 115
- **License:** MIT
- **Skill name:** surfacer
- **Collection:** https://github.com/crafter-station/skills
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/crafter-station/skills/tree/HEAD/skills/surfacer)
- [Asks for: Bash(surfacer:*)](https://github.com/crafter-station/skills/blob/HEAD/skills/surfacer/SKILL.md)
- [License: MIT](https://github.com/crafter-station/skills/tree/HEAD/skills/surfacer)

## Features

- **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

## Install

### Claude Code

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

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

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

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Surface recon](https://ai-powered.com/skills/surface-recon): Surface recon is an open-source agent skill for developer tools.
- [Contracts](https://ai-powered.com/skills/contracts-ramboz): Contracts is an open-source agent skill for developer tools.
- [Sail sandbox](https://ai-powered.com/skills/sail-sandbox): Sail sandbox is an open-source agent skill for cloud and infrastructure.
- [Mosaic sandbox](https://ai-powered.com/skills/mosaic-sandbox): Mosaic sandbox is an open-source agent skill for developer tools.
- [Agent CLI](https://ai-powered.com/skills/agent-cli): Agent CLI is an open-source agent skill for developer tools.
- [Rust learner](https://ai-powered.com/skills/rust-learner): Rust learner is an open-source agent skill for developer tools.
- [Domain CLI](https://ai-powered.com/skills/domain-cli): Domain CLI is an open-source agent skill for developer tools.
- [Openapi to application code](https://ai-powered.com/skills/openapi-to-application-code): Openapi to application code is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/surfacer
