Scan

From cwinvestments/memstack · View interactive version

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

How to use this skill

Skill file

🔍 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:

```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

```

  1. Count key components: pages/routes, API endpoints, database tables, external integrations, auth complexity
  1. Assess complexity tier:
  1. 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)
  1. Generate three-tier pricing: Budget, Standard, Premium

Inputs

Outputs

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

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.