# Diet Trial

> Run uzomuzo diet on an external OSS project. Usage: /diet-trial <org/repo> [--tool trivy|syft] [--compare] [--no-source] [--no-save]

- Skill: `future-architect/diet-trial` (Agent Skill)
- Install (CLI): `npx skillmds@latest add future-architect/diet-trial`
- Raw SKILL.md: https://api.skillmd.com/api/skills/future-architect/diet-trial/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: future-architect (https://skillmd.com/u/future-architect)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/future-architect/diet-trial

---


# /diet-trial — OSS Diet Analysis Trial

> **Full specification**: See `.github/prompts/diet-trial.prompt.md` for the complete
> execution pipeline, analysis procedure, and report format.

## Quick Reference

- **Basic**: `/diet-trial grafana/grafana` — Trivy SBOM + diet + save report
- **Syft**: `/diet-trial gin-gonic/gin --tool syft` — use syft instead of Trivy
- **Compare**: `/diet-trial vuejs/core --compare` — run both tools, compare results
- **Fast**: `/diet-trial fastapi/fastapi --no-source` — skip source coupling (Phase 2)
- **No save**: `/diet-trial hashicorp/terraform --no-save` — display only, don't save

## Pipeline

1. Clone (shallow) → 2. SBOM (Trivy/syft) → 3. `uzomuzo diet` → 4. Analysis + anomaly detection → 5. Auto-file issues for bugs → 6. Save report

## Key Points

- No GITHUB_TOKEN needed (diet accuracy is local-only: Graph + Coupling)
- Reports saved to `case-studies/uzomuzo-diet/<language>/` by default (go/python/typescript/java)
- Anomaly detection flags potential uzomuzo bugs and **auto-files GitHub issues** with reproduction data
- `--compare` mode produces SBOM tool comparison tables for conference materials
- Groups related anomalies into single issues; adds comments to existing issues for duplicates

