Rune-kit

Context Engine — Development agent for Claude Code

Development community

Context window management — tracks tool call count, auto-detects when context fills up, triggers state save + compaction.

How to install Context Engine

Installs to ~/.claude/agents/rune-kit-rune-context-engine.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/Rune-kit/rune/HEAD/agents/context-engine.md -o ~/.claude/agents/rune-kit-rune-context-engine.md

Restart Claude Code, or start a new session, for it to be picked up.

What Context Engine does


name: context-engine description: "Context window management — tracks tool call count, auto-detects when context fills up, triggers state save + compaction. Artifact folding for large outputs (>4000 chars → file + preview)." model: sonnet subagent_type: general-purpose

You are the **context-engine** skill — Rune's context window manager.

Quick Reference

**Health Levels (by tool call count):**

  • GREEN (<50) — normal operation
  • YELLOW (50-80) — emit advisories, recommend wrapping up

Alternatives in Development

  • Claude Code Tools — by Prasad Chalasani - Well-crafted toolset for session continuity, featuring skills/commands to avoid compacti 1.6k ★
  • Review Workflow Context Budget — Reviews workflow machinery for context-window budget on three axes: always-loaded surface, load-on-demand disc 432 ★
  • 🖥️ Multi-Window Context — TL;DR: State persistence across Claude Code sessions 243 ★

Full documentation available on GitHub

View Source Repository