From sci-brain
Imports .md dialog files (Claude.ai exports or custom markdown) and converts them into advisor profiles via conversation-dump, soul-extraction, and incarnate pipelines.
How this skill is triggered — by the user, by Claude, or both
Slash command
/sci-brain:import-dialogThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Import exported markdown dialog files, convert them to the standard dialog JSON format, then hand off to the existing advisor-profile pipeline. This skill is intentionally a thin wrapper around `conversation-dump`, `soul-extraction`, and `incarnate` so their taxonomies and profile rules stay single-sourced.
Import exported markdown dialog files, convert them to the standard dialog JSON format, then hand off to the existing advisor-profile pipeline. This skill is intentionally a thin wrapper around conversation-dump, soul-extraction, and incarnate so their taxonomies and profile rules stay single-sourced.
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 on docs/dialog/md-import/raw/:
conversation-dump only.docs/dialog/md-import/<topic>/.docs/dialog/md-import/<topic>/.For each selected topic, follow soul-extraction Phases 2–4 and write thinking-pattern.md + master-thinking.md to docs/dialog/md-import/<topic>/.
Use incarnate Step 3–4 to synthesize or update advisors/<slug>/profile.md from the new soul-extraction outputs. Preserve existing topic sections that were not re-analyzed, and update advisors/index.md.
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.
npx claudepluginhub quantumbfs/sci-brain --plugin sci-brainOnboards contributors as named advisor profiles with personal background, publication indexing, and conversation analysis via JSONL logs or markdown dialogs. Feeds the ideas skill's advisor library.
Parses Claude Code JSONL conversation transcripts to extract signal from user/assistant messages, filter noise entries, link subagent files, detect session boundaries, and understand storage format.
Converts Paperclip agent directories to WoterClip persona format by mapping SOUL.md, HEARTBEAT.md, AGENTS.md, and TOOLS.md to SOUL.md, TOOLS.md, and config.yaml.