LogoClawIndex
CasesSkillsAbout
LogoClawIndex

bat - View files with syntax highlighting and Git integration

Views file contents with syntax highlighting, Git diff integration, line ranges, and configurable output styles.

Tags

Updated: 2026-09-09

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • View files with syntax highlighting
  • Display specified line ranges
  • Highlight Git diff changes
  • Force explicit syntax language
  • List supported themes and languages
  • Configure pager and output styles

Inputs

  • File paths
  • Standard input streams
  • Language names
  • Line ranges
  • Color theme names

Outputs

  • Syntax-highlighted file contents
  • Line-numbered text output
  • Git diff line highlights
  • List of available themes
  • List of supported languages

Requirements

  • bat executable
  • Git repository for diff features

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
file-viewer
cli-tool
syntax-highlighting
git-integration
bat
View files with syntax highlighting
Display specified line ranges
Highlight Git diff changes
Force explicit syntax language
File paths
Standard input streams
Language names
Syntax-highlighted file contents
Line-numbered text output
Git diff line highlights