Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

scan

Skill by wshobson

Scans a codebase to generate project-doc.md and AGENTS.md for agent-driven repos. Runs a full scan on first use, then delta scans that detect drift. Asks for human confirmation before changing AGENTS.md.

  • Score 94
  • 43k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install scan

Built from the published package, never by AI.

git clone --depth 1 https://github.com/wshobson/agents /tmp/agents && mkdir -p ~/.claude/skills && cp -r /tmp/agents/plugins/ship-mate/skills/scan ~/.claude/skills/scan

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install scan in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The scan skill analyses a project codebase and writes two files: .claude/pipeline/project-doc.md and AGENTS.md. project-doc.md covers the tech stack, dependencies, architecture pattern, folder structure, code style, data architecture, cross-cutting concerns, test coverage and entry points. The first run is a full scan. Later runs are delta scans that re-analyse files listed by git diff HEAD~1.

AGENTS.md is written as agent instructions tailored to the project. When a delta scan detects an architectural change, such as a new framework, a new directory pattern, a major dependency swap or a new auth pattern, the skill asks for confirmation before patching AGENTS.md. It uses understand-anything and context-mode when they are installed and falls back to find, grep, cat and git otherwise. It is aimed at teams bootstrapping an agent-driven repo or refreshing project docs after architectural changes.

Written from the project's SKILL.md and checked against it.

What it can do

  • Full scanAnalyses the entire codebase on first use and writes project-doc.md.
  • Delta scanRe-analyses files changed according to git diff HEAD~1 on later runs.
  • Architectural change detectionFlags new frameworks, new directory patterns, dependency swaps and auth changes.
  • AGENTS.md generationWrites project-specific agent instructions to AGENTS.md on the first run.
  • Confirmed AGENTS.md updatesPatches only the affected sections of AGENTS.md after a human confirms the change.
  • Native fallbackUses find, grep, cat and git when the optional plugins are not available.
  • MERN stack notesAdds MERN-specific notes to AGENTS.md when the project uses that stack.
  • Context routingRoutes large outputs through context-mode when it is installed.

What you need

  • Git
  • understand-anything plugin (optional)
  • context-mode plugin (optional)

Try asking

  • Scan this repo and generate project-doc.md and AGENTS.md
  • Run a delta scan and check for architectural drift
  • Refresh the project docs after the recent architecture changes

Good to know

  • Both enhancement plugins are optional and the skill falls back to native tools without them.
  • Delta scans compare against HEAD~1 only.
  • AGENTS.md is updated only after a human confirms an architectural change.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: plugins/ship-mate/skills/scan/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md6 KB
  • references/agents-template.md3 KB

Alternatives to scan

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

scan: common questions

Does it change AGENTS.md automatically?

No. On delta runs it updates AGENTS.md only after a human confirms an architectural change, and it patches only the affected sections.

Does it need understand-anything or context-mode?

No. Both plugins are optional. Without them the skill uses find, grep, cat and git directly.

Where are the output files written?

project-doc.md is written to .claude/pipeline/ and AGENTS.md is written to the repo root.

How do I install scan?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is scan free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is scan safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to scan?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

Add to stack

Loading.