1. Advanced Guides
AnyRoute English
  • AnyRoute User Guide
  • Frequently Asked Questions
  • AnyRoute Support Group
  • Supported Models
  • Environment Setup
    • Node.js Installation Guide
    • CC Switch Introduction
  • Quick Start Guides
    • Codex CLI Quick Start
    • Claude Code Quick Start
    • OpenClaw Quick Start
    • Hermes Quick Start
    • Cherry Studio Quick Start
    • Claude Desktop Quick Start
    • Codex Desktop Quick Start
    • GPT Image 2 Guide
    • Claude Code in VS Code
  • Advanced Guides
    • Personal AGENTS.md Global Rules
    • Claude Code and Codex Collaboration Guide
  1. Advanced Guides

Personal AGENTS.md Global Rules

This page provides a reusable rule template for Claude Code and Codex. Place an adapted version in the project root as AGENTS.md or CLAUDE.md.
The template uses progressive specification: simple tasks stay lightweight, while medium and complex tasks receive stronger planning, approval, and verification controls.

Design principle: progressive specification#

The goal is to minimize accidental process overhead while managing genuine complexity.
Core rules:
No Spec, No Code: medium and complex tasks require an agreed specification.
Hard gate: implementation starts only after explicit user approval.
Reverse sync: when implementation reveals a specification error, update and reapprove the specification before changing direction.
Research can explore broadly, but implementation should follow the approved plan and stop when a material deviation appears.

Copyable template#

Adapt this template to the repository's existing instructions. A project-level AGENTS.md or CLAUDE.md should override generic personal preferences when the two conflict.

Join AnyRoute WeChat Group

To get support for AnyRoute

scan QR code
Modified at 2026-07-24 19:05:13
Previous
Claude Code in VS Code
Next
Claude Code and Codex Collaboration Guide
Built with