workspace-setup
Skill13 starsChanged 11 days agoISCView on GitHub
Initialise or repair this workspace on a new machine or clone — installs dependencies, installs third-party skills from skills-lock.json (skills.sh), links .agents/skills into harness skill folders (.claude/skills), enables the git commit hooks, and creates the local memory files (pnpm memory init). Use after cloning or pulling, when a skill is missing or not found, when Codex/Claude/another harness cannot see skills, when commit hooks do not run, or when adding a project-owned skill.
- Installs packages
9 other projects use a version of this.
Adopted by
Most recently taken up by
- epicx-labs/keytomic-mcptheir own version, first seen Nov 29, 2026
- raymond-van/animamatheir own version, first seen Nov 22, 2026
- mikeleg/skillstheir own version, first seen Nov 16, 2026
- lauradfarbo/social-draft-desktheir own version, first seen Nov 15, 2026
- danielrosehill/Claude-Image-Production-Plugintheir own version, first seen Nov 13, 2026
- alex20-create/workspace-setup-skilltheir own version, first seen Nov 8, 2026
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- raymond-van/animama★ 179same name
- danielrosehill/Claude-Image-Production-Plugin★ 23same name
- patricio0312rev/workspaces★ 9same name
- lauradfarbo/social-draft-desk★ 4same name
- epicx-labs/keytomic-claude-plugin★ 1same name
- epicx-labs/keytomic-mcp★ 1same name
- mikeleg/skills★ 1same name
- alex20-create/workspace-setup-skill★ 0same name
- Zwin-ux/kit★ 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 repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- context-managerSkill
- web-browsingSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 0 are distinctive, and 9 are very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 20
Check Node.js: node --version must be 24 or later.
- Very specific: line 37
Read the output. Lines start with ✓ (ok), !
- Very specific: line 39
Verify: pnpm workspace:check must end with Workspace check passed.
- Very specific: line 63
Create .agents/skills/<name>/SKILL.md with name: <name> and a description saying when to use it.
- Very specific: line 68
Run pnpm skills:link, then pnpm check.
- Very specific: line 77
Commit skills-lock.json if it changed.
- Very specific: line 81
Never use --copy with skills.sh, npm, or pnpm add -g.
- Very specific: line 82
Never edit files under .claude/skills/ — edit .agents/skills/ instead.
- Very specific: line 83
Never commit third-party skill folders or anything under tasks/ or logs/.
“Common” is measured: kept by at least 6 in 10 of the 9 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
Workspace Setup
One command does the work; this skill tells you how to run it and how to fix what it reports.
Layout (do not change it)
.agents/skills/<name>/— the real skill files. Codex reads this folder directly..claude/skills/<name>— a link to../../.agents/skills/<name>for Claude Code. Never edit files through it, and never put real folders here.- Project-owned skills are committed. Third-party skills come from
skills-lock.jsonvia skills.sh and are git-ignored.
Procedure
- Check Node.js:
node --versionmust be 24 or later. Ifpnpmis missing, runcorepack enable. Run setup:
pnpm workspace:setupOptions (combine as needed):
Need Add Browser automation (agent-browser, e2e) --with-browsersNo network / skip skills.sh --skip-skillsDependencies already installed --skip-installAnother harness reads its own skill folder --target <dir>Machine-readable output --json- Read the output. Lines start with
✓(ok),!(warning),✗(must fix), or-(skipped). Each!/✗line has aFix:line — run exactly that command. - Verify:
pnpm workspace:checkmust end withWorkspace check passed.Repeat steps 3–4 until it does. - Restart the agent session so it picks up new skills.
Troubleshooting
| Symptom | Fix |
skill-links: … conflict | A real folder in .claude/skills/<name> shadows .agents/skills/<name>. Compare the two, keep the .agents copy, move the other away, re-run pnpm skills:link. |
skill-links: … legacy-copy | Old copied install. Run pnpm skills:link — it moves the copy into .agents/skills/ and links it. |
skills: not installed: … | Needs GitHub access. Run the printed pnpm skills:install --only … command when online. Skills are optional; the workspace still works. |
| Windows: links fail | The linker falls back to directory junctions automatically. If that also fails, enable Windows Developer Mode and re-run setup. |
git-hooks: commit hooks are not enabled | pnpm workspace:setup (sets git config core.hooksPath .githooks). |
Commit rejected by commit-msg | Rewrite the message as <type>(<scope>): <description>; see AGENTS.md → Git conventions. |
Commit rejected by pre-commit | Run the printed Fix: command (prettier/eslint), git add the files, commit again. |
| A harness still cannot see a skill | Codex: skill must be in .agents/skills/. Claude Code: run pnpm skills:link, then restart. Other harness: pnpm workspace:setup --target <its skill dir>. |
memory: personal memory is tracked by git | Run the printed git rm -r --cached … (it keeps the files), then commit. Memory is personal and never committed. |
memory: not gitignored: … | Restore the /AGENTS.local.md, /CLAUDE.local.md, /memory/ lines in .gitignore. |
memory: not set up: … | pnpm memory init (setup runs it). Optional: without it, agents only lack personal memory. |
tools: … recommended but missing: … | Optional. Install the listed tools with the printed hints, then pnpm tools scan. pnpm tools list --all shows the rest. |
node_modules missing / install fails | corepack enable && pnpm install. Never use npm. |
Adding a project-owned skill
- Create
.agents/skills/<name>/SKILL.mdwithname: <name>and adescriptionsaying when to use it. - Register it in three places (a test fails if you forget one):
OWNED_SKILLSinutils/workspace-config.js.gitignore: add!/.agents/skills/<name>/tsconfig.jsoninclude: add.agents/skills/<name>/**/*
- Run
pnpm skills:link, thenpnpm check.
Adding a third-party skill
pnpm dlx skills add <owner/repo> --skill <name> --agent claude-code codex -y
pnpm skills:linkCommit skills-lock.json if it changed. Do not commit the skill folder.
Never
- Never use
--copywith skills.sh,npm, orpnpm add -g. - Never edit files under
.claude/skills/— edit.agents/skills/instead. - Never commit third-party skill folders or anything under
tasks/orlogs/.
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.

