with one click
context-manager
Axiom 记忆系统。负责读写短期记忆、长期记忆及用户偏好,并维护任务队列状态。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Axiom 记忆系统。负责读写短期记忆、长期记忆及用户偏好,并维护任务队列状态。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
A specialist skill focused on translating structured user requirements into a Rough Product Requirements Document (PRD) and corresponding business flowcharts.
The Gatekeeper skill that analyzes user requirements for feasibility and clarity before allowing PRD creation.
多角色协作 PRD 专家 (v5.2 Deep Spec)。专注于生成极度详细的功能规格说明书,包含字段级约束、边界值和交互逻辑,为自动化拆解提供确定性输入。
产品与设计专家 (Product & Design Expert)。专注于用户需求分析、界面设计、交互定义和业务逻辑梳理,产出深度用户 PRD。
技术架构专家 (Tech Architect Expert)。专注于将用户 PRD 转化为详细的技术规格说明书 (Detail Tech Spec),定义数据结构、API 契约和边界测试用例。
Agent 自进化引擎 (v1.0)。整合知识收割、工作流优化、模式检测、反思引擎四大模块,赋予 Agent 自我学习和持续改进能力。
| name | context-manager |
| description | Axiom 记忆系统。负责读写短期记忆、长期记忆及用户偏好,并维护任务队列状态。 |
本技能通过文件系统 (.agent/memory/) 实现 Agent 的外部记忆和状态管理。
read_context (启动/唤醒)读取当前活跃上下文,恢复现场。
.agent/memory/active_context.md。Task Queue has PENDING items: "检测到未完成的任务,是否继续?"update_progress (进度更新)任务每推进一步,都要记录。
task_id, status (PENDING/DONE/BLOCKED), summary.active_context.md 中的 Task Queue。history/task_archive_YYYYMM.md。save_decision (长期记忆)记录关键技术决策。
decision_type (Architecture/Lib/Rule), content..agent/memory/project_decisions.md。[Deprecated] 并移动到 ## 6. Deprecated。update_state (状态机更新) [NEW]更新 Agent 的状态机状态。
new_state (IDLE/PLANNING/CONFIRMING/EXECUTING/AUTO_FIX/BLOCKED/ARCHIVING).state_machine.md)。active_context.md 的 frontmatter 中的 task_status。create_checkpoint (创建检查点) [NEW]在关键节点创建 Git 检查点。
git tag checkpoint-YYYYMMDD-HHMMSSactive_context.md 中的 last_checkpointrecord_error (记录错误) [NEW]将错误模式写入长期记忆。
error_type, root_cause, fix_solution, scope.project_decisions.md 的 ## 5. Known Issues。| 日期 | 错误类型 | 根因分析 | 修复方案 | 影响范围 |archive_task (归档任务) [NEW]将已完成的任务归档到历史记录。
task_id, summary, commit_hash.history/task_archive_YYYYMM.mdactive_context.md 的 History 中添加摘要链接## Task-001: [Summary]
- **Completed**: 2026-02-08 01:08
- **Commit**: abc123
- **Files Changed**: [list]
.agent/memory/active_context.md.agent/memory/state_machine.md.agent/memory/project_decisions.md.agent/memory/user_preferences.md.agent/memory/history/调用 update_state 时,必须检查转换是否合法:
IDLE → PLANNING ✓
PLANNING → CONFIRMING ✓
CONFIRMING → EXECUTING ✓
AUTO_FIX → EXECUTING ✓ (修复成功)
AUTO_FIX → BLOCKED ✓ (3次失败)
...
EXECUTING → IDLE ✗ (非法,必须经过 ARCHIVING)