chatgpt-share-markdown
Skill2 starsChanged 13 days agoMITView on GitHub
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.
In this repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agents-mdSkill
- ddgrSkill
- ghSkill
- jiraSkill
- jjSkill
- khalSkill
- notmuchSkill
- skill-creatorSkill
- taskwarriorSkill
- tmux-interactive-processesSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Run the script with a public chatgpt.com/share/...
- Distinctive: line 18
Use the Markdown directly as context, or trim it to only the relevant turns.
- Very specific: line 50
If the URL is not a public share link, request https://chatgpt.com/share/....
- Distinctive: line 51
If parsing fails, rerun once.
- Distinctive: line 52
If output looks incomplete, keep the parser output and supplement manually only for missing turns.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
- Run the script with a public
chatgpt.com/share/...URL. - Inspect the generated Markdown for media placeholders and formatting.
- 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:
## Userand## Assistantby default (## Tooloptional) - 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-reasoningTroubleshooting
- 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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

