survey-patterns

survey-patterns is a skill for Claude Code from tobihagemann/turbo. It costs 43 tokens per session (496 once invoked), scanned A, original, MIT.

A codebase survey that finds similar features, reusable utilities, and existing patterns related to a proposed change. It reports what it finds without changing files or writing a plan.

In plain words
What is it for?
Use it before implementing a feature or fix when you need to understand how related parts of the codebase already work.
Why use it?
It reduces duplicated work and helps a planned change fit the project's existing structure.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_SKILL_DIR} variable. Also seen: mentions subagents.

Part of the turbo plugin — 71 skills shipped together

Good fit Use it before implementing a feature or fix when you need to understand how related parts of the codebase already work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tobihagemann/turbo/survey-patterns
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.

Any agent
npx skills add tobihagemann/turbo --skill survey-patterns
Clone the repo
git clone --depth 1 https://github.com/tobihagemann/turbo

Made for: Claude Code.

Or install turbo, the plugin that ships this one along with the rest of its 71 skills.

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 survey-patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/tobihagemann/turbo/survey-patterns/github.svg)](https://agentmods.dev/skills/tobihagemann/turbo/survey-patterns)
Your own site
<a href="https://agentmods.dev/skills/tobihagemann/turbo/survey-patterns"><img src="https://agentmods.dev/badge/skills/tobihagemann/turbo/survey-patterns/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for survey-patterns

Your own site · 80×15
<a href="https://agentmods.dev/skills/tobihagemann/turbo/survey-patterns"><img src="https://agentmods.dev/badge/skills/tobihagemann/turbo/survey-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 496 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found 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.00043 $0.00496
Opus 5.5 $0.00017 $0.00198
Sonnet 5.5 $0.00009 $0.00099
Haiku 4.5 $0.00004 $0.00050

Measured 3d ago against content hash 42fd8237ac8b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

survey-patterns 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.

claude/skills/survey-patterns/SKILL.md · 38 lines

How it starts

The opening of the file, as written. The whole thing — 38 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Survey Patterns

Search the codebase for analogous features and reusable building blocks before planning a change, and read any source the task names outside this repo. Returns structured findings. Does not write code or plans.

Step 1: Identify the Task

Determine what the change is about:

  • If a task description was passed in, use it
  • Otherwise, derive it from conversation context (the user's latest request)

State the task back in one sentence to confirm scope before searching.

Step 2: Spawn Pattern Survey Subagent

Spawn a single subagent (model: "opus", no name). Wait for it to report before continuing; do not relaunch it if it has not yet reported. Its prompt must direct it to treat the shared working tree and its git index as read-only and to survey by reading and reasoning. Its prompt must also direct it to search the repository with a tool that skips gitignored files, such as git grep --untracked or the Grep tool, and to open or search a gitignored path only when its prompt or a file its prompt directs it to read names it, or when a dependency's installed source is needed to verify a claim, never one holding local configuration or credentials. HEAD stays where it is: read other refs with git show <ref>:<path> rather than git checkout or git switch. The subagent's prompt must include:

  1. The confirmed task description from Step 1
  2. An instruction to read ${CLAUDE_SKILL_DIR}/references/pattern-surveyor.md for survey guidelines, categories, and output format before searching

The subagent covers all three categories (Analogous Features, Reusable Utilities, Convention Anchors) in one sweep, reads any external source the task names, and returns a single structured report.

Step 3: Output Findings

Output the subagent's report verbatim. Do not reformat or re-synthesize — references/pattern-surveyor.md specifies the exact output format the subagent produces.

Then use the TaskList tool and proceed to any remaining task.

Rules

  • Do not write files.
  • Do not propose implementation steps.

Read the full file on GitHub · 38 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 Changed · -44 tokens per session 42fd8237ac8b
  2. 4d ago Changed e6de392ca6af
  3. 21d ago Changed 786833ba7dfb
  4. 2mo ago First seen · 38 lines · 87 tokens per session scan A 37c681528eb9

Subscribe to this mod's changes

survey-patterns is a skill published in the GitHub repository tobihagemann/turbo (420 stars, last pushed today), licensed MIT. It adds 43 tokens to every session and 496 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

survey-patterns compared with skills from other repositories

survey-patterns next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
survey-patternstobihagemann/turboSkill420todayMITA43Claude Code
offensive-c2-frameworksSnailSploit/Claude-RedSkill11kyesterdayMITA250Claude Code, Codex
offensive-crypto-attacksSnailSploit/Claude-RedSkill11kyesterdayMITA261Claude Code, Codex
offensive-parameter-pollutionSnailSploit/Claude-RedSkill11kyesterdayMITA0Claude Code, Codex
offensive-z-waveSnailSploit/Claude-RedSkill11kyesterdayMITA113Claude Code, Codex
fiscalisteromainsimon/paperasseSkill2.6ktodayMITA306Claude Code
comptableromainsimon/paperasseSkill2.6ktodayMITA248Claude Code