# Send Oktk to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "oktk",
    "name": "Oktk",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/satnamra/oktk",
    "canonicalUrl": "https://clawhub.ai/satnamra/oktk",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/oktk",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=oktk",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "IMPLEMENTATION.md",
      "README.md",
      "SKILL.md",
      "examples/README.md",
      "examples/git-status-example.js",
      "examples/npm-test-example.js"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "oktk",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-06T08:18:54.934Z",
      "expiresAt": "2026-05-13T08:18:54.934Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=oktk",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=oktk",
        "contentDisposition": "attachment; filename=\"oktk-2.4.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "oktk"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/oktk"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/oktk",
    "downloadUrl": "https://openagent3.xyz/downloads/oktk",
    "agentUrl": "https://openagent3.xyz/skills/oktk/agent",
    "manifestUrl": "https://openagent3.xyz/skills/oktk/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/oktk/agent.md"
  }
}
```
## Documentation

### The Problem

When you run commands through an AI assistant, the full output goes into the LLM context:

$ git status
# Returns 60+ lines, ~800 tokens
# Your AI reads ALL of it, you pay for ALL of it

Every token costs money. Verbose outputs waste your context window.

### The Solution

oktk sits between your commands and the LLM, compressing outputs intelligently:

┌──────────┐     ┌──────────┐     ┌──────────┐
│ Command  │ ──► │   oktk   │ ──► │   LLM    │
│ (800 tk) │     │ compress │     │ (80 tk)  │
└──────────┘     └──────────┘     └──────────┘
                      │
                 90% SAVED

### When Does It Work?

Automatically when you run supported commands through OpenClaw:

CommandWhat oktk doesSavingsgit statusShows only: branch, ahead/behind, file counts90%git logOne line per commit: hash + message + author85%git diffSummary: X files, +Y/-Z lines, file list80%npm testJust: ✅ passed or ❌ failed + count98%ls -laGroups by type, shows sizes, skips details83%curlStatus code + key headers + truncated body97%grepMatch count + first N matches80%docker psContainer list: name, image, status85%docker logsLast N lines + error count90%kubectl get podsPod status summary with counts85%kubectl logsLast N lines + error/warning counts90%Any commandAI learns patterns automatically (optional)~70%

### Before oktk (800 tokens sent to LLM):

On branch main
Your branch is ahead of 'origin/main' by 3 commits.
  (use "git push" to publish your local commits)

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   src/components/Button.jsx
        modified:   src/components/Header.jsx
        modified:   src/utils/format.js
        modified:   src/utils/validate.js
        modified:   package.json
        modified:   package-lock.json

Untracked files:
  (use "git add <file>..." to include in what will be committed)
        src/components/Footer.jsx
        src/components/Sidebar.jsx
        tests/Button.test.js

no changes added to commit (use "git add" and/or "git commit -a")

### After oktk (80 tokens sent to LLM):

📍 main
↑ Ahead 3 commits
✏️  Modified: 6
❓ Untracked: 3

Same information. 90% fewer tokens. Same cost savings.

### How It Works Technically

Intercepts command output after execution
Detects command type (git? npm? ls?)
Applies specialized filter for that command
Extracts only essential information
Caches results (same command = instant, no reprocessing)

### Safety First

oktk never breaks your workflow:

Try specialized filter
    ↓ fails?
Try basic filter  
    ↓ fails?
Return raw output (same as without oktk)

Worst case: You get normal output
Best case: 90% token savings

### Global Command (Recommended)

After installation, oktk is available globally:

# Pipe any command through oktk
git status | oktk git status
docker ps | oktk docker ps
kubectl get pods | oktk kubectl get pods

# See your total savings
oktk --stats

# Bypass filter (get raw)
oktk --raw git status

### Shell Aliases (Auto-Filter)

Source the aliases file for automatic filtering:

# Add to ~/.zshrc or ~/.bashrc
source ~/.openclaw/workspace/skills/oktk/scripts/oktk-aliases.sh

Then use short aliases:

gst        # git status (filtered)
glog       # git log (filtered)
dps        # docker ps (filtered)
kpods      # kubectl get pods (filtered)

# Universal wrapper - filter ANY command
ok git status
ok docker ps -a
ok kubectl describe pod my-pod

### OpenClaw Integration

When using OpenClaw's exec tool, pipe outputs through oktk:

# In your prompts, ask OpenClaw to:
git status | oktk git status
docker logs container | oktk docker logs

# Or use the 'ok' wrapper (if aliases sourced):
ok git diff HEAD~5

Note: OpenClaw doesn't have a built-in exec output transformer yet.
The recommended approach is:

Source the aliases file in your shell
Use ok <command> wrapper for any command
Or manually pipe: <command> | oktk <command>

### Real Savings Example

After 1 week of normal usage:

📊 Token Savings
━━━━━━━━━━━━━━━━
Commands filtered: 1,247
Tokens saved:      456,789 (78%)

💰 At $0.01/1K tokens = $4.57 saved

### Installation

Already included in OpenClaw workspace, or:

clawhub install oktk

Made with ❤️ in Lithuania 🇱🇹
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: satnamra
- Version: 2.4.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-06T08:18:54.934Z
- Expires at: 2026-05-13T08:18:54.934Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/oktk)
- [Send to Agent page](https://openagent3.xyz/skills/oktk/agent)
- [JSON manifest](https://openagent3.xyz/skills/oktk/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/oktk/agent.md)
- [Download page](https://openagent3.xyz/downloads/oktk)