YAML examples for Grok
Run Grok with all options
yaml
- action: "Run Grok"
type: "GROK"
trigger_time: "ON_EVERY_EXECUTION"
integration: "my-grok-integration"
prompts:
- "Review the code and suggest improvements"
- file: ".buddy/grok-prompt.md"
model: "grok-code-fast-1"
skills:
- buddy-works/security-audit
mcp_servers:
github:
type: "http"
url: "https://api.githubcopilot.com/mcp/"
headers:
Authorization: "Bearer $GITHUB_TOKEN"
filesystem:
type: "stdio"
command: "npx"
args:
- "-y"
- "@modelcontextprotocol/server-filesystem"
- "/buddy/my-repo"
Minimal Grok
yaml
- action: "Grok Review"
type: "GROK"
trigger_time: "ON_EVERY_EXECUTION"
integration: "my-grok-integration"
prompts:
- "Review the code"