跳到正文
TakoAPI
返回技能列表

zero-rules

由 deeqyaqub1-cmd 提供

Productivity & Tasks
1.4k下载量由 clawskills.sh 提供
2星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Intercept deterministic tasks (math, time, currency, files, scheduling) BEFORE they hit the LLM.

描述

该技能的功能

ZeroRules intercepts queries that match deterministic patterns, math, time zones, currency conversion, file listing, and date calculations, and resolves them locally before any LLM call. It returns the result immediately with an estimate of tokens saved. Queries that don't match any rule pass through unchanged.

Unlike model routing, which sends simple queries to a cheaper model, ZeroRules skips the model entirely and resolves answers locally at zero token cost.

何时使用

  • Calculating percentages or unit conversions mid-conversation
  • Checking current time in a different city or timezone
  • Converting currency amounts while reviewing invoices or expenses
  • Listing files in a project directory without leaving the chat
  • Finding what day of the week a future date falls on

示例工作流

输入

User asks: What's 247 × 18?

智能体
  1. 1

    Check if the query matches a ZeroRules pattern

  2. 2

    Run rules.js with the user message as the argument

  3. 3

    Receive matched:true with rule 'math' and result '4,446'

  4. 4

    Return the result to the user with the savings badge

输出

4,446 🔥 ZeroRules | math | ~850 tokens saved

安装

clawhub install deeqyaqub1-cmd/zero-rules

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接