No Code. Just Prompt.
Instantly optimize, align, and detox your AI coding assistant's context.
👉 New here? Start with the beginner-friendly guide — one-click prompt copy, no terminal required.
EN: Copy & paste this prompt to your AI coding agent (Cursor/Claude) to make it instantly smarter.
KR: 아래 프롬프트를 복사하여 AI 에이전트에 붙여넣기만 하면 최고의 설정이 자동 완료됩니다.
JP: 下記のプロンプトをコピーして、AIコーディングアシスタントに貼り付けてください。
CN: 复制以下提示词并粘贴到您的 AI 编程助手中,使其完美适配您的项目。
ES: Copia y pega este aviso en tu agente de IA para optimizar tu entorno automáticamente.
🔥 ============================================================= 🔥
👇👇👇 COPY & PASTE THIS PROMPT TO YOUR AI AGENT 👇👇👇
Fetch the instructions at https://raw.githubusercontent.com/claudianus/agent-rules-auto-setup/master/setup.prompt.md and help me optimize our context rules step-by-step.
👆👆👆 COPY & PASTE THIS PROMPT TO YOUR AI AGENT 👆👆👆
🔥 ============================================================= 🔥
AI assistants (like Cursor or Claude Code) are incredibly smart, but they hallucinate or write bad code if their project context is bloated or missing.
Usually, developers solve this by manually searching for rule files (.mdc), downloading them, and dropping them into folders. This is tedious, and over time, the rules become outdated when your tech stack evolves.
Agent Context Auto-Setup solves this completely by turning the AI agent into its own context manager.
By simply feeding the prompt above to your active AI agent, you trigger a meta-prompt sequence. Your agent safely:
- 🕵️ Deep Codebase Analysis: Scans manifests and docs; outputs a stack keyword list.
- 🧹 Smart Context Review: Proposes obsolete rules for removal — never deletes without your confirmation.
- 📥 Registry Harvest: Browses four whitelisted GitHub registries, scores matches (max 50), and prints an install manifest.
- ⚙️ Auto-Install (manifest-once): Unless you object to the manifest in the same turn, fetches raw rules/skills and deploys to
.cursor/,.claude/, etc. - 🧬 Context Maintenance Reminder: Plants a meta-rule to re-run setup when the stack changes (with your consent to fetch).
- 🛡️ Git-Safety: Idempotently updates
.gitignorefor agent context folders. - 📋 Final Report: Summary, per-item
repo@pathsources, and one-line categorized context list. - 🙋♂️ Correction Loop: You can request fixes; the agent updates files immediately.
The agent must search these repos (details in registries.md):
| Registry | Repository |
|---|---|
Cursor rules (.mdc) |
PatrickJS/awesome-cursorrules |
Agent skills (SKILL.md) |
sickn33/antigravity-awesome-skills |
| Cline / legacy rules | JhonMA82/awesome-clinerules |
| Cursor-native skills | spencerpauly/awesome-cursor-skills |
Fallback: cursor.directory only when the four repos lack a match.
The setup prompt detects which tools you use, then fans out installs to the right paths. Full matrix: agents.md.
| Category | Agents |
|---|---|
| IDE / editor | Cursor, Windsurf, Zed, JetBrains (Junie), Trae, Kiro, Continue |
| CLI / terminal | Claude Code, OpenAI Codex, Gemini CLI, OpenCode, Devin, Aider |
| Copilot / cloud | GitHub Copilot (IDE + CLI + coding agent), Amazon Q Developer |
| Cline family | Cline, Roo Code, Antigravity |
| Cross-agent standard | AGENTS.md, Agent Skills via .agents/skills/ |
Skill hub (always installed): .agents/skills/<name>/SKILL.md — shared by Copilot, Codex, OpenCode, Devin, Windsurf, and others.
Rule formats: .mdc (Cursor), Markdown rules (Windsurf, Continue, Roo, Amazon Q, Augment, Kiro steering), plus optional AGENTS.md / GEMINI.md pointers.