engineering / skill
fast-jev-compaction
A Claude Code plugin and npm library that replaces the compaction summary with Jev decisions about which tool calls and results to keep.
At a glance
- Purpose
- A Claude Code plugin and npm library that replaces the compaction summary with Jev decisions about which tool calls and results to keep.
- Runs in
- Local agent with shell
- Operating systems
- Not stated
- Needs
- Runtime: Not stated; Needs internet: Yes; Needs accounts or API keys beyond your agent: Yes
- Files and data
- Reads files: Not stated; Writes files: Not stated; Sends data to other services: Yes
- Tool type
- Skill
- Delivery
- From GitHub
- Version
- Latest on the main branch
- Access
- Code on GitHub
- Compatibility
- According to the README, the plugin needs Claude Code 2.1.274 or later with function hooks enabled. The library installs with npm. The README also includes a macOS demo app.
- External costs
- The repository is MIT-licensed and states no pricing. The README requires a TypeSafe API key to reach Jev and does not state what it costs. Your coding agent or model provider may charge for usage.
- Permissions
- The plugin acts through Claude Code with the access you give it. The README's setup includes plugin installation and setting CLAUDE_CODE_ENABLE_FUNCTION_HOOKS and TYPESAFE_API_KEY in the environment, with ~/.claude/settings.json as an example configuration location. The README gives npm install fast-jev-compaction for library use. The README says the function hook runs for /compact and automatic compaction after installation, reads compaction transcripts, sends fitted conversation state to Jev using a TypeSafe API key, and changes which tool calls and results remain in the output history. The README says installation prompts for plugin options and warns against committing the API key or placing it in source files.
- Usage terms
- MIT License, as stated in the repository. See its LICENSE file for the exact terms.
Code on GitHub
tamaratran/fast-jev-compaction
MITClaude Code plugin that replaces the compaction summary with Jev decisions: every tool call and result is scored in one fast request, stale ones are dropped or truncated, everything kept stays verbatim.
Public GitHub data fetched · 0 days old
View on GitHub ↗What it does
fast-jev-compaction is a Claude Code compaction plugin and npm library. The README describes Jev decisions that retain, truncate or remove tool calls and results, with user and assistant text retained verbatim in the output.The README says calls are paired with their results and the request state starts from the conversation with tool results replaced by short notes. The README describes fitting that state to token limits by truncating inputs, abridging texts, collapsing older messages and omitting some older entries. The README says first-message and recent calls are pinned, other calls receive separate keep-call and keep-result decisions, and the keep threshold defaults to 0.5. The README says the Claude Code hook falls back to its built-in summary on errors or insufficient reduction.
The README describes compactMessages, a custom JevAsker transport and options including keepThreshold, preserveRecentMessages, maxStateTokens and truncateHeadChars. The README describes the macOS demo as a scripted animation without API calls.
Who it is for
Claude Code users and developers who want a model to decide which tool calls and results to keep at compaction, and who have a TypeSafe API key.Example tasks
Run /compact in Claude Code after installing the plugin.Tune the keep threshold and the number of recent messages that are never touched.
Call compactMessages on a transcript from your own code and read the decisions and stats.
Implement JevAsker to send the questions through your own transport.