Braindump

From huytieu/COG-second-brain · View interactive version

Braindump is an AI agent skill from the GitHub repository huytieu/COG-second-brain. Quick capture of raw thoughts with intelligent domain classification and competitive intelligence extraction

How to use this skill

Skill file

COG Braindump Skill

Purpose

Transform raw thoughts into strategic intelligence through quick capture, systematic analysis, pattern recognition, and domain-aware insight extraction with minimal user friction.

When to Invoke

Agent Mode Awareness

Check agent_mode in 00-inbox/MY-PROFILE.md frontmatter:

Pre-Flight Check

Before executing, check for user profile:

  1. Look for 00-inbox/MY-PROFILE.md in the vault
  2. If NOT found:

```

Welcome to COG! It looks like this is your first time.

Before we start, let's quickly set up your profile (takes 2 minutes).

Would you like to run onboarding first, or should I proceed with default settings?

```

  1. If found:

Get current timestamp (REQUIRED before generating any files):

  1. Run date '+%Y-%m-%d %H:%M' using Bash to get the actual current date and time
  2. Store this value and use it for ALL timestamp fields (created: frontmatter AND filename HHMM component)
  3. NEVER guess or fabricate the time — always use the value returned by the date command

Process Flow

1. User Interaction & Input Collection

2. Domain Classification

Ask user to classify or auto-detect based on content:

If user profile exists with projects:

If no profile: Use standard personal/professional/mixed classification

3. Content Analysis and Processing

Apply the comprehensive analysis framework directly:

Phase 1: Content Ingestion

Analyze the input to understand:

Phase 2: Structural Analysis

Extract and identify:

Phase 3: Domain Classification (with confidence)

Determine:

Phase 4: Strategic Insight Extraction

Identify:

Phase 5: Competitive Intelligence Detection

If COMPETITIVE-WATCHLIST.md exists:

4. Generate Structured Output

Create braindump file with this structure:

---
type: "braindump"
domain: "[personal|professional|project-specific|mixed]"
project: "[project-name]" # Only if project-specific
date: "YYYY-MM-DD"
created: "YYYY-MM-DD HH:MM"
themes: ["theme1", "theme2", "theme3"]
tags: ["#braindump", "#raw-thoughts", "#domain-tag"]
status: "captured"
energy_level: "[high|medium|low]"
emotional_tone: "[primary-emotion]"
confidence: "[high|medium|low]"
---

# Braindump: [Auto-generated descriptive title]

## Raw Thoughts
[Original user content preserved exactly as provided]

## Content Analysis

### Main Themes
1. **Theme 1:** [description and significance]
2. **Theme 2:** [description and significance]
3. **Theme 3:** [description and significance]

### Supporting Ideas
- [Supporting concept 1]
- [Supporting concept 2]
- [Supporting concept 3]

### Questions Raised
- [Question 1 for deeper exploration]
- [Question 2 requiring consideration]

### Decisions Contemplated
- [Decision 1 being considered with options]
- [Decision 2 under evaluation]

## Strategic Intelligence

### Key Insights
1. **Insight 1:** [description and implications]
2. **Insight 2:** [description and implications]
3. **Insight 3:** [description and implications]

### Pattern Recognition
- **Connection to Previous Thinking:** [links to earlier braindumps or frameworks]
- **Recurring Patterns:** [themes that keep appearing]
- **Evolution:** [how thinking has developed]

### Strategic Implications
- [How this affects goals]
- [Impact on current projects]
- [Decision-making considerations]

## Action Items

**Note:** Calculate actual due dates from today's date and append Obsidian Tasks emoji format.

### Immediate (24-48 hours)
- [ ] [specific action] 📅 [YYYY-MM-DD = tomorrow's date]

### Short-term (1-2 weeks)
- [ ] [specific action] 📅 [YYYY-MM-DD = date +1 week from today]

### Strategic Considerations
- [longer-term implications and considerations]

## Connections
- **Related Braindumps:** [[link1]], [[link2]]
- **Relevant Projects:** [[project1]], [[project2]]
- **Knowledge Base:** [[insight1]], [[framework1]]

## Domain Classification
- **Primary Domain:** [domain] ([confidence]%)
- **Reasoning:** [why this classification]
- **Cross-Domain Elements:** [if applicable]
- **Privacy Level:** [public|private|confidential]

## Processing Notes
### Emotional Context
- **Energy Level:** [assessment]
- **Emotional Tone:** [assessment]
- **Implications:** [what this suggests]

### Confidence Assessment
- **Overall Analysis:** [percentage] - [reasoning]
- **Domain Classification:** [percentage] - [reasoning]
- **Strategic Insights:** [percentage] - [reasoning]
- **Areas Requiring Clarification:** [specific questions if needed]

---

*Processed by COG Brain Dump Analyst*

Save to appropriate location:

5. Competitive Intelligence Extraction

If competitive intelligence detected (mentions of companies/people from watchlist):

Create/update: 04-projects/[project]/competitive/[company-slug].md

---
type: "competitive-intelligence"
company: "[Company Name]"
project: "[project-name]"
last_updated: "YYYY-MM-DD"
sources: ["braindump"]
tags: ["#competitive", "#intelligence", "#[company-slug]"]
---

# Competitive Intelligence: [Company Name]

## Latest Update - [Date]
**Source:** [[braindump-file-reference]]

[Extracted competitive intelligence from braindump]

## Previous Intelligence
[Historical intel from earlier braindumps]

## Strategic Implications
[Analysis of what this means for the project]

## Action Items
- [ ] [Follow-up actions based on intel] 📅 [YYYY-MM-DD = calculated due date]

---

*Auto-extracted by COG Brain Dump Analyst*

6. Confirm Completion

YAML Formatting Requirements

CRITICAL: All YAML frontmatter must use proper Obsidian-compatible formatting:

Examples:

# CORRECT
type: "braindump"
themes: ["automation", "testing", "ui-improvements"]
analysis_needed: true

# INCORRECT
type: braindump
themes: [automation, testing, ui-improvements]
analysis_needed: "true"

Verification Protocols

Content Accuracy

Domain Classification Verification

Strategic Insight Validation

Uncertainty Handling

When to Request Clarification

Confidence Indicators

Always explicitly state confidence levels and reasoning in the processing notes.

Integration with Other Skills

Immediate Follow-up

After braindump, suggest:

Competitive Intelligence

If competitive mentions detected:

Success Metrics

Learning and Adaptation

Pattern Learning

Continuous Improvement

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.