One-click install
npx skills add https://github.com/SebastianBoehler/agent-cli-utils --skill agentedit-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agentedit-cli
Source: https://github.com/SebastianBoehler/agent-cli-utils/tree/main/skills/agentedit-cli
Command: npx skills add https://github.com/SebastianBoehler/agent-cli-utils --skill agentedit-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Apply precise, deterministic edits to files based on a JSON or YAML spec, ensuring repeatable changes without manual patching.

Core Features & Use Cases

  • Deterministic edits: replace, insert, append, or write entire files using explicit anchors and exact matches.
  • Safe, auditable changes: dry-run and fail-on-noop options ensure changes are intentional.
  • Use cases include config updates, templates, and targeted fixes across large repos.

Quick Start

Run agentedit with a spec file (edits.yaml) to apply deterministic, targeted edits to a target repository.

Frequently Asked Questions about agentedit-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I apply deterministic file edits from a JSON or YAML spec?

You can perform deterministic edits using a JSON or YAML spec that supports actions like replace, insert_before, insert_after, replace_lines, append, and write to ensure repeatable changes across files.

Can I do a dry-run before applying batch updates to configuration files?

Yes, the dry-run option allows you to preview deterministic edits before they are applied, ensuring changes to configuration files are intentional and auditable.

What is the best way to automate targeted code fixes across large repositories?

The best way is using a JSON or YAML spec to apply targeted fixes across large repos, ensuring repeatable changes without manual patching by leveraging explicit anchors and exact matches.

Does the tool support strict matching and fail-on-noop for template updates?

Yes, strict matching and fail-on-noop options are supported, ensuring template updates only proceed when exact matches are found and failing safely if no operations are performed.

Why use a JSON or YAML spec for code maintenance instead of manual patching?

A JSON or YAML spec ensures deterministic, repeatable changes for code maintenance by defining explicit anchors and exact matches, eliminating the inconsistency and errors of manual patching.