Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions METAPROMPT.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ After completing Step 5 above, you have finished Phase 1 (Documentation Populati
Phase 2 executes the SETUP.md file, which performs these essential configuration tasks:

1. **Clones the agent-instructions repository** - Gets the actual agent configuration files and command definitions
2. **Installs agents to your config directory** - Copies agent configurations to, `~/.codex/agents/`, `~/.cursor/agents/`, `~/.windsurf/agents/`, `~/.kiro/agents/`, `~/.github/agents/`, etc.
2. **Installs agents to your config directory** - Copies agent configurations to, `~/.codex/agents/`, `~/.cursor/agents/`, `~/.windsurf/agents/`, `~/.kiro/agents/`, `~/.cline/agents/`, `~/.github/agents/`, etc.
3. **Clones skills repositories** - Downloads Superpowers and Anthropic skills libraries
4. **Installs list-skills command** - Makes the `list-skills` tool available globally
5. **Verifies the installation** - Confirms everything is working correctly
Expand All @@ -310,7 +310,7 @@ Phase 2 executes the SETUP.md file, which performs these essential configuration

2. Read the SETUP.md file completely

3. Identify which AI coding assistant you are (Codex, Cursor, Windsurf, or GitHub Copilot)
3. Identify which AI coding assistant you are (Codex, Cursor, Windsurf, Kiro, Cline, or GitHub Copilot)

4. Execute Step 1 of SETUP.md: Clone agent-instructions and copy agents/commands
- Run the appropriate commands for the user's shell (bash/zsh/fish/PowerShell)
Expand Down Expand Up @@ -343,7 +343,7 @@ After Phase 2 completion, you should have:

**Directory Structure:**
```
~/.codex/ (or ~/.cursor/, ~/.windsurf/, ~/.kiro/, ~/.github/)
~/.codex/ (or ~/.cursor/, ~/.windsurf/, ~/.kiro/, ~/.cline/, ~/.github/)
├── agents/
│ └── [agent configuration files]
└── skills/
Expand Down Expand Up @@ -474,7 +474,7 @@ If unable to detect certain information:

### Phase 2: Environment Setup (MANDATORY!)
- [ ] SETUP.md has been read completely
- [ ] AI coding assistant identity determined (Codex/Cursor/Windsurf/Kiro/GitHub Copilot)
- [ ] AI coding assistant identity determined (Codex/Cursor/Windsurf/Kiro/Cline/GitHub Copilot)
- [ ] Step 1 executed: agent-instructions repository cloned
- [ ] Step 1 verified: agents folder exists in config directory
- [ ] Step 2 executed: Skills repositories cloned (Superpowers + Anthropic)
Expand Down
31 changes: 21 additions & 10 deletions SETUP.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Agent Instructions Setup

This document tells you, the AI coding agent, how to automatically set up the complete agent instructions system for users. **You know who you are** (Codex, Cursor, Windsurf, Kiro, GitHub Copilot, etc.), so follow the instructions for yourself.
This document tells you, the AI coding agent, how to automatically set up the complete agent instructions system for users. **You know who you are** (Codex, Cursor, Windsurf, Kiro, Cline, GitHub Copilot, etc.), so follow the instructions for yourself.

**IMPORTANT:** When a user asks to set up agent instructions or skills, execute all steps automatically like running a setup script. Execute all steps without waiting for approval between steps.

Expand All @@ -11,13 +11,15 @@ You are one of the following AI coding agents:
- **Cursor**
- **Windsurf**
- **Kiro**
- **Cline**
- **GitHub Copilot**

Based on your identity, you will use the appropriate configuration directory:
- **Codex**: `~/.codex`
- **Cursor**: `~/.cursor`
- **Windsurf**: `~/.windsurf`
- **Kiro**: `~/.kiro`
- **Cline**: `~/.cline`
- **GitHub Copilot**: `~/.github`

## Your Role
Expand Down Expand Up @@ -53,6 +55,7 @@ Clone the agent-instructions repository with the agent-setup branch to a tempora
- **Cursor**: `~/.cursor`
- **Windsurf**: `~/.windsurf`
- **Kiro**: `~/.kiro`
- **Cline**: `~/.cline`
- **GitHub Copilot**: `~/.github`

**Execute the following commands for the user's shell:**
Expand All @@ -76,6 +79,8 @@ CONFIG_DIR="$HOME/.codex"
# CONFIG_DIR="$HOME/.windsurf"
# For Kiro:
# CONFIG_DIR="$HOME/.kiro"
# For Cline:
# CONFIG_DIR="$HOME/.cline"
# For GitHub Copilot:
# CONFIG_DIR="$HOME/.github"

Expand Down Expand Up @@ -154,6 +159,8 @@ set CONFIG_DIR "$HOME/.codex"
# set CONFIG_DIR "$HOME/.windsurf"
# For Kiro:
# set CONFIG_DIR "$HOME/.kiro"
# For Cline:
# set CONFIG_DIR "$HOME/.cline"
# For GitHub Copilot:
# set CONFIG_DIR "$HOME/.github"

Expand Down Expand Up @@ -229,6 +236,8 @@ $CONFIG_DIR = "$env:USERPROFILE\.codex"
# $CONFIG_DIR = "$env:USERPROFILE\.windsurf"
# For Kiro:
# $CONFIG_DIR = "$env:USERPROFILE\.kiro"
# For Cline:
# $CONFIG_DIR = "$env:USERPROFILE\.cline"
# For GitHub Copilot:
# $CONFIG_DIR = "$env:USERPROFILE\.github"

Expand Down Expand Up @@ -294,7 +303,7 @@ Write-Host "ℹ️ Note: Existing files were preserved. Backups created with ti

**Expected Result:**
After this step, your config directory should contain:
- `~/.codex/agents/` (or `~/.cursor/agents/`, `~/.windsurf/agents/`, `~/.kiro/agents/`, `~/.github/agents/`, etc.) - copied from `.agent/agents/` in the repository
- `~/.codex/agents/` (or `~/.cursor/agents/`, `~/.windsurf/agents/`, `~/.kiro/agents/`, `~/.cline/agents/`, `~/.github/agents/`, etc.) - copied from `.agent/agents/` in the repository
- `~/.codex/skills/` (or `~/.cursor/skills/`, etc.) - copied from `.agent/skills/` in the repository, including the `prompt-engineer` skill

**If this step fails:**
Expand Down Expand Up @@ -646,6 +655,7 @@ After completing all setup steps, automatically verify everything is working.
- **Cursor**: `~/.cursor`
- **Windsurf**: `~/.windsurf`
- **Kiro**: `~/.kiro`
- **Cline**: `~/.cline`
- **GitHub Copilot**: `~/.github`

**Run verification tests:**
Expand Down Expand Up @@ -785,7 +795,7 @@ Check if the folders were copied correctly:

```bash
# Replace with your config directory
CONFIG_DIR="$HOME/.codex" # or ~/.cursor, ~/.windsurf, ~/.kiro, ~/.github
CONFIG_DIR="$HOME/.codex" # or ~/.cursor, ~/.windsurf, ~/.kiro, ~/.cline, ~/.github

ls -la "$CONFIG_DIR"
ls -la "$CONFIG_DIR/agents"
Expand All @@ -795,7 +805,7 @@ ls -la "$CONFIG_DIR/agents"

```powershell
# Replace with your config directory
$CONFIG_DIR = "$env:USERPROFILE\.codex" # or .cursor, .windsurf, .kiro, .github
$CONFIG_DIR = "$env:USERPROFILE\.codex" # or .cursor, .windsurf, .kiro, .cline, .github

Get-ChildItem $CONFIG_DIR
Get-ChildItem "$CONFIG_DIR\agents"
Expand Down Expand Up @@ -826,7 +836,7 @@ Check if the skills directory exists:

```bash
# Replace with your config directory
CONFIG_DIR="$HOME/.codex" # or ~/.cursor, ~/.windsurf, ~/.kiro, ~/.github
CONFIG_DIR="$HOME/.codex" # or ~/.cursor, ~/.windsurf, ~/.kiro, ~/.cline, ~/.github

ls "$CONFIG_DIR/skills"
ls "$CONFIG_DIR/skills/superpowers"
Expand All @@ -837,7 +847,7 @@ ls "$CONFIG_DIR/skills/anthropic-skills"

```powershell
# Replace with your config directory
$CONFIG_DIR = "$env:USERPROFILE\.codex" # or .cursor, .windsurf, .kiro, .github
$CONFIG_DIR = "$env:USERPROFILE\.codex" # or .cursor, .windsurf, .kiro, .cline, .github

Get-ChildItem "$CONFIG_DIR\skills"
Get-ChildItem "$CONFIG_DIR\skills\superpowers"
Expand Down Expand Up @@ -1044,7 +1054,7 @@ Verify the directory structure:

```bash
# Replace with your config directory
CONFIG_DIR="$HOME/.codex" # or ~/.cursor, ~/.windsurf, ~/.kiro, ~/.github
CONFIG_DIR="$HOME/.codex" # or ~/.cursor, ~/.windsurf, ~/.kiro, ~/.cline, ~/.github

echo "Directory structure:"
tree -L 2 "$CONFIG_DIR"
Expand All @@ -1056,15 +1066,15 @@ find "$CONFIG_DIR" -maxdepth 2 -type d

```powershell
# Replace with your config directory
$CONFIG_DIR = "$env:USERPROFILE\.codex" # or .cursor, .windsurf, .kiro, .github
$CONFIG_DIR = "$env:USERPROFILE\.codex" # or .cursor, .windsurf, .kiro, .cline, .github

Write-Host "Directory structure:"
Get-ChildItem -Recurse -Depth 2 $CONFIG_DIR | Where-Object { $_.PSIsContainer }
```

**Expected structure:**
```
~/.codex/ (or ~/.cursor, ~/.windsurf, ~/.kiro, ~/.github)
~/.codex/ (or ~/.cursor, ~/.windsurf, ~/.kiro, ~/.cline, ~/.github)
├── agents/
│ └── [agent config files]
└── skills/
Expand Down Expand Up @@ -1107,7 +1117,7 @@ Share these tips with users as needed:
After successful setup, your agent's config directory should contain:

```
~/.codex/ (or ~/.cursor, ~/.windsurf, ~/.kiro, ~/.github)
~/.codex/ (or ~/.cursor, ~/.windsurf, ~/.kiro, ~/.cline, ~/.github)
├── agents/ # Agent configuration files
│ └── [config files]
└── skills/ # Skills repositories
Expand All @@ -1129,6 +1139,7 @@ You can set up multiple agents on the same machine. Each agent gets its own conf
- Cursor: `~/.cursor`
- Windsurf: `~/.windsurf`
- Kiro: `~/.kiro`
- Cline: `~/.cline`
- GitHub Copilot: `~/.github`

All agents can coexist and share the same `list-skills` script installation.
Expand Down