From 0948254b3adbf92fdaa38c3698290da8df426167 Mon Sep 17 00:00:00 2001 From: Angelo Noto Date: Fri, 26 Jun 2026 22:40:34 -0400 Subject: [PATCH] add grok stuff --- agents/.grok/AGENTS.md | 3 +++ agents/.grok/config.toml | 22 ++++++++++++++++++++++ agents/.grok/rules/american-english.md | 9 +++++++++ 3 files changed, 34 insertions(+) create mode 100644 agents/.grok/AGENTS.md create mode 100644 agents/.grok/config.toml create mode 100644 agents/.grok/rules/american-english.md diff --git a/agents/.grok/AGENTS.md b/agents/.grok/AGENTS.md new file mode 100644 index 0000000..b20c570 --- /dev/null +++ b/agents/.grok/AGENTS.md @@ -0,0 +1,3 @@ +# Global agent rules + +Project-specific rules live in `.grok/rules/`. \ No newline at end of file diff --git a/agents/.grok/config.toml b/agents/.grok/config.toml new file mode 100644 index 0000000..1b738ed --- /dev/null +++ b/agents/.grok/config.toml @@ -0,0 +1,22 @@ +[hints] +worktree_tip_dismissed = true + +[cli] +installer = "internal" + +[marketplace] +official_marketplace_auto_installed = true + +[[marketplace.sources]] +name = "xAI Official" +git = "https://github.com/xai-org/plugin-marketplace.git" + +[ui] +max_thoughts_width = 120 +fork_secondary_model = "grok-build" +yolo = false +compact_mode = false +permission_mode = "always-approve" + +[skills] +paths = ["~/.dotfiles/agents/.grok/.skills"] diff --git a/agents/.grok/rules/american-english.md b/agents/.grok/rules/american-english.md new file mode 100644 index 0000000..d63f1fb --- /dev/null +++ b/agents/.grok/rules/american-english.md @@ -0,0 +1,9 @@ +# American English + +Use American English for all generated text and code, including: + +- User-facing messages, comments, documentation, and commit messages +- String literals, log messages, error text, and UI copy in code +- Variable and identifier names only when they are natural-language words (e.g. prefer `color` over `colour`, `initialize` over `initialise`) + +British or other regional spellings are acceptable only when required by an existing API, library, protocol, or quoted external text. \ No newline at end of file