mralexsaavedra/loop
Self-hosted health and nutrition coach run by Claude Code: Apple Health, Strava and your food log in one recovery-style dashboard. Your data stays on your disk.
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
GUARDRAILS
4/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · No YOLO mode · details
Quality 52/100 Guardrails v2
Copy this rig
# review before running: this installs third-party code
$ npx degit mralexsaavedra/loop/.claude ./rig-loop # inspect, then merge into .claude/ MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.
$ npx degit mralexsaavedra/loop/.agents/skills/frontend-design .claude/skills/frontend-design $ npx degit mralexsaavedra/loop/.claude/skills/analysis .claude/skills/analysis $ npx degit mralexsaavedra/loop/.claude/skills/food-log .claude/skills/food-log $ npx degit mralexsaavedra/loop/.claude/skills/release .claude/skills/release $ npx degit mralexsaavedra/loop/.claude/skills/setup .claude/skills/setup
$ curl -fsSL --create-dirs -o .claude/agents/cycling-coach.md https://raw.githubusercontent.com/mralexsaavedra/loop/main/.claude/agents/cycling-coach.md $ curl -fsSL --create-dirs -o .claude/agents/hybrid-coach.md https://raw.githubusercontent.com/mralexsaavedra/loop/main/.claude/agents/hybrid-coach.md $ curl -fsSL --create-dirs -o .claude/agents/nutrition-coach.md https://raw.githubusercontent.com/mralexsaavedra/loop/main/.claude/agents/nutrition-coach.md $ curl -fsSL --create-dirs -o .claude/agents/training-coach.md https://raw.githubusercontent.com/mralexsaavedra/loop/main/.claude/agents/training-coach.md
Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.
{
"permissions": {
"deny": [
"Read(**/.env*)"
]
},
"hooks": {
"PreToolUse": [
{
"matcher": "Bash|Edit|Write|MultiEdit",
"hooks": [
{
"type": "command",
"command": "node \"$CLAUDE_PROJECT_DIR/.claude/hooks/guard-health-data.js\""
}
]
}
]
}
} Skills (5)
Subagents (4)
| cycling-coach model: inherit | Cycling TRAINING coach grounded in a local expert knowledge base (video transcripts of the cycling sources the user configured in profile/coaches.md) and the user's real ride data. Use it for cycling |
| hybrid-coach model: inherit | HYROX / hybrid TRAINING coach grounded in a local knowledge base (podcast transcripts and the past and current training programs the user configured in profile/coaches.md) and the user's real training |
| nutrition-coach model: inherit | Sports nutrition and supplementation coach grounded in a local evidence base (position stands such as AIS, IOC, ISSN and WADA, plus the user's national food-safety rules), the practitioner sources the |
| training-coach model: inherit | Generic TRAINING coach for any sport the other coaches do not own — running, swimming, strength / gym, team sports, racket sports, yoga / pilates, mobility, general fitness — grounded in the optional |
Hooks (1)
| event | matcher | runs |
|---|---|---|
| PreToolUse | Bash|Edit|Write|MultiEdit | node "$CLAUDE_PROJECT_DIR/.claude/hooks/guard-health-data.js" |
Permissions
deny (1)
Read(**/.env*)
ask (0)
—
allow (13)
Bash(npm test)
Bash(npm run check)
Bash(npm run generate)
Bash(npm run build:example)
Bash(npm run sync)
Bash(npm run sync:shortcut)
Bash(npm run sync:strava)
Bash(npm run sync:profile)
Bash(npm run sync:settings)
Bash(npm run sync:onboarding)
Bash(npm run sync:foodlog)
Bash(node data/apple-health/extract.mjs)
Bash(git status)
Similar rigs
Shpigford/chops
Your AI agent skills, finally organized. A macOS app to browse, edit, and manage skills across Claude Code, Cursor, Codex, Windsurf, and Amp.
Minimalist 1.6k tok · · Q3
vishalguptax/claude-code-manager
Claude Code Manager: a VS Code sidebar for Claude Code sessions, usage and limits, accounts, MCP, skills, hooks, agents and plugins. 100% local.
Minimalist 339 tok · · Q0
chocochocopipip/brain-kit
Claude Code + Obsidian vault (brain) + Orca: a two-persona setup kit (partner + dev agent). Skills, hooks, vault skeleton, base-machine setup. No memories included.
Pragmatist 1.2k tok · · Q0
aquahitt/claude-code-limit-alerts
Usage-limit alerts for Claude Code: macOS notifications, in-app warnings and statusline percentages for session (5h) and weekly limits
Automator 2.6k tok · · Q15