scan-projects
Skill1 starsChanged 2 months agoMITView on GitHub
Sync the vault with the repos on this machine — which have a codebase brain, which are registered in projects/, and register the rest as metadata. Triggers — "scan my projects", "which repos have a brain".
3 other projects use a version of this.
Adopted by
Most recently taken up by
- con/skillstheir own version, first seen Sep 3, 2026
- jasonChen0604/codebase-to-portfoliotheir own version, first seen Jul 8, 2026
- Goodsmileduck/agents-md-orchestratortheir own version, first seen Jun 7, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- con/skills★ 2same name
- jasonChen0604/codebase-to-portfolio★ 2same name
- Goodsmileduck/agents-md-orchestrator★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository50 other files it gives its agents.
- AGENTS.mdAGENTS.md
- core/AGENTS.mdAGENTS.md
- index/AGENTS.mdAGENTS.md
- mcp/AGENTS.mdAGENTS.md
- tools/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- analyze-specSkill
- auditSkill
- captureSkill
- catch-me-upSkill
- connect-brainSkill
- cortex-auditSkill
- cortex-briefSkill
- cortex-enrichSkill
- cortex-impactSkill
- cortex-installSkill
- cortex-nextSkill
- cortex-profileSkill
- cortex-reviewSkill
- cortex-scaffoldSkill
- cortexSkill
- cortex-skillsSkill
- cortex-viewSkill
- dailySkill
- diagnosing-bugsSkill
- domain-modelingSkill
- dreamSkill
- grillingSkill
- handoffSkill
- improve-codebase-architectureSkill
- install-projectSkill
- level-upSkill
- migrate-engineSkill
- onboardSkill
- optimize-contextSkill
- optimize-promptSkill
- plugin-syncSkill
- reindexSkill
- resolving-merge-conflictsSkill
- resumeSkill
- setup-pluginsSkill
- shipSkill
- site-syncSkill
- skill-auditSkill
- skill-creatorSkill
- team-addSkill
- team-initSkill
- weekly-reviewSkill
- wizardSkill
- writing-for-agentsSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 18
Ask for (or confirm) the folder that holds the user's repos (e.g.
- Very specific: line 29
Never open source files. Folder listing + package.json + git metadata only.
- Distinctive: line 62
No code. No secrets. No client data.
- Very specific: line 70
Read-only except the opt-in projects/*.md stubs and the one connections.md row.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/scan-projects — bridge repos ↔ vault (metadata only)
Keeps the vault aware of which projects exist without absorbing any code. Honors the privacy
firewall: a project file holds name / path / URL / stack / date only — never code, secrets, or
client data. This is the vault-side companion to the per-repo brain installed by /install-project
(and by cortex-init --register-to-vault). It records what it found in the vault's connections.md
(the empty one ships in Cortex's templates/vault/).
Step 1 — Find the code root
Ask for (or confirm) the folder that holds the user's repos (e.g. D:\Projects, ~/code). If
they've run this before, reuse the last root noted in connections.md.
Step 2 — Walk it (read-only)
For each immediate subdirectory that is a git repo (.git/ present), gather:
- name — folder name, or
package.json"name"if present. - local path and remote URL (
git -C <dir> remote get-url origin). - Has a brain? —
AGENTS.mdor.claude/skills/plan-feature/exists. - Registered? — a file already exists at
projects/<slug>.mdin the vault. - stack — framework + language guessed from
package.json.
Never open source files. Folder listing + package.json + git metadata only.
Step 3 — Report the matrix
Repo Brain Registered
my-app ✅ ✅
client-api ✅ ❌ ← can register
old-script ❌ ❌ ← no brain (run /install-project there)End with a summary: N repos · M with brains · K registered.
Step 4 — Offer to sync (opt-in, metadata only)
For repos that have a brain but are not registered, offer to write a stub to
projects/<slug>.md. Ask before writing. Use exactly this shape (same as
cortex-init --register-to-vault, so the two stay consistent):
---
type: project
title: <name>
status: active
domain: business
created: <today>
tags: [project, codebase]
---
# <name>
- **Local path:** `<path>`
- **Repo:** <url>
- **Stack:** <framework · language · pkg-mgr>
- **Brain installed:** <date>
## Outcome
<one line>No code. No secrets. No client data.
Step 5 — Flip the connection
Once ≥1 project is registered, set the Tasks / projects row in connections.md to
Codebase brains / local files / ✅ live with today's date. Suggest re-running /scan-projects
after installing new brains.
Rules
- Read-only except the opt-in
projects/*.mdstubs and the oneconnections.mdrow. - Metadata only — the firewall stays intact; company code never enters the vault.
- A repo with no brain → suggest running
/install-project(orbash "${CLAUDE_PLUGIN_ROOT}/tools/cortex-init.sh") there. - One repo = one stub. Re-running refreshes the metadata (path/stack/date), never deletes notes.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

