> ## Documentation Index
> Fetch the complete documentation index at: https://codegeninc-codegen-bot-update-claude-code-docs-use-cases-17.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Cli Rules

> Get organization and user rules for CLI applications.

This endpoint is designed for CLI applications that need to fetch both organization-specific
rules and user-specific custom prompts that are used in prompts. This includes:

- Organization rules: Same as MCP organization_rules prompt and agent prompt builders
- User custom prompt: Same as MCP user_custom_prompt and agent prompt builders

Returns the rules and prompts that should be followed by AI agents.

Rate limit: 30 requests per minute.

