← 返回 Skills 市场
beyound87

Token Pilot

作者 beyound87 · GitHub ↗ · v3.8.0 · MIT-0
cross-platform ✓ 安全检测通过
637
总下载
0
收藏
3
当前安装
24
版本数
在 OpenClaw 中安装
/install token-pilot
功能描述
Automatic token optimization during interaction. Behavioral rules + plugin synergy + workspace analyzer. Pure Node.js, cross-platform. Activate on session st...
安全使用建议
This skill appears to do what it says — audit workspaces and inject token-saving rules — but it is intrusive. Before enabling or running init.sh/optimize.js: 1) Review the bundled scripts (init.sh, uninstall.sh, audit.js, optimize.js) yourself to confirm no unexpected commands; they are included with the skill. 2) Back up your workspace AGENTS.md files and openclaw.json so you can restore prior state. 3) Prefer running audit.js first (reads-only) to see recommended changes before agreeing to injection or running optimize with --apply. 4) When running init.sh, do not use --yes unless you understand and accept bulk modifications to every Agent. 5) If you want safer testing, run the init script in a copy of ~/.openclaw or a single agent directory first. If anything in the scripts looks unexpected or you cannot interactively confirm prompts (headless CI), treat --yes/--apply with extra caution.
功能分析
Type: OpenClaw Skill Name: token-pilot Version: 3.8.0 The 'token-pilot' skill bundle is a legitimate utility designed to optimize token usage and reduce API costs within the OpenClaw environment. It utilizes scripts like `init.sh` and `optimize.js` to inject behavioral rules into agent configurations (AGENTS.md) and reorganize workspace files to minimize context bloat. While the skill includes instructions for the AI agent to proactively suggest optimizations and run diagnostic scripts (`audit.js`), it maintains transparency by requiring user confirmation for significant changes and operates strictly within the local `.openclaw` directory without evidence of data exfiltration, obfuscation, or malicious persistence.
能力评估
Purpose & Capability
The name/description (automatic token optimization) align with the provided artifacts: SKILL.md documents optimization rules, and bundled scripts implement auditing, injecting a small rule block into AGENTS.md, cataloging skills, and suggestions for cron/model routing. There are no unrelated required env vars or external binaries; the code present (init.sh, audit.js, optimize.js, uninstall.sh) directly supports the declared purpose.
Instruction Scope
Runtime instructions explicitly tell the agent to enumerate and read AGENTS.md for all agents, run an init script that writes a 36-line rules block into every agent's AGENTS.md (after a preview/confirmation), run audit.js (reads workspace/configs/skills), and optionally run optimize.js which can move/delete files when invoked with --apply. These operations are within the scope of a workspace-level 'token optimizer' but are intrusive: they perform cross-agent writes and may modify openclaw.json/cron when asked. The SKILL.md states the init path asks for user consent (unless --yes), which mitigates but does not eliminate the risk of broad changes.
Install Mechanism
No external install spec or downloads are used. The skill is instruction-only with bundled scripts (pure Node.js and POSIX shell) that run locally. This is low-risk from an install-source perspective because no remote code is fetched at install time.
Credentials
The skill does not request any environment variables, credentials, or external tokens. All file access is scoped to the user's OpenClaw home (~/.openclaw) and the workspace; requested accesses are proportional to the stated functionality (auditing, injecting AGENTS.md, scanning configs).
Persistence & Privilege
The skill is not always: true and does not request special platform privileges, but it writes persistent changes: injecting rule blocks into all AGENTS.md, creating a .initialized flag, and offering automated cron suggestions and --apply optimizations that can move or delete files. Autonomous invocation is allowed by default on the platform; combined with scripts that can be run with a --yes flag or --apply, this grants the skill the ability to make broad workspace changes if the user (or an automated flow) consents.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install token-pilot
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /token-pilot 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v3.8.0
Auto token optimizer:10 behavioral rules, 4 plugin synergies, workspace/cron/agent-model auto-optimizer with--apply, config auditor, SKILLS catalog generator. Auto-discovers all workspaces. Pure Node.js cross-platform. 5-min quick start for fresh installs.
v3.7.0
新增 uninstall.sh 卸载脚本;init.sh 自动创建 .initialized 标记;修复 SKILL.md 规则数量描述(6→7条);修复 cron 示例硬编码 Windows 路径
v3.6.0
新增 uninstall.sh 卸载脚本;init.sh 自动创建 .initialized 标记;修复 SKILL.md 规则数量描述(6→7条);修复 cron 示例硬编码 Windows 路径
v3.5.0
新增 uninstall.sh 卸载脚本;init.sh 自动创建 .initialized 标记;修复 SKILL.md 规则数量描述(6→7条);修复 cron 示例硬编码 Windows 路径
v3.4.0
Auto token optimizer:10 behavioral rules, 4 plugin synergies, workspace/cron/agent-model auto-optimizer with--apply, config auditor, SKILLS catalog generator. Auto-discovers all workspaces. Pure Node.js cross-platform. 5-min quick start for fresh installs.
v3.3.0
Auto token optimizer: 10 behavioral rules, 4 plugin synergies, workspace/cron/agent-model auto-optimizer with --apply, config auditor, SKILLS catalog generator. Auto-discovers all workspaces. Pure Node.js cross-platform. 5-min quick start for fresh installs.
v3.2.0
Auto token optimizer: 10 behavioral rules, 4 plugin synergies, workspace/cron/agent-model auto-optimizer with --apply, config auditor, SKILLS catalog generator. Auto-discovers all workspaces. Pure Node.js cross-platform. 5-min quick start for fresh installs.
v3.1.0
Auto token optimizer: 10 behavioral rules, 4 plugin synergies, workspace/cron/agent-model auto-optimizer with --apply, config auditor, SKILLS catalog generator. Auto-discovers all workspaces. Pure Node.js cross-platform. 5-min quick start for fresh installs.
v3.0.1
新增经实测的配置写法、AGENTS.md精简原则、config修改铁律、workspace文件组织原则、tools.allow白名单指南
v3.0.0
新增经实测的配置写法、AGENTS.md精简原则、config修改铁律、workspace文件组织原则、tools.allow白名单指南
v2.6.0
新增经实测的配置写法、AGENTS.md精简原则、config修改铁律、workspace文件组织原则、tools.allow白名单指南
v2.0.6
Auto token optimizer: 7 behavioral rulesauto-apply on load, 4 plugin synergies with fallback,optimize.js scans workspace/cron/agent-models with --apply auto-fix,config auditor 5-point scoring, SKILLS catalog generator. Auto-discovers all workspaces. Pure Node.js cross-platform zero dependencies.
v2.0.5
Auto token optimizer: 7 behavioral rulesauto-apply on load, 4 plugin synergies with fallback, optimize.js scans workspace/cron/agent-models with --apply auto-fix,config auditor 5-point scoring, SKILLS catalog generator. Auto-discovers all workspaces. Pure Node.js cross-platform zero dependencies.
v2.0.2
Auto token optimizer: 7 behavioral rulesauto-apply on load, 4 plugin synergies with fallback, optimize.js scans workspace/cron/agent-models with --apply auto-fix,config auditor 5-point scoring, SKILLS catalog generator. Auto-discovers all workspaces. Pure Node.js cross-platform zero dependencies.
v2.0.1
Auto token optimizer: 7 behavioral rulesauto-apply on load, 4 plugin synergies with fallback, optimize.js scans workspace/cron/agent-models with --apply auto-fix,config auditor 5-point scoring, SKILLS catalog generator. Auto-discovers all workspaces. Pure Node.js cross-platform zero dependencies.
v2.0.0
Auto token optimizer: 7 behavioral rulesauto-apply on load, 4 plugin synergies with fallback, optimize.js scans workspace/cron/agent-models with --apply auto-fix,config auditor 5-point scoring, SKILLS catalog generator. Auto-discovers all workspaces. Pure Node.js cross-platform zero dependencies.
v1.9.0
Auto token optimizer: 7 behavioral rulesauto-apply on load, 4 plugin synergies with fallback, optimize.js scans workspace/cron/agent-models with --apply auto-fix,config auditor 5-point scoring, SKILLS catalog generator. Auto-discovers all workspaces. Pure Node.js cross-platform zero dependencies.
v1.8.0
Auto token optimizer: 7 behavioral rulesauto-apply on load, 4 plugin synergies with fallback, optimize.js scans workspace/cron/agent-models with --apply auto-fix,config auditor 5-point scoring, SKILLS catalog generator. Auto-discovers all workspaces. Pure Node.js cross-platform zero dependencies.
v1.7.0
Auto token optimizer: 7 behavioral rulesauto-apply on load, 4 plugin synergies with fallback, optimize.js scans workspace/cron/agent-models with --apply auto-fix,config auditor 5-point scoring, SKILLS catalog generator. Auto-discovers all workspaces. Pure Node.js cross-platform zero dependencies.
v1.6.0
Auto token optimizer: 7 behavioral rulesauto-apply on load, 4 plugin synergies with fallback, optimize.js scans workspace/cron/agent-models with --apply auto-fix, config auditor 5-point scoring, SKILLS catalog generator. Auto-discovers all workspaces. Pure Node.js cross-platform zero dependencies.
元数据
Slug token-pilot
版本 3.8.0
许可证 MIT-0
累计安装 3
当前安装数 3
历史版本数 24
常见问题

Token Pilot 是什么?

Automatic token optimization during interaction. Behavioral rules + plugin synergy + workspace analyzer. Pure Node.js, cross-platform. Activate on session st... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 637 次。

如何安装 Token Pilot?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install token-pilot」即可一键安装,无需额外配置。

Token Pilot 是免费的吗?

是的,Token Pilot 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Token Pilot 支持哪些平台?

Token Pilot 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Token Pilot?

由 beyound87(@beyound87)开发并维护,当前版本 v3.8.0。

💬 留言讨论