bew/dotfiles/read-man-page

Claude Code and agent skill by bew/dotfiles

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Token-efficient man page reading. Load when looking up CLI tool docs, flags, options, usage examples, config formats. Do NOT run any `man` command (direct/wrapped/piped) without loading this skill first.

Install

npx vskill@latest install bew/dotfiles/read-man-page

SKILL.md

Man Page Reader

GOAL: Read man pages in targeted chunks via manq (man query) script.

Choose to use --help vs man

SituationAction
Quick flag syntax, well-known tool<cmd> --help
Tool has no man page<cmd> --help
Man page not found by manq<cmd> --help; or man -k <cmd> to find correct name
Full option semantics, exit codes, edge casesman via this skill
EXAMPLES, FILES, ENVIRONMENT sectionsman via this skill
--help terse or missing detailman via this skill

Searching man pages (no script needed)

sh
man -k <keyword> # search by name/description (apropos)
man -K <string> # full-text search across all man pages

Man page sections

manq accepts <name> or <name>:N where N is a standard man category number:

1 — User commands 2 — System calls 3 — Library functions 4 — Device files 5 — File formats & config 6 — Games 7 — Misc (protocols, conventions) 8 — Admin commands

Omit :N to use first match. Use <name>:N to disambiguate (e.g. printf:1 vs printf:3, githooks:5).

Script usage

Resolve ./scripts/manq to absolute path before invoking.

sh
<skill-dir>/scripts/manq <subcommand> <name[:N]> [options]

(NOTE: examples below use grep)

Subcommands

`toc` — section list with line count, subsection count, condensed synopsis.

sh
./scripts/manq toc grep
./scripts/manq toc grep -S OPTIONS # TOC scoped to one section
./scripts/manq toc tree -L 2 # limit depth level (default: all)
./scripts/manq toc rg -O # include condensed options list

Common section names usable directly with section without running toc first: SYNOPSIS, DESCRIPTION, OPTIONS, FLAGS, EXAMPLES, FILES, ENVIRONMENT, EXIT STATUS, SEE ALSO

`section` — extract one or more sections. Use --lines to read incrementally. --lines ranges are rendered-output line numbers (as printed), not source offsets.

sh
./scripts/manq section grep EXAMPLES
./scripts/manq section grep OPTIONS EXAMPLES # multiple in one call
./scripts/manq section grep OPTIONS --lines 1-50
./scripts/manq section grep OPTIONS --lines 51-100

`flag` — show description block for specific flags.

sh
./scripts/manq flag grep -v
./scripts/manq flag grep -v --include # multiple flags in one call

Steps

  1. Orient with toc if section names unknown; use -O for options summary.
  2. Read known sections with section; multiple per call allowed.
  3. For long sections (>80 lines), read in 50-line increments with --lines.
  4. Look up specific flags with flag instead of reading all of OPTIONS.

Rules

  • Never run bare man <cmd> — outputs full page.

Guidelines

  • toc synopsis may be truncated for complex tools (ip, ffmpeg) — use section SYNOPSIS for full form.
  • -O output heuristic for non-standard man pages; cross-check with section OPTIONS if incomplete.
  • flag matching exact (short + long form tried automatically); fuzzy matching not supported.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
57
Repository forks
4
7-day trend score
20

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 Oct 2026, 21 days ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/bew/dotfiles/read-man-page/badge)](https://verified-skill.com/skills/bew/dotfiles/read-man-page)

Something wrong with this skill or its page? Tell us.