context-hygiene-advisory
Notice when the main thread's context is growing heavy or a natural task boundary is reached, and recommend delegating or clearing.
- License 许可
- MIT
- 最近更新
- 2026-08-08
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- context-hygiene-advisory
- description
- Notice when the main thread's context is growing heavy or a natural task boundary is reached, and recommend delegating or clearing.
03 SKILL.md 正文
Context-Hygiene Advisory
Outcome
A session that is accumulating heavy context, or has just reached a natural boundary, gets a proactive recommendation to protect focus — rather than silently continuing to build on an increasingly long transcript.
When to advise
- The main thread has accumulated large tool output (broad file reads, long exploration, big diffs) that a subagent could have absorbed instead.
- A natural boundary has just been reached: a plan was committed, a PR was merged, an investigation concluded, or a bounded issue's work is done.
What to recommend
- For the next bounded unit of work, recommend delegating to a subagent or
an isolated worktree (see
CLAUDE.mdworktree rules) rather than continuing to grow the current thread. - At a natural boundary, recommend clearing context or starting a fresh session before beginning the next unit.
- State the recommendation plainly and let the human or lead agent decide; do not clear or delegate unilaterally without saying so.
Relationship to other skills
workflow/handoff-maintenancekeepsHANDOFF.toonitself lean; this skill is about the live conversation's context, not the persisted handoff file. Use both together rather than treating either as covering the other.- Worktree rules in
AGENTS.mdgovern isolation between agents; this skill is the trigger that suggests reaching for that isolation, not a replacement for it.
Do not
- Clear context or spawn a subagent silently without telling the user.
- Duplicate
handoff-maintenance's include/exclude rules forHANDOFF.tooncontent.
04 同仓库更多 Skills
agentic-template
Start or continue work in this repository using the canonical AGENTS.md contract and repository skill catalog.
wiki-tidy
Reconcile the wiki against the knowledge graph, specs and code; prune stale, keep links resolving.
update-handoff
Update HANDOFF.toon with current semantic work state.
test-first
Drive meaningful behaviour changes with the smallest useful failing test.
test-change
Select and run tests that prove a change at suitable fidelity.
specify
Create proportional OpenSpec-shaped structured change proposals for meaningful changes.