用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/ActiveMemory/ctx --skill ctx-agent命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Recall project context and present structured readback. Use when the user asks 'do you remember?', at session start, or when context seems lost.
End-of-session context persistence ceremony. Use when wrapping up a session to capture learnings, decisions, conventions, and tasks.
Recall project context and present structured readback. Use when the user asks 'do you remember?', at session start, or when context seems lost.
正在显示 SKILL.md
基于 SOC 职业分类
| name | ctx-agent |
| description | Load full context packet. Use at session start or when context seems stale or incomplete. |
| allowed-tools | Bash(ctx:*) |
Load the full context packet for AI consumption.
ctx agent automatically with a cooldown:
you rarely need to invoke this manuallyRead the files listed in "Read These Files (in order)": the packet is a summary, not a substitute. In particular, read CONVENTIONS.md before writing any code.
Confirm to the user: "I have read the required context files and I'm following project conventions." Read and confirm before beginning implementation.
| Flag | Default | Description |
|---|---|---|
--budget | 8000 | Token budget for context packet |
--format | md | Output format: md or json |
--cooldown | 10m | Suppress repeated output within this duration |
--session | (none) | Session ID for cooldown isolation (e.g., $PPID) |
ctx agent $ARGUMENTS
Example: default load:
ctx agent
Example: smaller packet for limited contexts:
ctx agent --budget 4000
Example: with cooldown (how the PreToolUse hook invokes it):
ctx agent --budget 4000 --session $PPID
Example: JSON for programmatic use:
ctx agent --format json --budget 8000