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

bat-cat

arnarsson 제작

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

요약

A cat clone with syntax highlighting, line numbers, and Git integration.

설명

이 스킬이 하는 일

bat is a command-line file viewer that replaces cat with syntax highlighting, line numbers, and Git change markers. It auto-detects file types, supports themes, and can display specific line ranges. Works as a drop-in cat replacement or as a terminal pager.

Unlike cat, bat adds syntax highlighting, Git change indicators, and line numbers by default, making files readable in the terminal without opening an editor.

사용 시점

  • Inspecting a config file before editing it
  • Reading log files with colored syntax output
  • Previewing files inside fzf with syntax highlighting
  • Checking Git modifications while viewing a file

예시 워크플로

입력

User asks: show me lines 45-67 of script.py with Git changes visible

에이전트
  1. 1

    Run bat with -r 45:67 to select the line range

  2. 2

    Add --diff flag to show Git modification markers

  3. 3

    bat auto-detects Python syntax from the file extension

  4. 4

    Terminal renders the output with highlighting and change markers

출력

Lines 45-67 of script.py displayed with Python syntax highlighting and Git change indicators marking added and modified lines

설치

clawhub install arnarsson/bat-cat

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

링크