Skip to content

Documentation uses $PAI_HOME but env var is $PAI_DIR #573

@michaelaye

Description

@michaelaye

Description

The CORE skill documentation (skills/CORE/SKILL.md) references $PAI_HOME in 5 places, but the actual environment variable defined in settings.json is PAI_DIR.

Affected Files

  • skills/CORE/SKILL.md (lines 110, 116, 195, 247, 339)

References Found

Line 110: $PAI_HOME/MEMORY/
Line 116: private instance ($PAI_HOME)
Line 195: $PAI_HOME → The PAI installation directory
Line 247: Private instance ($PAI_HOME)
Line 339: Search $PAI_HOME/MEMORY/

Expected Behavior

Documentation should use $PAI_DIR to match the actual implementation in settings.json, or PAI_HOME should be added as an alias in the env section.

Current Behavior

  • settings.json defines: "PAI_DIR": "/path/to/.claude"
  • Hooks use: ${PAI_DIR}/hooks/...
  • Docs reference: $PAI_HOME (which is undefined)

Suggested Fix

Either:

  1. Replace all $PAI_HOME with $PAI_DIR in documentation, OR
  2. Add "PAI_HOME": "${PAI_DIR}" to the env section in settings.json template

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