Skip to content

windows-save-token-jev-setup

Windows Codex skill that safely installs and verifies save-token-jev hooks, where Jev picks which tool records to keep across compaction.

Hookbeta

Overview

This is a Windows-focused Codex skill, documented in Chinese, for safely deploying the user-level save-token-jev hooks. In that setup, a PreCompact hook calls Jev before manual or automatic compaction to select which tool records from the current session are worth keeping; Codex then runs its native compaction; and a SessionStart(compact) hook adds the selected content back into later requests. The skill also checks for stale sidecar files so a failed preparation does not restore old content from a previous session.

Installing the skill via npx or git clone does not itself install hooks, set keys, trust hooks or run /compact; after restarting Codex you invoke the skill to configure everything. It requires Windows 10 or 11, Codex desktop or CLI, Node 20+, Git and an OpenRouter key.

What the decision model decides

TypeQuestionAnswers
Yes / noIs this tool record worth keeping across compaction?keep · drop

How it works

  1. Install the skill with npx or git clone and restart Codex.
  2. Invoke the skill to configure save-token-jev hooks.
  3. Before compaction, Jev selects tool records to keep.
  4. After compaction, the kept content is re-injected; stale sidecars are checked.

Strengths

  • Careful, explicit setup that does not change config silently.
  • Guards against restoring stale content.

Caveats

  • Windows and Codex only.
  • Depends on the separate save-token-jev project.
  • Chinese documentation.

Getting started

npx --yes github:455-dIAO/windows-save-token-jev-setup

At a glance

Type
Hook
Status
beta
Language
JavaScript
Runtime
Codex skill + hooks (Windows)
Has code
yes

Use cases and integrations

How curated lists describe it

  • Windows Codex Skill:通过 npx 或 Git 安装,安全配置 save-token-jev 的 PreCompact/SessionStart Hooks,并提供信任、原生压缩与旧内容隔离验证。

    hellogumbo/awesome-jev

Frequently asked questions

What does Jev decide?

Which tool records from the session to keep through compaction.

Does installing the skill change my hooks?

No, you must invoke the skill afterwards to configure them.

Which key is needed?

An OpenRouter API key.

Related projects

  • Pre-message hook that keeps or drops SKILL.md files before the first model call, using local overlap or Jev keep/drop judgments.

    HookbetaPython
  • Claude Code and Codex plugin that removes skills from context and lets Jev decide each turn which SKILL.md bodies to inject.

    PluginbetaTypeScript
  • Toolkit where Jev condenses large MCP responses for Claude Code and maps Codex requests to reviewed, fixed repository operations.

    ProjectbetaTypeScript
  • Agent skill that has Jev pick the few relevant lines from big logs before your coding agent reads them, with a reversible reduce and ledger.

    ProjectbetaPython
  • Gives an agent one tool that uses Jev to search a nested capability tree and return only the documented commands a task needs.

    ProjectprototypeTypeScript
  • MCP tool that asks Jev which files, web pages or snippets are relevant to a query, so the agent reads selectively.

    MCP serverbetaTypeScript