survey

survey is a skill for Claude Code from jamestexas/agents. It costs 52 tokens per session (3,009 once invoked), scanned A, original, Apache-2.0.

A multi-perspective survey of a codebase that examines its structure from production, staging, development, feature, and product-management viewpoints. It produces beads, which are tagged work or finding records, and Mermaid diagrams, which are text-based diagrams.

In plain words
What is it for?
Use it to survey a codebase, map its structure, create diagrams, record findings as beads, and review disagreements between different perspectives.
Why use it?
It helps teams see the same codebase from different levels and compare where those viewpoints disagree. This can make structural findings and follow-up work easier to organise.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Use it to survey a codebase, map its structure, create diagrams, record findings as beads, and review disagreements between different perspectives.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jamestexas/agents/survey
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 jamestexas/agents --skill survey
Clone the repo
git clone --depth 1 https://github.com/jamestexas/agents

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 survey

README.md
[![agentmods](https://agentmods.dev/badge/skills/jamestexas/agents/survey/github.svg)](https://agentmods.dev/skills/jamestexas/agents/survey)
Your own site
<a href="https://agentmods.dev/skills/jamestexas/agents/survey"><img src="https://agentmods.dev/badge/skills/jamestexas/agents/survey/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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jamestexas/agents/survey"><img src="https://agentmods.dev/badge/skills/jamestexas/agents/survey.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,009 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 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.00052 $0.03009
Opus 5.5 $0.00021 $0.01204
Sonnet 5.5 $0.00010 $0.00602
Haiku 4.5 $0.00005 $0.00301

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

Security

Grade A, and why

survey 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 3mo 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.

skills/survey/SKILL.md · 333 lines

How it starts

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

Survey — Multi-Perspective Codebase Analysis

Run a structured survey of a codebase from multiple agent perspectives. Each perspective examines the same code at a different zoom level, produces findings as beads (tagged with --actor), and generates mermaid diagrams from the actual code structure.

Arguments

$ARGUMENTS

Arguments format: [repo-path] [--perspectives <list>] [--diagram-only] [--dry-run]

  • repo-path: Path to the repo to survey (default: current working directory)
  • --perspectives: Comma-separated list of perspectives to run (default: all). Options: prod, staging, dev, feature, pm
  • --diagram-only: Skip bead creation, only generate mermaid diagrams
  • --dry-run: Show what would be created without creating beads

If no arguments provided, survey the current working directory from all perspectives.

The Model

The survey is a graded filter bank — each perspective is a bandpass filter examining the same codebase at a different frequency:

Perspective Zoom Level What It Looks For Actor Tag
Dev High freq — individual functions/files Dead code, unused imports, TODO debt, complexity hotspots dev-agent
Prod Mid-high — module/package patterns Code smells, anti-patterns, dependency direction violations, error handling gaps prod-agent
Staging Mid — test/code correspondence Fake tests, coverage gaps, test-prod divergence, mocked-but-never-real staging-agent
Feature Mid-low — cross-file/cross-package API surface coherence, circular dependencies, feature flag debt, interface bloat feature-agent
PM Low freq — cross-repo patterns Duplicated functionality across repos, abandoned experiments, scope overlap pm-agent

The disagreement matrix (where perspectives conflict) is the most valuable output — it reveals concerns that no single perspective would catch alone.

Prerequisites

Read the full file on GitHub · 333 lines

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. 3mo ago First seen · 333 lines · 52 tokens per session scan A 0c9f88ebbbab

Subscribe to this mod's changes

survey is a skill published in the GitHub repository jamestexas/agents (2 stars, last pushed today), licensed Apache-2.0. It adds 52 tokens to every session and 3,009 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-08-31.

Related

survey compared with skills from other repositories

survey next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
surveyjamestexas/agentsSkill2todayApache-2.0A52Claude Code
soul-gradercobibean/soul-grader-skillSkill603mo agoMITA45Codex
markdown-ui-dslMegaByteMark/markdown-ui-dslSkill258mo agoMITA25Claude Code, Codex
research-dspyGrayCodeAI/starlingSkill23mo agoMITA36Claude Code
research-guidanceGrayCodeAI/starlingSkill23mo agoMITA39Claude Code
research-instructorGrayCodeAI/starlingSkill23mo agoMITA39Claude Code
reviewvercel/eveSkill6.1ktodayApache-2.0A31Claude Code, Codex