Agent skill

Codebase Scanning

by slgoodrich in slgoodrich/agents

Detect platform, tech stack, features, integrations, and project scale from codebases.

Custom licenceAuto-check passed

Install Codebase Scanning

skills CLI
$ npx skills add slgoodrich/agents --skill codebase-scanning -a claude-code

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

GitHub CLI
$ gh skill install slgoodrich/agents codebase-scanning --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/slgoodrich/agents.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/ai-pm-copilot/skills/codebase-scanning .claude/skills/codebase-scanning && 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
codebase-scanning
GitHub stars
138
Token cost
~1.4k tokens
SKILL.md length
635 words
Files
7 (incl. references, assets)
Skills in repo
19
Repo updated
First seen
Licence
Custom licence

At a glance

Detect platform, tech stack, features, integrations, and project scale from codebases.

  • Works in 6 steps: Detect platform - Identify web, mobile,… → Parse tech stack - Read manifests to… → Discover features - Scan routes, pages,… → …
  • Scanning a codebase
  • SKILL.md covers Scanning Process, Feature Discovery, Tech Stack Detection and Integration Discovery, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Codebase Scanning is an agent skill from slgoodrich/agents. Detect platform, tech stack, features, integrations, and project scale from codebases. Use when scanning a codebase, analyzing project structure, discovering tech stack, or identifying integrations. Trigger on: 'scan my codebase', 'what tech stack am I using', 'analyze my project', 'discover integrations', 'what does this project do'.

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including reference files and assets (for example `assets/output-schema.md`, `assets/presentation-template.md` and `references/example-scans.md`).

The repository describes itself as: AI PM Workflows for Claude Code.

When your agent uses it

  • Scanning a codebase
  • Analyzing project structure
  • Discovering tech stack
  • Identifying integrations

Example prompts

  • “scan my codebase”
  • “what tech stack am I using”
  • “analyze my project”
  • “/codebase-scanning”

Requirements

  • Node.js

Workflow steps

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

  1. Detect platform - Identify web, mobile, or hybrid. For mobile, follow the detection order in references/platform-detection.md
  2. Parse tech stack - Read manifests to identify frameworks, languages, databases. See references/manifest-detection.md for supported…
  3. Discover features - Scan routes, pages, and components for user-facing functionality
  4. Map integrations - Match dependencies against known 3rd party services. See references/integration-mapping.md for lookup tables
  5. Estimate scale - Count files, estimate LOC, assign complexity and maturity tiers
  6. Present results - Use assets/presentation-template.md format, structured per assets/output-schema.md

What it can do on your machine

Read from SKILL.md and the folder at commit 3b5835b. 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.

    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

Codebase Scanning loads about 1.4k tokens when it runs, and up to ~6.3k if it reads all its reference files. Until then it costs about 89 tokens; SKILL.md has 635 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~89
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~6.3k

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

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 635 words (~1,442 tokens).

“Discover strategic product context from existing codebases. Covers web and mobile platforms.”

— opening of SKILL.md by slgoodrich, Custom licence
name
codebase-scanning

Read the full SKILL.md on GitHub

Files

SKILL.md and 6 other files (references, assets) in plugins/ai-pm-copilot/skills/codebase-scanning of slgoodrich/agents.

  • SKILL.md
  • assets/output-schema.md
  • assets/presentation-template.md
  • references/example-scans.md
  • references/integration-mapping.md
  • references/manifest-detection.md
  • references/platform-detection.md

Open the folder on GitHubat commit 3b5835b

Compare with similar skills

Codebase Scanning 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.

Codebase Scanning compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Codebase Scanning this skillslgoodrich/agents138—~1.4kAutomated safety check: PassCustom licence
Detecting Network Scanning With Ids Signaturesmukul975/Anthropic-Cybersecurity-Skills34k—~3.5kAutomated safety check: PassApache-2.0
Detecting Port Scanning With Fail2banmukul975/Anthropic-Cybersecurity-Skills34k—~3.2kAutomated safety check: NotesApache-2.0
Scanwshobson/agents40k—~2.2kAutomated safety check: PassMIT
Repo Scanaffaan-m/ECC275k—~1.5kAutomated safety check: PassMIT
Repo Scanaffaan-m/ECC275k—~1.3kAutomated safety check: PassMIT

Similar skills

  • Detecting Network Scanning With Ids Signatures

    mukul975/Anthropic-Cybersecurity-Skills

    Detect network reconnaissance and port scanning using Suricata and Snort IDS signatures, threshold-based detection rules, and traffic anomaly analysis to identify Nmap, Masscan, and custom scanning…

    34k GitHub stars~3.5k tokensUpdated 1 mo ago
    SecurityAuto-check passed
  • Detecting Port Scanning With Fail2ban

    mukul975/Anthropic-Cybersecurity-Skills

    Configures Fail2ban with custom filters and actions to detect port scanning activity, SSH brute force attempts, and network reconnaissance, automatically banning offending IP addresses and alerting…

    34k GitHub stars~3.2k tokensUpdated 1 mo ago
    SecurityAuto-check: notes
  • Scan

    wshobson/agents

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

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

    affaan-m/ECC

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

    275k GitHub stars~1.5k tokensUpdated 3 days ago
    Auto-check passed
  • Repo Scan

    affaan-m/ECC

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

    275k GitHub stars~1.3k tokensUpdated 3 days ago
    Auto-check passed
  • Implementing Rapid7 Insightvm For Scanning

    mukul975/Anthropic-Cybersecurity-Skills

    Deploy and configure Rapid7 InsightVM Security Console and Scan Engines, including scan templates, credentialed scanning, and Insight Agent integration, for authenticated and unauthenticated…

    34k GitHub stars~3.1k tokensUpdated 1 mo ago
    SecurityAuto-check: notes

More from slgoodrich/agents

All 19 skills in this repo
  • Master competitive analysis templates including competitor deep-dives, battle cards, feature comparison matrices, and win/loss analysis.

    138 GitHub stars~3.6k tokensUpdated 6 mo ago
    Auto-check passed
  • Go To Market Playbooks

    slgoodrich/agents

    GTM strategies, product positioning, messaging, and launch planning.

    138 GitHub stars~2.2k tokensUpdated 6 mo ago
    Auto-check passed
  • Interview Frameworks

    slgoodrich/agents

    Frameworks for user interviews, question design, and qualitative research.

    138 GitHub stars~3.4k tokensUpdated 6 mo ago
    Auto-check passed
  • Launch planning frameworks including tiered launches, timelines, checklists, and go/no-go decisions.

    138 GitHub stars~3.2k tokensUpdated 6 mo ago
    Auto-check passed
  • Market Sizing Frameworks

    slgoodrich/agents

    TAM/SAM/SOM calculations and market sizing methodologies. An agent skill from slgoodrich/agents.

    138 GitHub stars~3.3k tokensUpdated 6 mo ago
    Auto-check passed
  • Prd Templates

    slgoodrich/agents

    Master PRD templates including problem statements, success metrics, requirements, user stories, and technical considerations.

    138 GitHub stars~3.7k tokensUpdated 6 mo ago
    Auto-check passed

Questions about Codebase Scanning

What does Codebase Scanning do?

Detect platform, tech stack, features, integrations, and project scale from codebases. Codebase Scanning is an agent skill from slgoodrich/agents. Detect platform, tech stack, features, integrations, and project scale from codebases.

When should I use Codebase Scanning?

Codebase Scanning fits situations like: scanning a codebase; analyzing project structure; discovering tech stack; identifying integrations.

How do I install Codebase Scanning in Claude Code?

Run `npx skills add slgoodrich/agents --skill codebase-scanning -a claude-code`. Or copy the skill folder (plugins/ai-pm-copilot/skills/codebase-scanning in slgoodrich/agents) into .claude/skills/codebase-scanning in your project. Claude Code loads it when a task matches its description.

How do I install Codebase Scanning in Codex?

Run `npx skills add slgoodrich/agents --skill codebase-scanning -a codex`. Or copy the skill folder (plugins/ai-pm-copilot/skills/codebase-scanning in slgoodrich/agents) into .agents/skills/codebase-scanning in your project. Codex loads it when a task matches its description.

Can I use Codebase Scanning 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 slgoodrich/agents --skill codebase-scanning -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/codebase-scanning, .gemini/skills/codebase-scanning, .github/skills/codebase-scanning and .opencode/skills/codebase-scanning in your project.

What does Codebase Scanning need to run?

SKILL.md names no scripts, command-line tools or credentials: Codebase Scanning is instructions for the agent only. Our summary lists: Node.js.

Does Codebase Scanning 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 Codebase Scanning 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 Codebase Scanning use?

Codebase Scanning has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Codebase Scanning use?

About 1.4k tokens (SKILL.md is roughly 5.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 4.9k tokens, read only when the agent opens those files.

What are the alternatives to Codebase Scanning?

Skills that share tags, products or a category with Codebase Scanning: Detecting Network Scanning With Ids Signatures (mukul975/Anthropic-Cybersecurity-Skills, 34k stars), Detecting Port Scanning With Fail2ban (mukul975/Anthropic-Cybersecurity-Skills, 34k stars), Scan (wshobson/agents, 40k stars) and Repo Scan (affaan-m/ECC, 275k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Codebase Scanning?

slgoodrich (a GitHub user) maintains it in slgoodrich/agents, which has 138 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on April 10, 2026.

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