cd /news/ai-agents/stop-rewriting-custom-rules-meet-egm… · home › topics › ai-agents › article
[ARTICLE · art-155707] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Stop Rewriting Custom Rules: Meet EGM Universal Agent for Cross-Compatible AI Coding

A developer released EGM Universal Agent, an open-source Apache-2.0 cross-agent runtime adapter that maps a single set of coding rules across tools including Cursor, Claude Code, Windsurf, Cline, Gemini CLI and OpenAI Codex. Built on the Elephant-Goldfish Model for spec-driven development, the project aims to eliminate rewriting configuration files like .cursorrules and .clinerules for each new AI coding agent.

by read2 min views2 publishedOct 22, 2026

If you use AI coding tools, you are probably suffering from AI Rule Fatigue.

Right now, the ecosystem is deeply fragmented. You write a perfect .cursorrules file for Cursor, but then you want to test Claude Code and have to completely rewrite your slash commands. Then your team member uses Windsurf (Cascade) or Cline, and your configurations break all over again.

We shouldn't have to rewrite our workflow logic for every new AI agent that hits the market.

That is exactly why I built EGM Universal Agent.

The Elephant-Goldfish Model (EGM) is a framework originally conceived for Spec-Driven Development (SDD) with autonomous AI coding agents. It balances long-term structural architecture (the Elephant memory) with fast, context-isolated execution iterations (the Goldfish memory).

The Universal Agent Edition takes this methodology and turns it into a single, canonical, cross-compatible standard.

Instead of maintaining separate prompt systems, this repository acts as a cross-agent runtime adapter.

👉 Check out the project here: yathamsriram243-blip/egm-universal-agent

Here is what EGM Universal Agent brings to your autonomous coding environment:

.cursorrules, .clinerules, .windsurfrules, and more. Whether you prefer heavy IDE integration or native terminal agents, EGM Universal Agent maps across the board:

Native IDEs & Extensions Terminal & CLI Agents Open-Source Agents
Cursor Claude Code OpenCode
Windsurf (Cascade) Gemini CLI Continue
VS Code Copilot OpenAI Codex Cline /Roo Code /OpenHands

Ready to try it out? You can clone the standard environment and configurations straight into your current project workspace:

git clone https://github.com.git

cd egm-universal-agent

pip install -r requirements-dev.txt

Inside the repository, you'll find the .agents/ and plugins/ architectures ready to be loaded or linked right into your IDE settings.

This is an open-source initiative licensed under the Apache-2.0 License. As the AI agent workspace shifts rapidly, keeping our rules and workflows standardized is a community effort.

What AI coding agent are you currently building with, and what is your biggest headache keeping your custom prompt rules consistent? Let's discuss in the comments below!

── more in #ai-agents 4 stories · sorted by recency
── more on @egm universal agent 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/stop-rewriting-custo…] indexed:0 read:2min 2026-10-22 · —