Description
The PAIUpgrade skill's Anthropic.ts tool fails on first run with ENOENT errors because it's looking for files in the wrong directory.
Steps to Reproduce
- Install PAI v2.3
- Run
bun ~/.claude/skills/PAIUpgrade/Tools/Anthropic.ts
- Observe ENOENT error
Expected Behavior
Tool should successfully load sources.json and monitor 30+ Anthropic sources.
Actual Behavior
❌ Failed to load sources.json:
ENOENT: no such file or directory, open '/home/user/.claude/skills/Upgrade/sources.json'
path: "/home/user/.claude/skills/Upgrade/sources.json",
Root Cause
Line 82 in Releases/v2.3/.claude/skills/PAIUpgrade/Tools/Anthropic.ts has incorrect path:
const SKILL_DIR = join(HOME, '.claude', 'skills', 'Upgrade'); // Wrong!
Should be:
const SKILL_DIR = join(HOME, '.claude', 'skills', 'PAIUpgrade'); // Correct
Impact
- PAIUpgrade skill is completely non-functional
- Users cannot monitor Anthropic ecosystem updates
- Affects all fresh installs of PAI v2.3
Environment
- PAI Version: v2.3
- Platform: Linux/macOS/Windows
- Skill: PAIUpgrade
Fix
PR #467 submitted to correct the path.
Workaround
Manually edit the file and change 'Upgrade' to 'PAIUpgrade' on line 82.
Description
The PAIUpgrade skill's Anthropic.ts tool fails on first run with ENOENT errors because it's looking for files in the wrong directory.
Steps to Reproduce
bun ~/.claude/skills/PAIUpgrade/Tools/Anthropic.tsExpected Behavior
Tool should successfully load
sources.jsonand monitor 30+ Anthropic sources.Actual Behavior
Root Cause
Line 82 in
Releases/v2.3/.claude/skills/PAIUpgrade/Tools/Anthropic.tshas incorrect path:Should be:
Impact
Environment
Fix
PR #467 submitted to correct the path.
Workaround
Manually edit the file and change
'Upgrade'to'PAIUpgrade'on line 82.