Skip to content

docs(install): add skills CLI setup for Claude Code, Codex, and Antigravity #124

Closed

Description

@abruption

Problem

PyPI installs the session-peer command but users also need the repository-owned agent skill for Claude Code, Codex, and Antigravity. Python packaging has no portable post-install hook, and a package-manager operation should not silently overwrite files in agent configuration directories.

v0.9.1 direction

Document the open agent skills CLI as the explicit, separately managed installation path:

npx -y skills@latest add abruption/session-peer \
  --skill session-peer --global \
  --agent claude-code --agent codex --agent antigravity --copy --yes

The verified command creates:

  • ~/.claude/skills/session-peer/SKILL.md
  • ~/.agents/skills/session-peer/SKILL.md (shared by Codex and Antigravity)

Skill updates remain separate from pip/pipx/uv updates:

npx -y skills@latest update session-peer --global --yes

Acceptance criteria

  • English, Korean, Japanese, and Simplified Chinese READMEs distinguish Python CLI installation from skill installation.
  • The skill frontmatter and instructions cover live registered Antigravity targets and their fail-closed home/generation contract.
  • The CLI reference documents the exact global install and update commands, output paths, Node.js requirement, and trust boundary.
  • v0.9.1 release notes document that pip upgrades do not modify agent configuration directories.
  • The install command is exercised in an isolated HOME and creates both expected files.
  • The update command recognizes the installed repository source and completes successfully.
  • Existing standalone install.sh behavior remains available for POSIX and air-gapped installs.

Validation baseline

Validated with [email protected] in an isolated HOME using the public GitHub source. It installed the same SKILL.md for all three agents at the Claude path and the shared Codex/Antigravity path and skills update reported the global skill up to date. [email protected] declares Node.js 22.20.0 or newer.

Out of scope

  • PyPI post-install hooks or automatic writes to ~/.claude/~/.agents
  • Automatic skill updates during pip/pipx/uv upgrades
  • Publishing v0.9.1 as part of this PR

Activity

  1. added this to the v0.9.1 milestone on Sep 21, 2026
  2. added
    bug
    on Sep 21, 2026
  3. abruption commented on Sep 21, 2026

    @abruption
    OwnerAuthor

    추가 검증 범위: 패키지 신규 설치뿐 아니라 업그레이드도 반드시 다룹니다. 격리된 HOME/venv에서 PyPI v0.9.0 wheel을 먼저 설치하고 (a) 전역 skill이 없는 상태, (b) 오래된 skill 내용이 있는 상태를 각각 만든 뒤, 후보 v0.9.1 wheel로 pip install --upgrade합니다. 업그레이드된 session-peer의 첫 실행이 ~/.claude/skills/session-peer/SKILL.md와 ~/.agents/skills/session-peer/SKILL.md를 동일한 v0.9.1 정본으로 생성·갱신하는지, 재실행이 idempotent인지 검증합니다. 패키지 manager 자체에는 portable home-directory post-install hook이 없으므로 파일 생성 시점은 업그레이드 후 첫 CLI 실행으로 명시합니다.

  4. changed the title [-]fix(packaging): install the session-peer skill from PyPI distributions[/-] [+]docs(install): add skills CLI setup for Claude Code and Codex[/+] on Sep 21, 2026
  5. abruption commented on Sep 21, 2026

    @abruption
    OwnerAuthor

    Direction updated after validation: the earlier package-managed auto-sync proposal is superseded. The PR will keep Python package upgrades separate and document an explicit skills CLI install/update flow. No automatic home-directory writes will ship.

  6. changed the title [-]docs(install): add skills CLI setup for Claude Code and Codex[/-] [+]docs(install): add skills CLI setup for Claude Code, Codex, and Antigravity[/+] on Sep 21, 2026
  7. abruption commented on Sep 21, 2026

    @abruption
    OwnerAuthor

    Resolved by #125, merged into release/0.9.x as d68aab73ad5be806da03281e30b73e74ed63db78. The skills CLI install/update flow now covers Claude Code, Codex, and Antigravity; the updated CI matrix and security check passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions