Skip to content

build-agent installer: npx skills add reports symlink → Claude Code on success but never creates .claude/skills/ #4

Description

@bekossy

Summary

npx skills add Agenta-AI/agenta-skills reports symlink → Claude Code as part of a successful install, but the .claude/skills/ directory is never actually created. Claude Code sessions cannot find the skill until the symlink is created manually.

Tested against: Agenta host https://bighetzner.agenta.dev, workspace mahmoud/Default.


Repro

  1. Run npx skills add Agenta-AI/agenta-skills in a fresh project directory.
  2. Installer output reports symlink → Claude Code as part of a successful install (exit 0).
  3. Inspect the target directory — no .claude/ directory exists (confirmed via ls and readlink).
  4. Start a Claude Code session and attempt to use the skill:

    "There's no 'build-agent' skill available in this session"

  5. Manually run the workaround:
    mkdir -p .claude/skills
    ln -s ../../.agents/skills/build-agent .claude/skills/build-agent
  6. After this, the skill loads correctly in Claude Code.

Manual workaround

mkdir -p .claude/skills
ln -s ../../.agents/skills/build-agent .claude/skills/build-agent

Required fix

The installer must verify the symlink was actually created (e.g. via readlink -f or ls -la) before reporting success. If creation fails, it should either retry, fall back, or surface a clear actionable error — not silently report success with a false status line.


Environment

Agenta host https://bighetzner.agenta.dev
Workspace mahmoud/Default
Skill version build-agent from Agenta-AI/agenta-skills (current main)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions