[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6JVC6Q9RSNTJ4NP82HWHEFT":3,"skill-same:01M6JVC6Q9RSNTJ4NP82HWHEFT":77},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":52,"ownerHtmlUrl":53,"ownerBlogUrl":54,"ownerDescription":55,"updatedAt":56,"install":57,"resources":70},"01M6JVC6Q9RSNTJ4NP82HWHEFT","rtk-token-optimization",null,"High-performance CLI proxy that reduces LLM token consumption by 60-90%. Transparently rewrites 100+ common dev commands (git, gh, cargo, npm, docker, kubectl, aws, etc.) via PreToolUse hook. Single Rust binary, zero dependencies.","hashgraph-online\u002Fawesome-codex-plugins","hashgraph-online","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160371962?v=4","01M6CNB6NRJVNNGN14TR01Q6D3","HOL (Hashgraph Online)","01M6JT1HSKKG9V68KQAQGBA7XP",1575,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FColin4k1024\u002Ftsp\u002Fskills\u002Frtk-token-optimization\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"token optimization","rtk token optimization","token","rtk","Optimization","proxy","ZeRO","git","kubectl","common","cli","rust","community","dev commands","commands","performance","cargo","high-performance","hook","docker","2026-11-10 10:12:30",false,"---\nname: rtk-token-optimization\ndescription: >\n  High-performance CLI proxy that reduces LLM token consumption by 60-90%.\n  Transparently rewrites 100+ common dev commands (git, gh, cargo, npm, docker, kubectl, aws, etc.)\n  via PreToolUse hook. Single Rust binary, zero dependencies.\nsource: https:\u002F\u002Fgithub.com\u002Frtk-ai\u002Frtk\nlicense: Apache-2.0\ntrust_tier: B-proven-community\n---\n\n## Purpose\n\nReduce LLM token consumption in Claude Code sessions by 60-90% without changing developer workflow.\nAll Bash commands are transparently rewritten to their `rtk` equivalents via a PreToolUse hook.\n\n## How It Works\n\n```\nWithout rtk:                              With rtk:\nClaude --git status--> shell --> git      Claude --git status--> RTK --> git\n  ^        ~2,000 tokens (raw)    |        ^    ~200 tokens     |       |\n  +-------------------------------+        +---- (filtered) ----+-------+\n```\n\nFour strategies applied per command type:\n\n1. **Smart Filtering** - Removes noise (comments, whitespace, boilerplate)\n2. **Grouping** - Aggregates similar items (files by directory, errors by type)\n3. **Truncation** - Keeps relevant context, cuts redundancy\n4. **Deduplication** - Collapses repeated log lines with counts\n\n## Supported Commands\n\n| Category | Commands | Typical Savings |\n|----------|----------|----------------|\n| Files | ls, read, find, grep, diff | 70-80% |\n| Git | status, diff, log, add, commit, push | 75-92% |\n| GitHub CLI | pr list, issue list, run list | 80% |\n| Test Runners | cargo test, npm test, pytest, go test, vitest, playwright | 90% |\n| Build & Lint | cargo build, tsc, next build, eslint, ruff, clippy | 80-85% |\n| Package Managers | pnpm list, pip list, bundle install | 80% |\n| Containers | docker ps\u002Flogs, kubectl pods\u002Flogs | 80% |\n| AWS | sts, ec2, lambda, logs, s3, cloudformation | 80% |\n| Data | json, env, log, curl, wget | 70-80% |\n\n## Token Savings (30-min Session Estimate)\n\n| Operation | Frequency | Standard | rtk | Savings |\n|-----------|-----------|----------|-----|---------|\n| ls \u002F tree | 10x | 2,000 | 400 | -80% |\n| cat \u002F read | 20x | 40,000 | 12,000 | -70% |\n| grep \u002F rg | 8x | 16,000 | 3,200 | -80% |\n| git status | 10x | 3,000 | 600 | -80% |\n| git diff | 5x | 10,000 | 2,500 | -75% |\n| cargo test \u002F npm test | 5x | 25,000 | 2,500 | -90% |\n| **Total** | | **~118,000** | **~23,900** | **-80%** |\n\n## Usage\n\nAfter installation, rtk works automatically via the PreToolUse hook. No manual changes needed.\n\n### Analytics Commands\n\n```bash\nrtk gain                # Summary stats\nrtk gain --graph        # ASCII graph (last 30 days)\nrtk gain --daily        # Day-by-day breakdown\nrtk discover            # Find missed savings opportunities\nrtk session             # Show RTK adoption across recent sessions\n```\n\n### Manual Usage\n\n```bash\nrtk git status          # Compact git status\nrtk read file.rs        # Smart file reading\nrtk test cargo test     # Show failures only\nrtk lint                # ESLint grouped by rule\u002Ffile\nrtk docker ps           # Compact container list\n```\n\n## Prerequisites\n\n- `rtk` binary: `brew install rtk` or `curl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002Frtk-ai\u002Frtk\u002Frefs\u002Fheads\u002Fmaster\u002Finstall.sh | sh`\n- `jq`: required by the hook script\n\n## Integration\n\n- Hook: `hooks\u002Frtk-rewrite.sh` (PreToolUse:Bash, last in chain)\n- Config: `~\u002F.config\u002Frtk\u002Fconfig.toml` for customization\n- Tee recovery: failed command full output saved to `~\u002F.local\u002Fshare\u002Frtk\u002Ftee\u002F`\n\n## References\n\n- [rtk GitHub](https:\u002F\u002Fgithub.com\u002Frtk-ai\u002Frtk)\n- [rtk Website](https:\u002F\u002Fwww.rtk-ai.app)\n- [Troubleshooting](https:\u002F\u002Fgithub.com\u002Frtk-ai\u002Frtk\u002Fblob\u002Fmaster\u002Fdocs\u002FTROUBLESHOOTING.md)\n","## Purpose\n\nReduce LLM token consumption in Claude Code sessions by 60-90% without changing developer workflow.\nAll Bash commands are transparently rewritten to their `rtk` equivalents via a PreToolUse hook.\n\n## How It Works\n\n```\nWithout rtk:                              With rtk:\nClaude --git status--> shell --> git      Claude --git status--> RTK --> git\n  ^        ~2,000 tokens (raw)    |        ^    ~200 tokens     |       |\n  +-------------------------------+        +---- (filtered) ----+-------+\n```\n\nFour strategies applied per command type:\n\n1. **Smart Filtering** - Removes noise (comments, whitespace, boilerplate)\n2. **Grouping** - Aggregates similar items (files by directory, errors by type)\n3. **Truncation** - Keeps relevant context, cuts redundancy\n4. **Deduplication** - Collapses repeated log lines with counts\n\n## Supported Commands\n\n| Category | Commands | Typical Savings |\n|----------|----------|----------------|\n| Files | ls, read, find, grep, diff | 70-80% |\n| Git | status, diff, log, add, commit, push | 75-92% |\n| GitHub CLI | pr list, issue list, run list | 80% |\n| Test Runners | cargo test, npm test, pytest, go test, vitest, playwright | 90% |\n| Build & Lint | cargo build, tsc, next build, eslint, ruff, clippy | 80-85% |\n| Package Managers | pnpm list, pip list, bundle install | 80% |\n| Containers | docker ps\u002Flogs, kubectl pods\u002Flogs | 80% |\n| AWS | sts, ec2, lambda, logs, s3, cloudformation | 80% |\n| Data | json, env, log, curl, wget | 70-80% |\n\n## Token Savings (30-min Session Estimate)\n\n| Operation | Frequency | Standard | rtk | Savings |\n|-----------|-----------|----------|-----|---------|\n| ls \u002F tree | 10x | 2,000 | 400 | -80% |\n| cat \u002F read | 20x | 40,000 | 12,000 | -70% |\n| grep \u002F rg | 8x | 16,000 | 3,200 | -80% |\n| git status | 10x | 3,000 | 600 | -80% |\n| git diff | 5x | 10,000 | 2,500 | -75% |\n| cargo test \u002F npm test | 5x | 25,000 | 2,500 | -90% |\n| **Total** | | **~118,000** | **~23,900** | **-80%** |\n\n## Usage\n\nAfter installation, rtk works automatically via the PreToolUse hook. No manual changes needed.\n\n### Analytics Commands\n\n```bash\nrtk gain                # Summary stats\nrtk gain --graph        # ASCII graph (last 30 days)\nrtk gain --daily        # Day-by-day breakdown\nrtk discover            # Find missed savings opportunities\nrtk session             # Show RTK adoption across recent sessions\n```\n\n### Manual Usage\n\n```bash\nrtk git status          # Compact git status\nrtk read file.rs        # Smart file reading\nrtk test cargo test     # Show failures only\nrtk lint                # ESLint grouped by rule\u002Ffile\nrtk docker ps           # Compact container list\n```\n\n## Prerequisites\n\n- `rtk` binary: `brew install rtk` or `curl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002Frtk-ai\u002Frtk\u002Frefs\u002Fheads\u002Fmaster\u002Finstall.sh | sh`\n- `jq`: required by the hook script\n\n## Integration\n\n- Hook: `hooks\u002Frtk-rewrite.sh` (PreToolUse:Bash, last in chain)\n- Config: `~\u002F.config\u002Frtk\u002Fconfig.toml` for customization\n- Tee recovery: failed command full output saved to `~\u002F.local\u002Fshare\u002Frtk\u002Ftee\u002F`\n\n## References\n\n- [rtk GitHub](https:\u002F\u002Fgithub.com\u002Frtk-ai\u002Frtk)\n- [rtk Website](https:\u002F\u002Fwww.rtk-ai.app)\n- [Troubleshooting](https:\u002F\u002Fgithub.com\u002Frtk-ai\u002Frtk\u002Fblob\u002Fmaster\u002Fdocs\u002FTROUBLESHOOTING.md)\n",{"name":5,"source":44,"license":15,"trust_tier":45,"description":46},"https:\u002F\u002Fgithub.com\u002Frtk-ai\u002Frtk","B-proven-community","High-performance CLI proxy that reduces LLM token consumption by 60-90%. Transparently rewrites 100+ common dev commands (git, gh, cargo, npm, docker, kubectl, aws, etc.) via PreToolUse hook. Single Rust binary, zero dependencies.\n","main","b0f0a87593c578a7898eccaf1b363f7f87c1f99b","plugins\u002FColin4k1024\u002Ftsp\u002Fskills\u002Frtk-token-optimization",491,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins","https:\u002F\u002Fhol.org\u002Fplugins\u002Fbest-codex-plugins","https:\u002F\u002Fgithub.com\u002Fhashgraph-online","https:\u002F\u002Fhol.org","Open-source standards and developer tools for interoperable AI agents: discovery, identity, communication, payments, privacy and security.","2026-11-14 14:06:13",{"source":8,"skillName":5,"commands":58,"prompt":68,"zipAvailable":69},[59,62,65],{"tool":60,"command":61},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill rtk-token-optimization",{"tool":63,"command":64},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill rtk-token-optimization",{"tool":66,"command":67},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill rtk-token-optimization","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FColin4k1024\u002Ftsp\u002Fskills\u002Frtk-token-optimization\u002FSKILL.md",true,[71],{"path":72,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":75,"sourceHtmlUrl":76},"agents\u002Fopenai.yaml","REFERENCE","参考文档",303,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FColin4k1024\u002Ftsp\u002Fskills\u002Frtk-token-optimization\u002Fagents\u002Fopenai.yaml",[78,88,96,104,112,120],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":82,"licenseFileUrl":83,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":87},"01M7DV332YQMGD8WTRJ9DZQXTB","worktable-review-with-annotations","Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.","MIT","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":82,"licenseFileUrl":92,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":87},"01M7DV2YGHCZVBEB1AHYB6CGHE","worktable-find-and-synthesize-context","Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":82,"licenseFileUrl":100,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":87},"01M7DV2TQN1H11ME2SAF9MXN7V","worktable-create-or-update-docs","Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":82,"licenseFileUrl":108,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":87},"01M7DV2NE452NEA8TXATKSNAJH","worktable-create-or-manage-records","Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FSKILL.md",[],[],{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":82,"licenseFileUrl":116,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":87},"01M7DV2HENRBR2KSCVM064WH0Y","worktable-create-or-manage-interactive-html","Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FSKILL.md",[],[],{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":82,"licenseFileUrl":124,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":87},"01M7DV2CADR5R7RQFFYPNAGR9Y","worktable-collaborate-threads","Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FSKILL.md",[],[]]