Bounded Prompt History
CommunityKeep runtime prompts compact with bounded history
AuthorJDL440
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Unbounded runtime prompt history can cause prompts to grow without bound, increasing latency and making it harder to reason about context.
Core Features & Use Cases
- Cap and trim editor history to a fixed size, preserving the most recent turns.
- Apply deterministic ordering and safe formatting to keep prompts predictable across runs.
- Use cases include editor prompts, reviewer notes, and any multi-turn context where recency matters but total history must remain bounded.
Quick Start
Configure a MAX_EDITOR_PREVIOUS_REVIEWS cap and enable newestFirst in getArticleConversation to bound prompt history.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: Bounded Prompt History Download link: https://github.com/JDL440/nfl-eval/archive/main.zip#bounded-prompt-history Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.