Config Structure Key Inspector

    1

    Inspect JSON and TOML key paths locally without printing scalar values. Includes safe size limits, format checks, subtree selection, structure comparison, and tests.

    $12

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    Config Structure Key Inspector

    Example session with this skill installed

    Show the key structure of examples/service.json without printing any values.

    • Read your context and instructions
    • Compiled the config structure key

    Command

    python3 scripts/key_inspector.py examples/service.json
    

    Output (captured in examples/keys.txt)

    database
    database.host
    database.port
    feature_flags
    feature_flags[].enabled
    feature_flags[].name
    

    Summary

    Six key paths were found. Two top-level keys, database and feature_flags, contain host, port, and the array-item keys name and enabled. No scalar values were printed. The values in the example file are synthetic.

    Next steps

    • Add --unique to keep one copy of each repeated array path.
    • Add --prefix database to select a subtree.
    • Add --json for a JSON array of paths.
    • Key names can still be sensitive; review the paths before sharing them.
    • The default input limit is 1,000,000 bytes; use --max-bytes to change it.

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

    About this skill

    Review the structure of a JSON or TOML configuration file while keeping scalar values out of command output. Config Structure Key Inspector is a local, read-only Python tool that prints key paths only. It is useful for local audits, parser migrations, and comparing the keys before and after a configuration change.

    What it does

    • Prints dotted key paths for UTF-8 JSON and TOML files; scalar values are not printed.
    • --format overrides extension-based format inference.
    • --unique removes repeated array paths.
    • --prefix selects a subtree by literal prefix.
    • --json emits the paths as a JSON array.
    • --max-bytes sets the input size limit (default 1,000,000 bytes).
    • Importable helpers cover regular-expression filtering, grouping by root, path summaries, and comparing two documents (added and removed paths).

    What is included

    • scripts/key_inspector.py: the CLI and importable helpers
    • tests/: 18 independent behavior tests
    • examples/: synthetic JSON and TOML inputs with the captured CLI output
    • SKILL.md, README.md, LICENSE

    Requirements and limits

    • Python 3.11 or newer is required (the standard tomllib parser). Standard library only.
    • Malformed, unsupported, or oversized input stops with exit code 2 and does not echo source content.
    • This is a structural inspector, not a secret scanner. Key names themselves may be sensitive, so review the output before sharing it.

    Supports UTF-8 JSON and TOML only (not YAML or XML). Python 3.11 or newer is required. The default input limit is 1,000,000 bytes. Key names are printed as they are and may be sensitive; this is not a secret scanner.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by 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 scan

    Security scan passed 3 days ago

    Requires

    Python 3.11+
    Python

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed3 days ago

    What's inside

    Frequently Asked Questions

    It reads a UTF-8 JSON or TOML file and prints its key paths, such as database.host, without printing scalar values. It is local and read-only.

    Python 3.11 or newer, because TOML is parsed with the standard tomllib module. The tool uses the standard library only.

    No. It is a structural inspector. Key names can themselves disclose information, so review the printed paths before sharing them.

    Malformed or unsupported input returns exit code 2 and does not echo source content. The default size limit is 1,000,000 bytes; use --max-bytes to set a different positive limit.

    Run python3 scripts/key_inspector.py FILE. Options: --format to override inference, --unique to drop repeated array paths, --prefix to select a subtree, --json for a JSON array. Run the 18 tests with python3 -m unittest discover -s tests -v.

    New in DevOps & Cloud