jsonlee12138/agent-team

context-cleanup

Session context cleanup and file re-anchoring strategy for controller and worker sessions. Use when the session is drifting, phases change, or resumed work needs index-first recovery from files.

First seen Mar 22, 2026

Installation

$ npx skills add jsonlee12138/agent-team --skill context-cleanup

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from jsonlee12138/agent-team · top by installs.

npx skills add jsonlee12138/agent-team

Browse all from jsonlee12138/agent-team

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 30
License LICENSE
Default branch main
Open issues 1
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,322 B
  • docs SUMMARY.md 217 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 51 installs

SKILL.md

context-cleanup

Audience

  • controller
  • worker

Triggers

  • clean context
  • session drift
  • re-anchor context
  • resume after pause
  • phase transition

CLI Binding

  • agent-team context-cleanup
  • This skill is a standalone context-cleanup and file re-anchoring entry.

Required Entry

  • controller/main: MUST read .agent-team/rules/index.md first.
  • worker: MUST read worker.yaml first.

Expansion

  • controller/main: read only the rule files matched from .agent-team/rules/index.md, then the current workflow/task artifacts.
  • worker: read task.yaml after worker.yaml, then context.md and referenced materials only when needed.

Hard Rules

  • Clean session context, not file contents.
  • Never skip the required entry file.
  • Never default to scanning all rule bodies or all task context files.
  • Never describe this skill as context compression.

Boundary

  • Use this skill to stabilize context and re-anchor from files.
  • Use worker-recovery for routine worker task resume when the problem is simply recovering the current assignment.