用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/oimiragieo/agent-studio --skill token-saver-adaptive-ratio命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Agent frontmatter enhancements — disallowedTools, mcpServers scoping, fork_eligible field
Context management — pre-compact persistence, threshold alignment, microcompact/circuit breaker detection
Hook enhancements — updatedInput for bash safety prefixes, suppressOutput for verbose blocks, denial-based routing feedback
正在显示 SKILL.md
基于 SOC 职业分类
| name | token-saver-adaptive-ratio |
| description | Helper skill that exposes adaptive token-saver compression ratios for large context corpora. |
| version | 1.0.0 |
| category | helper |
| invoked_by | skill |
| user_invocable | false |
| agents | ["context-compressor"] |
| tags | ["token-saver","compression","helper"] |
| source | builtin |
| trust_score | 100 |
| provenance_sha | 31cd24bf51f50786 |
Computes adaptive skeleton ratio based on corpus token count for context compression.
This skill provides the computeAdaptiveRatio function that determines the optimal compression ratio based on the size of the context corpus:
const { computeAdaptiveRatio } = require('./scripts/main.cjs');
const ratio = computeAdaptiveRatio(50000); // Returns 0.2
Re-exports the computeAdaptiveRatio function from token-saver-context-compression for module resolution and testing purposes.