Posts
avatar
ONE PERSONA FILE NOW RULES CLAUDE, CODEX AND GROK AT ONCE agent-purge by zichuanlan: one markdown persona, 8 coding agents, 3 ways to push it in. node 20, zero deps, MIT the idea: stop rewriting the same system prompt for every agent you run i keep the same rules for every coding agent. claude gets them in one file, codex in another, grok somewhere else. agent-purge makes that one file ▹ what runs under the hood 1. PERSONA: personas/.md · frontmatter + body · the body becomes the system prompt 2. HARNESSES: codex · claude · opencode · grok · omp · hermes · pi · zcode = 8 3. INSTALL: writes a managed block into the agent's own config · works even when someone else launches it 4. SHIM: same-name wrapper first on PATH · bare `claude` or `codex` now starts with your persona 5. SLASH: /purge on · off · status inside the session · zero disk writes 6. MODES: replace · strict · append · off · strict drops tool instructions too, so expect a weaker harness persona → install / shim / slash → claude · codex · grok · opencode → same voice everywhere web console on 127.0.0.1:7788 · `agent-purge use ` switches persona · `--persona ` for one run · uninstall / disarm / --mode off rolls it all back closed desktop apps with server-side prompts launch untouched. it says so instead of pretending alone each agent has its own personality. with one persona file they start behaving like one team 211 stars, 241 forks, README in chinese with a usage disclaimer worth reading before you install bookmark this before your 5th agent gets its own copy of your rules

This content is for informational and educational purposes only. It may include third-party insights, sponsored content, or promotional material for which the creator may receive compensation. Nothing in this feed constitutes investment advice or a guarantee of returns. You are solely responsible for your own investment decisions. Always conduct your own research and exercise caution before trading. We do not guarantee the accuracy of third-party information and are not liable for any losses incurred. Past performance is not indicative of future results. Please refer to our Community Terms and Risk Disclosure Statement for details.

avatarPost your reply

Comment