agentsclimarketplace

Agentedit cli

Skill SebastianBoehler/agent-cli-utils/skills/agentedit-cli

CLI utilities for AI agents - fast Go replacements for common Python tools

Install
npx -y skills add SebastianBoehler/agent-cli-utils --skill agentedit-cli

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Apply deterministic targeted file edits with the local `agentedit` CLI. Use when an agent needs exact-match replacements, anchored inserts, line-range updates, or whole-file writes from a JSON or YAML edit spec.

SKILL.md

1.7 KB, 366 tokens by cl100k_base, as published. Nobody here has run it

AgentEdit CLI

Use agentedit for safe, targeted file changes. Prefer it over broad patch parsing when the caller can describe edits as explicit replacements, inserts, line-range updates, appends, or writes.

Invoke the Tool

Prefer the installed binary when it exists:

agentedit -spec edits.yaml

If working inside this repository or the binary is not installed, run:

go run ./cmd/agentedit -- -spec edits.yaml

Choose Actions

  • Use replace for one exact old-to-new substitution.
  • Use replace with replace_all: true only when every match should change.
  • Use insert_before or insert_after with one exact anchor.
  • Use replace_lines for deterministic line-range rewrites.
  • Use append to add content at the end of a file.
  • Use write for full-file replacement or creation.

Apply Good Defaults

  • Keep -fail-on-noop=true so missed matches fail loudly.
  • Use -dry-run first when the edit target may have drifted.
  • Prefer narrow anchors and exact old strings to avoid ambiguity.
  • Set create: true only when the task really intends to create a file.

Example Spec

edits:
  - path: README.md
    action: replace
    old: "Small Go CLIs"
    new: "Small, deterministic Go CLIs"
  - path: config.toml
    action: insert_after
    anchor: "[server]\n"
    new: "port = 8080\n"

Run it:

go run ./cmd/agentedit -- -spec edits.yaml -dry-run -format text

What ships with it: 1 file

209 B alongside SKILL.md

agents/

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.