一键导入
context-maintenance
Host-neutral lifecycle hook recipe for non-blocking context maintenance.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Host-neutral lifecycle hook recipe for non-blocking context maintenance.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generate, validate, preview, and run portable Harn workflow bundle JSON for monitoring and repairing pull requests, deploys, logs, and other event-driven engineering work. Optimized for smaller models (qwen, gemma, llama.cpp) with explicit XML sections, strict JSON output, and a validation-and-retry loop.
Use for Harn language syntax, typechecking, modules, imports, and idiomatic script authoring.
Use for autonomous Harn agent work, task decomposition, capability boundaries, and host interaction patterns.
Use for Harn orchestration workflows, agent_loop usage, tool middleware, and handoff design.
Use for Harn provider setup, model routing, provider capability matrices, and llm_call options.
Run a cron eval pack, gate against prior ledger rows, and post Slack only on gate flips.
| name | context-maintenance |
| short | Queue context refresh and crystallization jobs from lifecycle hooks. |
| description | Host-neutral lifecycle hook recipe for non-blocking context maintenance. |
| when-to-use | Use when a coding host needs durable context.refresh or context.crystallize jobs. |
Install the [[hooks]] entries in harn.toml, keep hook handlers fast, and
run context.refresh / context.crystallize in a host-owned background lane.
Persist the returned harn.context_maintenance.job_receipt.v1 receipts so
replay can include the job or emit a deterministic skipped receipt.