Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+22 more

    CLI Help Docs

    1

    Automated CLI documentation generator that harvests help trees and verifies examples against the actual binary.

    $5.99

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    CLI Help Docs

    CLI Help Docs

    Example session with this skill installed

    The README for our 'deploy-tool' is totally out of date after the v2.0 release. Audit the current help text and update the usage section with verified examples.

    • Read your context and instructions
    • Compiled the cli help docs

    I have harvested the help tree for deploy-tool v2.0.1. I found 4 new subcommands (provision, rollback, logs, status) and 3 renamed flags that were not present in your current README.

    CLI Reference Audit

    CommandStatusIssues Found
    deploy-tool provisionMissingSubcommand not found in README
    deploy-tool logsOutdatedFlag --tail in README is now --lines in binary
    deploy-tool rollbackMissingSubcommand not found in README
    deploy-tool initBrokenExample flag --env-file now requires a path

    Updated Usage Section

    <!-- cli-reference: generated from deploy-tool v2.0.1 on 2024-05-20 -->

    deploy-tool provision

    Initialize infrastructure for a specific environment.

    Synopsis
    deploy-tool provision <env> [options]

    Flags

    • -r, --region <string>: Target cloud region. (Default: "us-east-1")
    • -c, --count <int>: Number of instances to spin up. (Default: 3)
    • --dry-run: Validate config without applying changes.

    Examples

    deploy-tool provision staging --region us-west-2 --dry-run # safe
    deploy-tool provision production --count 10 # side effects
    
    <!-- /cli-reference -->

    Next steps

    1. Review the generated provision block for accuracy against your intended workflow.
    2. Run scripts/check-doc.sh to confirm the production example matches your updated schema.
    3. Replace the old "Usage" heading in README.md with this verified content.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Documentation that relies on memory or source code comments eventually rots. A flag is renamed, a default changes, or a subcommand is added, and the README quickly becomes a liability. This skill ensures your CLI documentation is a precise reflection of the actual binary, not a guess.

    What it does

    • Help tree harvesting scans the entire CLI command structure to capture flags, arguments, and defaults directly from the binary.
    • Drift detection identifies gaps between the current documentation and the actual help output, flagging missing subcommands or renamed flags.
    • Example verification runs "safe" examples against the binary to ensure they exit 0 and statically validates "side effect" examples against harvested data.
    • Multi-format generation produces README usage sections, standalone reference pages, or POSIX-compliant man pages.
    • Automated stamping wraps generated content in HTML comments containing version and timestamp data for clear provenance.

    How it works

    1. Harvest the help tree using the provided script to generate a command manifest and individual help dumps.
    2. Select the output format based on the audience, such as a deep-dive reference or a high-level README overview.
    3. Verify every example in the document using a checker that executes safe code and audits flags against the harvest.

    Frameworks & tools

    This skill utilizes shell scripts for binary interrogation, Markdown for output, and standard CLI conventions. It requires a runnable binary of the tool being documented.

    Why this beats prompting it yourself

    Generic LLMs often hallucinate CLI flags or invent syntax based on common patterns that your specific tool might not follow. This skill ties every word to a physical help dump, ensuring that every default value and flag combination is verified against your actual implementation before it ships.

    Use cases

    • Auditing a mature CLI to find undocumented features or deprecated flags.
    • Generating a standard man page for a new internal tool distribution.
    • Syncing a project README after a major version bump with breaking changes.
    • Verifying that code examples in your documentation actually run and pass.

    Known limitations

    The skill cannot document hidden flags or internal commands unless explicitly instructed. It requires the CLI binary to be accessible and runnable in the environment.

    How to use

    Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scanned

    Verified clean 5 days ago

    • Passed all security checks, Safe to install

    Listed5 days ago

    What's inside

    Frequently Asked Questions