Self-evolving second brain with 35 AI skills, 10 agents, and people CRM. Closed-loop harness: a V-model verification lifecycle where the worker never grades its own homework. Plus paired anti-slop design skills for marketing and product UI. Works with Claude Code, Cursor, Kiro, Gemini CLI, Codex.
Python agent-loopagent-pluginsagent-skillsagenticai-agentsclaude-codeclosed-loopcursorgarry-tangbraingstackknowledge-managementloop-engineeringobsidianpeople-crmproductivitysecond-brainself-evolvingverification-harnessworker-agents
Add agents.md and Kiro powers for cross-agent compatibility
Huy Tieuf2f5c4833455
diff --git a/.kiro/powers/cog-braindump/POWER.md b/.kiro/powers/cog-braindump/POWER.mdnew file mode 100644index 0000000..2f35094--- /dev/null+++ b/.kiro/powers/cog-braindump/POWER.md@@ -0,0 +1,93 @@+---+name: "cog-braindump"+displayName: "COG Braindump"+description: "Quick capture of raw thoughts with intelligent domain classification and competitive intelligence extraction"+keywords: ["braindump", "brain dump", "capture thoughts", "write down ideas", "thoughts", "get thoughts out", "dump my thoughts", "idea capture"]+---++# COG Braindump Power++Transform raw thoughts into strategic intelligence through quick capture, systematic analysis, pattern recognition, and domain-aware insight extraction with minimal user friction.++## When This Power Activates++- User wants to capture stream-of-consciousness thoughts+- User mentions "braindump", "brain dump", "capture thoughts", or "write down ideas"+- User has ideas they want to quickly record++## Pre-Flight Check++1. Check for `00-inbox/MY-PROFILE.md`+2. If NOT found: Suggest running onboarding first or proceed with defaults+3. If found: Read profile for user's name, active projects, and competitive watchlist++## Process Flow++### 1. Input Collection++- Greet user warmly (use their name if available)+- Ask: "What's on your mind?" or "Ready for a brain dump?"+- Accept any format - long, rambling, voice-to-text, etc.++### 2. Domain Classification++Ask user to classify or auto-detect:+- **Personal:** Individual growth, relationships, wellness+- **Professional:** Work, leadership, career development+- **Project-Specific:** Offer project list from MY-PROFILE.md+- **Mixed/Unclear:** Spans multiple areas++### 3. Content Analysis++Extract and analyze:+- **Main Themes:** 3-5 primary topics+- **Supporting Ideas:** Related concepts+- **Questions Raised:** Explicit and implicit+- **Decisions Contemplated:** Choices being considered+- **Action Items:** Tasks and commitments++### 4. Strategic Insight Extraction++Identify:+- **Key Insights:** 3-5 most important realizations+- **Pattern Recognition:** Connections to previous thoughts+- **Strategic Implications:** Impact on goals and priorities++### 5. Competitive Intelligence Detection++If COMPETITIVE-WATCHLIST.md exists:+- Scan for mentions of tracked companies/people+- Extract to separate competitive intelligence files+- Create cross-references back to braindump++### 6. Generate Output++Create structured braindump file with:+- YAML frontmatter (type, domain, date, themes, tags, status)+- Raw Thoughts section (preserved exactly)+- Content Analysis (themes, questions, decisions)+- Strategic Intelligence (insights, patterns, implications)+- Action Items (immediate, short-term, strategic)+- Connections (related braindumps, projects, knowledge)++## Output Locations++- **Personal:** `02-personal/braindumps/braindump-YYYY-MM-DD-HHMM-<slug>.md`+- **Professional:** `03-professional/braindumps/braindump-YYYY-MM-DD-HHMM-<slug>.md`+- **Project:** `04-projects/[project-slug]/braindumps/braindump-YYYY-MM-DD-HHMM-<slug>.md`+- **Mixed:** `00-inbox/braindump-YYYY-MM-DD-HHMM-<slug>.md`++## Confidence Levels++- **High (90%+):** Clear content with obvious domain+- **Medium (70-89%):** Generally clear with some ambiguity+- **Low (50-69%):** Significant ambiguity requiring user input++Always state confidence levels explicitly in processing notes.++## Follow-up Suggestions++After braindump, suggest:+- Review patterns across multiple braindumps+- Weekly check-in to reflect on themes+- Knowledge consolidation to build frameworksdiff --git a/.kiro/powers/cog-daily-brief/POWER.md b/.kiro/powers/cog-daily-brief/POWER.mdnew file mode 100644index 0000000..aa5c1d4--- /dev/null+++ b/.kiro/powers/cog-daily-brief/POWER.md@@ -0,0 +1,96 @@+---+name: "cog-daily-brief"+displayName: "COG Daily Brief"+description: "Generate personalized news intelligence with verified sources and 7-day freshness requirement"+keywords: ["daily brief", "news", "what's happening", "morning brief", "daily news", "intelligence briefing", "news update", "morning update"]+---++# COG Daily Brief Power++Find verified, relevant news for personalized daily briefings with strict verification standards and strategic relevance analysis tailored to user's specific interests and projects.++## When This Power Activates++- User wants their daily news briefing+- User mentions "daily brief", "news", "what's happening", "morning brief"+- Morning routine or regular check-in time++## Pre-Flight Check++1. Check for `00-inbox/MY-PROFILE.md` and `00-inbox/MY-INTERESTS.md`+2. If NOT found: Suggest onboarding or generate general brief+3. If found: Read interests, profile, and competitive watchlist++## Verification Standards (MANDATORY)++### Date Verification+- ALL news MUST be from last 7 days ONLY+- Verify publication dates with timestamps+- NEVER include older news without explicit disclosure++### Source Credibility Tiers+- **Tier 1 (Highest):** Reuters, AP, Bloomberg, WSJ, NYT, official announcements+- **Tier 2 (High):** Industry publications, credible tech/business blogs+- **Tier 3 (Moderate):** Verified social media, company blogs++### Fact Cross-Reference+- Minimum 2 credible sources for any claim+- Verify statistics before including+- Identify potential bias++## Strategic Relevance Analysis++### Direct Impact (High Priority)+- News directly affecting user's projects+- Regulatory changes in user's industry+- Competitive moves by direct competitors++### Strategic Impact (Medium Priority)+- Market trends affecting target customers+- Investment patterns in user's industry+- Partnership opportunities or threats++### Contextual Impact (Lower Priority)+- Broader economic trends+- Technology trends for future planning+- Industry thought leadership++## Output Structure++Generate comprehensive brief with:+- Executive Summary (2-3 sentences)+- High Impact News (direct impact items)+- Strategic Developments+- Market Intelligence+- Technology Watch+- Competitive Landscape (from watchlist)+- Opportunities & Recommendations+- Risks & Threats+- Verification Report (sources, fact-checking, freshness)+- Complete Sources list++## Output Location++`01-daily/briefs/daily-brief-YYYY-MM-DD.md`++## Special Cases++### No Recent News Found+```+**No significant news found in last 7 days**+Last significant development was [date] regarding [topic].+```++### Information Cannot Be Verified+Mark with warning, state what's uncertain, recommend monitoring.++### Sources Conflict+Present both perspectives, areas of agreement/disagreement, recommendation.++## Success Criteria++- All news within 7-day window (100% compliance)+- All sources verified and linked+- Confidence levels clearly stated+- Opportunities and risks identified+- Follow-up actions suggesteddiff --git a/.kiro/powers/cog-knowledge-consolidation/POWER.md b/.kiro/powers/cog-knowledge-consolidation/POWER.mdnew file mode 100644index 0000000..0a7673f--- /dev/null+++ b/.kiro/powers/cog-knowledge-consolidation/POWER.md@@ -0,0 +1,103 @@+---+name: "cog-knowledge-consolidation"+displayName: "COG Knowledge Consolidation"+description: "Build frameworks from scattered insights across all braindumps and notes"+keywords: ["consolidate knowledge", "build frameworks", "synthesize insights", "extract patterns", "knowledge consolidation", "create framework", "analyze patterns"]+---++# COG Knowledge Consolidation Power++Transform scattered insights from braindumps, daily briefs, and check-ins into coherent frameworks and "single source of truth" knowledge documents through pattern recognition and systematic synthesis.++## When This Power Activates++- User wants to consolidate their insights+- User mentions "consolidate knowledge", "build frameworks", "synthesize insights"+- Time for periodic knowledge base maintenance+- Before major decisions that could benefit from framework consultation++## Process Flow++### 1. Data Gathering++Scan vault for unprocessed content:+- Braindumps: `02-personal/`, `03-professional/`, `04-projects/*/`, `00-inbox/`+- Daily briefs: `01-daily/briefs/`+- Check-ins: `01-daily/checkins/`+- Project documents: `04-projects/*/planning/`, `04-projects/*/resources/`++Ask user: "What time period should I analyze? (last week, last month, last quarter, all time, custom?)"++### 2. Pattern Recognition++Apply systematic pattern detection:++**Frequency Analysis:** What comes up repeatedly?+- Themes across multiple documents+- Persistent questions or concerns+- Recurring action items or decisions++**Temporal Clustering:** What emerged together?+- Related insights by time period+- Thinking evolution over time+- Inflection points where thinking shifted++**Domain Correlation:** What crosses domains?+- Personal insights affecting professional thinking+- Project experiences informing personal growth+- Strategic themes spanning all domains++**Contradiction Analysis:** Where does thinking conflict?+- Contradictory thoughts or approaches+- Evolution vs. inconsistency+- Perspective shifts over time++### 3. Framework Development++Synthesize patterns into actionable frameworks:++**Identify Core Principles:** What fundamental truths emerge?+**Test Against Evidence:** Do sources support these principles?+**Define Boundaries:** When does this framework apply/not apply?+**Create Applications:** How to use this framework?++### 4. Knowledge Integration++**Update Existing Frameworks:** Add new evidence, refine principles+**Create New Frameworks:** For newly identified patterns+**Document Patterns:** Create pattern analysis files+**Create Timeline Entries:** Track thinking evolution++## Output Locations++- Frameworks: `05-knowledge/consolidated/[framework-name]-framework.md`+- Patterns: `05-knowledge/patterns/pattern-[name].md`+- Timeline: `05-knowledge/timeline/[topic]-evolution-YYYY-MM.md`+- Reports: `05-knowledge/consolidated/consolidation-YYYY-MM-DD.md`++### 5. Cleanup and Archival++- Mark processed braindumps: `status: "consolidated"`+- Add consolidation reference: `consolidated_in: "[[consolidation-YYYY-MM-DD]]"`+- Archive superseded content to `00-inbox/archive/`++## Framework Status Levels++- **Emerging:** New, needs more evidence+- **Working:** Generally useful, still refining+- **Stable:** Well-established, proven useful++## Quality Guidelines++- **Quality Over Quantity:** Don't force insights that aren't mature+- **Preserve Nuance:** Don't over-simplify complex insights+- **Maintain Traceability:** Always link back to sources+- **Living Documents:** Frameworks should evolve with new insights++## Success Metrics++- Completeness: All relevant insights processed+- Coherence: Frameworks logically consistent+- Traceability: Clear links to source material+- Actionability: Frameworks applicable to decisions+- Evolution: Documented thinking progressiondiff --git a/.kiro/powers/cog-onboarding/POWER.md b/.kiro/powers/cog-onboarding/POWER.mdnew file mode 100644index 0000000..5751e08--- /dev/null+++ b/.kiro/powers/cog-onboarding/POWER.md@@ -0,0 +1,78 @@+---+name: "cog-onboarding"+displayName: "COG Onboarding"+description: "Personalize COG second brain for your workflow - creates profile, interests, and watchlist files with guided setup"+keywords: ["onboarding", "setup COG", "setup profile", "get started", "configure COG", "personalize", "my profile"]+---++# COG Onboarding Power++Welcome new users and collect essential information to personalize their COG (Claude + Obsidian + Git) second brain experience.++## When This Power Activates++- User mentions "onboarding", "setup", or "get started"+- User is new and hasn't completed onboarding yet+- User wants to update their profile or add new projects++## Onboarding Steps++### 1. Check for Existing Profile++Look for `00-inbox/MY-PROFILE.md` in the vault:+- If exists: Offer update mode (update profile, add interests, add projects, view current, start fresh)+- If not found: Proceed with full onboarding++### 2. Collect Information (Keep it Simple!)++Ask only essential questions conversationally:++1. **Name** - First name or full name+2. **Role** - Job/role/main activity (e.g., "Software engineer", "Product manager")+3. **Interests** - 3-5 topics to learn about or stay updated on+4. **News Sources** - Preferred information sources (e.g., "Hacker News, Twitter")+5. **Active Projects** - Optional, comma-separated project names+6. **Competitive Watch** - Optional, companies/people to track++### 3. Generate Profile Documents++Create these markdown files:++**`00-inbox/MY-PROFILE.md`** - Basic profile with name, role, active projects+**`00-inbox/MY-INTERESTS.md`** - Topics and preferred news sources+**`03-professional/COMPETITIVE-WATCHLIST.md`** - If tracking competitors+**`04-projects/[project-slug]/PROJECT-OVERVIEW.md`** - For each project++### 4. Create Directory Structure++```+00-inbox/+01-daily/briefs/, checkins/+02-personal/braindumps/, development/, wellness/+03-professional/braindumps/, leadership/, strategy/, skills/+04-projects/[project-slug]/braindumps/, competitive/, content/, planning/, resources/+05-knowledge/consolidated/, patterns/, timeline/, booklets/+06-templates/+```++### 5. Generate Welcome Guide++Create `00-inbox/WELCOME-TO-COG.md` with quick start instructions.++## Success Criteria++- MY-PROFILE.md created in 00-inbox/+- MY-INTERESTS.md created in 00-inbox/+- Project directories created if applicable+- Welcome guide created+- User understands next steps++## Configuration Philosophy++All configuration is stored as readable markdown files:+- Human-readable and editable+- Version controlled with Git+- Searchable in Obsidian+- Linkable from other notes++**Run this first** if you're new to COG.diff --git a/.kiro/powers/cog-url-dump/POWER.md b/.kiro/powers/cog-url-dump/POWER.mdnew file mode 100644index 0000000..709a06d--- /dev/null+++ b/.kiro/powers/cog-url-dump/POWER.md@@ -0,0 +1,134 @@+---+name: "cog-url-dump"+displayName: "COG URL Dump"+description: "Quick capture URLs with automatic content extraction, insights, and categorization into knowledge booklets"+keywords: ["url dump", "save this link", "bookmark this", "save for later", "save url", "bookmark", "save link", "capture url"]+---++# COG URL Dump Power++Transform raw URLs into structured, insightful knowledge entries through intelligent content extraction, categorization, and integration with the user's knowledge base.++## When This Power Activates++- User shares a URL they want to save+- User mentions "save this link", "bookmark this", "url dump", "save for later"+- User pastes a URL and wants to capture it++## Pre-Flight Check++1. Check for `00-inbox/MY-PROFILE.md`+2. If found: Read interests and projects for auto-categorization+3. Check existing categories in `05-knowledge/booklets/`++## Process Flow++### 1. Input Collection++Accept URL(s) from user:+- Single URL or batch+- Optional user note about why they're saving it+- Any format: bare URL, markdown link, or with notes++### 2. URL Validation & Fetch++- Validate URL format+- Check if accessible+- Detect duplicates in existing knowledge base+- Fetch web page content++Extract:+- Page Title, Meta Description+- Author, Published Date (if available)+- Word Count, Read Time+- Main Content, Key Headings++### 3. Category Selection++**Default Categories:**+- Articles & Blogs+- Tools & Resources+- Reference & Documentation+- Research & Papers+- Inspiration & Design+- Videos & Media+- News & Updates+- Project-Specific (offer project list)+- To Review (unsure)++Auto-suggest category based on content, let user confirm or change.++### 4. Content Analysis++**Classification:**+- Content Category, Primary Topics, Tone+- Quality Assessment, Credibility Indicators++**Insight Extraction:**+- Executive Summary (2-3 sentences)+- Key Insights (3 items with context)+- Notable Quotes, Action Items++**Relevance Assessment:**+- User Interest Match (high/medium/low)+- Project Relevance+- Knowledge Gap filled+- Timeliness (evergreen/current/dated)++### 5. Generate Output++Create structured bookmark file with:+- YAML frontmatter (type, category, url, title, tags, relevance)+- Quick Summary+- Key Insights+- Why This Matters (connection to user's interests)+- Content Highlights+- Practical Takeaways+- Related Knowledge links+- Source Details table++### Tool/Resource Special Template++For tools and software, include:+- What It Does+- Key Features+- Use Cases+- Pricing+- Evaluation Status checklist++## Output Locations++- **Standard:** `05-knowledge/booklets/[category-slug]/[title-slug]-YYYY-MM-DD.md`+- **Project-specific:** `04-projects/[project-slug]/resources/[title-slug]-YYYY-MM-DD.md`+- **Unclear:** `00-inbox/url-[title-slug]-YYYY-MM-DD.md`++## Batch Processing++For multiple URLs, process and report:+```+1. [URL 1] → [category] → Saved to [path]+2. [URL 2] → [category] → Saved to [path]++Summary: X articles, Y tools saved+```++## Confidence Levels++- **High (90%+):** Clear content with obvious categorization+- **Medium (70-89%):** Generally clear with some ambiguity+- **Low (50-69%):** Significant ambiguity requiring user input+- **Very Low (<50%):** Major uncertainty, save to inbox++## Special Cases++- **Paywalled:** Note limitation, extract available preview+- **Dynamic Content:** Note content may change+- **Non-English:** Note language, provide translation if possible++## Success Metrics++- Speed of capture (< 30 seconds for single URL)+- Accurate categorization with user confirmation+- Useful insight extraction+- Proper integration with existing knowledge+- Easy retrieval and discovery laterdiff --git a/.kiro/powers/cog-weekly-checkin/POWER.md b/.kiro/powers/cog-weekly-checkin/POWER.mdnew file mode 100644index 0000000..a5361e7--- /dev/null+++ b/.kiro/powers/cog-weekly-checkin/POWER.md@@ -0,0 +1,108 @@+---+name: "cog-weekly-checkin"+displayName: "COG Weekly Check-in"+description: "Cross-domain pattern analysis and strategic reflection for weekly review"+keywords: ["weekly checkin", "weekly check-in", "weekly review", "reflect on my week", "week reflection", "weekly planning", "end of week"]+---++# COG Weekly Check-in Power++Comprehensive weekly review and analysis integrating insights across all domains (personal, professional, projects) with pattern recognition and strategic planning.++## When This Power Activates++- User wants to do their weekly review+- User mentions "weekly checkin", "weekly review", "reflect on my week"+- End of week reflection time++## Pre-Flight Check++1. Check for `00-inbox/MY-PROFILE.md`+2. If found: Use name for personalization, reference active projects++## Process Flow++### 1. Gather Context++Scan recent files from the past week:+- Daily briefs in `01-daily/briefs/`+- Braindumps in `02-personal/`, `03-professional/`, `04-projects/*/braindumps/`+- Previous check-ins in `01-daily/checkins/`++### 2. Guided Reflection++Lead user through reflection with warm, conversational tone:++**Overall Week Assessment:**+- "How would you rate this week on a 1-5 scale? Why?"+- "What were your biggest wins this week?"+- "What were your main challenges?"++**Personal Domain:**+- "How did you take care of yourself this week?"+- "Any personal growth or insights?"+- "How were your energy levels?"++**Professional Domain:**+- "What did you accomplish at work?"+- "How did things go with your team?"+- "Any professional development?"++**Projects Domain (for each active project):**+- "How did [project name] progress this week?"+- "What moved forward? What's blocking you?"++**Pattern Recognition:**+- "Notice any recurring themes in your braindumps?"+- "How did your energy vary throughout the week?"+- "Any connections between different areas of your life?"++**Forward Planning:**+- "What are your top 3 priorities for next week?"+- "What do you want to do differently?"+- "What would success look like next week?"++### 3. Generate Check-in Document++Create structured document with:+- Executive Summary (rating, highlights, challenges)+- Domain Reviews (personal, professional, projects)+- Pattern Recognition (recurring themes, energy patterns, cross-domain insights)+- Forward Planning (priorities, carry forward items, experiments)+- Success Criteria for next week++## Output Location++`01-daily/checkins/weekly-checkin-YYYY-MM-DD.md`++## Conversational Guidelines++### Do:+- Warm, empathetic, conversational tone+- Ask thoughtful follow-up questions+- Help identify patterns they might not see+- Celebrate wins genuinely+- Acknowledge challenges honestly++### Don't:+- Rush through questions+- Make assumptions+- Judge their week rating+- Force positivity if they had a tough week+- Skip emotional/energy assessment++## Pattern Recognition Techniques++- **Frequency Analysis:** What themes come up repeatedly?+- **Temporal Clustering:** How did thinking evolve through the week?+- **Domain Correlation:** What crosses personal/professional/project boundaries?+- **Contradiction Analysis:** Where does thinking conflict with actions?+- **Energy Pattern Detection:** When was energy highest/lowest?++## Success Metrics++- User completes meaningful reflection+- Patterns identified and documented+- Clear priorities set for next week+- User feels heard and understood+- Cross-domain insights revealeddiff --git a/agents.md b/agents.mdnew file mode 100644index 0000000..c83df56--- /dev/null+++ b/agents.md@@ -0,0 +1,257 @@+# COG Second Brain - Agent Commands++This document defines the available commands/skills for AI agents interacting with COG (Claude + Obsidian + Git second brain system).++## Available Commands++### /onboarding++**Description:** Personalize COG for your workflow - creates profile, interests, and watchlist files with guided setup.++**Triggers:**+- `/onboarding`+- "onboarding"+- "setup COG"+- "setup my profile"+- "get started"++**Purpose:** Welcome new users and collect essential information to personalize their COG experience. Creates profile documents stored as markdown files within the vault.++**What it does:**+1. Collects user name, role, interests, and preferred news sources+2. Creates `00-inbox/MY-PROFILE.md` with basic preferences+3. Creates `00-inbox/MY-INTERESTS.md` with topics for daily briefs+4. Optionally creates project structures in `04-projects/`+5. Optionally creates `03-professional/COMPETITIVE-WATCHLIST.md`+6. Generates a welcome guide++**Run this first** if you're new to COG.++---++### /braindump++**Description:** Quick capture of raw thoughts with intelligent domain classification and competitive intelligence extraction.++**Triggers:**+- `/braindump`+- "braindump"+- "brain dump"+- "capture thoughts"+- "write down ideas"+- "get thoughts out of my head"++**Purpose:** Transform raw thoughts into strategic intelligence through quick capture, systematic analysis, pattern recognition, and domain-aware insight extraction with minimal user friction.++**What it does:**+1. Accepts stream-of-consciousness input (any format)+2. Classifies content by domain (personal/professional/project-specific)+3. Extracts themes, questions, decisions, and action items+4. Generates strategic insights and pattern recognition+5. Auto-extracts competitive intelligence if watchlist exists+6. Saves structured output to appropriate domain folder++**Output locations:**+- Personal: `02-personal/braindumps/`+- Professional: `03-professional/braindumps/`+- Project: `04-projects/[project-slug]/braindumps/`+- Mixed: `00-inbox/`++---++### /daily-brief++**Description:** Generate personalized news intelligence with verified sources (7-day freshness requirement).++**Triggers:**+- `/daily-brief`+- "daily brief"+- "news"+- "what's happening"+- "morning brief"+- "daily news"++**Purpose:** Find verified, relevant news for personalized daily briefings with strict verification standards and strategic relevance analysis tailored to user's specific interests and projects.++**What it does:**+1. Reads user interests from `00-inbox/MY-INTERESTS.md`+2. Searches for news within last 7 days only+3. Verifies sources with credibility assessment (Tier 1/2/3)+4. Analyzes strategic relevance to user's role and projects+5. Identifies opportunities and threats+6. Generates comprehensive briefing with sources++**Output location:** `01-daily/briefs/daily-brief-YYYY-MM-DD.md`++**Key features:**+- All news must be from last 7 days (mandatory)+- Minimum 2 credible sources per claim+- Confidence levels explicitly stated+- Action items and recommendations included++---++### /weekly-checkin++**Description:** Cross-domain pattern analysis and strategic reflection for weekly review.++**Triggers:**+- `/weekly-checkin`+- "weekly checkin"+- "weekly check-in"+- "weekly review"+- "reflect on my week"+- "week reflection"++**Purpose:** Comprehensive weekly review and analysis integrating insights across all domains (personal, professional, projects) with pattern recognition and strategic planning.++**What it does:**+1. Scans recent braindumps, briefs, and check-ins+2. Guides user through reflection questions+3. Reviews each domain (personal, professional, projects)+4. Identifies patterns across the week+5. Helps set priorities for next week+6. Generates structured check-in document++**Output location:** `01-daily/checkins/weekly-checkin-YYYY-MM-DD.md`++**Covers:**+- Overall week assessment and rating+- Personal wellness and growth+- Professional accomplishments+- Project progress for each active project+- Cross-domain patterns and insights+- Forward planning with priorities++---++### /knowledge-consolidation++**Description:** Build frameworks from scattered insights across all braindumps and notes.++**Triggers:**+- `/knowledge-consolidation`+- "consolidate knowledge"+- "build frameworks"+- "synthesize insights"+- "extract patterns"++**Purpose:** Transform scattered insights from braindumps, daily briefs, and check-ins into coherent frameworks and "single source of truth" knowledge documents through pattern recognition and systematic synthesis.++**What it does:**+1. Scans vault for unprocessed content (braindumps, briefs, check-ins)+2. Applies pattern recognition (frequency, temporal, domain correlation)+3. Identifies contradictions and cross-cutting patterns+4. Develops actionable frameworks from patterns+5. Updates existing frameworks or creates new ones+6. Generates consolidation report+7. Marks processed braindumps as consolidated++**Output locations:**+- Frameworks: `05-knowledge/consolidated/[framework-name]-framework.md`+- Patterns: `05-knowledge/patterns/pattern-[name].md`+- Timeline: `05-knowledge/timeline/[topic]-evolution-YYYY-MM.md`+- Reports: `05-knowledge/consolidated/consolidation-YYYY-MM-DD.md`++---++### /url-dump++**Description:** Quick capture URLs with automatic content extraction, insights, and categorization into knowledge booklets.++**Triggers:**+- `/url-dump`+- "url dump"+- "save this link"+- "bookmark this"+- "save for later"+- Pasting a URL++**Purpose:** Transform raw URLs into structured, insightful knowledge entries through intelligent content extraction, categorization, and integration with the user's knowledge base.++**What it does:**+1. Validates and fetches URL content+2. Extracts title, author, date, main content+3. Auto-categorizes (articles, tools, reference, research, etc.)+4. Generates summary and key insights+5. Assesses relevance to user interests/projects+6. Creates structured bookmark file++**Categories:**+- Articles & Blogs+- Tools & Resources+- Reference & Documentation+- Research & Papers+- Inspiration & Design+- Videos & Media+- News & Updates+- Project-Specific++**Output locations:**+- Standard: `05-knowledge/booklets/[category]/[title-slug]-YYYY-MM-DD.md`+- Project-specific: `04-projects/[project-slug]/resources/`+- Unclear: `00-inbox/`++---++## Vault Structure++```+COG-second-brain/+├── 00-inbox/ # Landing zone, profile files+│ ├── MY-PROFILE.md # User profile (created by onboarding)+│ └── MY-INTERESTS.md # User interests (created by onboarding)+├── 01-daily/ # Daily content+│ ├── briefs/ # Daily intelligence briefs+│ └── checkins/ # Weekly check-ins+├── 02-personal/ # Personal domain+│ └── braindumps/ # Personal braindumps+├── 03-professional/ # Professional domain+│ ├── braindumps/ # Work-related braindumps+│ └── COMPETITIVE-WATCHLIST.md+├── 04-projects/ # Project-specific content+│ └── [project-slug]/+│ ├── PROJECT-OVERVIEW.md+│ ├── braindumps/+│ ├── competitive/+│ └── resources/+├── 05-knowledge/ # Consolidated knowledge+│ ├── consolidated/ # Frameworks and reports+│ ├── patterns/ # Identified patterns+│ ├── timeline/ # Thinking evolution+│ └── booklets/ # URL bookmarks by category+└── 06-templates/ # Document templates+```++---++## Quick Start++1. **New user?** Run `/onboarding` first to set up your profile+2. **Capture thoughts?** Use `/braindump` anytime+3. **Morning routine?** Run `/daily-brief` for your intelligence briefing+4. **End of week?** Use `/weekly-checkin` to reflect+5. **Save a link?** Use `/url-dump` with the URL+6. **Build knowledge?** Run `/knowledge-consolidation` periodically++---++## Configuration++All configuration is stored as readable markdown files:+- `00-inbox/MY-PROFILE.md` - Basic profile and active projects+- `00-inbox/MY-INTERESTS.md` - Topics for news curation+- `03-professional/COMPETITIVE-WATCHLIST.md` - Companies/people to track++Edit these files anytime - changes take effect immediately.++---++## Philosophy++COG follows these principles:+- **Verification-first:** All information sourced and verified+- **Transparency:** Confidence levels explicitly stated+- **Configuration as knowledge:** Preferences stored as editable notes+- **Self-evolving:** Patterns and frameworks grow over time+- **Low friction:** Quick capture, systematic organization