Skills for Real Engineers. Straight from my .agents directory.
attack-surface-mapping
Agent skill fromyaklang/hack-skills
Draw a testable attack surface from one authorized target URL or one application. Use when the user says 攻击面, 供给面, 画攻击面, map the surface, application recon, find the business host, JS inventory, or when the only visible page is login. Derive hosts, APIs, keys, and the object graph from what the app already exposes. Do not open with directory brute or payload spray. Use when the user runs /attack-surface-mapping.
How to install attack-surface-mapping
npx skills add yaklang/hack-skills# or add only this skill to Claude Code: copy the folder
skills/attack-surface-mapping/
# into
~/.claude/skills/attack-surface-mapping/ (all projects)
.claude/skills/attack-surface-mapping/ (one project)
1# Attack Surface Mapping23Given **one target** and **one application**, draw the surface from what that application already exposes. Then stop. Testing lives in other skills.45This skill is the fast path. Success is a portrait plus a host/API inventory plus a key table plus response-class labels plus an object graph. A probe count is not success.67Field patterns for where the rest of the surface actually lives: [SURFACE_PATTERNS.md](./SURFACE_PATTERNS.md).89## When1011- A new URL, a new app, or "I only see a login page"12- Need to know **what** to test before loading injection / auth / upload skills13- The agent is about to brute directories, spray quotes, or expand to unrelated hosts1415Do **not** use this skill to expand an organization-wide host universe. Map the current application cluster. Finish it. Then, if scope allows, take the next cluster.1617Authorization and destruction bounds: [hack](../hack/SKILL.md) start gate. Stay in scope.1819## What must exist (not a file tree)2021Before any vulnerability skill, these facts must be retrievable. Persist them in whatever the local workspace already uses for notes and evidence — an existing task folder, a proxy project, session notes, a ticket. Do not invent a new directory layout when one is already in play.2223| Fact | Keep |24|---|---|25| Portrait | 3–5 sentences, not an essay |26| Hosts | Business hosts, gateways, API domains this app already named |27| Endpoints | Method, path, params, auth required? |28…
Excerpt shown under the repository's MIT license.
More skills in hack-skills
Similar skill repositories
Public repository for Agent Skills
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
The open-source app everyone uses to manage agents at work
The design vocabulary for your coding agent. Steer with polish and bolder, review with critique and audit, catch AI slop before it ships.
