Works with the AI Agents you already use

    mend - One Patch Tool for Every AI Edit Format

    by muhammad zildan

    1

    Applies AI-written code edits in any format - unified diff, SEARCH/REPLACE, V4A or JSON - with fuzzy line matching and all-or-nothing writes. Node 22, zero dependencies.

    $7

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    About this skill

    Every AI model writes code edits in a different dialect, and every pipeline breaks on someone else's format. mend ends that.

    Feed it a patch as a unified diff (wrong line numbers and all), SEARCH/REPLACE blocks, a V4A patch, or JSON edit objects from a text-editor tool call. It detects the format automatically, finds the lines each edit names at the first matching tier - exact, trailing-whitespace-insensitive, then indentation-insensitive with re-indenting - and writes every change or none. No partial application, ever.

    • Four formats in one tool, auto-detected or forced with --format
    • Three-tier fuzzy matching that survives stale diffs and re-indented files
    • Atomic: every edit lands or the tree is untouched, with a plain reason why
    • --check dry-run mode with the same output and exit code
    • --strict mode for exact-only matching
    • One 36 KB TypeScript file, Node 22 standard library only, nothing to install

    Built for the make.fun hidden-spec-cli bounty, where it scored 1000/1000 on the practice suite. The full specification it implements ships in the package (reference/SPEC.md), so your agent can answer edge-case questions from the spec itself.

    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 buying a skill.

    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 12 days ago

    Software
    Node.js 22.18+AI agent with shell access

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Environment Variables
    Listed12 days ago

    What's inside

    Frequently Asked Questions

    Applies AI-written code edits in any format - unified diff, SEARCH/REPLACE, V4A or JSON - with fuzzy line matching and all-or-nothing writes. Node 22, zero dependencies.

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use mend - One Patch Tool for Every AI Edit Format on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.