wip-file-guard
OfficialProtect identity files from destructive edits.
Software Engineering#devops#claude code#ai safety#file protection#openclaw#edit blocking#identity guard
Authorwipcomputer
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents AI agents from accidentally or intentionally overwriting critical identity and configuration files, ensuring the integrity of your AI's core instructions and memory.
Core Features & Use Cases
- Blocks Destructive Writes: Prevents the
Writetool from overwriting protected files likeCLAUDE.md,SOUL.md, andIDENTITY.md. - Limits Destructive Edits: Blocks the
Edittool if it attempts to remove more than 2 net lines from a protected file, or if it performs a large replacement of existing content. - Survives Context Compaction: Acts as a technical guardrail that persists even when an AI's behavioral rules degrade after context compaction.
- Use Case: An AI agent, after context compaction, might try to "optimize" your
SOUL.mdby replacing its entire content with a generic template. This Skill would block that operation, forcing the AI to append or make minor edits instead.
Quick Start
Use the wip-file-guard skill to protect your CLAUDE.md and SOUL.md files from accidental overwrites.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: wip-file-guard Download link: https://github.com/wipcomputer/wip-ai-devops-toolbox/archive/main.zip#wip-file-guard Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.