Bounded file patcher
Local-first Agent Skill Runtime for packaging SOPs, schemas, preflight checks, run records, and MCP tools as executable skill capsules.
npx -y skills add iiwish/skillrun --skill bounded_file_patcherAssembled 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
- Modify only project-relative files under
src/,docs/ortests/. - Never accept absolute paths, drive-prefixed paths, hidden path segments or parent-directory traversal.
- Never modify secret-bearing files, lockfiles or package manager manifests.
- Require an exact
old_textmatch before writingnew_text. - Reject ambiguous replacements where
old_textappears more than once. - Record a markdown patch summary artifact for audit.
Required Context
file_path: project-relative path undersrc/,docs/ortests/.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/
- sample-note.md130 B
examples/
- action.pyruns3.5 KB
- skillrun.config.json346 B