cd apps/codex
npm install
npm run index -- --validateOutput: codex-index.json and codex-report.json generated
gh workflow run build-index.yml --repo framersai/codexOr click "Run workflow" at:
https://github.com/framersai/codex/actions/workflows/build-index.yml
cd apps/codex
./scripts/retrigger-full-catalog.shCreates a PR that requires manual approval (unless AUTO_CATALOG_MERGE=true)
GH_PAT=ghp_... # Required for auto-merge
OPENAI_API_KEY=sk-... # Optional for AI analysis
AUTO_CATALOG_MERGE=false # Default: requires manual approval
AI_PROVIDER=disabled # Optional: disable AI| Feature | Cost | When |
|---|---|---|
| Static NLP indexing | $0 | Every PR, every re-catalog |
| AI quality analysis | $0.01-0.20/PR | Only if OPENAI_API_KEY set |
| Full re-catalog (100 files) | $0 or ~$5 | Manual trigger or scheduled |
Default setup: $0/month (AI disabled)
- PR Opened → Static NLP runs (free, 30s)
- If OPENAI_API_KEY set → AI analysis runs (~$0.05, 2min)
- If author in WEAVERS.txt → Auto-approve & merge
- Else → Manual review required
- On merge → Index rebuilds (free, 30s)
- Live on frame.dev/codex immediately
Default: Manual approval required ✅ (Recommended)
Enable auto-merge:
# In GitHub secrets
AUTO_CATALOG_MERGE=trueWhen to enable:
- High confidence in automation
- Frequent re-catalogs needed
- Well-tested vocabulary
When to keep disabled:
- Want human oversight
- Testing new rules
- Initial setup phase
- DEVELOPMENT.md - Complete dev guide
- RECATALOG_GUIDE.md - Re-catalog details
- how-to-submit.md - Contributor guide
- submission-schema.md - Schema reference
Frame Codex: The OS for humans, the codex of humanity.