본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

oktk

satnamra 제작

DevOps & Cloud
800clawskills.sh가 보고한 다운로드 수
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

LLM Token Optimizer - Reduce AI API costs by 60-90%.

설명

이 스킬이 하는 일

oktk sits between CLI command execution and the LLM context window, compressing verbose outputs from tools like git, docker, and kubectl into compact summaries. It intercepts command output, applies command-specific filters, and returns only the information the model needs. An AI learning mode handles commands that lack built-in filter rules.

Manually truncating CLI output before sending it to an LLM requires extra effort; oktk applies command-specific compression rules automatically, with a fallback to raw output if a filter fails.

사용 시점

  • Cutting API costs when repeatedly checking git status during a coding session
  • Reviewing Docker container logs with an AI without flooding its context window
  • Getting kubectl pod status summaries during cluster troubleshooting
  • Running npm tests through an AI assistant without sending the full output
  • Filtering curl responses to status codes and key headers during API debugging

예시 워크플로

입력

User asks: What's the current state of my git repo?

에이전트
  1. 1

    Runs git status in the project directory

  2. 2

    Pipes output through the oktk git status filter

  3. 3

    oktk extracts branch name, ahead/behind count, and file change counts

  4. 4

    Returns an 80-token compressed summary instead of the 800-token raw output

출력

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

설치

clawhub install satnamra/oktk

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크