Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

hexyl

$ hexyl Community Low Risk
sharkdp · Files & Search · MIT OR Apache-2.0 · macos / linux / windows

hexyl renders binary files and stdin streams as an aligned hex and ASCII table, coloring NULL, printable ASCII, whitespace, and non-ASCII bytes. With -n (--length), -s (--skip), and --color never, agents can inspect binary headers cleanly without overflowing context.

FCRS-1.0 Score
82 /100
Good
Medium Confidence
Zero-Friction Install
brew install hexyl
CLI vs MCP Decision CLI Only

Binary header and byte-slice inspection belongs in local hexyl -n <bytes> commands with zero MCP overhead.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
✓ Read-Only Mode
✓ NO_COLOR Clean
— Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 17 / 25

Runs non-interactively with -n byte limits, -s offsets, and --color never, though output is an ASCII box table with no --json mode.

  • Supports --color never, -n/--length, and -s/--skip
  • Unicode box-drawing table output only (no JSON)
Trust & Safety 25 / 25

Strictly read-only binary viewer with zero write or network capabilities.

  • Pure read-only inspection
Setup & Portability 14 / 15

Single static Rust binary available via Homebrew, apt, dnf, Scoop, cargo, and GitHub releases across macOS, Linux, and Windows.

  • Cross-platform binary from sharkdp
Utility & Efficiency 11 / 15

Fast, bounded byte-slice inspection (-n, -s, negative offsets) superior to unbounded hexdump/xxd defaults.

  • Human-friendly offset/ASCII layout with SI/IEC byte suffixes
Maintenance & Lineage 8 / 10

Maintained by sharkdp (author of bat, fd, hyperfine) under MIT/Apache-2.0.

  • Reputable sharkdp Rust ecosystem project
Docs & Verifiability 7 / 10

Clear README and --help output documenting byte units, --border, and --color.

  • Self-contained README and man page

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

None required; reads local files or stdin read-only.

Side Effects
Read-Only
Cost & Quotas

100% free, offline, and open-source (MIT / Apache-2.0).

Copyable Guardrail for CLAUDE.md / AGENTS.md
# hexyl Agent Rules
- ALWAYS pass `-n <bytes>` (e.g., `-n 256`) when inspecting unknown binaries so large files do not flood stdout.
- Pass `--color never` when capturing `hexyl` output for LLM reasoning.

Agent-Ready Command Recipes

Safe Read-Only Queries

Inspect the first 128 bytes of a binary without ANSI colors
hexyl -n 128 --color never ./firmware.bin

Reads only the first 128 bytes via -n and disables ANSI escapes with --color never for clean agent parsing.

Dump a byte slice at a specific offset
hexyl -s 0x100 -n 64 --color never ./archive.dat

Skips to hex offset 0x100 (-s) and prints 64 bytes read-only.

Strengths for Agents

  • + Strictly read-only with bounded -n length and -s offset flags.
  • + --color never produces clean plain-text hex/ASCII dumps across all OSes.

Caveats & Pitfalls

  • ! No --json output; emits Unicode box-drawing borders unless --border=none is specified.
  • ! Dumping large binaries without -n quickly exhausts context windows.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI