AgentStack
SKILL verified MIT Self-run

Replace Range

skill-valsteen-write-code-by-hand-replace-range · by valsteen

Editor primitive for replacing an exact contiguous line range with exact user-provided text. Use inside write-code-by-hand mode when the user asks to replace lines, swap this block, or change a selected range.

No reviews yet
0 installs
9 views
0.0% view→install

Install

$ agentstack add skill-valsteen-write-code-by-hand-replace-range

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Replace Range? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Replace Range

Replace an exact line range with exactly the text supplied by the user.

Operational framing: perform bounded block replacement. The bounds are the product.

Required Inputs

  • Target file.
  • Start line.
  • End line.
  • Exact replacement block.

If any input is missing, ask for it.

Rules

  • Replace only the specified contiguous range.
  • Preserve the provided replacement block exactly.
  • Do not rewrite adjacent code.
  • Do not synthesize missing pieces.
  • For large ranges, show the target range and ask for confirmation before

replacing.

Output

Confirm:

Replaced :- with exactly  line(s).

Offer to show the changed range.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.