repo-scan

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

You say
Buy it · $15 Read it before you buy $15 Written by affaan-m · unverified publisher
Context cost
1.8k tokensestimated from the bundle, loaded when it triggers
Bundle
1 file · 7.2 kBtext throughout, nothing executable
Licence
MITpaid listing
Last change
no release on file
Servers it uses
Noneruns standalone

What it does

Bootstrap pointer that installs the external repo-scan skill from a pinned, reviewable commit. Use when repo-scan must be installed before running its cross-stack source-code asset audit; this ECC pointer does not perform the audit itself.

Installed, it changes the agent in these ways.

What this skill changes about the agent is not written down here yet. The listing was collected from its source, and the description is in its own SKILL.md.

Workflow

Runs a procedure end to end.

securitytesting

The skill itself

This is the whole product. A skill is instructions the model reads, so there is nothing behind the listing you cannot see first — the front matter loads with every session, and the body below it loads when the skill triggers.

SKILL.md7.2 kB · 171 lines
--- name: repo-scan description: Bootstrap pointer that installs the external repo-scan skill from a pinned, reviewable commit. Use when repo-scan must be installed before running its cross-stack source-code asset audit; this ECC pointer does not perform the audit itself. metadata: origin: community ---
8# repo-scan
9
10> Every ecosystem has its own dependency manager, but no tool looks across C++, Android, iOS, and Web to tell you: how much code is actually yours, what's third-party, and what's dead weight.
11
12## When to Use
13
14- Taking over a large legacy codebase and need a structural overview
15- Before major refactoring — identify what's core, what's duplicate, what's dead
16- Auditing third-party dependencies embedded directly in source (not declared in package managers)
17- Preparing architecture decision records for monorepo reorganization
18
19## Installation
20
21```bash
22# Clone first so the pinned commit can be reviewed before installation
23set -euo pipefail
24
25REPO_SCAN_COMMIT=2742664ebcad1450c208eda0ae45d3c17fad5dd8
26REPO_SCAN_INSTALL_DIR="${CLAUDE_CONFIG_DIR:-$HOME/.claude}/skills/repo-scan"
27REPO_SCAN_INSTALL_PARENT="$(dirname "$REPO_SCAN_INSTALL_DIR")"
28mkdir -p "$REPO_SCAN_INSTALL_PARENT"
29REPO_SCAN_TMP="$(mktemp -d "$REPO_SCAN_INSTALL_PARENT/.repo-scan-install.XXXXXX")"
30REPO_SCAN_TOKEN="${REPO_SCAN_TMP##*.}"
31REPO_SCAN_STAGE="$REPO_SCAN_TMP/stage-$REPO_SCAN_TOKEN"
32REPO_SCAN_BACKUP="$REPO_SCAN_TMP/backup-$REPO_SCAN_TOKEN"
33REPO_SCAN_LOCK="$REPO_SCAN_INSTALL_PARENT/.repo-scan-install.lock"
34REPO_SCAN_KEEP_TMP=0
35REPO_SCAN_LOCK_HELD=0
36REPO_SCAN_MV_HAS_NO_TARGET=0
37cleanup_repo_scan_install() {
38 if [ "$REPO_SCAN_KEEP_TMP" -eq 0 ]; then
39 rm -rf -- "$REPO_SCAN_TMP"
40 fi
41 if [ "$REPO_SCAN_LOCK_HELD" -eq 1 ] && ! rmdir -- "$REPO_SCAN_LOCK"; then
42 printf 'Could not release installation lock at %s\n' "$REPO_SCAN_LOCK" >&2
43 fi
44}
45trap cleanup_repo_scan_install EXIT
46mkdir "$REPO_SCAN_TMP/mv-probe-source"
47if mv -T -- "$REPO_SCAN_TMP/mv-probe-source" \
48 "$REPO_SCAN_TMP/mv-probe-destination" 2>/dev/null; then
49 REPO_SCAN_MV_HAS_NO_TARGET=1
50 rmdir "$REPO_SCAN_TMP/mv-probe-destination"
51else
52 rmdir "$REPO_SCAN_TMP/mv-probe-source"
53fi
54move_repo_scan_dir() {
55 REPO_SCAN_MOVE_SOURCE=$1
56 REPO_SCAN_MOVE_DESTINATION=$2
57 REPO_SCAN_MOVE_NAME=${REPO_SCAN_MOVE_SOURCE##*/}
58 if [ -e "$REPO_SCAN_MOVE_DESTINATION" ] || [ -L "$REPO_SCAN_MOVE_DESTINATION" ]; then
59 return 1
60 fi
61 if [ "$REPO_SCAN_MV_HAS_NO_TARGET" -eq 1 ]; then
62 mv -T -- "$REPO_SCAN_MOVE_SOURCE" "$REPO_SCAN_MOVE_DESTINATION"
63 return
64 fi
65 if ! mv -- "$REPO_SCAN_MOVE_SOURCE" "$REPO_SCAN_MOVE_DESTINATION"; then
66 return 1
67 fi
68 if [ -e "$REPO_SCAN_MOVE_DESTINATION/$REPO_SCAN_MOVE_NAME" ] || \
69 [ -L "$REPO_SCAN_MOVE_DESTINATION/$REPO_SCAN_MOVE_NAME" ]; then
70 if ! mv -- "$REPO_SCAN_MOVE_DESTINATION/$REPO_SCAN_MOVE_NAME" \
71 "$REPO_SCAN_MOVE_SOURCE"; then
72 REPO_SCAN_KEEP_TMP=1
73 printf 'Move conflict recovery failed; staged data remains at %s\n' \
74 "$REPO_SCAN_MOVE_DESTINATION/$REPO_SCAN_MOVE_NAME" >&2
75 fi
76 return 1
77 fi
78}
79
80git clone --filter=blob:none --no-checkout \
81 https://github.com/haibindev/repo-scan.git "$REPO_SCAN_TMP/source"
82git -C "$REPO_SCAN_TMP/source" checkout --detach "$REPO_SCAN_COMMIT"
83mkdir -p "$REPO_SCAN_STAGE"
84git -C "$REPO_SCAN_TMP/source" archive "$REPO_SCAN_COMMIT" | \
85 tar -xf - -C "$REPO_SCAN_STAGE"
86
87# Review "$REPO_SCAN_TMP/source" before approving installation.
88printf 'Type install to replace %s after reviewing the pinned source: ' \
89 "$REPO_SCAN_INSTALL_DIR" >&2
90read -r REPO_SCAN_CONFIRM
91if [ "$REPO_SCAN_CONFIRM" != install ]; then
92 printf 'Installation cancelled.\n' >&2
93 exit 1
94fi
95if ! mkdir -- "$REPO_SCAN_LOCK" 2>/dev/null; then
96 printf 'Another repo-scan installation holds the lock at %s\n' \
97 "$REPO_SCAN_LOCK" >&2
98 exit 1
99fi
100REPO_SCAN_LOCK_HELD=1
101
102if [ -e "$REPO_SCAN_INSTALL_DIR" ] || [ -L "$REPO_SCAN_INSTALL_DIR" ]; then
103 move_repo_scan_dir "$REPO_SCAN_INSTALL_DIR" "$REPO_SCAN_BACKUP"
104fi
105if ! move_repo_scan_dir "$REPO_SCAN_STAGE" "$REPO_SCAN_INSTALL_DIR"; then
106 if [ -e "$REPO_SCAN_BACKUP" ] || [ -L "$REPO_SCAN_BACKUP" ]; then
107 if [ -e "$REPO_SCAN_INSTALL_DIR" ] || [ -L "$REPO_SCAN_INSTALL_DIR" ]; then
108 REPO_SCAN_KEEP_TMP=1
109 printf 'Replacement failed and target was recreated; previous installation preserved at %s\n' \
110 "$REPO_SCAN_BACKUP" >&2
111 elif ! move_repo_scan_dir "$REPO_SCAN_BACKUP" "$REPO_SCAN_INSTALL_DIR"; then
112 REPO_SCAN_KEEP_TMP=1
113 printf 'Replacement and rollback failed; previous installation preserved at %s\n' \
114 "$REPO_SCAN_BACKUP" >&2
115 fi
116 fi
117 exit 1
118fi
119```
120
121> Review the source before installing any agent skill.
122
123Installation completes only the bootstrap. Reload your agent harness, then invoke repo-scan again. This ECC pointer installs the external skill but does not run a scan itself.
124
125## Core Capabilities
126
127| Capability | Description |
128|---|---|
129| **Cross-stack scanning** | C/C++, Java/Android, iOS (OC/Swift), Web (TS/JS/Vue) in one pass |
130| **File classification** | Every file tagged as project code, third-party, or build artifact |
131| **Library detection** | 50+ known libraries (FFmpeg, Boost, OpenSSL…) with version extraction |
132| **Four-level verdicts** | Core Asset / Extract & Merge / Rebuild / Deprecate |
133| **HTML reports** | Interactive dark-theme pages with drill-down navigation |
134| **Monorepo support** | Hierarchical scanning with summary + sub-project reports |
135
136## Analysis Depth Levels
137
138| Level | Files Read | Use Case |
139|---|---|---|
140| fast | 1-2 per module | Quick inventory of huge directories |
141| standard | 2-5 per module | Default audit with full dependency + architecture checks |
142| deep | 5-10 per module | Adds thread safety, memory management, API consistency |
143| full | All files | Pre-merge comprehensive review |
144
145## How It Works
146
1471. **Classify the repo surface**: enumerate files, then tag each as project code, embedded third-party code, or build artifact.
1482. **Detect embedded libraries**: inspect directory names, headers, license files, and version markers to identify bundled dependencies and likely versions.
1493. **Score each module**: group files by module or subsystem, then assign one of the four verdicts based on ownership, duplication, and maintenance cost.
1504. **Highlight structural risks**: call out dead-weight artifacts, duplicated wrappers, outdated vendored code, and modules that should be extracted, rebuilt, or deprecated.
1515. **Produce the report**: return a concise summary plus the interactive HTML output with per-module drill-down so the audit can be reviewed asynchronously.
152
153## Examples
154
155On a 50,000-file C++ monorepo:
156- Found FFmpeg 2.x (2015 vintage) still in production
157- Discovered the same SDK wrapper duplicated 3 times
158- Identified 636 MB of committed Debug/ipch/obj build artifacts
159- Classified: 3 MB project code vs 596 MB third-party
160
161## Best Practices
162
163- Start with standard depth for first-time audits
164- Use fast for monorepos with 100+ modules to get a quick inventory
165- Run deep incrementally on modules flagged for refactoring
166- Review the cross-module analysis for duplicate detection across sub-projects
167
168## Links
169
170- [GitHub Repository](https://github.com/haibindev/repo-scan)
171
In the file
SKILL.md875 words
Files1
LicenceMIT
Why you can read it

Nothing in a skill executes. The client loads the text and the model follows it, so a skill can be audited the way a runbook is — by reading it.

What it costs in context

Skills are not billed by the call. They are paid for in context: every token the instructions occupy is a token your code, your diff and your conversation cannot use. Here is what this one takes and when it takes it.

≈80
always loaded
The name and description, so the model knows the skill exists and when to reach for it.
1,720
on trigger
The instruction body, read only when the skill fires.
0.90%
of a 200k window
Ten skills this size would take about 9% of the window before you open a file.
050k100k150k200k context window

1.8k tokens, estimated from the bundle at four bytes to the token, held for the rest of the session once it triggers. Middling. Fine to keep on in a project where you use it weekly, worth unloading in one where you never do.

Servers bill, skills cost

A server charges by the month. A skill charges once per session, in context, and then keeps charging it for as long as the session lives.

Before and after

The same question, put to the same model twice: once as it comes, and once with these instructions loaded.

No worked example has been published for this skill yet.

Adoption
Installsnone yet
Ratingno reviews yet

The procedure it runs

The procedure has not been published here. It is in the skill’s own SKILL.md, which its author has not sent to the marketplace yet.

Prose, not code

These steps are written for a model to follow, not executed by a runtime. It can still be told to skip one, and it will say so when it does.

Servers it uses

None. This skill calls no MCP servers at all.

Everything it needs is in the instructions, so it works in a project with nothing connected — the model reads the file and changes how it works with what it can already reach.

It writes no files and reaches no network. All it changes is how the model reasons and writes.

What it asks for
Writes filesno
Network accessno

Read from the allowed-tools line of this skill’s own SKILL.md. A skill grants no permissions of its own — it can only ask for tools your client already has.

What it will not do

Every skill is narrow, and the useful ones say where they stop. These are the jobs this one is the wrong tool for.

What this skill is not for has not been published here. Nothing is implied by that: it is a section the author has not filled in.

What is in the bundle

1 file, 7.2 kB on disk. A bundle is text throughout: the instructions the model reads, plus the templates it fills in.

  • SKILL.md7.2 kB
What is not in it

No dependencies and nothing executable: a skill is text the agent reads, so the bundle is 1 file you can review in full before installing. The MIT licence covers the templates and examples as well as the instructions.

Install

Installing copies the bundle into your project. Nothing runs at install time — the files sit on disk until the model reads them.

$15 once
repo-scan · MIT · affaan-m
one-time
Price$15 once
LicenceMIT — the author’s, unchanged by this purchase
Paid throughStripe, once, on the card you add at the checkout
Keeps workingfor good — the files are yours once they are on disk
Updatesevery update its author ships, delivered through this account

You can read the whole bundle before paying — the SKILL.md above is the product, not a preview of it. What the money buys is the delivery: the folder packaged and handed to your machine by key, every update its author ships, and our support if it does not do what this listing says. The terms of use are MIT, set by the author and unchanged by buying it here.

Payment runs through Stripe, on a page like this one rather than a redirect. Once there is an account it joins the same mcprush invoice as everything else you run, so there is never a second card to enter.

Which clients pick it up on their own

A skill is a folder of text. A client with a skills folder reads it without being told; everywhere else the same text works, it is just handed to the model rather than found.

Claude Code.claude/skills/
Claude Desktop
ChatGPT
Cursor.cursor/skills/
VS Code.github/skills/
Codex CLI.agents/skills/
Gemini CLI.gemini/skills/
Grok.grok/skills/
Zed.agents/skills/
Windsurf.windsurf/skills/
Agent SDK.claude/skills/
HTTP / API
This release
Versionnot versioned
Publishedno release date on file
Price$15
Referenceaffaan-m/repo-scan

Versions

Its author publishes no version number, so there is nothing here to pin to: what you install is the folder as it stands today. Instructions change more often than APIs do — a skill can be rewritten entirely without anything it depends on moving.

v
  • No earlier releases have been published to the marketplace.
Pinning

Nothing to pin to: this skill carries no version number of its own. What you install is what the folder holds on the day you install it.

Reviews

no reviews yet · no installs yet

Nobody has reviewed this skill yet. The rating is the mean of the reviews written here, so there is none until somebody writes the first.

Who can post

Only accounts that have had the skill installed for fourteen days, so a review is written after living with it rather than after reading it. Publishers may reply once.

Publisher
Servers0