How frugalnico/niw-guru works
niw-guru is a Bash launcher and Claude Code workflow that turns a petitioner’s read-only materials into researched, sourced NIW draft materials. The documented six stages profile the petitioner, research national importance, harvest evidence and quotes, propose future endeavors, synthesize a partial petition letter, and summarize gaps. The repository authors the orchestrator and two skills; other named skills are installed externally. Edges reflect the README’s documented pipeline; source excerpts were unavailable, so internal calls beyond that description are not asserted.
Main entry points: niw-run.md Six-stage workflow · niw-federal-evidence-harvester/SKILL.md Evidence harvester · niw-guru.in CLI launcher · niw-future-endeavors/SKILL.md Future endeavors
Components 15
Run orchestration
- CLI launcher
src/niw-guru.in - Claude CLI
- Six-stage workflow
.claude/commands/niw-run.md
Evidence and drafting
- Profile materials
- Source research
- Evidence harvester
.claude/skills/niw-federal-evidence-harvester/SKILL.md - Future endeavors
.claude/skills/niw-future-endeavors/SKILL.md - Petition synthesis
.claude/commands/niw-run.md - Summary and gaps
.claude/commands/niw-run.md
Run outputs
- Federal source PDFs
output - Importance quotes
templates/national_importance_quotes.template.md - Endeavor draft
templates/future_endeavors.template.md - Partial petition draft
templates/partial_petition_letter_draft.template.md - Run summary
output
Other components
- Petitioner materials
Connections 14
- Petitioner materials → CLI launcher: provides source
README.md - CLI launcher → Claude CLI: drives
README.md - Claude CLI → Six-stage workflow: runs workflow
README.md - Six-stage workflow → Profile materials: profiles
README.md - Six-stage workflow → Source research: researches
README.md - Six-stage workflow → Evidence harvester: harvests evidence
README.md - Six-stage workflow → Future endeavors: plans endeavors
README.md - Six-stage workflow → Petition synthesis: synthesizes stages
README.md - Six-stage workflow → Summary and gaps: summarizes gaps
README.md - Evidence harvester → Federal source PDFs: downloads
README.md - Evidence harvester → Importance quotes: produces quotes
README.md - Future endeavors → Endeavor draft: produces plan
README.md - Petition synthesis → Partial petition draft: produces draft
README.md - Summary and gaps → Run summary: produces summary
README.md