Grok Bot template · Prompt engineering
Prompt Engineering Guidance
Generate valid JSON, XML, or code by constraining LLM output with regex and grammars.
What it can do
The skills built into this template. Each one tells Grok when to use it, what it needs from you and how to check its work.
- Regex-constrained generation
- Selection-constrained generation
- Grammar-based structured output
- Multi-step workflow with guidance functions
- Token healing
- Context-managed chat generation
- Backend configuration
Apps it works with
Connect these in Grok for the best results. It also works without them: you paste the information in.
Anthropic API keyOpenAI API keyHugging Face model accessllama.cpp model file
The full template
For members
The complete Prompt Engineering Guidance template: its identity, every skill step by step, its limits and its first-run questions, ready to paste into a new Grok Bot. Members get it, and every other template here.
Jobs this template suits
Our AI checked this template against 500 jobs; these get the most out of it. Each job links to its learning path.