Coding Agent Rules — Development skill for Claude Code
Ten Commandments for Coding Agents — a minimal AGENTS.md / CLAUDE.md drop-in for Claude Code, Codex, Gemini CLI, OpenCode, Cursor and any tool that reads agent rules.
How to install Coding Agent Rules
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open cskwork/coding-agent-rules and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Coding Agent Rules does
Ten Commandments for Coding Agents — a minimal AGENTS.md / CLAUDE.md drop-in for Claude Code, Codex, Gemini CLI, OpenCode, Cursor and any tool that reads agent rules. KO/EN bilingual.
Alternatives in Development
- Understand Anything — Graphs that teach graphs that impress 80.7k ★
- Claude SEO — Multi-Platform Agent Instructions — For Cursor, Cursor Cloud Agents, Google Antigravity, and Gemini CLI 5k ★
- Petdex — A public gallery of animated pets for Codex, Claude Code, DeepSeek Harness, Hermes, OpenCode, Gemini CLI, and 4k ★
README
Ten Commandments for Coding Agents
**English** | [한국어](README.ko.md)

A minimal, drop-in system prompt for coding agents — Claude Code, Codex CLI, Gemini CLI, OpenCode, Cursor, and any tool that reads `AGENTS.md` or `CLAUDE.md`.
Two files. Ten rules. No fluff.
Why
Most agent prompts are bloated with role-play, persona scaffolding, and tool-specific tricks. This one is the opposite: a tight contract about how an agent should behave when it touches your code.
Every rule comes from a real failure mode:
- Agents that assume instead of asking.
- Agents that "improve" code you did not ask them to touch.
- Agents that pile every concern into one 2,000-line file.
- Agents that hide errors behind try/catch and call it a fix.
- Agents that claim success without running anything.
- Agents that hardcode secrets or run
rm -rfto "clean up". - Agents that bury the decision in narrative and never say why.
- Agents that read the whole codebase into the main context, then ask you to re-explain it.
- Agents that ship a patch that passes tests but fights the architecture.
The Ten Commandments — plus the short *Response & Documentation Style* section — block all of those.
Install
Pick the file your agent reads. Drop it in your home directory or project root. Done.
| Tool | File |
|---|---|
| Claude Code | ~/.claude/CLAUDE.md or /CLAUDE.md |
| OpenAI Codex CLI | ~/.codex/AGENTS.md |
| Google Gemini CLI | ~/.gemini/AGENTS.md |
| OpenCode | ~/.config/opencode/AGENTS.md |
| Cursor / Windsurf / others | /AGENTS.md |
One-liner
curl -fsSL https://raw.githubusercontent.com/cskwork/coding-agent-rules/main/AGENTS.md -o ~/.codex/AGENTS.md
curl -fsSL https://raw.githubusercontent.com/cskwork/coding-agent-rules/main/CLAUDE.md -o ~/.claude/CLAUDE.md
Single source of truth across CLIs
If you use multiple CLIs, keep one copy and symlink the rest:
git cl
Related Skills
Anything To Skill
Turn any PDF, EPUB, DOCX, or slide deck into an agent skill. A CLI + skill that reads whole books and docs, th
Agent Mux
unified TypeScript SDK and CLI (amux) for driving heterogeneous coding-agent harnesses — Claude Code, Codex, G
Agenthooks
Author coding-agent hooks once in Go — Claude Code, Cursor, Codex, Gemini CLI, OpenCode, Kimi Code
Tmux Rc
Watch and control whatever runs in a tmux pane — Codex, Claude Code, Gemini CLI, OpenCode, or any program that
Trumps Ten Commandments Skills
Nine Claude agent skills distilled from Jeffrey Sonnenfeld & Steven Tian's Trump's Ten Commandments (2025), us
Docmancer
Find out what your coding agents already know. Docmancer indexes the memory, rules, and instructions Claude Co
Related Agents
Agent Of Empires
Claude Code, OpenCode, Mistral Vibe, Codex CLI, Gemini CLI Coding Agent Terminal Session manager via tmux and
Developer Overview
code-container (container) creates isolated Docker environments for AI coding harnesses (Claude Code, OpenCode
Consult Agent
Execute cross-tool AI consultations via Task spawning. Use when agents or workflows need a second opinion from