scan

scan is a skill for Claude Code from cwinvestments/memstack. It costs 27 tokens per session (755 once invoked), scanned A, original, MIT.

A project analysis tool examines a codebase to estimate its size, complexity, and likely development cost.

In plain words
What is it for?
Use it to count files and code, identify routes, APIs, database tables, integrations, and authentication work, then place the project in a pricing tier.
Why use it?
It turns a vague project request into measurable scope and helps avoid underestimating the work.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument.

Part of the memstack plugin — 87 skills, 2 commands, 6 hooks shipped together

Good fit Use it to count files and code, identify routes, APIs, database tables, integrations, and authentication work, then place the project in a pricing tier.

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

Made for: Claude Code.

Or install memstack, the plugin that ships this one along with the rest of its 87 skills, 2 commands, 6 hooks.

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 scan

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/cwinvestments/memstack/scan"><img src="https://agentmods.dev/badge/skills/cwinvestments/memstack/scan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 755 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.00027 $0.00755
Opus 5 $0.00014 $0.00378
Sonnet 5 $0.00005 $0.00151
Haiku 4.5 $0.00003 $0.00076

Measured 8d ago against content hash 3590be93149d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

scan 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 8d 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/scan/SKILL.md · 78 lines

How it starts

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

🔍 Scan: Analyzing Project Scope...

Analyze a project's complexity and generate pricing recommendations.

Activation

When this skill activates, output:

🔍 Scan: Analyzing project scope...

Then execute the protocol below.

Context Guard

Context Status
User asks to scan or analyze a project ACTIVE: full scan
User asks about pricing or estimates ACTIVE: full scan + pricing
User mentions project metrics (LOC, file count) ACTIVE: quick metrics
Discussing project analysis concepts generally DORMANT: do not activate
User is building/coding, not analyzing DORMANT: do not activate

Protocol

  1. Scan the codebase:

    find . -type f \( -name "*.ts" -o -name "*.tsx" -o -name "*.js" -o -name "*.py" -o -name "*.css" \) | wc -l
    find . -type f \( -name "*.ts" -o -name "*.tsx" -o -name "*.js" \) -exec cat {} + | wc -l
    
  2. Count key components: pages/routes, API endpoints, database tables, external integrations, auth complexity

  3. Assess complexity tier:

    • Simple (< 20 files, < 3K LOC): $500 to $2,000
    • Medium (20-60 files, 3K-15K LOC): $2,000 to $8,000
    • Complex (60-150 files, 15K-50K LOC): $8,000 to $25,000
    • Enterprise (150+ files, 50K+ LOC): $25,000+
  4. Factor in: Auth (+2FA/SSO), payments (+$1-3K), real-time (+$1-2K), admin panel (+$2-5K), mobile responsive (+20-30%), per API integration (+$500-1.5K)

  5. Generate three-tier pricing: Budget, Standard, Premium

Inputs

  • Project directory path
  • New build vs maintenance estimate

Outputs

  • Project analysis: file counts, LOC, endpoints, tables
  • Complexity tier assessment
  • Three-tier pricing recommendation

Example Usage

User: "scan AdminStack and estimate pricing"

🔍 Scan: Analyzing project scope...

Files: 127 | LOC: ~28,000 | Pages: 27 | API Routes: 34 | Tables: 20
Integrations: Supabase, Stripe, Square, SendGrid, Railway, Hetzner
Complexity: Complex tier

Budget:   $15,000: Core features, basic styling
Standard: $22,000: Full features, admin panel, responsive
Premium:  $30,000, Full + custom integrations + 3mo support

Read the full file on GitHub · 78 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. 8d ago Changed 3590be93149d
  2. 9d ago First seen · 78 lines · 27 tokens per session scan A 6cdb3c2a9ced

Subscribe to this mod's changes

scan is a skill published in the GitHub repository cwinvestments/memstack (419 stars, last pushed 5d ago), licensed MIT. It adds 27 tokens to every session and 755 once invoked, about $0.0001 per session on Opus 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.