chatgpt-share-markdown

chatgpt-share-markdown is a skill for Claude Code, Codex from adampoit/ai. It costs 50 tokens per session (411 once invoked), scanned A, original, MIT.

A utility for turning a public ChatGPT shared conversation link into a clean Markdown transcript. Markdown is plain text with simple formatting for headings, lists, and code.

In plain words
What is it for?
Use it with a chatgpt.com/share link to export role-labelled turns to the screen or a file. Optional settings can include tool turns and internal actions.
Why use it?
It makes a shared conversation easier to read, save, summarize, or provide as context to another agent. Internal tool actions and reasoning recaps are omitted by default.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/adampoit/ai/chatgpt-share-markdown
Any agent
npx skills add adampoit/ai --skill chatgpt-share-markdown
Clone the repo
git clone --depth 1 https://github.com/adampoit/ai

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for chatgpt-share-markdown

README.md
[![agentmods](https://agentmods.dev/badge/skills/adampoit/ai/chatgpt-share-markdown.svg)](https://agentmods.dev/skills/adampoit/ai/chatgpt-share-markdown)
Your own site
<a href="https://agentmods.dev/skills/adampoit/ai/chatgpt-share-markdown"><img src="https://agentmods.dev/badge/skills/adampoit/ai/chatgpt-share-markdown.svg" alt="Measured on agentmods" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 411 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00050 $0.00411
Opus 5 $0.00025 $0.00205
Sonnet 5 $0.00010 $0.00082
Haiku 4.5 $0.00005 $0.00041

Measured 6d ago against content hash 385e3702ad5f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

chatgpt-share-markdown scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/chatgpt-share-markdown/SKILL.md · 53 lines

What it actually says

Chatgpt Share Markdown

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

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:

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

Export to a file:

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:

--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.
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 53 lines · 50 tokens per session scan A 385e3702ad5f

Subscribe to this mod's changes

chatgpt-share-markdown is a skill published in the GitHub repository adampoit/ai (2 stars, last pushed 2d ago), licensed MIT. It adds 50 tokens to every session and 411 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

docs-builder

Reorg a docs corpus, split an oversized doc, search it, keep pages current, index them.

hamr0/liteagents · 23 tokens

pdf

当用户需要对PDF文件进行任何操作时,请使用此技能。包括从 PDF 中读取或提取文本/表格、合并多个 PDF、拆分 PDF、旋转页面、添加水印、创建新PDF、填写PDF表单、加密/解密 PDF、提取图片,以及对扫描版 PDF 进行 OCR 使其可搜索。如果用户提到 .pdf 文件或要求生成 PDF,请使用此技能。.

agentscope-ai/QwenPaw · 95 tokens

officecli-word-form

Use this skill to create fillable Word forms (.docx) with real Content Controls (SDT) + legacy FormField checkboxes + MERGEFIELD mail-merge placeholders + document protection. Trigger on: 'fillable form', 'form fields', 'content controls', 'SDT', 'word form', 'fill in', 'only editable fields', 'protect document'…

iOfficeAI/OfficeCLI · 224 tokens

officecli-data-dashboard

Use this skill to build a multi-element Excel dashboard — Dashboard sheet on open, multiple formula-driven KPI cards, multiple charts, sparklines, and conditional formatting — from CSV or tabular input. Trigger on: 'dashboard', 'KPI dashboard', 'analytics dashboard', 'executive dashboard', 'metrics dashboard', 'CSV to…

iOfficeAI/OfficeCLI · 157 tokens

scandinavia-transit

Search trains, buses, and ferries in Norway (Entur), Sweden (ResRobot), and Denmark (Rejseplanen). Intra-Scandinavia ground transport with schedules and Danish fare pricing.

borski/travel-hacking-toolkit · 49 tokens

seats-aero

Search award flight availability across 27 mileage programs via Seats.aero Partner API. Find cheapest award flights, compare programs, and get booking links.

borski/travel-hacking-toolkit · 34 tokens