setup-workspace
Skill0 starsChanged 12 days agoMITView on GitHub
Use when someone needs a place for their Claude setup, or wants existing folders organized for Claude: "set up my workspace", "create the setup folder", "restructure my folders", "organize my projects for Claude", or when an adoption plan's row is setup-workspace. Create mode builds the setup folder from the kit's templates in an empty folder. Restructure mode moves existing work through a written plan of reversible steps, each on the person's yes. It never overwrites a file and never deletes on its own.
- Reads credentials
7 other projects use a version of this.
Adopted by
Most recently taken up by
- probabl-ai/skillstheir own version, first seen Oct 27, 2026
- Cassius2584/claude-uni-workspacetheir own version, first seen Oct 22, 2026
- The-AI-Thinker/claude-code-pm-startertheir own version, first seen Oct 15, 2026
- probabl-ai/skore-skillstheir own version, first seen Oct 15, 2026
- Flop19/legal-workspace-startertheir own version, first seen Oct 8, 2026
- timscheuerai/gtm-architecture-templatetheir own version, first seen Sep 14, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- probabl-ai/skills★ 144same name
- probabl-ai/skore-skills★ 144same name
- The-AI-Thinker/claude-code-pm-starter★ 13same name
- Flop19/legal-workspace-starter★ 8same name
- Cassius2584/claude-uni-workspace★ 5same name
- timscheuerai/gtm-architecture-template★ 2same name
- hunterbohm/solo-staff★ 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.
- AGENTS.mdAGENTS.md
- templates/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- drill-to-adoptSkill
- vet-and-adoptSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 2 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
2
Distinctive
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 19
Every change is shown before it happens, made only on their yes, and can be undone.
- Very specific: line 30
No inventory? Run the discovery in drill-to-adopt first, or ask them for the paths.
- Very specific: line 68
Plan: Write adoption/restructure-plan.md from templates/adoption/restructure-plan.md, one numbered step per change: what moves, from where, …
- Distinctive: line 88
after each step, run the checks the plan lists (the tests, a link check, the tool that reads the path), and stop at the first failure, …
- Distinctive: line 114
Every step checks before it acts, so running it twice does no harm.
“Common” is measured: kept by at least 6 in 10 of the 7 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
setup-workspace
Give the adopter a working layout for their Claude setup without breaking anything they already have.
Every change is shown before it happens, made only on their yes, and can be undone. Follow
drill-to-adopt's "Voice and honesty" and "Rules for every question": one question per message, a
plain-words line before every command.
1. Read first
adoption/inventory.md: what exists, and the starting point.adoption/spec.md: above all its data rules, and their layout answers from round 1 (reorganize or leave, and each folder they named: move, point to, or leave).modules/11-workspace-layout/README.md: the layout, and the checklist of six things a move can break.
No inventory? Run the discovery in drill-to-adopt first, or ask them for the paths.
2. Create mode: an empty folder
It runs right after the scanner row, before any other row writes into the folder, and makes the whole tree in one step.
Propose the tree, and show it as a tree:
<setup>/ AGENTS.md the front door (templates/AGENTS.md) CLAUDE.md one line: @AGENTS.md identity/ USER.md, STYLE.md, RELATIONSHIP.md, SOUL.md (optional) memory/ MEMORY.md, README.md, vault/MEMORY-VAULT.md handoffs/ TEMPLATE.md adoption/ spec.md, decisions.md, inventory.md .claude/skills/ the skills they adopt git-hooks/ optional (templates/git-hooks/)Say where their work repositories live: inside it, or beside it as repositories of their own. Recommend beside it for a repository with a company remote.
- On their yes, create all of it by copying from
templates/: every file and folder the tree lists, the front door fromtemplates/AGENTS.mdincluded, and nothing it does not list. Never invent content. A file that already exists is left as it is (section 4). - Then, after the tree exists, ask about
git initas a question of its own, never as part of the tree's question or another option: "Make this folder a git repository? It keeps a history of every change to your setup." Run it only on that yes, with a.gitignorethat excludes.env*, data folders,.claude/settings.local.jsonandCLAUDE.local.md. Add no remote unless their data rules allow one and they ask for it.
3. Restructure mode: existing work
It runs only when they said yes in round 1 to reorganizing or to moving a folder they named.
- Map. List every repository from the inventory. Each must be clean (
git status --shortprints nothing) before anything moves. If one is not, stop and ask them to commit or stash it themselves. Plan. Write
adoption/restructure-plan.mdfromtemplates/adoption/restructure-plan.md, one numbered step per change: what moves, from where, to where, why, how to undo it, and which of the six things it touches. Each folder they named (a notes folder, for example) gets its own step: moved only where they said move, a pointer from the front door where they said point to. The six (module 11's checklist):- the
.gitignoreline that keeps the moved folder out of the repository above it; - its row in a project registry;
- a tool's own list of projects and their folders;
- absolute paths inside the code;
- editable installs in virtual environments, which keep the old source path;
- old paths in live config and in prose, such as a
cdline in an instruction file.
Cached bytecode can also keep the old path. Some of these break silently, so compare the pass, skip and fail counts of the tests with those from before the move.
Show the plan, and go on only on their yes to it.
- the
- Apply, one step at a time, each on their yes:
- inside one repository, with
git mv; - across repositories or folders, copy, check the copy, then remove the original only on a second yes, as that step's last action;
- after each step, run the checks the plan lists (the tests, a link check, the tool that reads the path), and stop at the first failure, offering the undo;
- tick the step's Done column.
- inside one repository, with
4. Merge, never overwrite
An existing CLAUDE.md, AGENTS.md, .claude/settings.json, .mcp.json or hook setup is merged:
show the diff and write only on their yes. A file of the same name is never replaced. An existing hook
setup (.husky/, .pre-commit-config.yaml, .git/hooks/) is never switched off; call the new checks
from it instead (templates/git-hooks/README.md).
5. Company repositories
By default no kit file goes into a company repository: the setup lives in their own folder. An
AGENTS.md, .claude/ or .mcp.json inside one needs their yes, after the data-rules question in the
spec. Even then, prefer local files that stay out of git (docs/facts.md, "Claude Code: the ! prefix,
/init and local files"):
.claude/settings.local.json: git ignores it when Claude Code creates it; add it to.gitignoreif you create it by hand.CLAUDE.local.md: add it to.gitignoreyourself. Where the repository has anAGENTS.md, aCLAUDE.local.mdstops Claude Code reading it by default, so start the local file with the line@AGENTS.md.
6. Robustness
- Every step checks before it acts, so running it twice does no harm.
- It resumes from
adoption/restructure-plan.md: a ticked step is done. - Commands use
"$HOME/…", which PowerShell, bash and zsh all expand. - On Windows, before a move, check that no new full path exceeds 260 characters, and that no two names in the target differ only by case (Windows and macOS treat them as the same file).
- It never deletes on its own: a removal is always the last step, on its own yes.
7. Record
Each step gets a row in adoption/decisions.md as soon as it is applied: the date, the kit version,
the item (setup-workspace: <step>), the decision, where it went, why, "n/a" for the scan, Check
"pending" until its check has run, and the undo.
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.

