webmint

Context Maintenance — Productivity skill for Claude Code

Productivity community

Context Maintenance: Post-Task Bookkeeping.

How to install Context Maintenance

Installs to ~/.claude/commands/webmint-aidevteamforge-_context-maintenance.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/webmint/AIDevTeamForge/HEAD/.claude/commands/_context-maintenance.md -o ~/.claude/commands/webmint-aidevteamforge-_context-maintenance.md

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

What Context Maintenance does

Context Maintenance: Post-Task Bookkeeping

This file is read by `/execute-task` after every task completion (Phase 5.2). It manages session state and context health.

Context from the caller: the current feature directory, the task number and title just completed.

7.1: Update Session State

FULLY OVERWRITE `.claude/session-state.md` with the following template. This is a fixed-size sliding window — never append, always overwrite completely. The file must not exceed ~40 lines / ~800 tokens

Alternatives in Productivity

  • Claude Hud — A Claude Code plugin that shows what's happening - context usage, active tools, running agents, and todo progr 14k ★
  • Skill Context Detection — Auto-detect work context (Dev vs Knowledge) — use to tailor workflows based on current task type 2.8k ★
  • Repurpose — Workflow recipe — turn one blog post, video, or idea into a full platform-native content pack (thread, LinkedI 1.3k ★

Full documentation available on GitHub

View Source Repository