bew/dotfiles/read-man-page
Claude Code and agent skill by bew/dotfiles
- community
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-pageSKILL.md
Man Page Reader
GOAL: Read man pages in targeted chunks via manq (man query) script.
Choose to use --help vs man
| Situation | Action | |
|---|---|---|
| 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 cases | man via this skill | |
| EXAMPLES, FILES, ENVIRONMENT sections | man via this skill | |
--help terse or missing detail | man via this skill |
Searching man pages (no script needed)
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.
(NOTE: examples below use grep)
Subcommands
`toc` — section list with line count, subsection count, condensed synopsis.
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.
`flag` — show description block for specific flags.
Steps
- Orient with
tocif section names unknown; use-Ofor options summary. - Read known sections with
section; multiple per call allowed. - For long sections (>80 lines), read in 50-line increments with
--lines. - Look up specific flags with
flaginstead of reading all of OPTIONS.
Rules
- Never run bare
man <cmd>— outputs full page.
Guidelines
tocsynopsis may be truncated for complex tools (ip,ffmpeg) — usesection SYNOPSISfor full form.-Ooutput heuristic for non-standard man pages; cross-check withsection OPTIONSif incomplete.flagmatching 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
- SKILL.md in the repositoryCheckingopencode/skills/read-man-page/SKILL.md
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
[](https://verified-skill.com/skills/bew/dotfiles/read-man-page)