manpage-sync

manpage-sync is a skill for Claude Code, Codex from zakelfassi/skills-driven-development. It costs 60 tokens per session (887 once invoked), scanned A, original, MIT.

A procedure for regenerating shipctl manual pages and shell-completion files from the program's command tree. Shell completions suggest valid commands and options while users type in Bash, Zsh, or Fish.

In plain words
What is it for?
Use it after adding or changing commands, subcommands, or flags, or when asked to update man pages or completions.
Why use it?
It keeps reference files and command suggestions aligned with the current commands and flags. This avoids stale help material after interface changes.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/zakelfassi/skills-driven-development/manpage-sync
Any agent
npx skills add zakelfassi/skills-driven-development --skill manpage-sync
Clone the repo
git clone --depth 1 https://github.com/zakelfassi/skills-driven-development

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for manpage-sync

README.md
[![agentmods](https://agentmods.dev/badge/skills/zakelfassi/skills-driven-development/manpage-sync.svg)](https://agentmods.dev/skills/zakelfassi/skills-driven-development/manpage-sync)
Your own site
<a href="https://agentmods.dev/skills/zakelfassi/skills-driven-development/manpage-sync"><img src="https://agentmods.dev/badge/skills/zakelfassi/skills-driven-development/manpage-sync.svg" alt="Measured on agentmods" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 887 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00060 $0.00887
Opus 5 $0.00030 $0.00443
Sonnet 5 $0.00012 $0.00177
Haiku 4.5 $0.00006 $0.00089

Measured 3d ago against content hash f3de2f02715b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

manpage-sync scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

examples/cli-tool/skills/manpage-sync/SKILL.md · 79 lines

How it starts

The opening of the file, as written. The whole thing — 79 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Manpage Sync

Regenerate man pages and shell completion scripts to match the current command tree.

Inputs

  • Scope: all (default), man, or completions
  • Output directory for man pages (defaults to docs/man/)
  • Output directory for completions (defaults to completions/)

Steps

  1. Build the latest binary

    cargo build --release
    # or: go build -o dist/shipctl ./cmd/shipctl
    

    Man page generation requires the actual binary to self-report its command tree.

  2. Generate man pages

    # Using help2man:
    help2man --no-discard-stderr ./target/release/shipctl \
      -o docs/man/shipctl.1 \
      --name "cross-platform deployment CLI"
    
    # For each subcommand:
    help2man --no-discard-stderr "./target/release/shipctl {subcommand}" \
      -o "docs/man/shipctl-{subcommand}.1" \
      --name "shipctl {subcommand}"
    
    # Alternatively, if the binary has built-in man generation:
    ./target/release/shipctl man --output-dir docs/man/
    
  3. Generate shell completions

    ./target/release/shipctl completions bash > completions/shipctl.bash
    ./target/release/shipctl completions zsh  > completions/_shipctl
    ./target/release/shipctl completions fish > completions/shipctl.fish
    ./target/release/shipctl completions powershell > completions/shipctl.ps1
    
  4. Verify the output

    • Run man -l docs/man/shipctl.1 and skim for obvious formatting errors
    • Spot-check that new flags appear in completions: grep "{new-flag}" completions/shipctl.bash
    • Confirm no old flags that were removed still appear
  5. Commit the generated files

    git add docs/man/ completions/
    git commit -m "docs(manpages): regenerate for $(./target/release/shipctl --version)"
    
  6. Update install instructions if a new section or man page was added Edit docs/install.md → the "Shell completions" and "Man pages" sections.

Conventions

  • Man pages are committed to docs/man/; they are generated, never hand-edited
  • Completion scripts are committed to completions/; same rule
  • This skill is run in CI after any command-tree change (see .github/workflows/docs.yml)
  • Section numbers: shipctl(1), shipctl-release(1), shipctl-build(1), etc.

Read the full file on GitHub · 79 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 79 lines · 60 tokens per session scan A f3de2f02715b

Subscribe to this mod's changes

manpage-sync is a skill published in the GitHub repository zakelfassi/skills-driven-development (18 stars, last pushed 1mo ago), licensed MIT. It adds 60 tokens to every session and 887 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

claude-md-improver

Audit and improve CLAUDE.md files in repositories. Use when user asks to check, audit, update, improve, or fix CLAUDE.md files. Scans for all CLAUDE.md files, evaluates quality against templates, outputs quality report, then makes targeted updates. Also use when the user mentions "CLAUDE.md maintenance" or "project…

anthropics/claude-plugins-official · 82 tokens

agent-platform-rag-engine-management

Manage and query Agent Platform RAG Engine Corpora and retrieve grounded contexts using the Google GenAI SDK. Use when listing RAG corpora or files, inspecting a corpus, retrieving contexts, or generating content grounded in a RAG corpus. Do not use for standard database queries (use SQL/Spanner skills), Google…

google/skills · 85 tokens

agent-platform-model-registry

Agent Platform Model Registry Management. Use when you need to upload, list, describe, update, or delete machine learning models (and their versions) in the Agent Platform Model Registry. Don't use for model training, model deployment to endpoints, or managing non-Agent Platform models.

google/skills · 60 tokens

twitter-reader

Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…

himself65/finance-skills · 161 tokens

chenhao-limit-up

Use when evaluating A-share limit-up (涨停板) setups through Chen Hao's sentiment and momentum lens: market emotion cycles, board strength, follow-through, and short-term aggressive momentum trading.

questflowai/investorskills · 44 tokens

comet-github

将 Comet GitHub 维护请求路由到基于证据的 PR 审阅、Issue 分诊、本地想法收集、CI 诊断或 Issue 实施流程。用户提到 Comet GitHub Issue/PR 但未指定流程,或询问下一步如何处理时使用。.

rpamis/comet · 72 tokens