Convert deep research reports, complex documents, or rich AI outputs into raw, clean Markdown wrapped inside a single copy-pasteable code block. Use when the user asks to export, convert, format, or extract a deep research report or long output into raw markdown for easy copying, saving to a .md file, or importing into NotebookLM and Google Docs.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Deep Research To Markdown?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/tjmustard-deep-research-to-markdown)
---
name: deep-research-to-markdown
description: Convert deep research reports, complex documents, or rich AI outputs into raw, clean Markdown wrapped inside a single copy-pasteable code block. Use when the user asks to export, convert, format, or extract a deep research report or long output into raw markdown for easy copying, saving to a .md file, or importing into NotebookLM and Google Docs.
---
# Deep Research to Markdown
Converts long-form deep research outputs, analyses, and multi-section reports into raw, clean GitHub-flavored Markdown contained within a single fenced code block for one-click copying.
## Why This Skill Exists
Deep research reports frequently contain interactive components, rich DOM elements, embedded widgets, or complex layout structures. These elements often break when exported directly to external tools like Google Docs, standard Google Drive exports, or NotebookLM notebooks. Wrapping the output in pure Markdown inside an outer fenced code block strips non-standard container wrappers while preserving tables, math, headings, and links.
## Trigger Scenarios
Use this skill when the user:
- Asks to convert, reformat, or dump a deep research report into Markdown.
- Wants a report inside a code block for easy copying.
- Experiences export issues to Google Docs or NotebookLM and needs a portable plain-text version.
- Requests raw Markdown source of any long-form analysis.
## Conversion Instructions
1. **Ingest the Full Content**:
- Capture all sections, executive summaries, sub-analyses, tables, citations, and reference lists from the target report.
- Do not summarize, truncate, or omit sections unless specifically requested.
2. **Clean and Standardize Formatting**:
- Convert all structural elements to standard CommonMark / GitHub Flavored Markdown (GFM).
- Headings: Use `#`, `##`, `###` hierarchies cleanly.
- Tables: Convert rich tables into standard GFM pipe tables (`| Col 1 | Col 2 |`).
- Lists: Ensure a blank line precedes every list. Use standard hyphens `-` for unordered items and numbers `1.` for ordered sequences.
- Math / Equations: Use standard LaTeX delimiters (`$...$` for inline, `$$...$$` for block).
- Links & Citations: Format references cleanly as `[Anchor Text](URL)` or numbered markdown footnotes `[^1]`.
- Strip Unsupported Artifacts: Remove interactive widget shells, custom UI tags, or platform-specific block wrappers.
3. **Output Packaging**:
- Wrap the entire converted report inside a single top-level fenced code block marked with `markdown`.
- If the original report itself contains markdown code fences (```), use a four-backtick fence (````markdown ... ````) for the outer wrapper to prevent premature fence closing.
- Do not intersperse conversational commentary inside the code block.
## Quality Checklist
- [ ] Complete report preserved without omissions or summaries.
- [ ] Entire deliverable enclosed in a single outer code block.
- [ ] Standard GFM tables and lists used throughout.
- [ ] Outer code fence uses 4 backticks if inner content contains 3 backticks.