brainstorming
Structured design dialogue that validates ideas before implementation begins.
file-to-markdown
Convert any file to markdown format using the markitdown library. Use this skill when users need to convert documents (PDF, DOCX, XLSX, PPTX, images, HTML, CSV, JSON, XML, audio files, etc.) into markdown format for easier reading, editing, or integration into markdown-based workflows.
Full skill instructions
Convert files to markdown format using the markitdown library. This skill handles documents, images, audio, structured data, and more.
Use this skill when the user needs to:
Documents: PDF, DOCX, PPTX, XLSX
Web: HTML, MHTML
Images: PNG, JPG, JPEG, GIF (with OCR and description)
Audio: MP3, WAV (with transcription)
Data: CSV, JSON, XML
Archives: ZIP
Other: Plain text files
User request → Single file or multiple files?
├─ Single file → Use helper script
│ └─ Run: python scripts/convert_file.py <input> [output]
│
└─ Multiple files → Use batch conversion
└─ Run: python scripts/batch_convert.py <input_dir> [output_dir] [--pattern PATTERN]
Before converting, verify markitdown is installed:
pip install markitdown
For full functionality (image OCR, audio transcription):
pip install markitdown[all]
Use the helper script as your primary method:
python scripts/convert_file.py input_file.pdf output.md
The script handles:
If output filename is omitted, the script creates input_file.md automatically.
For multiple files, use the batch converter:
# Convert all files in a directory
python scripts/batch_convert.py ./documents
# Specify output directory
python scripts/batch_convert.py ./documents ./markdown_output
# Filter by pattern
python scripts/batch_convert.py ./documents ./output --pattern "*.pdf"
# Multiple extensions
python scripts/batch_convert.py ./documents ./output --pattern "*.{pdf,docx}"
The batch script:
.md filesWhen helper scripts don't fit, use the markitdown library directly:
from markitdown import MarkItDown
# Initialize converter
md = MarkItDown()
# Convert file
try:
result = md.convert("path/to/file.pdf")
if result and result.text_content:
# Process or save markdown
with open("output.md", "w", encoding="utf-8") as f:
f.write(result.text_content)
else:
print("No content extracted")
except Exception as e:
print(f"Conversion failed: {e}")
Common errors and solutions:
ImportError: markitdown not installed
pip install markitdownpip install markitdown[all]FileNotFoundError
No content extracted
Encoding errors
encoding='utf-8' when writing output filesAlways run scripts with --help first to see current usage and options.
Structured design dialogue that validates ideas before implementation begins.
Comprehensive design intelligence for web and mobile UI/UX across 10 technology stacks.
Comprehensive implementation plans for multi-step tasks, breaking down specs into bite-sized, testable steps.
Introduction to the obra skills system with mandatory skill invocation rules and best practices.
Execute a written implementation plan with critical review and task checkpoints.
Delegate independent tasks to specialized agents working concurrently with isolated context.
Isolated git worktrees with smart directory selection and safety verification.
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
Plan searchable and shareable content that drives traffic, builds authority, and generates leads.
README-first repository scanner that extracts commands and classifies reproduction candidates without executing them.
Brainstorm and prioritize marketing strategies tailored to your SaaS stage, budget, and goals.
Plan and optimize your website's page hierarchy, navigation, URL structure, and internal linking.
The world's fastest calendar for remote work
Capture, organize, and utilize your knowledge effortlessly.
Instant Summaries of Audio & Video Interviews with AnySummary
Transform PDFs into engaging mind maps.
Chat with any PDF instantly
Create an optimal daily plan using your voice
A productivity platform to centralize organizational knowledge and workflows with contextual AI assistance.
AskYourPDF Pricing Plans: Tailored to Your Needs