From sci-brain
Imports .md dialog files (Claude.ai exports, custom conversations) to create or update advisor profiles via parsing, classification, soul extraction, and profile updates. Invoke with /import-dialog.
npx claudepluginhub quantumbfs/sci-brain --plugin sci-brainThis skill uses the workspace's default tool permissions.
Import exported markdown dialog files and use them to create or update an advisor profile through the conversation-dump and soul-extraction pipeline.
Onboards contributors as advisors by extracting background and publications, analyzing conversation history with conversation-dump and soul-extraction, then synthesizing named profiles for ideas skill library.
Analyzes conversations to identify and propose targeted updates to CLAUDE.md memory files based on user corrections and misunderstandings.
Converts Claude Code JSONL conversation logs to Markdown for retrospectives, with incremental/full/project-specific options, index summaries, and analysis templates like growth tracking and bug patterns.
Share bugs, ideas, or general feedback.
Import exported markdown dialog files and use them to create or update an advisor profile through the conversation-dump and soul-extraction pipeline.
Ask the user for:
.md dialog files to import. Accept glob patterns (e.g., docs/*.md).advisors/index.md) or a new advisor name. If new, also gather background info (field, themes, skills) for the profile header.Run the bundled parser to convert .md files into standard JSON turns:
python3 <skill-base-dir>/../conversation-dump/parse_md_dialog.py parse <file.md>
For multiple files:
python3 <skill-base-dir>/../conversation-dump/parse_md_dialog.py batch <directory> --outdir docs/dialog/md-import/raw/
Save JSON outputs to docs/dialog/md-import/raw/. Verify each file parsed correctly (non-zero turns).
Follow conversation-dump Phases 2–3:
Classify each session into a topic using the standard taxonomy: skill-design, debugging, documentation, refactoring, feature-implementation, paper-review, research-brainstorming, data-analysis, system-design, testing, code-review, literature-survey, writing, automated, other.
Move classified sessions to docs/dialog/md-import/<topic>/.
Present topic counts to the user. Ask which topics to analyze in depth.
Deep analysis: For each selected topic, tag every user message across the six dimensions (bloom, depth, probe, presup, discourse, mechanism). Save enriched JSON to docs/dialog/md-import/<topic>/.
For each selected topic, follow soul-extraction Phases 2–4:
Extract patterns: Identify trigger→reaction pairs. Cluster similar turns (3-of-4 dimension match). Record patterns with frequency and examples.
Detect logic jumps: Find user messages that are not direct responses to the assistant's prior turn. Curate the 5–12 most valuable. Present each candidate to the user for confirmation with causality chain options.
Output: Write thinking-pattern.md and master-thinking.md to docs/dialog/md-import/<topic>/.
Read the target advisor's existing advisors/<slug>/profile.md.
If advisor exists:
If advisor is new:
advisors/<slug>/profile.md with Background + topic sections.advisors/<slug>/ directory.Update advisors/index.md — add or update the row for this advisor.
Present the updated profile to the user for review:
Your advisor profile has been updated at
advisors/<slug>/profile.md. The new analysis added/updated the following topic sections: [list]. Please review — raw dialog data stays indocs/dialog/md-import/and is not included in the profile.
The parser (parse_md_dialog.py) auto-detects these role marker patterns:
| Format | Human marker | Assistant marker |
|---|---|---|
| Claude.ai export | ## **Human** | ## **Claude** |
| Bold variant | ## **User** | ## **Assistant** |
| Plain heading | ## Human | ## Claude or ## Assistant |
| Colon format | **Human:** | **Claude:** or **Assistant:** |
Messages are separated by --- lines (ignored during parsing). Nested markdown headings within assistant responses are preserved as content.