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
- Petdex — A public gallery of animated pets for Codex, Claude Code, DeepSeek Harness, Hermes, OpenCode, Gemini CLI, and 4k ★
- Hapi — App for Claude Code / Codex / Gemini / OpenCode, vibe coding anytime, anywhere 3.6k ★
- Agent Of Empires — Manage multiple Claude Code, OpenCode agents from either TUI or Web for easy access on mobile 3.1k ★
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
Stop Rules
Holds your coding agent to your team's written coding rules. A stop hook for Claude Code, Codex, Cursor and te
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
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
Aux Delegator
Invokes external CLI coding agents (Codex, OpenCode, Claude -p, ACP). Use whenever a task should be offloaded