paxm

GitHub

作为Codex的记忆层,支持主动回忆、短期/长期记忆写入及被动钩子诊断。用于存储项目决策、偏好和上下文,辅助AI在开发中保持状态一致性和知识复用。

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

Trigger Scenarios

需要回忆之前的项目决策或用户偏好 记录新的工作笔记或稳定约定 检查记忆工具安装配置或诊断问题

Install

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

Non-standard path

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

Use without installing

npx skills use pax-beehive/paxm@paxm

指定 Agent (Claude Code)

npx skills add pax-beehive/paxm --skill paxm -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",
    "description": "Use paxm as Codex's active and passive memory layer. Trigger for prior decisions, project context, user preferences, memory recall, memory writes, or paxm diagnostics."
}

paxm memory

Use paxm as a supporting memory layer, not as a replacement for current source verification. Keep setup, credentials, provider selection, and passive hook policy under the user's control.

Before using memory

Check the local installation only when the task needs memory:

paxm version
paxm config doctor

If the binary is missing, ask the user before running the bundled installer. If the config is missing or invalid, ask whether to start the interactive setup flow. Do not edit paxm YAML by hand.

Active recall

Use a short, concrete query and a small result limit:

paxm recall --query "repo decision about hook ownership" --limit 3 --json

For a custom config, pass --config before the subcommand. Read scores and provider metadata, then verify facts that may have changed in the current repo. If a result exposes a precise lead, do at most two or three focused follow-up queries rather than running an open-ended search loop.

When the host exposes paxm MCP tools, prefer paxm_recall, paxm_remember, paxm_history, and paxm_config_doctor over shelling out.

Remember

Use STM for task-local working state:

paxm remember --profile stm --text "Working note: ..."

Use LTM only for durable decisions, preferences, recurring fixes, or stable project conventions:

paxm remember --profile ltm --text "Decision: ..."

Never store secrets, API keys, access tokens, raw private logs, or large pasted transcripts. Ask before storing sensitive personal or business information.

Passive recall and diagnostics

Passive Codex hooks are installed by this plugin only after the user completes the plugin-aware setup flow. Do not run a second paxm setup without the --integration codex-plugin mode, because that would change hook ownership.

When debugging, use bounded local history and logs:

paxm history --days 7 --json
paxm logs --tail 50

Treat memory as supporting evidence. Current repository files, current tool output, and explicit user instructions take precedence over recalled content.

Version History

  • 2909519 Current 2026-07-22 09:40

Same Skill Collection

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

Metadata

Files
0
Version
1d9a460
Hash
aff648f3
Indexed
2026-07-22 09:40

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-11 17:55
浙ICP备14020137号-1 $Map of visitor$