agentsclimarketplace

Bounded file patcher

Skill iiwish/skillrun/examples/bounded_file_patcher

Local-first Agent Skill Runtime for packaging SOPs, schemas, preflight checks, run records, and MCP tools as executable skill capsules.

Install
npx -y skills add iiwish/skillrun --skill bounded_file_patcher

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.

SKILL.md

1.2 KB, 278 tokens by cl100k_base, as published. Nobody here has run it

Bounded File Patcher

Purpose

This SkillRun capsule applies one bounded text replacement inside an allowed project directory. It is an example of converting file-write rules into a manifest-bound skill contract, not a claim of OS sandboxing.

SOP

  1. Modify only project-relative files under src/, docs/ or tests/.
  2. Never accept absolute paths, drive-prefixed paths, hidden path segments or parent-directory traversal.
  3. Never modify secret-bearing files, lockfiles or package manager manifests.
  4. Require an exact old_text match before writing new_text.
  5. Reject ambiguous replacements where old_text appears more than once.
  6. Record a markdown patch summary artifact for audit.

Required Context

  • file_path: project-relative path under src/, docs/ or tests/.
  • old_text: exact text to replace.
  • new_text: replacement text.

Recovery Guidance

If this capsule returns PolicyViolation, choose an allowed path or narrower replacement. If it returns ValidationError, provide all required fields.

Prohibited Behavior

  • Do not overwrite entire files without an exact old-text match.
  • Do not modify .env, secrets, lockfiles, package manifests or hidden folders.
  • Do not treat this capsule as an OS sandbox.

What ships with it: 5 files

4.2 KB alongside SKILL.md, 1 of them executable

docs/

Keep looking

Skills are one crate of 327,167. 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.