Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

rtk-token-optimization

Latest version: vgit:503f4816c5e916ba86576f86206342ce57012dfd

Overview

Last scanned
18 Nov 2026
Agent skill Publisher: tigerlovefbro
0 Stars
0 Forks
1 Versions
Python Repo language

Scan summary

rtk-token-optimization was last scanned on 18 Nov 2026 at commit 503f4816. Risk score 20 of 100 (low). No malicious behavior was detected.

  • Releases: Single version.
  • Findings: 1 rule fired in commit 503f4816 (1 low). The score describes this commit only.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
503f4816 1 rule fired

Rules fired in 503f4816: 1

Findings

1 Low

Findings for commit 503f4816. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

Instructs fetching and running remote code

The skill's instructions or bundled files tell the agent to download content from a remote location and run it. This pattern can be used to change behavior after a review, but it also appears in legitimate installers. Check the source.

LOW
Checking access…

🔒 Create a free account to see all 1 finding with descriptions and instance counts

The score describes 503f4816; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Purpose

Reduce LLM token consumption in Claude Code sessions by 60-90% without changing developer workflow. All Bash commands are transparently rewritten to their rtk equivalents via a PreToolUse hook.

How It Works

Without rtk:                              With rtk:
Claude --git status--> shell --> git      Claude --git status--> RTK --> git
  ^        ~2,000 tokens (raw)    |        ^    ~200 tokens     |       |
  +-------------------------------+        +---- (filtered) ----+-------+

Four strategies applied per command type:

  1. Smart Filtering - Removes noise (comments, whitespace, boilerplate)
  2. Grouping - Aggregates similar items (files by directory, errors by type)
  3. Truncation - Keeps relevant context, cuts redundancy
  4. Deduplication - Collapses repeated log lines with counts

Supported Commands

Category Commands Typical Savings
Files ls, read, find, grep, diff 70-80%
Git status, diff, log, add, commit, push 75-92%
GitHub CLI pr list, issue list, run list 80%
Test Runners cargo test, npm test, pytest, go test, vitest, playwright 90%
Build & Lint cargo build, tsc, next build, eslint, ruff, clippy 80-85%
Package Managers pnpm list, pip list, bundle install 80%
Containers docker ps/logs, kubectl pods/logs 80%
AWS sts, ec2, lambda, logs, s3, cloudformation 80%
Data json, env, log, curl, wget 70-80%

Token Savings (30-min Session Estimate)

Operation Frequency Standard rtk Savings
ls / tree 10x 2,000 400 -80%
cat / read 20x 40,000 12,000 -70%
grep / rg 8x 16,000 3,200 -80%
git status 10x 3,000 600 -80%
git diff 5x 10,000 2,500 -75%
cargo test / npm test 5x 25,000 2,500 -90%
Total ~118,000 ~23,900 -80%

Usage

After installation, rtk works automatically via the PreToolUse hook. No manual changes needed.

Analytics Commands
rtk gain                # Summary stats
rtk gain --graph        # ASCII graph (last 30 days)
rtk gain --daily        # Day-by-day breakdown
rtk discover            # Find missed savings opportunities
rtk session             # Show RTK adoption across recent sessions
Manual Usage
rtk git status          # Compact git status
rtk read file.rs        # Smart file reading
rtk test cargo test     # Show failures only
rtk lint                # ESLint grouped by rule/file
rtk docker ps           # Compact container list

Prerequisites

  • rtk binary: brew install rtk or curl -fsSL https://raw.githubusercontent.com/rtk-ai/rtk/refs/heads/master/install.sh | sh
  • jq: required by the hook script

Integration

  • Hook: hooks/rtk-rewrite.sh (PreToolUse:Bash, last in chain)
  • Config: ~/.config/rtk/config.toml for customization
  • Tee recovery: failed command full output saved to ~/.local/share/rtk/tee/

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • GitHub tigerlovefbro/codex-plugins/rtk-token-optimization

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Frame 2085668439 (1)
Group 1261154229