workspace-init
Skill9 starsChanged 10 months agoMITView on GitHub
Initialize a new workspace configuration for managing multiple related projects. Use when user says "setup workspace", "create workspace", "init workspace", or wants to configure a new multi-repo environment.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- vines90/foreign-trade-cursor-skillstheir own version, first seen Nov 8, 2026
- house-of-giants/projectskillstheir own version, first seen May 18, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- vines90/foreign-trade-cursor-skills★ 9same name
- house-of-giants/projectskills★ 2same 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 repository8 other files it gives its agents.
- using-workspacesSkill
- workspace-affectedSkill
- workspace-cloneSkill
- workspace-doctorSkill
- workspace-searchSkill
- workspace-servicesSkill
- workspace-setupSkill
- workspace-statusSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
23 rules. About 0 are common, 14 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈14
Distinctive · estimate
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
- Distinctive: line 18
When the user wants to create a new workspace, follow this interactive process:
- Very specific: line 22
Before starting, check if GitHub MCP tools are available (e.g., mcp__github__list_repos, mcp__github__search_repositories).
- Distinctive: line 38
Ask the user for:
- Distinctive: line 48
If using GitHub MCP: default to the actual repo name (e.g., "neosophia-amap-api")
- Distinctive: line 50
Do NOT substitute with generic names like "api" or "admin"
- Distinctive: line 53
If GitHub MCP is available, offer to select from their repos
- Distinctive: line 60
Before asking where to clone, search for existing local folders that match the repo name:
- Very specific: line 61
Check current directory and common locations (~/Sites, ~/work, ~/projects, ~/code, ~/dev)
- Very specific: line 62
Use find or ls to locate folders matching the repo name
- Very specific: line 63
If repo is neosophia-amap-api, look for folders named neosophia-amap-api
- Distinctive: line 97
Ask if any projects depend on others.
- Distinctive: line 110
Ask for common workspace-level commands:
- Very specific: line 117
Create the workspace directory at ~/.claude/workspaces/<name>/ and generate the WORKSPACE.md file.
- Very specific: line 121
Ask if the user wants to clone all repositories now using /workspaces:clone all.
- Very specific: line 125
If --from <url> is provided:
- Distinctive: line 128
Create the workspace with that configuration
- Distinctive: line 132
If GitHub MCP is available, you can use these tools:
- Very specific: line 134
List user's repos: Use mcp__github__list_repos to show available repositories
- Very specific: line 135
Search repos: Use mcp__github__search_repositories to find specific repos
- Distinctive: line 138
IMPORTANT: When showing repos from GitHub, display the actual repository names exactly as they appear in GitHub.
- Distinctive: line 140
When listing repos, show them with their real names:
- Distinctive: line 154
When user selects repos:
- Distinctive: line 158
Auto-detect local paths: Search for existing folders matching each repo name before asking
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill: Workspace Init
Description
Initialize a new workspace configuration for managing multiple related projects/repositories.
Arguments
--from <url>- Import workspace configuration from a gist or repository URL
Instructions
When the user wants to create a new workspace, follow this interactive process:
Step 0: Check for GitHub MCP Integration
Before starting, check if GitHub MCP tools are available (e.g., mcp__github__list_repos, mcp__github__search_repositories).
If available:
- Offer to fetch the user's repositories automatically
- Show a list of their repos to select from
- This saves time entering repo URLs manually
Example:
I noticed you have GitHub MCP configured. Would you like me to:
1. Fetch your repositories from GitHub to help set up the workspace
2. Enter repository information manuallyStep 1: Gather Basic Information
Ask the user for:
- Workspace name - A short identifier (e.g., "acme", "mycompany")
- Company/Project name - Full display name (e.g., "Acme Corp")
- Description - Brief description of the workspace
Step 2: Add Projects
For each project, collect information with clear path display:
- Name - Project identifier
- If using GitHub MCP: default to the actual repo name (e.g., "neosophia-amap-api")
- User can optionally provide a shorter alias
- Do NOT substitute with generic names like "api" or "admin"
- Repository URL - Git clone URL
- If GitHub MCP is available, offer to select from their repos
- Otherwise ask for the URL directly
Local path - Where the project lives locally
IMPORTANT: Auto-detect existing repos first!
Before asking where to clone, search for existing local folders that match the repo name:
- Check current directory and common locations (
~/Sites,~/work,~/projects,~/code,~/dev) - Use
findorlsto locate folders matching the repo name - If repo is
neosophia-amap-api, look for folders namedneosophia-amap-api
If found: Auto-use that path. Don't ask the user.
✓ Found neosophia-amap-api at /Users/patricio/Sites/neosophia-amap-apiIf NOT found: Then ask where to clone it.
Where should neosophia-amap-api be cloned? Suggested: /Users/patricio/Sites/neosophia-amap-apiThis saves time when users already have repos cloned locally.
- Check current directory and common locations (
- Stack - Technologies used (e.g., "Node, Express, PostgreSQL")
- Port - Development server port (if applicable)
After each project, show a summary:
Project added:
Name: api
Repo: git@github.com:acme/api.git
Path: /Users/patricio/Sites/acme/api
Stack: Node, Express
Port: 3000
Add another project? (y/n)Step 3: Define Relationships (Optional)
Ask if any projects depend on others. Format:
frontend -> apimeans frontend calls the api
Step 4: Add Documentation Links (Optional)
Collect any relevant documentation URLs:
- API docs
- Design files (Figma, etc.)
- Wiki/Notion
- Slack channels
Step 5: Define Commands (Optional)
Ask for common workspace-level commands:
start-all- Start all servicesstop-all- Stop all servicestest-all- Run all tests
Step 6: Generate Configuration
Create the workspace directory at ~/.claude/workspaces/<name>/ and generate the WORKSPACE.md file.
Step 7: Offer to Clone
Ask if the user wants to clone all repositories now using /workspaces:clone all.
Import from URL
If --from <url> is provided:
- Fetch the content from the URL
- Parse it as WORKSPACE.md format
- Create the workspace with that configuration
GitHub MCP Integration Details
If GitHub MCP is available, you can use these tools:
- List user's repos: Use
mcp__github__list_reposto show available repositories - Search repos: Use
mcp__github__search_repositoriesto find specific repos - Get repo details: Fetch clone URLs, descriptions, and default branches
IMPORTANT: When showing repos from GitHub, display the actual repository names exactly as they appear in GitHub. Do NOT substitute with generic names like "api", "landing", "web", "admin".
When listing repos, show them with their real names:
Your GitHub repositories:
1. neosophia-amap-api - Backend API for AMAP
2. neosophia-amap-admin - Admin dashboard for AMAP
3. neosophia-amap-landing - Landing page
4. neosophia-experts-dashboard - Experts dashboard
5. neosophia-screen-api - Screen API service
6. arkvault - Vault application
7. arkscan - Block explorer
Select repos to add (comma-separated numbers, e.g., "1,2,4"):When user selects repos:
- Project name defaults to the actual repo name (e.g.,
neosophia-amap-api, notapi) - User can optionally provide a shorter alias
- Clone URL comes directly from the GitHub repo data
- Auto-detect local paths: Search for existing folders matching each repo name before asking
Example auto-detection flow:
Selected: neosophia-amap-api, neosophia-amap-landing, neosophia-amap-admin
Scanning for existing repos...
✓ neosophia-amap-api found at /Users/patricio/Sites/neosophia-amap-api
✓ neosophia-amap-landing found at /Users/patricio/Sites/neosophia-amap-landing
✗ neosophia-amap-admin not found locally
Where should neosophia-amap-admin be cloned?
Suggested: /Users/patricio/Sites/neosophia-amap-adminExample Output
After successful initialization:
✓ Workspace 'neosophia' created at ~/.claude/workspaces/neosophia/
Projects configured:
• neosophia-amap-api
Path: /Users/patricio/Sites/neosophia-amap-api (existing)
Port: 3000
• neosophia-amap-landing
Path: /Users/patricio/Sites/neosophia-amap-landing (existing)
Port: 3001
• neosophia-amap-admin
Path: /Users/patricio/Sites/neosophia-amap-admin (to clone)
Port: 3002
Run '/workspaces:clone all' to clone missing repositories.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.

