jb-markit
jb-markit
Use markit to convert almost anything into markdown.
Tested and adjusted against
markit 0.5.0.
Install
bun add -g markit-ai
Best modes for agents
markit <source> -q→ raw markdown onlymarkit <source> --json→ structured output for parsingmarkit <source> -o output.md→ write markdown to a filemarkit <source> -i extracted-images/→ save extracted images to a directorycat file.pdf | markit -→ read from stdin
Quick start
# Documents
markit report.pdf
markit document.docx
markit slides.pptx
markit data.xlsx
markit proposal.pages
markit deck.key
markit budget.numbers
# Web
markit https://example.com/article
markit https://en.wikipedia.org/wiki/Markdown
markit https://github.com/user/repo
markit https://gist.github.com/user/abcdef
# Data / config
markit data.csv
markit config.json
markit schema.yaml
# Raw markdown or JSON
markit report.pdf -q
markit report.pdf --json
# Save output
markit report.pdf -o report.md
Media + AI
Images and audio include metadata extraction by default. AI descriptions/transcriptions require an API key.
# OpenAI (default)
export OPENAI_API_KEY=sk-...
markit photo.jpg
markit recording.mp3
# Anthropic
markit config set llm.provider anthropic
export ANTHROPIC_API_KEY=sk-ant-...
markit photo.jpg
# Focus image description / extraction
markit receipt.jpg -p "List all line items with prices as a table"
markit whiteboard.jpg -p "Extract all text verbatim"
markit diagram.png -p "Describe the architecture and data flow"
# Save extracted images alongside markdown output
markit report.pdf -i ./report-images -o report.md
Common formats
markit supports PDFs, DOCX, PPTX, XLSX, HTML, EPUB, Jupyter notebooks, RSS/Atom, CSV/TSV, JSON, YAML, XML/SVG, Pages, Keynote, Numbers, plain text, many code files, images, audio, ZIP archives, GitHub URLs, Wikipedia pages, and general URLs.
Use markit formats to see what the installed version supports.
Config
markit init
markit config show
markit config get llm.model
markit config set llm.provider anthropic
markit config set llm.apiBase http://localhost:11434/v1
Config file: .markit/config.json
Env vars override config. Common keys:
OPENAI_API_KEYANTHROPIC_API_KEYMARKIT_API_KEY
Onboarding
markit onboard
Adds markit usage instructions to CLAUDE.md or AGENTS.md.
Plugins
markit plugin install npm:markit-plugin-dwg
markit plugin install git:github.com/user/markit-plugin-ocr
markit plugin install ./my-plugin.ts
markit plugin list
markit plugin remove dwg
Plugin converters run before built-ins, so plugins can add new formats or override existing converters.
Good defaults
- Prefer
-qwhen you want clean markdown in pipelines. - Prefer
--jsonwhen another tool or agent will parse the result. - Use
-pto constrain image description/extraction to the exact task. - Use
-iwhen you want extracted images written to a durable folder. - Use
-owhen the conversion should become a durable artifact in the repo.
More from bjesuiter/skills
mole-mac-cleanup
Mac cleanup & optimization tool combining CleanMyMac, AppCleaner, DaisyDisk features. Deep cleaning, smart uninstaller, disk insights, and project artifact purge.
32xcode
Build, test, and manage Xcode projects and Swift packages. Use when the user mentions Xcode, iOS/macOS app development, simulators, Swift packages, or needs to build/test Apple platform apps. Triggers on "build", "run", "test", "simulator", "xcodebuild", "swift package", "iOS app", "macOS app".
30summarize
Summarize URLs or files with the summarize CLI (web, PDFs, images, audio, YouTube).
27jb-browser-testing
Private browser testing rules for jb workflows. Prefer playwriter_exec with careful tab selection, fall back to agent-browser, and avoid playwright-mcp.
16mcporter
Use the mcporter CLI to list, configure, auth, and call MCP servers/tools directly (HTTP or stdio), including ad-hoc servers, config edits, and CLI/type generation.
16security-check
Red-team security review for code changes. Use when reviewing pending git changes, branch diffs, or new features for security vulnerabilities, permission gaps, injection risks, and attack vectors. Acts as a pen-tester analyzing code.
16