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

read-optimizer

autogame-17 제작

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

요약

Optimizes file reading operations by providing smarter read strategies (head/tail/grep/diff) to reduce token usage.

설명

이 스킬이 하는 일

Provides smarter file reading strategies using head/tail, grep, and git diff to inspect large files without loading their full contents. Reduces token usage and latency when working with logs, large documents, or recently changed files.

Reading only the relevant portion of a file instead of its full contents cuts token consumption and speeds up inspection when files are too large to load whole.

사용 시점

  • Scanning a large log file for error and exception lines
  • Reviewing only lines changed since the last git commit
  • Extracting config values matching a specific pattern
  • Previewing the start and end of a large data export
  • Narrowing down stack traces in lengthy application output

예시 워크플로

입력

User asks: find all error and exception lines in /var/log/app.log

에이전트
  1. 1

    Identify the target file path from the user request

  2. 2

    Run grep mode with pattern "error|exception"

  3. 3

    Apply 2-line context around each match

  4. 4

    Return the filtered lines to the user

출력

A list of lines containing 'error' or 'exception' with surrounding context

설치

clawhub install autogame-17/read-optimizer

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

링크