Skip to content
mcp/skillhub

Agent Skill

Add Rtk skill

add-rtknanocoai/nanoclaw.claude/skills/add-rtk/SKILL.md

Install rtk token-compression proxy into agent containers. Routes Bash tool calls through rtk for 60–90% token savings on dev commands (git, cargo, pytest, docker, kubectl, etc.).

31kMIT

always on

48 tokname + description

once used

1,171 tokSKILL.md body

bundled files

11 KB

repo stars

31kGitHub

Install the Add Rtk skill

Skills CLI (Claude Code, Codex, Cursor and others)

npx skills add https://github.com/nanocoai/nanoclaw --skill add-rtk

Claude Code, by hand (all projects)

git clone --depth 1 https://github.com/nanocoai/nanoclaw.git /tmp/nanoclaw
mkdir -p ~/.claude/skills
cp -R /tmp/nanoclaw/.claude/skills/add-rtk ~/.claude/skills/add-rtk

For one project only, copy the folder into .claude/skills/ in that project instead. The agent picks it up when a task matches its description.

What it costs your context

Agent Skills load in three steps. Tokens counted with the o200k tokenizer; your model's count will differ a little.

WhenWhat loadsCost
Every sessionName and description48 tok
When the agent uses itThe SKILL.md instructions1,171 tok
Only if opened1 bundled files (1 KB)varies

Until it is used, add-rtk costs about 28× less than the median MCP server we measured (1,362 tokens on every turn). Installing all 64 skills from nanocoai/nanoclaw would load 3,369 tokens of descriptions. Skills vs MCP study

Checks

  • Tells the agent to pipe a download into a shell (curl … | sh). That runs whatever the URL serves at that moment, with your permissions.

Checked 2026-10-22 · method

What's inside

The headings of its SKILL.md. Read the full file on GitHub.

  • Add rtk
  • What this sets up
  • Integration tests
  • Step 1 — Install rtk on the host
  • Step 2 — Identify the target agent group
  • Step 3 — Mount rtk into the container config
  • Step 4 — Add the PreToolUse hook to settings.json
  • Step 5 — Restart the container
  • Verify
  • Troubleshooting
  • rtk: command not found inside the container
  • Hook not firing
  • Binary won't execute — permission denied

More skills from nanocoai/nanoclaw

All skills in this repo
  1. add-anydocnanocoai/nanoclaw

    Add local office-document-to-Markdown conversion to NanoClaw agent containers with the pinned Firecrawl AnyDoc CLI. Use when agents need to read attached Word, PowerPoint, Excel, OpenDocument, RTF, EPUB, CSV, or text-based PDF files without uploading them to a hosted parser.

    31k164 tok idle · 1,758 in use
  2. add-atomic-chat-toolnanocoai/nanoclaw

    Add Atomic Chat MCP server so the container agent can call local models served by the Atomic Chat desktop app via its OpenAI-compatible API.

    31k433 tok idle · 2,544 in use
  3. add-clidashnanocoai/nanoclaw

    Add clidash — a zero-dependency, read-only web dashboard that derives its tabs and tables at runtime from any CLI that lists resources as JSON. Ships pre-wired for NanoClaw's ncl CLI (agent groups, sessions, channels, users, roles), plus message-activity charts, a log tail, and a read-only file viewer for group skills/CLAUDE.md/profiles.

    31k2287 tok idle · 1,726 in use
  4. add-codexnanocoai/nanoclaw

    Use Codex (OpenAI's codex app-server) as a full agent provider — planning, tool orchestration, MCP tools, server-side history, session resume — alongside or instead of Claude. ChatGPT subscription or OpenAI API key, vault-only via the selected gateway. Per-group via `ncl groups config update --provider codex`. Distinct from using OpenAI as an MCP tool (where Claude remains the planner).

    31k1992 tok idle · 2,392 in use
  5. add-cursornanocoai/nanoclaw

    Use Cursor (local Agent SDK) as a full agent provider — planning, tool orchestration, MCP tools, session resume — alongside or instead of Claude. Cursor-account sign-in or API key, held by the credential gateway. Per-group via `ncl groups config update --provider cursor`. Distinct from using Cursor as a cloud agent (those run on Cursor VMs and are not this provider).

    31k1984 tok idle · 2,979 in use
  6. add-dashboardnanocoai/nanoclaw

    Add a monitoring dashboard to NanoClaw. Installs @nanoco/nanoclaw-dashboard and a pusher that sends periodic JSON snapshots.

    31k332 tok idle · 1,317 in use
  7. add-deltachatnanocoai/nanoclaw

    Add DeltaChat channel integration via @deltachat/stdio-rpc-server. Native adapter — no Chat SDK bridge. Email-based messaging with end-to-end encryption.

    31k38 tok idle · 2,646 in use
  8. add-dialnanocoai/nanoclaw

    Add Dial channel integration — a real phone number for SMS and AI voice calls via the Dial platform (getdial.ai). Native adapter — no Chat SDK bridge.

    31k curl|sh36 tok idle · 5,544 in use