Skip to content

Problem with GenerateSkillIndex Tool #270

@SimonBlancoE

Description

@SimonBlancoE

I think the following line in the GenerateSkillIndex.ts script is problematic

const PAI_HOME = process.env.PAI_HOME || join(process.env.HOME || '', '.claude');

As I understand the process, you should have process.env.PAI_DIR as a fallback option. In my case, it wouldn't find the Skills directory in the .claude folder, and as far as I was following the instructions, there shouldn't be one at that point at least.

When adding PAI_DIR as a fallback option, the process continued successfully.

[Update]
Same goes for the file SkillSearch.ts

If these files aren't supposed to include PAI_DIR, I am really confused with the configuration.

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