ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 4/5

token-pilot

Automatic token optimization during interaction. Behavioral rules + plugin synergy + workspace analyzer. Pure Node.js, cross-platform. Activate on session start (rules auto-apply) or when user asks about token usage/cost/audit.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/beyound87/token-pilot
Or

What This Skill Does

Token Pilot is a comprehensive optimization engine designed for OpenClaw AI agents to dramatically reduce token consumption while maintaining high performance. By implementing a suite of six immutable rules (R1-R6), it enforces smart file reading, surgical tool execution, and response brevity. Beyond basic constraints, it offers deep synergy with existing plugins like memory agents, search engines, and team-builder modules, ensuring that context is recycled rather than re-discovered.

Installation

To integrate Token Pilot into your OpenClaw environment, execute the following command in your terminal: clawhub install openclaw/skills/skills/beyound87/token-pilot Ensure you have Node.js installed, as this is a cross-platform, pure Node.js utility.

Use Cases

  • Large Codebase Navigation: Ideal for developers who need to explore deep repositories without flooding the context window with extraneous code.
  • Cost-Sensitive Operations: Essential for users operating under strict token limits or high-latency LLM usage where unnecessary verbose output increases cost and wait times.
  • Agent Orchestration: Perfect for multi-agent workflows where agents need to share context efficiently via local disk files rather than redundant prompt embeddings.

Example Prompts

  1. "Token Pilot, run an audit on my current session configuration and tell me if I'm wasting tokens on file reads."
  2. "I need to refactor the authentication module. Use Token Pilot rules to explore the dependencies and report back briefly."
  3. "Execute a memory check to see if we've already solved the CSS layout issue before you start searching the project files."

Tips & Limitations

  • Context Management: Always prioritize the use of .openclaw/context.md files for large projects to minimize the prompt size. Keep your SOUL.md files under 600 tokens for optimal agent performance.
  • Read Limits: Respect the R1 limit of 30 lines for initial reads. If you are a developer, use the surgical offset/limit features to narrow down debugging efforts.
  • Exceptions: Remember that while brevity is the goal, you should read project standards files fully when setting up context to prevent downstream errors that cost more tokens than the initial read.
  • Automation: The rules are triggered automatically on session start. There is no need for configuration scripts unless you are performing a manual system audit.

Metadata

Author@beyound87
Stars4473
Views0
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-beyound87-token-pilot": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#token-optimization#cost-saving#developer-productivity#node-js#workflow-automation
Safety Score: 4/5

Flags: file-read, file-write, code-execution

Related Skills

myopenclaw-backup-restore

Cross-platform backup and restore for OpenClaw. Works on Windows, macOS, and Linux — backups created on any OS can be restored on any other OS. Use when user wants to create a snapshot, restore from backup, migrate to a new machine, or protect against data loss. Supports dry-run preview, automatic pre-restore snapshots, gateway token preservation, credential permission hardening, and a built-in HTTP server for browser-based management. Only requires Node.js (no bash/rsync/python needed).

beyound87 4473

smart-agent-memory

跨平台 Agent 长期记忆系统。分层上下文供给 + 温度模型 + Skill经验记忆 + 结构化存储 + 自动归档。三层存储:Markdown(人可读,QMD 可搜索)+ JSON(结构化)+ SQLite/FTS5(高性能全文搜索)。纯 Node.js 原生模块,零外部依赖。

beyound87 4473

security-hardening-safey

Agent 安全加固技能。用于:(1) 安装后经用户确认,将安全红线注入所有 Agent 的底层记忆(AGENTS.md),精简版注入~112行,不造成token膨胀;(2) 当用户问到安全规则、提示词注入防御、危险命令管控、外部代码审查、多模态注入等话题时加载此技能;(3) 进行安全审计或排查疑似注入事件时使用。触发词:安全加固、提示词注入、prompt injection、rm -rf、eval exec、外部内容攻击、Agent被黑、安全规则、安全红线、代码审查、脚本审查、skill vetter、安装技能、初始化。

beyound87 4473

coding-lead

Coding execution skill for any implementation-focused agent. Current production path is claude-only with simple tasks direct, medium tasks preferring ACP run or direct acpx, and complex tasks handled via existing agent continuity plus context files instead of ACP session persistence. Integrates with qmd and smart-agent-memory when available.

beyound87 4473

team-builder

在 OpenClaw 上一键部署多 Agent SaaS 团队工作区。内置双开发轨(devops 交付 + fullstack-dev 实现)、实时 spawn 调度、cron 巡检、Deep Dive 产品知识目录、onboarding 引导。支持自定义角色、模型、时区,可选 Telegram 接入。

beyound87 4473