🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Head Tool

by @dinghaibin

Display the first lines of files. Use for quickly previewing file contents, checking headers, or sampling data.

Versionv1.0.0
πŸ’‘ Examples

# Show first 10 lines
head-tool data.csv

Show first 20 lines

head-tool -n 20 log.txt

Show first 100 bytes

head-tool -c 100 config.yaml

βš™οΈ Configuration

  • -n N: Show first N lines (default: 10)
  • -c N: Show first N bytes instead of lines
  • -q: Quiet mode (suppress filename headers)
  • Read from stdin when no file specified
  • View on ClawHub
    TERMINAL
    clawhub install head-tool

    πŸ§ͺ Use this skill with your agent

    Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

    πŸ” Can't find the right skill?

    Search 60,000+ AI agent skills β€” free, no login needed.

    Search Skills β†’