surface

surface is a command for Claude Code from adriannoes/awesome-agentic-ai. It costs 28 tokens per session (342 once invoked), scanned A, a copy of surface, MIT.

A ranked list of the most promising places to test on a website or API. It combines earlier reconnaissance, which maps a target's hosts and URLs, with previous hunting notes.

In plain words
What is it for?
Use it after reconnaissance to rank endpoints, group them into priority levels, and see relevant techniques and past patterns.
Why use it?
It helps you spend time on likely weaknesses instead of checking every discovered page equally. It also separates suggested starting points from lower-value areas to skip.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit Use it after reconnaissance to rank endpoints, group them into priority levels…

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/adriannoes/awesome-agentic-ai/surface
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/adriannoes/awesome-agentic-ai

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for surface

README.md
[![agentmods](https://agentmods.dev/badge/commands/adriannoes/awesome-agentic-ai/surface.svg)](https://agentmods.dev/commands/adriannoes/awesome-agentic-ai/surface)
Your own site
<a href="https://agentmods.dev/commands/adriannoes/awesome-agentic-ai/surface"><img src="https://agentmods.dev/badge/commands/adriannoes/awesome-agentic-ai/surface.svg" alt="Measured on agentmods" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 342 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00028 $0.00342
Opus 5 $0.00014 $0.00171
Sonnet 5 $0.00006 $0.00068
Haiku 4.5 $0.00003 $0.00034

Measured 3d ago against content hash c8218a007bc7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

surface scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to surface — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

cursor-claude-codex/skills/bug-hunter/commands/surface.md · 52 lines

What it actually says

/surface

View the prioritized attack surface for a target.

What This Does

  1. Reads cached recon output from recon/<target>/
  2. Reads hunt memory for patterns and previously tested endpoints
  3. Invokes the recon-ranker agent to produce a prioritized ranking
  4. Outputs P1 (start here), P2 (after P1), and Kill List (skip)

Usage

/surface target.com

Prerequisites

Run /recon target.com first. If no recon data exists, you'll be prompted to run recon.

Output

ATTACK SURFACE: target.com
═══════════════════════════════════════

Priority 1 (start here):
1. api.target.com/v2/users/{id} — IDOR candidate
   Tech: Express + PostgreSQL | First seen 12 days ago
   Suggested: numeric ID swap on GET/PUT/DELETE

2. api.target.com/graphql — introspection enabled, 47 mutations
   Suggested: field-level auth check on sensitive mutations

Priority 2 (after P1):
1. cdn.target.com:8443/upload — file upload endpoint
   Suggested: extension bypass, magic bytes

Kill List (skip):
- static.target.com — CDN only
- docs.target.com — third-party hosted

Memory:
- Pattern from alpha.com (same tech): auth bypass via method override ($800)
- 3 endpoints tested in previous session, 5 remain
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 52 lines · 0 tokens per session scan A c8218a007bc7

Subscribe to this mod's changes

surface is a command published in the GitHub repository adriannoes/awesome-agentic-ai (55 stars, last pushed 8d ago), licensed MIT. It adds 28 tokens to every session and 342 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to surface, differing in 0 lines, and is treated as a copy.