Agent Skillspax-beehive/paxm › paxm-setup

paxm-setup

GitHub

指导用户完成paxm首次配置,包括诊断环境、安装二进制文件、配置Codex插件集成及验证记忆回环。遵循安全规范,确保不泄露密钥或绕过钩子信任机制。

plugins/paxm-memory/skills/paxm-setup/SKILL.md pax-beehive/paxm

Trigger Scenarios

用户请求配置paxm 用户请求修复paxm 用户请求验证paxm

Install

npx skills add pax-beehive/paxm --skill paxm-setup -g -y
More Options

Non-standard path

npx skills add https://github.com/pax-beehive/paxm/tree/main/plugins/paxm-memory/skills/paxm-setup -g -y

Use without installing

npx skills use pax-beehive/paxm@paxm-setup

指定 Agent (Claude Code)

npx skills add pax-beehive/paxm --skill paxm-setup -a claude-code -g -y

安装 repo 全部 skill

npx skills add pax-beehive/paxm --all -g -y

预览 repo 内 skill

npx skills add pax-beehive/paxm --list

SKILL.md

Frontmatter
{
    "name": "paxm-setup",
    "description": "Guide a user through first-time paxm setup for the Codex memory plugin, including binary installation, provider configuration, hook trust, and a real smoke test."
}

Set up paxm for Codex

Run this workflow only when the user asks to configure, repair, or verify paxm. Do not silently install a binary, write provider credentials, or modify Codex hooks.

1. Diagnose first

Run the read-only checks:

paxm version
paxm config doctor --json

If paxm is not on PATH, check the standard user install locations before offering installation. Explain that the installer downloads the latest release binary by default and ask for explicit approval before running:

curl -fsSL https://github.com/pax-beehive/paxm/releases/latest/download/install.sh | bash

When a reproducible install or rollback is required, export a compatible release before running the command:

export PAXM_VERSION=v0.1.20
curl -fsSL https://github.com/pax-beehive/paxm/releases/latest/download/install.sh | bash

After installation, run paxm version again and report the resolved path. The equivalent bundled helper is scripts/install-paxm.sh when the plugin's absolute install path is available; do not assume PLUGIN_ROOT exists in a skill shell environment.

2. Configure the plugin-owned integration

Ask the user to choose providers and passive behavior, then run the interactive setup with Codex plugin ownership:

paxm setup --integration codex-plugin

The equivalent bundled helper is scripts/setup-paxm.sh when its absolute plugin path is available. This keeps provider credentials and profiles in paxm while preventing paxm from registering a duplicate global Codex hook. The plugin's own hook definitions remain subject to Codex's normal /hooks review and trust flow.

3. Verify the loop

After setup:

  1. Run paxm config doctor.
  2. Write one random test fact to STM and immediately recall it.
  3. Explain which provider answered and that the test fact will expire.
  4. Ask the user to start a fresh Codex task or submit one prompt so the passive hook can be observed.
  5. Use paxm history --days 1 to confirm the hook event.

If a check fails, identify the layer (plugin, binary, config, provider, hook trust, or Codex task lifecycle) and give one next action. Do not reinstall everything by default.

Safety rules

  • Never print or echo provider API keys.
  • Never modify ~/.codex/config.toml from a setup script.
  • Never bypass Codex hook trust.
  • Hook failures must not block the user's Codex task.
  • Keep MCP optional until the binary and plugin-owned hook path are healthy.

Version History

  • 2909519 Current 2026-07-22 09:40

Same Skill Collection

plugins/paxm-claude/skills/paxm/SKILL.md
plugins/paxm-memory/skills/paxm/SKILL.md
skills/paxm/SKILL.md
plugins/paxm-claude/skills/paxm-setup/SKILL.md

Metadata

Files
0
Version
2909519
Hash
38c6206b
Indexed
2026-07-22 09:40

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-27 07:30
浙ICP备14020137号-1 $Гость$