YAML examples for Oh My Pi
Run Oh My Pi with all options
yaml
- action: "Run Oh My Pi"
type: "OH_MY_PI"
trigger_time: "ON_EVERY_EXECUTION"
integration: "my_anthropic_integration"
prompts:
- "Review the code and suggest improvements"
- file: ".buddy/oh-my-pi-prompt.md"
model: "claude-sonnet-5"
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"
events:
type: "sse"
url: "https://example.com/sse"
headers:
Authorization: "Bearer $EVENTS_TOKEN"
Minimal Oh My Pi
yaml
- action: "Oh My Pi Review"
type: "OH_MY_PI"
trigger_time: "ON_EVERY_EXECUTION"
integration: "my_anthropic_integration"
prompts:
- "Review the code"