[object Object]

← back to Cli Printing Press

fix(skills): correct install-internal-skills.sh path to repo skills/ (#1342)

5a04aca6eede56b642a2b900283e7b41c2a99867 · 2026-05-16 03:06:59 +0900 · cobuchan

The installer resolved REPO_SKILLS to <repo>/.claude/skills/ (one level
too shallow), causing the documented install command to abort with
"no skills found". Fix the path and sync AGENTS.md so its referenced
location matches the repo's actual top-level skills/ directory.

Fixes #869

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

Files touched

Diff

commit 5a04aca6eede56b642a2b900283e7b41c2a99867
Author: cobuchan <132151496+cobuchan@users.noreply.github.com>
Date:   Sat May 16 03:06:59 2026 +0900

    fix(skills): correct install-internal-skills.sh path to repo skills/ (#1342)
    
    The installer resolved REPO_SKILLS to <repo>/.claude/skills/ (one level
    too shallow), causing the documented install command to abort with
    "no skills found". Fix the path and sync AGENTS.md so its referenced
    location matches the repo's actual top-level skills/ directory.
    
    Fixes #869
    
    Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---
 .claude/scripts/install-internal-skills.sh | 2 +-
 AGENTS.md                                  | 5 ++---
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/.claude/scripts/install-internal-skills.sh b/.claude/scripts/install-internal-skills.sh
index 334c5c8f..6dc57ddc 100755
--- a/.claude/scripts/install-internal-skills.sh
+++ b/.claude/scripts/install-internal-skills.sh
@@ -7,7 +7,7 @@
 set -euo pipefail
 
 SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
-REPO_SKILLS="$SCRIPT_DIR/../skills"
+REPO_SKILLS="$SCRIPT_DIR/../../skills"
 USER_SKILLS="$HOME/.claude/skills"
 
 if [ ! -d "$REPO_SKILLS" ]; then
diff --git a/AGENTS.md b/AGENTS.md
index 19d7a2ac..882f0495 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -192,12 +192,11 @@ Why this matters: the publish skill enforces preflight checks (printer sentinel
 If `/printing-press-publish` fails, fix the underlying issue (or report it as a machine bug) — do not bypass the skill to land a CLI-publish PR.
 
 ## Internal Skills
-`.claude/skills/` contains internal skills for developing the Printing Press itself (for example `printing-press-retro`). These load automatically when Claude Code is started from inside this repo.
-If you are running Claude Code from a different directory and need these skills available, install them globally:
+`skills/` at the repo root contains the Printing Press skills (for example `printing-press-retro`). To make them available to Claude Code regardless of working directory, install them globally:
 ```bash
 .claude/scripts/install-internal-skills.sh
 ```
-This copies the internal skills to `~/.claude/skills/`.
+This copies the skills to `~/.claude/skills/`.
 
 ## Skill Authoring
 When a machine change alters what an agent should do or what a command guarantees, update the relevant `SKILL.md` in the same change; do not leave the skill as a stale manual workaround for behavior the machine now owns.

← 096411ce fix(cli): strip root-level binaries from staged publish tree  ·  back to Cli Printing Press  ·  fix(cli): kebab-case SKILL.md and README endpoint examples ( bd4dc641 →