Skip to content
Back to skills

Scan

ASecurity

Use when the user says 'scan project', 'estimate', 'how much to charge', or needs codebase complexity analysis.

  • 423 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added June 5, 2026
ai-agentsbashapidatabase

Works with

  • api

Security analysis

A100/100

Scanned June 5, 2026

npx -y skills add cwinvestments/memstack --skill scan --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Scan?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Scan
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/cwinvestments-scan/badge)](https://www.skillsdirectory.com/skills/cwinvestments-scan)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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

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

2. **Count key components:** pages/routes, API endpoints, database tables, external integrations, auth complexity

3. **Assess complexity tier:**
   - **Simple** (< 20 files, < 3K LOC): $500–$2,000
   - **Medium** (20-60 files, 3K-15K LOC): $2,000–$8,000
   - **Complex** (60-150 files, 15K-50K LOC): $8,000–$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)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.