wip-file-guard

Official

Protect identity files from destructive edits.

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 Write tool from overwriting protected files like CLAUDE.md, SOUL.md, and IDENTITY.md.
  • Limits Destructive Edits: Blocks the Edit tool 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.md by 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 required

Components

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.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.