Rewrite diffpatch v1

From BattleWen/JailbreakSkill · View interactive version

Rewrite diffpatch v1 is an AI agent skill from the GitHub repository BattleWen/JailbreakSkill. Encodes harmful requests as unified diff patches that reconstruct the content through line-by-line additions, preventing template recognition.

How to use this skill

Skill file

rewrite-diffpatch-v1

Technique

Transforms harmful queries into git-style diff patches where the actual content appears as '+' added lines in a before/after comparison. The model processes it as technical documentation of changes rather than recognizing the assembled harmful template. Effective when semantic reframing fails due to output-harm detection.

I/O protocol

| Direction | Format |

|-----------|--------|

| stdin | SkillContext JSON |

| stdout | SkillExecutionResult JSON |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.