portfolio-ingest
Upload Ingestion
Extract portfolio entities and institutional context from user-provided documents in the project's uploads/ folder. Supported file types: .md, .docx, .pptx, .xlsx, .pdf.
Core Concept
Plugin root resolution. Bash invocations below resolve the plugin root inline as ${CLAUDE_PLUGIN_ROOT:-$(ls -td "$HOME"/.claude/plugins/cache/insight-wave/cogni-portfolio/*/ | head -1)} — the first call works whether or not the harness injects $CLAUDE_PLUGIN_ROOT. Keep the inline form in every call; do not strip it.
Most users already have product information scattered across decks, spreadsheets, and documents. Ingestion bridges the gap between existing material and a structured portfolio in two ways:
- Entity extraction — turns unstructured documents into typed entities (products, features, markets) that the rest of the pipeline builds on.
- Context extraction — captures institutional knowledge (competitive intelligence, pricing benchmarks, strategic positioning, customer insights) as structured context entries that downstream skills use to generate sharper, company-specific output.
Entity extraction gives the user a head start on portfolio structure. Context extraction ensures the intelligence buried in strategy decks, pricing models, and win/loss reports doesn't get lost — it flows into propositions, solutions, competitor analysis, and every other downstream skill automatically.