尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证一个 Rust 二进制文件,用于 Claude Code 和 Codex,将超大文件读取转换为带行号的文件概要。
AI 翻译
One Rust binary for Claude Code and Codex that turns oversized file reads into line-numbered outlines.
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
One binary for Claude Code and Codex. STK replaces oversized file reads with line-numbered outlines, so the agent can fetch the parts it needs. Small files and scoped reads pass through.
Requires Rust and an installed client.
Setup detects client settings directories, preserves other hooks, and backs up changed files. Restart your clients afterward. Codex also requires you to review and trust STK through /hooks.
Select a client with --claude or --codex. Preview with --dry-run; remove STK's hooks with --uninstall. Setup and configuration查看完整 README ↗One binary for Claude Code and Codex. STK replaces oversized file reads with line-numbered outlines, so the agent can fetch the parts it needs. Small files and scoped reads pass through.
Requires Rust and an installed client.
git clone https://github.com/ryanportfolio/STK.git
cd STK
cargo install --path .
stk init --auto
Setup detects client settings directories, preserves other hooks, and backs up changed files. Restart your clients afterward. Codex also requires you to review and trust STK through /hooks.
Select a client with --claude or --codex. Preview with --dry-run; remove STK's hooks with --uninstall. Setup and configuration
| Client | Reads intercepted | Repeated large reads |
|---|---|---|
| Claude Code | Native Read calls | Asking again for an unchanged file up to 4 MiB returns the whole file (with the default dedup = true). |
| Codex | Simple cat, rtk read, and Get-Content calls | Returns the outline again, preserving access across subagents and compaction. |
Codex passes through pipelines, scripts, interpolation, multiple paths, and unfamiliar flags. STK passes through files it cannot analyze. Exact coverage
Hooks work automatically after setup. The same binary also gives you direct access:
stk outline src/main.rs
stk read src/main.rs --offset 1 --limit 40
stk gain
Either --offset or --limit bypasses outlining. --offset 1 returns the whole file. All commands
The same release build was exercised through the actual Claude Code and Codex CLIs on Windows. Each client received an outline for a whole-file read, then recovered the requested lines. The tests used local scripted model endpoints; they establish hook behavior, not net session savings.
Read the verification record / Run the tests / Design specification
stk gain reports an upper bound on bytes avoided. Follow-up reads cost tokens, and direct stk read calls are not included. macOS and Linux runtime behavior has not yet been verified.
STK complements RTK: STK outlines file reads; RTK filters other command output.