Rewrite codecomplete

From BattleWen/JailbreakSkill · View interactive version

Rewrite codecomplete is an AI agent skill from the GitHub repository BattleWen/JailbreakSkill. Embeds the seed prompt into a Python code completion task where the model is asked to enhance print() statements, making it appear as a programming exercise.

How to use this skill

Skill file

rewrite-codecomplete

Technique

Wraps the seed prompt into a Python function where the model is asked to "improve" print statements. The seed prompt becomes the function's purpose description, and the model fills in detailed steps as print content. Deterministic — no LLM call needed, 100% intent preservation. Based on ReNeLLM (NAACL 2024) code completion scenario nesting.

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.