How to use everything-claude-code with Grok (xAI)? Best practices for agents & skills? #1077
Replies: 1 comment
-
|
The main hurdle with Grok right now is the lack of native project-level config like Your best bet for that "pro vibe" is using a context packer like For the commands and hooks, I've found Grok-2 responds best when you explicitly define the "Command Registry" in the System Instructions (Custom Instructions). Something like: # Command Registry
- /plan: Execute [planner] agent logic from the provided context.
- /tdd: Apply the [tdd-workflow] skill.
- /review: Run [code-reviewer] agent.
If I use a command, strictly follow the corresponding logic in the loaded skills/agents.IIRC, Grok handles XML tags better than raw markdown for complex instructions. Try wrapping the skills in tags like One gotcha: Grok’s context window is huge, but it can lose the "instincts" from the lmk if the command mapping helps—Grok is usually pretty literal with those once defined. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
First of all — huge thanks to @affaan-m and the whole team!
I'm currently using Grok (from xAI) instead of Claude Desktop / Cursor / OpenCode. I know the repo is built specifically for Claude with the
.claude/,.cursor/,.opencode/folders, rules, hooks, and auto-loading.I tried the manual way:
agents/*.md+skills/*.md+rules/into my promptplanner,refactor-cleaner,code-reviewer) + load specific skills (e.g.tdd-workflow,hexagonal-architecture)It works surprisingly well, but I feel like I'm not using it at 100% potential.
My questions for the community:
/plan,/code-review,/tdd...), and hooks work smoothly with Grok?I'm happy to test anything and report back. Just want to get that full "pro coding vibe" with Grok too!
Thanks in advance 🙏
Beta Was this translation helpful? Give feedback.
All reactions