agentleFS
GoodsmileduckGoodsmileduck/agents-md-orchestrator/.claude/skills/scan-projects/SKILL.md

scan-projects

Skill0 starsChanged 6 months agoMITView on GitHub

Regenerate the PROJECTS.md inventory by scanning the managed scopes from SCOPES.md for projects and their CLAUDE.md/AGENTS.md state (file, symlink, or absent) plus git presence. Use when the user asks to scan, rescan, refresh or generate the inventory, when PROJECTS.md is missing, or as step 1 of an audit run.

3 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions3 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 3

    1. con/skills★ 2same name
    2. jasonChen0604/codebase-to-portfolio★ 2same name
    3. marinvch/Cortex★ 1same 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 repository6 other files it gives its agents.

The file

Files
SKILL.md

Scan Projects

Regenerate PROJECTS.md from the filesystem while preserving the human-curated columns (Last audit, Notes) and the Experiments table.

Workflow

  1. Read SCOPES.md for the scope list. If it doesn't exist, run the setup workflow first so the user gets an interactive first-run path instead of hand-editing tables.
  2. Run the scan script with all scope paths:
    .claude/skills/scan-projects/scripts/scan.sh <base>/<scope1> <base>/<scope2> ...
    It emits one markdown table per scope with detected CLAUDE.md/AGENTS.md state and git presence, with never/empty in the Last-audit/Notes columns.
  3. Merge with the existing PROJECTS.md (if any): carry over each project's Last audit and Notes values and the entire ## Experiments section. Exception: any other: token in Notes reflects current disk state — keep the freshly scanned one, appended to the carried-over human note. New projects keep never/empty. Projects that vanished from disk: drop the row but mention the removal to the user.
  4. Apply scope annotations from SCOPES.md: caution labels in scope headings (e.g. ## work/ (high caution)), and for scopes marked "single project at scope root", replace the per-subdir rows with one row for the scope itself. Drop rows matching the Never touch list; keep rows for known forks but mark them fork — skip in Notes so audits pass over them.
  5. Write PROJECTS.md with today's date in the Scanned: line, and report a short delta summary (new / removed / state-changed projects).

Notes

  • The script skips node_modules, .git, .claude directories; it does not recurse below one level — projects are direct children of a scope.
  • A (root) row is emitted when the scope folder itself has memory files (e.g. a work scope with one shared root CLAUDE.md).
  • Cross-tool drift: the script flags other agent-config files (GEMINI.md, copilot-instructions, etc. — see its OTHER_FILES list) as other: in Notes. Those tools read their own file first, silently overriding the shared memory file; the audit skill checks flagged files for contradictions (Gemini CLI can be pointed at the shared file via context.fileName instead — useful in no-new-files scopes).

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.