Displays source code files in the terminal with syntax highlighting and line numbering.

Install

mkdir -p .claude/skills/bat-moabualruz && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/11048" && unzip -o skill.zip -d .claude/skills/bat-moabualruz && rm skill.zip

Installs to .claude/skills/bat-moabualruz

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Use when viewing or printing source/config files to the terminal with syntax highlighting and line numbers - a cat replacement that colorizes code, configs, and diffs. Use bat instead of cat when humans need highlighted file display.
233 chars✓ has a “when” trigger
Beginner

Key capabilities

  • View source files with syntax highlighting
  • Print configuration files with line numbers
  • Display diffs with colorization
  • Replace the `cat` command for human-readable output

How it works

This skill acts as a replacement for the `cat` command, outputting file contents to the terminal with syntax highlighting and line numbers for improved readability.

Inputs & outputs

You give it
source or config file path
You get back
file content with syntax highlighting and line numbers in the terminal

When to use bat

  • Viewing source code in terminal
  • Displaying configuration files
  • Printing diffs with syntax highlighting

About this skill

bat

When to use

See references/when-to-use.md. Load only when this section is needed.

Invocation

See references/invocation.md. Load only when this section is needed.

Patterns

See references/patterns.md. Load only when this section is needed.

Anti-patterns

See references/anti-patterns.md. Load only when this section is needed.

Cross-refs

See references/cross-refs.md. Load only when this section is needed.

When not to use it

  • When machine-readable output is required without highlighting
  • When the `cat` command's default behavior is sufficient
  • When the user does not need highlighted file display

Limitations

  • Use bat instead of cat when humans need highlighted file display

How it compares

This skill enhances file content display with syntax highlighting and line numbers, providing a more human-friendly output than the basic `cat` command.

Compared to similar skills

bat side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
bat (this skill)03moNo flagsBeginner
godot1,0445moReviewIntermediate
software-architecture3336moNo flagsIntermediate
drizzle2382moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

godot

bfollington

This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.

1,0441,947

software-architecture

davila7

Guide for quality focused software architecture. This skill should be used when users want to write code, design architecture, analyze code, in any case that relates to software development.

333868

drizzle

lobehub

Drizzle ORM schema and database guide. Use when working with database schemas (src/database/schemas/*), defining tables, creating migrations, or database model code. Triggers on Drizzle schema definition, database migrations, or ORM usage questions.

238873

screenshot-to-code

OneWave-AI

Convert UI screenshots into working HTML/CSS/React/Vue code. Detects design patterns, components, and generates responsive layouts. Use this when users provide screenshots of websites, apps, or UI designs and want code implementation.

204389

zustand

lobehub

Zustand state management guide. Use when working with store code (src/store/**), implementing actions, managing state, or creating slices. Triggers on Zustand store development, state management questions, or action implementation.

113434

codex

Lucklyric

Invoke Codex CLI for complex coding tasks requiring high reasoning capabilities. This skill should be invoked when users explicitly mention "Codex", request complex implementation challenges, advanced reasoning, or need high-reasoning model assistance. Automatically triggers on codex-related requests and supports session continuation for iterative development.

32238

Search skills

Search the agent skills registry