Grok custom instructions and Grok Bot Custom Rules builder
Write clear, scoped custom instructions for Grok chat or persistent Custom Rules for Grok Bot — with live character counting, safety checks and ready-to-paste presets. Unlike ordinary chat prompts, Grok Bot's Ask first rules are enforced by Auto Review before your Bot acts.
Everything about where Grok Bot rules live, their character cap and how Auto Review resolves conflicts was checked against xAI's Approvals and Bots docs on 22 November 2026.
Rules verified against docs.x.ai
Enforces 1,000-char cap & Ask-first conflicts
Independent · not affiliated with xAI
Where do you set Custom Rules in Grok Bot?
On desktop, open Settings → General → Bot → Custom Rules (while Auto-review is on). On iPhone and Android, open Settings → Bot → Custom Rules. Add plain-English actions and choose Ask first or Allow automatically.
What is the character limit on Grok Bot Custom Rules?
xAI's docs state you can save up to 20 Ask first rules and up to 20 Allow automatically rules, and each individual rule can be up to 1,000 characters long. When both kinds match an action, Ask first wins.
Build Grok custom instructions and Bot Custom Rules
Generate both a clean standing instruction block and ready-to-paste Auto Review Custom Rules — checked live against xAI's 1,000-character per-rule cap.
Starter presets:
1. Configure behavior and guardrails
Runs locally in your browser
2. Ready-to-paste Bot instructions
1,079 chars · 174 words · ~270 tokensSlots: 1/20 Ask first · 1/20 Allow
Role: You are my Inbox and calendar triage assistant.
Job: Sort unread email into urgent replies, waiting items and safe-to-skip newsletters, and draft replies without sending.
Audience: Busy founder checking mail twice a day.
Style: Summarise for a fast decision: bottom line first, key risks second, next step last.
Output format: Group items into: Needs me today, Can wait, and Safe to skip — newest first.
Accuracy: Link or name the exact source (email, file, URL or date) for factual claims. If data is missing or a tool fails, state that plainly instead of guessing. Do not speculate about intent or invent figures that are not in the source.
Always: Include sender, subject and a one-line reason for every urgent item.
Never: Never unsubscribe, archive or send a reply without my approval.
Approval boundary: Stop and ask me before you send, reply to, forward or schedule any email, Slack message or direct message; delete, archive permanently or overwrite files, emails, calendar events or records; accept, decline, cancel or reschedule calendar events with other people.
Clean, scoped and within xAI limitsInstructions name one job, include explicit approval boundaries and every generated Custom Rule fits under 1,000 characters.
Grok Bot Custom Rules entries
Paste each line into Settings → General → Bot → Custom Rules (max 1,000 chars per rule).
It should: Ask first254/1000 chars
Ask me before you send, reply to, forward or schedule any email, Slack message or direct message; delete, archive permanently or overwrite files, emails, calendar events or records; accept, decline, cancel or reschedule calendar events with other people.
How to set custom instructions in Grok and Grok Bot
xAI separates persistent guidance into three layers. Knowing which box does what keeps your rules short and prevents you from relying on polite prompt wording when you actually want a hard approval stop.
Where persistent instructions live across Grok and Grok Bot, checked 22 Nov 2026
Item
Where to set it
Enforced or advisory?
Best used for
Grok Bot Custom RulesUp to 20 Ask first + 20 Allow auto · 1,000 chars each
How Grok Bot Custom Rules and Auto Review work together
Auto Review is on by default in Grok Bot. Before a Bot executes an external action, Auto Review checks what you asked for in your own messages (text inside an email or web page does not count as your request) alongside your Custom Rules.
1
Keep Auto-review turned on
Turning Auto-review off hides and disables all Custom Rules until you turn it back on. Built-in safety checks still apply, but your personal boundaries won't fire.
2
Write one clear action per rule
Under When Grok Bot wants to: describe one concrete action in plain English — such as "send or reply to an email" or "push commits to a remote repository" — then choose Ask first or Allow automatically and press Add Rule.
3
Remember that Ask first always overrides Allow
If an action matches both an Allow automatically rule and an Ask first rule, Grok Bot stops and shows you an approval card. Use Allow rules only for low-risk read or draft work.
4
Never place secrets in instructions or rules
Keep API keys, passwords and one-time codes out of custom instructions and Bot chat. Use Grok Bot Vault or a Secure Form so credentials stay masked and never leak if you later share a template.
Best practices for short, reliable custom instructions
Long, contradictory instruction blocks waste tokens on every turn and get ignored under pressure. The best-performing instructions in public templates follow four consistent habits:
Name one job and one audience instead of pasting a ten-paragraph biography.
Specify the exact output shape (word cap, headings, table columns or three-bucket digest).
State an explicit empty-state rule so the model admits missing data instead of guessing.
Mirror every consequential boundary (sending, posting, spending, deleting) as an Ask first Custom Rule in Grok Bot.
Yes. Grok chat supports persistent custom instructions for tone and context, and Grok Bot adds two stronger layers: per-Bot standing instructions and enforced Custom Rules under Settings → General → Bot → Custom Rules that control whether Auto Review asks before acting.
What is the character limit for Grok Bot Custom Rules?
According to xAI's approvals documentation, each Custom Rule in Grok Bot can be up to 1,000 characters long, and you can store up to 20 Ask first rules and up to 20 Allow automatically rules per account. Keep each rule focused on a single action.
What is the difference between custom instructions, Bot instructions and a system prompt?
Custom instructions apply across your chats for tone and preferences, Bot standing instructions define one Grok Bot's recurring job and format, and an API system prompt (`instructions` in the Responses API) governs every call made by your custom code. In Grok Bot, Custom Rules are the only layer enforced as approval stops.
Do my personal Custom Rules travel when I share a Grok Bot template?
No. Personal Custom Rules live in your account's Auto Review settings, whereas a shared template packages that Bot's instructions, relevant memories, skills and routines. Anyone who adds your template should add their own Ask first Custom Rules before connecting accounts.
Product facts on this page come from these pages, each read on the date shown. Pages marked first-party are published by xAI or Cursor; we quote community reports only for known bugs.
Approvals, security, and privacy (opens in a new tab)xAI · first-partychecked 5 Nov 2026Auto Review, approval cards, Ask first rules, approvals expiring after 30 minutes, keeping secrets out of chat, saved cards, local-computer access, least privilege.
Create and manage Bots (opens in a new tab)xAI · first-partychecked 18 Nov 2026Creating a Bot, lasting rules, memory, sharing a template (Bot name → Share → Create a copy → Publish → Copy link; Share as Template on iPhone and Android), what a public link exposes, what to remove before sharing, public and team-only links and admin controls, View template details / Update template / Delete Template, deleting a Bot deleting its template, adding a Bot from a template, Connect apps → Bot templates, the third-party bot terms.
Templates for Grok Bot (Grok Bot Guides) (opens in a new tab)xAI · first-partychecked 18 Nov 2026page updated 8 Sept 2026What a template packages (instructions, relevant memories, skills, plugins), what it leaves out (personal or internal memories, private skills, secrets, custom code, scripts, MCP servers), reviewing what's included before publishing, having the Bot write setup steps for keys or MCP servers, reinstalling plugins, "a recipe rather than a meal", and evaluating templates like software.
Public templates that state Ask-first or read-only rules
Start from a Bot whose creator already states approval boundaries, then pair it with your own Custom Rules.
One job: catch every new lead, sort it, and hand you a draft follow-up. Each sweep I check your connected channels (Gmail or Outlook, X or Slack DMs, form replies, your CRM or a shee…
Follows the official @bot account and official team members on X so you stay up to date on the latest developments. You opt in to each account individually, and it messages you in ch…
Finds local businesses that fit what you sell, checks a real reason each one fits on public pages, and drafts an opener in your voice every weekday. You do all the outreach yourself;…