Back to skills
SKILL.md
2522 Setup Copilot Be32540f
ASecurityUniversal Claude Copilot setup. Auto-detects context and routes to the appropriate setup command.
- 4 stars
- 0 votes
- 0 copies
- 0 views
- Added May 31, 2026
Works with
Security analysis
100/100Pro scans all 2 files and shows the line behind each finding
npx -y skills add tools-only/X-Skills --skill 2522-setup-copilot_be32540f --agent claude-codeAre you the author of 2522 Setup Copilot Be32540f?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/tools-only-2522-setup-copilot-be32540f)---
name: setup-copilot
description: Universal Claude Copilot setup. Auto-detects context and routes to the appropriate setup command.
---
# Universal Setup Router
Auto-detects your context and runs the correct setup command.
## Step 1: Detect Context
```bash
pwd
ls .mcp.json 2>/dev/null && echo "MCP_EXISTS" || echo "NO_MCP"
echo $HOME
```
Store: `CURRENT_DIR`, `HOME_PATH`, `MCP_STATUS`
Check user's message for keywords: "minimal", "quick start", "memory only", "simple", "fast"
If found, set `MINIMAL_REQUESTED` = true.
## Step 2: Route
**If CURRENT_DIR ends with `/.claude/copilot`:**
Tell user: "Detected: Claude Copilot directory. Running machine setup."
Follow `/setup` command.
**Else if MCP_STATUS = "MCP_EXISTS":**
Tell user: "Detected: Existing project (.mcp.json found). Running project update."
Follow `/update-project` command.
**Else if MINIMAL_REQUESTED:**
Tell user: "Detected: New project. Running minimal (memory-only) setup."
Follow `/setup-project` command (the minimal keywords will trigger its minimal flow).
**Else:**
Tell user: "Detected: New project. Running full project setup."
Follow `/setup-project` command.
Files in this skill
- README.md
- skill.md
Attribution
Comments
Loading comments…