Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

zero-rules

bởi deeqyaqub1-cmd

Productivity & Tasks
1.4kLượt tải do clawskills.sh công bố
2Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

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

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

User asks: What's 247 × 18?

AGENT
  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

ĐẦU RA

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

Cài đặt

clawhub install deeqyaqub1-cmd/zero-rules

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết