Skip to content

[Bug] PAIUpgrade skill fails with ENOENT: incorrect SKILL_DIR path #468

@pybe

Description

@pybe

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

  1. Install PAI v2.3
  2. Run bun ~/.claude/skills/PAIUpgrade/Tools/Anthropic.ts
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions