This is the shortest path to test the approach on your own product.
cd /absolute/path/to/codex-second-brain-starter-kit
./scripts/install_codex_starter.shThis copies the bundled generic skills into ${CODEX_HOME:-$HOME/.codex}/skills.
Replace the placeholders below with your own values:
./scripts/second_brain_wizard.py init-portfolio \
--portfolio-root "/absolute/path/to/second-brain-portfolio" \
--name "Acme Product Portfolio" \
--obsidian-root "/absolute/path/to/Obsidian/Product Brains"What this creates:
- a portfolio registry
- shared roots for workspaces, manifests, and default vault locations
- a repeatable starting point for multiple second brains
./scripts/second_brain_wizard.py add-brain \
--portfolio-root "/absolute/path/to/second-brain-portfolio" \
--name "Acme Platform" \
--slug "acme-platform" \
--mode hybridWhat this creates:
- a starter manifest
- a starter intelligence profile
- a scaffolded Obsidian vault
- a first vault audit
- a first engineering-readiness report
Open the generated manifest and place your real source material in the paths it describes:
sources.corpus_pathrepositories.local_clone_root
Then:
- replace the sample repository entries with your actual repositories
- update
profile.intelligence_pathif you want the profile elsewhere - edit the generated
config/intelligence-profile.yamlto reflect your real capabilities, keywords, and repo mappings
python3 ./skills/product-intelligence-factory/scripts/validate_product_manifest.py \
--manifest "/absolute/path/to/second-brain-portfolio/manifests/acme-platform.yaml" \
--check-pathsRecommended order:
prompts/01_bootstrap_product.mdprompts/02_ingest_and_build_second_brain.mdprompts/03_build_engineering_layer.mdprompts/04_bug_workflow.mdprompts/05_create_automations.mdprompts/06_review_readiness.md
If you want the packaged helpers to do the heavy lifting before the prompt pass, run:
python3 ./skills/product-intelligence-factory/scripts/build_source_indices.py \
--manifest "/absolute/path/to/second-brain-portfolio/manifests/acme-platform.yaml"
OPENAI_API_KEY="..." \
python3 ./skills/product-intelligence-factory/scripts/rebuild_product_brain.py \
--manifest "/absolute/path/to/second-brain-portfolio/manifests/acme-platform.yaml"A good first test should end with:
- a usable Obsidian home note
- linked research and engineering notes
- at least one code-intelligence path from docs to code
- a real readiness report
- a clear list of what is still manual
./scripts/second_brain_wizard.py list-brains --portfolio-root "/absolute/path/to/second-brain-portfolio"
./scripts/second_brain_wizard.py doctor --portfolio-root "/absolute/path/to/second-brain-portfolio"
./scripts/second_brain_wizard.py refresh --portfolio-root "/absolute/path/to/second-brain-portfolio"refresh rebuilds source indices and vault notes before regenerating audit and readiness outputs. Use --metadata-only when you only want the audit/readiness pass.