← Back to Skills Marketplace
beyound87

Token Pilot

by beyound87 · GitHub ↗ · v3.8.0 · MIT-0
cross-platform ✓ Security Clean
637
Downloads
0
Stars
3
Active Installs
24
Versions
Install in OpenClaw
/install token-pilot
Description
Automatic token optimization during interaction. Behavioral rules + plugin synergy + workspace analyzer. Pure Node.js, cross-platform. Activate on session st...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install token-pilot
  3. After installation, invoke the skill by name or use /token-pilot
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug token-pilot
Version 3.8.0
License MIT-0
All-time Installs 3
Active Installs 3
Total Versions 24
Frequently Asked Questions

What is Token Pilot?

Automatic token optimization during interaction. Behavioral rules + plugin synergy + workspace analyzer. Pure Node.js, cross-platform. Activate on session st... It is an AI Agent Skill for Claude Code / OpenClaw, with 637 downloads so far.

How do I install Token Pilot?

Run "/install token-pilot" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Token Pilot free?

Yes, Token Pilot is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Token Pilot support?

Token Pilot is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Token Pilot?

It is built and maintained by beyound87 (@beyound87); the current version is v3.8.0.

💬 Comments