agentleFS
blueOctopusAIblueOctopusAI/intel-hub/.claude/skills/add-project/skill.md

add-project

Skill0 starsChanged 9 months agoMITView on GitHub

Scan a project directory, auto-detect its stack and status, and add it to the project registry. /add-project <name|path> Read these files if they exist: - README.md — project description - package.json — name, dependencies, scripts (Node.js) - Cargo.toml — Rust projects - requirements.txt / pyproject.toml — Python - *.csproj — C#/.NET - go.mod — Go - CLAUDE.md — existing Claude Code configuration - .git/config — remote URL Run these commands: - git log --oneline -5 — recent commits (activity +…

  • Reads credentials

4 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions4 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 4

    1. palmcivet/awesome-arknights-endfield★ 111same name
    2. dmzoneill/skills★ 2same name
    3. leomancini/claude-skills★ 0same name
    4. NickMoignard/agent-workspace-template★ 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 repository5 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

10 rules. 0 are common, 8 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If a path is given, scan the directory for stack detection

    line 9
  2. Distinctive:

    If just a name, ask the user for details

    line 10
  3. Distinctive:

    Read these files if they exist:

    line 16
  4. Distinctive:

    Ask which tier to place the project in.

    line 40
  5. Very specific:

    This step is mandatory: Check the project's .gitignore:

    line 55
  6. Very specific:

    If secrets are missing from .gitignore, add them.

    line 62
  7. Distinctive:

    Never register a project without confirming secrets are excluded from git.

    line 64
  8. Distinctive:

    Update the "Last updated" date at the top of projects.md.

    line 85
  9. Distinctive:

    Read existing projects. Identify:

    line 89
  10. Distinctive:

    If synergies found, update BOTH projects' synergy fields.

    line 95

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
skill.md

Add Project to Registry

Scan a project directory, auto-detect its stack and status, and add it to the project registry.

Input

/add-project <name|path>

  • If a path is given, scan the directory for stack detection
  • If just a name, ask the user for details

Workflow

Step 1: Scan the Directory (if path provided)

Read these files if they exist:

  • README.md — project description
  • package.json — name, dependencies, scripts (Node.js)
  • Cargo.toml — Rust projects
  • requirements.txt / pyproject.toml — Python
  • *.csproj — C#/.NET
  • go.mod — Go
  • CLAUDE.md — existing Claude Code configuration
  • .git/config — remote URL

Run these commands:

  • git log --oneline -5 — recent commits (activity + last touched date)
  • git remote -v — GitHub URL
  • ls — top-level structure

Step 2: Ask User for Tier

Present the tier options:

  • ACTIVE — Getting regular work this week/month
  • READY — Could start this week with minimal setup
  • INCUBATING — Designed but not yet built
  • SUPPORTING — Tools and systems that serve active projects
  • DORMANT — Paused, could be revived

Ask which tier to place the project in.

Step 3: Auto-Detect Fields

From the scan, fill in:

  • What — from README or infer from structure
  • Stack — from dependencies
  • Path — absolute path scanned
  • GitHub — from git remote
  • Status — infer from git log recency
  • Lane — ask user (use lanes from config.json if available)
  • Last touched — from most recent git commit date

Step 4: Verify .gitignore Security

This step is mandatory. Check the project's .gitignore:

  • .env* pattern present
  • *.pem, *.key patterns present
  • credentials.json pattern present
  • No .env files already tracked (git ls-files | grep -i env)

If secrets are missing from .gitignore, add them. If .env files are already tracked, warn the user and recommend git rm --cached.

Never register a project without confirming secrets are excluded from git.

Step 5: Add to Registry

Insert the new project under the correct tier in data/portfolio/projects.md:

### {project-name}

- **What:** {description}
- **Stack:** {detected or provided}
- **Path:** {path if local}
- **GitHub:** {detected or provided}
- **Status:** {initial status}
- **Lane:** {selected lane}
- **Synergies:** {connections to other projects}
- **Next actions:**
  - [ ] {first action}
- **Last touched:** {today}

Update the "Last updated" date at the top of projects.md.

Step 6: Check for Synergies

Read existing projects. Identify:

  • Does this project use data from another project?
  • Does this project feed into another project?
  • Does this project share tech stack?
  • Could intelligence research help this project?

If synergies found, update BOTH projects' synergy fields.

Step 7: Report

Show what was added, synergies detected, and suggested next actions.

Principles

  1. Auto-detect everything possible — minimize questions to the user
  2. Always check synergies — the registry's value is in connections
  3. Always verify secrets — security is mandatory, not optional
  4. Follow existing format — consistency matters

ARGUMENTS: name_or_path

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.