web-to-markdown
Skill3 starsChanged 3 months agoMITView on GitHub
Convert URLs or local files (PDF/DOCX/PPTX/HTML) to Markdown, with optional summarization. Single or batch processing. Uses markitdown for intelligent extraction, falls back to curl+pandoc. Use when fetching web pages as markdown, converting documents for analysis, or producing quick summaries.
9 other projects use a version of this.
Adopted by
Most recently taken up by
- imMamdouhaboammar/kaku-chatgpt-harnesstheir own version, first seen Oct 25, 2026
- Samueladewole/claude-skillstheir own version, first seen Oct 13, 2026
- MortuisVMain/ai-agent-superpowerstheir own version, first seen Sep 15, 2026
- allanbian1017/skillstheir own version, first seen Jul 3, 2026
- nbirkner/digital-braintheir own version, first seen Apr 12, 2026
- bear2u/my-skillstheir own version, first seen Feb 8, 2026
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- rookie-ricardo/erduo-skills★ 935same name
- bear2u/my-skills★ 931same name
- allanbian1017/skills★ 2same name
- CuriousDima/claude-web-to-markdown-skill★ 1same name
- tygwan/skills★ 1same name
- imMamdouhaboammar/kaku-chatgpt-harness★ 0same name
- MortuisVMain/ai-agent-superpowers★ 0same name
- nbirkner/digital-brain★ 0same name
- Samueladewole/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository74 other files it gives its agents.
- AGENTS.mdAGENTS.md
- adzic-bddSkill
- agent-md-refactorSkill
- agent-muxSkill
- agent-role-impersonatorSkill
- agilquest-reservationsSkill
- ai-text-humanizerSkill
- architecture-decision-recordsSkill
- asd-ste100Skill
- ast-grepSkill
- atacSkill
- aws-cliSkill
- bart-adversarial-reviewerSkill
- branch-doctorSkill
- c4-architectureSkill
- claude-sub-agentSkill
- codemap-config-setupSkill
- codemap-exploreSkill
- codemap-handoffSkill
- codemap-hub-safetySkill
- codemapSkill
- copilot-sub-agentSkill
- daily-standupSkill
- daily-statusSkill
- design-thinkingSkill
- docx-word-processorSkill
- farley-tddSkill
- gemini-sub-agentSkill
- git-commit-formatterSkill
- git-forensicsSkill
- github-actions-permissionsSkill
- github-cliSkill
- git-repo-discoverySkill
- git-safety-guardrailsSkill
- harness-idpSkill
- iteration-plannerSkill
- jira-issue-managerSkill
- justfile-assistantSkill
- kiro-sub-agentSkill
- lessons-learnedSkill
- lisa-planning-agentSkill
- lovejoy-release-agentSkill
- lsp-code-analysisSkill
- macro-to-microSkill
- marge-product-agentSkill
- meeting-notesSkill
- mermaid-diagram-generatorSkill
- modern-cli-overridesSkill
- native-web-searchSkill
- obsidian-notetakerSkill
- outlook-headlessSkill
- pdf-document-processorSkill
- pi-sub-agentSkill
- pptx-slide-processorSkill
- python-publishSkill
- ralph-build-agentSkill
- release-pleaseSkill
- skill-creatorSkill
- skill-managerSkill
- socratic-tutorSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Use this skill when you need to:
- Distinctive: line 40
Use the wrapper script for summarization with context:
- Very specific: line 57
Add to .bashrc / .zshrc:
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Web to Markdown
Convert URLs and local files to Markdown for analysis, quoting, or processing. Optionally summarize long documents before deeper work.
When to use
Use this skill when you need to:
- pull down a web page as a document-like Markdown representation
- convert binary docs (PDF/DOCX/PPTX) into Markdown for analysis
- quickly produce a short summary of a long document before deeper work
Quick Usage
Convert a URL or file
uvx --from 'markitdown[pdf]' markitdown <url-or-path>Save to a specific file:
uvx --from 'markitdown[pdf]' markitdown <url-or-path> > /tmp/doc.mdConvert + summarize
Use the wrapper script for summarization with context:
node scripts/to-markdown.mjs <url-or-path> --summary --prompt "Focus on security implications"
node scripts/to-markdown.mjs <url-or-path> --tmp # write to temp file, print path
node scripts/to-markdown.mjs <url-or-path> --out notes.mdThe summarizer:
- Converts to Markdown via
markitdown - Saves full Markdown to a temp file (prints path as hint so you can inspect the full content)
- Runs
pi --model claude-haiku-4-5to summarize with your prompt
Always provide context — summaries are only useful when you provide what you want extracted and the audience/purpose. Without a focus prompt, summaries become generic and unhelpful.
Batch processing (shell function)
Add to .bashrc / .zshrc:
web-to-markdown() {
local url output_dir format batch_file output_file
output_dir="." format="markdown"
while [[ $# -gt 0 ]]; do
case $1 in
--batch) batch_file="$2"; shift 2 ;;
--output-dir) output_dir="$2"; shift 2 ;;
--format) format="$2"; shift 2 ;;
--output) output_file="$2"; shift 2 ;;
*) url="$1"; shift ;;
esac
done
_fetch() {
local u=$1 fmt=$2
local content
content=$(uvx --from 'markitdown[pdf]' markitdown "$u" 2>/dev/null) \
|| content=$(curl -sL "$u" | pandoc -f html -t markdown)
[[ -z "$content" ]] && return 1
[[ "$fmt" == "plain" ]] && echo "$content" | pandoc -f markdown -t plain || echo "$content"
}
if [[ -n "${batch_file-}" ]]; then
[[ ! -f "$batch_file" ]] && { echo "ERROR: $batch_file not found" >&2; return 1; }
mkdir -p "$output_dir"
local ok=0 fail=0
while IFS= read -r u || [[ -n "$u" ]]; do
[[ -z "$u" || "$u" =~ ^# ]] && continue
local name ext out
name=$(echo "$u" | sed 's|https\?://||;s|/|-|g' | cut -c1-100)
ext=$([[ "$format" == "plain" ]] && echo txt || echo md)
out="$output_dir/${name}.${ext}"
if _fetch "$u" "$format" > "$out" 2>/dev/null; then
echo "✓ $(basename "$out")" >&2; (( ++ok ))
else
echo "✗ $u" >&2; rm -f "$out"; (( ++fail ))
fi
done < "$batch_file"
echo "Done: $ok ok, $fail failed" >&2
return $(( fail > 0 ? 1 : 0 ))
fi
[[ -z "${url-}" ]] && { echo "Usage: web-to-markdown <URL> [--output FILE] [--format markdown|plain]" >&2; return 1; }
[[ -z "${output_file-}" ]] && {
local name ext
name=$(echo "$url" | sed 's|https\?://||;s|/|-|g' | cut -c1-100)
ext=$([[ "$format" == "plain" ]] && echo txt || echo md)
output_file="${name}.${ext}"
}
_fetch "$url" "$format" > "$output_file" && echo "✓ Saved: $output_file" || { rm -f "$output_file"; return 1; }
}Examples:
web-to-markdown "https://example.com/article" --output article.md
web-to-markdown --batch urls.txt --output-dir ./docs --format markdown
web-to-markdown "https://example.com" --format plainDependencies
markitdown(auto-installed viauvx) — smart content extractioncurl+pandoc— fallback for when markitdown failspi— only needed for--summarymode
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.

