diff options
| author | Drew Ritter <drew@ritter.dev> | 2026-02-05 16:34:05 -0800 |
|---|---|---|
| committer | Drew Ritter <drew@ritter.dev> | 2026-02-05 17:21:25 -0800 |
| commit | bcccc692717f52be444b451e02e9e24760bd34be (patch) | |
| tree | 03988706bb2168c5c2e0198699021fe970f5b9cc /docs/README.codex.md | |
| parent | 3626ccc53ea1bd5503e2d7a057c77d51e63b5962 (diff) | |
Polish docs from 5-agent review
- INSTALL.md: add prerequisites, Windows note, verify step, clone
deletion in uninstall
- README.codex.md: fix Windows section (junctions not symlinks),
add description field guidance, consistent terminology
- install-codex.mjs: accurate link type labels (symlink vs junction)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'docs/README.codex.md')
| -rw-r--r-- | docs/README.codex.md | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/docs/README.codex.md b/docs/README.codex.md index a88bd3d..b230de1 100644 --- a/docs/README.codex.md +++ b/docs/README.codex.md @@ -31,11 +31,11 @@ Fetch and follow instructions from https://raw.githubusercontent.com/obra/superp 3. Restart Codex. -The installer creates a symlink from `~/.agents/skills/superpowers` to the repo's `skills/` directory and adds a gatekeeper block to `~/.codex/AGENTS.md`. Existing users with the old bootstrap setup are migrated automatically. +The installer links `~/.agents/skills/superpowers` to the repo's `skills/` directory (symlink on macOS/Linux, junction on Windows) and adds a gatekeeper block to `~/.codex/AGENTS.md`. Existing users with the old bootstrap setup are migrated automatically. ### Windows -The installer tries symlinks first, then falls back to junctions (`mklink /J`) if symlinks require Developer Mode. Both work for Codex skill discovery. +The installer creates a junction (`mklink /J`) on Windows, which works without Developer Mode. On macOS/Linux it creates a standard symlink. Both work for Codex skill discovery. ## How It Works @@ -88,6 +88,8 @@ description: Use when [condition] - [what it does] [Your skill content here] ``` +The `description` field is how Codex decides when to activate a skill automatically — write it as a clear trigger condition. + ## Updating ```bash @@ -112,9 +114,9 @@ Then remove the block between `<!-- superpowers:begin -->` and `<!-- superpowers 2. Check skills exist: `ls ~/.codex/superpowers/skills` 3. Restart Codex — skills are discovered at startup -### Windows symlink issues +### Windows junction issues -If the installer reports symlink failure, ensure Developer Mode is enabled or run as administrator. The installer will attempt a junction fallback automatically. +The installer creates junctions on Windows, which normally work without special permissions. If junction creation fails, try running PowerShell as administrator. ### Node.js not found |
