A skill your agent uses when the user says 'scan project', 'estimate', 'how much to charge', or needs codebase complexity analysis.

MITAuto-check passed

Install Scan

skills CLI
$ npx skills add cwinvestments/memstack --skill scan -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install cwinvestments/memstack scan --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/cwinvestments/memstack.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/scan .claude/skills/scan && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
scan
GitHub stars
423
Token cost
~654 tokens
SKILL.md length
221 words
Files
1
Skills in repo
87
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when the user says 'scan project', 'estimate', 'how much to charge', or needs codebase complexity analysis.

  • Works in 5 steps: Scan the codebase → Count key components: pages/routes, API… → Assess complexity tier → …
  • The user says scan project
  • SKILL.md covers Activation, Context Guard, Protocol and Inputs, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Scan is an agent skill from cwinvestments/memstack. Use when the user says 'scan project', 'estimate', 'how much to charge', or needs codebase complexity analysis.

Its SKILL.md is about 650 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Structured skill framework for Claude Code. 130 skills, persistent memory, TokenStack compression, localhost dashboard with 3-agent runner, real-time streaming, MCP tools. The licence is MIT.

When your agent uses it

  • The user says scan project
  • How much to charge
  • Needs codebase complexity analysis

Example prompts

  • “scan project”
  • “estimate”
  • “how much to charge”
  • “/scan”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Scan the codebase
  2. Count key components: pages/routes, API endpoints, database tables, external integrations, auth complexity
  3. Assess complexity tier
  4. Factor in: Auth (+2FA/SSO), payments (+$1-3K), real-time (+$1-2K), admin panel (+$2-5K), mobile responsive (+20-30%), per API integration…
  5. Generate three-tier pricing: Budget, Standard, Premium

What it can do on your machine

Read from SKILL.md and the folder at commit 00370ce. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Scan loads about 654 tokens when it runs. Until then it costs about 29 tokens; SKILL.md has 221 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~29
When it runs · the whole SKILL.md, loaded when a task matches
~654

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from cwinvestments/memstack at commit 00370ce, republished under its MIT licence (© cwinvestments). 221 words, ~654 tokens.

Download SKILL.mdSave it as .claude/skills/scan/SKILL.md (or your agent's skills folder).
name
scan
description
Use when the user says 'scan project', 'estimate', 'how much to charge', or needs codebase complexity analysis.
version
1.0.0

🔍 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

ContextStatus
User asks to scan or analyze a projectACTIVE: full scan
User asks about pricing or estimatesACTIVE: full scan + pricing
User mentions project metrics (LOC, file count)ACTIVE: quick metrics
Discussing project analysis concepts generallyDORMANT: do not activate
User is building/coding, not analyzingDORMANT: do not activate

Protocol

  1. Scan the codebase:

    bash
    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

Level History

  • Lv.1: Base: File/LOC counting with complexity assessment. (Origin: MemStack v1.0, Feb 2026)
  • Lv.2: Enhanced: Added YAML frontmatter, context guard, activation message, integration pricing. (Origin: MemStack v2.0 MemoryCore merge, Feb 2026)

© cwinvestments, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/scan of cwinvestments/memstack.

Open the folder on GitHubat commit 00370ce

Compare with similar skills

Scan next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Scan compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Scan this skillcwinvestments/memstack423—~654Automated safety check: PassMIT
Scanwshobson/agents40k—~2.2kAutomated safety check: PassMIT
Repo Scanaffaan-m/ECC276k—~1.5kAutomated safety check: PassMIT
Repo Scanaffaan-m/ECC276k—~1.3kAutomated safety check: PassMIT
Vulnerability Scanningsickn33/agentic-awesome-skills47k1 repos~2.8kAutomated safety check: PassMIT
Repo Scanaffaan-m/ECC276k1 repos~1.8kAutomated safety check: PassMIT

Similar skills

  • Scan

    wshobson/agents

    Scans the codebase to generate project-doc.md and AGENTS.md.

    40k GitHub stars~2.2k tokensUpdated 4 days ago
    Agent WorkflowsAuto-check passed
  • Repo Scan

    affaan-m/ECC

    固定されレビュー可能なコミットから外部の repo-scan スキルをインストールするブートストラップ用ポインター。クロススタックのソースコード資産監査を実行する前に repo-scan のインストールが必要な場合に使用する。この ECC ポインター自体は監査を実行しない。

    276k GitHub stars~1.5k tokensUpdated 4 days ago
    Auto-check passed
  • Repo Scan

    affaan-m/ECC

    用于从固定且可审查的提交安装外部 repo-scan 技能的引导指针。在运行跨栈源代码资产审计前需要安装 repo-scan 时使用;此 ECC 指针本身不执行审计。

    276k GitHub stars~1.3k tokensUpdated 4 days ago
    Auto-check passed
  • Vulnerability Scanning

    sickn33/agentic-awesome-skills

    Scan systems and dependencies for CVEs and security vulnerabilities.

    47k GitHub starsUsed in 1 repo~2.8k tokens
    SecurityAuto-check passed
  • Repo Scan

    affaan-m/ECC

    Bootstrap pointer that installs the external repo-scan skill from a pinned, reviewable commit.

    276k GitHub starsUsed in 1 repo~1.8k tokens
    DevelopmentAuto-check passed
  • Security Scan

    affaan-m/ECC

    Scan your Claude Code configuration (.claude/ directory) for security vulnerabilities, misconfigurations, and injection risks using AgentShield.

    276k GitHub starsUsed in 5 repos~1.1k tokens
    Agent WorkflowsAuto-check passed

More from cwinvestments/memstack

All 87 skills in this repo
  • Memstack SEO Site Audit

    cwinvestments/memstack

    A skill your agent uses when the user says 'SEO audit', 'site audit', 'check SEO', 'audit my site', 'SEO check', 'technical SEO', or is evaluating a website's search engine optimization health, meta…

    423 GitHub stars~3.5k tokensUpdated 12 days ago
    Auto-check passed
  • Memstack SEO Schema Markup

    cwinvestments/memstack

    A skill your agent uses when the user says 'add schema', 'schema markup', 'JSON-LD', 'structured data', 'rich results', 'rich snippets', or is adding or fixing schema.org structured data for better…

    423 GitHub stars~2.7k tokensUpdated 12 days ago
    Auto-check passed
  • Compress

    cwinvestments/memstack

    A skill your agent uses when the user says 'tokenstack', 'compression', 'token savings', 'proxy status', or asks about context window usage.

    423 GitHub stars~1.2k tokensUpdated 12 days ago
    Auto-check passed
  • Diary

    cwinvestments/memstack

    A skill your agent uses when the user says 'save diary', 'log session', 'wrapping up', or at end of a productive session.

    423 GitHub stars~5k tokensUpdated 12 days ago
    Auto-check passed
  • Echo

    cwinvestments/memstack

    A skill your agent uses when the user references past sessions, asks 'what did we do', 'do you remember', 'last session', 'recall', or 'continue from'.

    423 GitHub stars~1.7k tokensUpdated 12 days ago
    Auto-check passed
  • Familiar

    cwinvestments/memstack

    A skill your agent uses when the user says 'dispatch', 'send familiar', 'split task', or needs work split across parallel CC sessions.

    423 GitHub stars~556 tokensUpdated 12 days ago
    Auto-check passed

Questions about Scan

What does Scan do?

A skill your agent uses when the user says 'scan project', 'estimate', 'how much to charge', or needs codebase complexity analysis. Scan is an agent skill from cwinvestments/memstack. Use when the user says 'scan project', 'estimate', 'how much to charge', or needs codebase complexity analysis.

When should I use Scan?

Scan fits situations like: the user says scan project; how much to charge; needs codebase complexity analysis.

How do I install Scan in Claude Code?

Run `npx skills add cwinvestments/memstack --skill scan -a claude-code`. Or copy the skill folder (skills/scan in cwinvestments/memstack) into .claude/skills/scan in your project. Claude Code loads it when a task matches its description.

How do I install Scan in Codex?

Run `npx skills add cwinvestments/memstack --skill scan -a codex`. Or copy the skill folder (skills/scan in cwinvestments/memstack) into .agents/skills/scan in your project. Codex loads it when a task matches its description.

Can I use Scan in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add cwinvestments/memstack --skill scan -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/scan, .gemini/skills/scan, .github/skills/scan and .opencode/skills/scan in your project.

What does Scan need to run?

SKILL.md names no scripts, command-line tools or credentials: Scan is instructions for the agent only.

Does Scan access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Scan safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Scan use?

Scan is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Scan use?

About 654 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Scan?

Skills that share tags, products or a category with Scan: Scan (wshobson/agents, 40k stars), Repo Scan (affaan-m/ECC, 276k stars), Repo Scan (affaan-m/ECC, 276k stars) and Vulnerability Scanning (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Scan?

cwinvestments (a GitHub user) maintains it in cwinvestments/memstack, which has 423 GitHub stars. The repository holds 87 skills in this directory. The repository was last updated on September 26, 2026.

Source: cwinvestments/memstack on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.