Skip to content
Agentmart
Submit a tool

chatgpt-share-markdown

Convert public ChatGPT share links into clean Markdown transcripts for agent context.

Skill by adampoit

IndexedMIT★ 2
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/adampoit-chatgpt-share-markdown

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Convert public ChatGPT share links into clean Markdown transcripts for agent context. Use when a user provides a https://chatgpt.com/share/... URL and wants the conversation summarized, archived, or reused as input context.

Use cases: documents, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/chatgpt-share-markdown

What's inside

Skill name
chatgpt-share-markdown
Description
Convert public ChatGPT share links into clean Markdown transcripts for agent context. Use when a user provides a https://chatgpt.com/share/... URL and wants the conversation summarized, archived, or reused as input context.
License
MIT
Instructions
49 lines in SKILL.md · view on GitHub

Files (2)

  • SKILL.md
  • chatgpt-share-markdown.cs · scripts/

SKILL.md (first lines)

# Chatgpt Share Markdown

Convert shared ChatGPT conversations into role-labeled Markdown using `./scripts/chatgpt-share-markdown.cs`.

```bash
dotnet run --file ./scripts/chatgpt-share-markdown.cs -- "https://chatgpt.com/share/<id>"
```

## Workflow

1. Run the script with a public `chatgpt.com/share/...` URL.
2. Inspect the generated Markdown for media placeholders and formatting.
3. Use the Markdown directly as context, or trim it to only the relevant turns.

## Commands

Export to stdout:

```bash
dotnet run --file ./scripts/chatgpt-share-markdown.cs -- "https://chatgpt.com/share/<id>"
```

Export to a file:

```bash
dotnet run --file ./scripts/chatgpt-share-markdown.cs -- "https://chatgpt.com/share/<id>" --output "/tmp/chat-context.md"
```

## Output

- Conversation title as H1
- Metadata block with source URL and optional update timestamp/model
- One section per turn: `## User` and `## Assistant` by default (`## Tool` optional)
- Markdown-friendly content with fenced code blocks and basic multimodal placeholders
- Internal tool-action payloads and reasoning recaps are omitted by default to keep context clean

Optional flags:

```bash
--include-tool-turns --include-internal-actions --include-reasoning
```

## Troubleshooting

- If the URL is not a public share link, request `https://chatgpt.com/share/...`.
- If parsing fails, rerun once; share page payload shape can change.
- If output looks incomplete, keep the parser output and supplement manually only for missing turns.

From adampoit/ai, MIT.

More from adampoit/ai

Signals

Stars
2
Forks
0
Open issues
0
Last commit (this folder)
Feb 22, 2026 (8 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from adampoit

Cite this page

chatgpt-share-markdown skill. Agent Mart. https://agentmart.dev/skills/adampoit-chatgpt-share-markdown (last updated 2026-10-24)