coldHat Lite

    1

    A prompt linter that restructures agent rules and flags contradictions, duplicates, and security leaks.

    Free

    1 installSecurity scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+22 more

    coldHat Lite

    Example session with this skill installed

    Clean up these rules

    1. Always use JSON.
    2. Try to be concise.
    3. Use Markdown tables.
    4. API_KEY=sk-12345
    5. Never use JSON.
    • Read your context and instructions
    • Compiled the coldhat lite

    I have restructured your instructions and identified critical conflicts and security risks.

    Rewritten Prompt

    Rules

    • Be concise.

    Output

    • Use JSON.
    • Use Markdown tables.

    Locked

    • API_KEY=[REDACTED]

    Checks

    • [contradiction] rule 1 and 5: rule 1 requires JSON while rule 5 forbids it -> choose one format and delete the other.
    • [hedge] rule 2: "Try to be concise" is optional -> rewrite as "Be concise."
    • [secret] rule 4: API key found in prompt -> move secrets to environment variables.
    • [contradiction] rule 1 and 3: rule 1 asks for JSON but rule 3 asks for tables -> clarify if the output is raw data or a visual table.

    Next steps

    • Resolve the JSON vs. Markdown table conflict to prevent output formatting errors.
    • Remove the API key from your source file and use a secure secret manager.
    • Choose whether the agent should prioritize structured data or human-readable tables.

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

    About this skill

    Prompts often fail because they are cluttered, repetitive, or internally inconsistent. This skill acts as a linter for your agent instructions, transforming messy rule piles into structured contracts while flagging systemic logic failures. It analyzes system messages, CLAUDE.md files, and AGENTS.md files to ensure your models receive clear, non-conflicting directives.

    What it does

    • Standardize structure organizes rules into specific Role, Method, Rules, Output, and Locked sections.
    • Conflict detection identifies contradicting instructions that cause model hallucination or refusal.
    • De-duplication merges redundant rules that waste context window and dilute instruction following.
    • Hedge removal converts weak phrases like "try to" into firm imperatives the model can follow.
    • Security audit flags API keys, tokens, or passwords accidentally embedded in prompt text.

    How it works

    1. Input analysis reads every bullet, numbered list item, and imperative sentence as a distinct rule.
    2. Classification maps each instruction to its functional part (e.g., Method vs. Output).
    3. Logic check scans for contradictions, hedges, missing output formats, and leaked secrets.
    4. Correction returns a rewritten, tightened prompt followed by a numbered checklist of specific fixes.

    Frameworks & tools

    Works with any text-based prompt format including Markdown, system messages, CLAUDE.md, and AGENTS.md.

    Why this beats prompting it yourself

    Writing a prompt to fix another prompt often introduces new hallucinations or loses original intent. This skill uses a strict sorting methodology and a specific diagnostic syntax to ensure no instruction is silently dropped or wrongly merged.

    Use cases

    • Agent refactoring when a complex agent stops following its core instructions.
    • Instruction linting before deploying a system prompt to a production environment.
    • Context optimization to reduce token usage by removing duplicate and wordy directives.
    • Security hardening to catch hardcoded secrets before they reach the model.

    Known limitations

    Does not support prose-only inputs without clear instructions. The Lite version relies on static analysis and does not run live model performance benchmarks.

    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

    1 install

    Downloaded by developers to date

    Free forever

    No account required to browse

    Trust & safety

    Security scanned

    Verified clean 4 days ago

    • Free to download with an account

    Listed4 days ago

    What's inside

    Frequently Asked Questions