add-project
Skill0 starsChanged 2 months agoMITView on GitHub
Add a new project to the agent workspace by recording its clone URL in projects.yaml, cloning it into the shared source dir, and symlinking it into projects/. Wires it into the VS Code workspace and issue tracker. Use when the user wants to add, include, or pull a repo/project into the workspace.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- dmzoneill/skillstheir own version, first seen Oct 24, 2026
- leomancini/claude-skillstheir own version, first seen Oct 11, 2026
- palmcivet/awesome-arknights-endfieldtheir own version, first seen Oct 9, 2026
- blueOctopusAI/intel-hubtheir own version, first seen Feb 15, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- palmcivet/awesome-arknights-endfield★ 111same name
- dmzoneill/skills★ 2same name
- blueOctopusAI/intel-hub★ 0same name
- leomancini/claude-skills★ 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 repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- setup-asdfSkill
- setup-beadsSkill
- setup-homebrewSkill
- setup-projectsSkill
- update-workspaceSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 0 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use this when a new project should join the workspace.
- Very specific: line 18
If the env var is unset, run /setup-projects first.
- Very specific: line 45
Never edit the folders block of the .code-workspace by hand — always regenerate it with make sync-workspace.
- Very specific: line 49
If make is unavailable, call bash scripts/add-project.sh <url> directly.
“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.
Files
Add a project to the workspace
Use this when a new project should join the workspace. Projects are referenced
as symlinks to shared clones, not git submodules (see
docs/adr/0004-projects-as-symlinks-not-submodules.md).
Procedure
- Gather inputs. You need the git clone URL. The symlink name is derived from the repo basename automatically.
- Confirm prerequisites.
$AGENTS_GIT_SRC_DIRmust be set andyqpresent. If the env var is unset, run/setup-projectsfirst. Run the make target from the workspace root:
make add-project URL=<git-url>This wraps
scripts/add-project.sh, which:- appends the URL to
projects.yaml(if not already listed), - clones it into
$AGENTS_GIT_SRC_DIR/<name>and symlinksprojects/<name>, - regenerates the
*.code-workspacefolder list (sync-workspace.mjs), - installs the project's dependencies if a manifest is present,
- files a beads onboarding issue (if
bdis installed).
- appends the URL to
- Verify the project's folder appears in the
.code-workspacefoldersarray andprojects/<name>resolves to the clone. Commit the workspace change (the symlink is git-ignored — do not add it):
git add projects.yaml workspace.code-workspace git commit -m "Add <name> project"
Rules
- Never edit the
foldersblock of the.code-workspaceby hand — always regenerate it withmake sync-workspace. - Work on the project's code from inside its clone (its own git repo). The workspace pins no commits; there is no parent pointer to update.
- If
makeis unavailable, callbash scripts/add-project.sh <url>directly.
Removing a project
# 1. Remove the URL line from projects.yaml (edit, or with yq):
yq -i 'del(.projects[] | select(. == "<git-url>"))' projects.yaml
# 2. Drop the symlink (leaves the shared clone intact for other workspaces):
rm -f projects/<name>
# 3. Refresh the VS Code folders:
make sync-workspaceDoes 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.

