extract-text-layout-from-documents
Extract text and layout from images and PDFs using LLMWhisperer API. Good for handwriting and complex forms.
by rondoflow★ 37 GitHub stars
Install extract-text-layout-from-documents in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
LLMWhisperer
Extract text from images and PDFs using the LLMWhisperer API — great for handwriting and complex forms.
Configuration
Requires LLMWHISPERER_API_KEY in ~/.clawdbot/.env:
echo "LLMWHISPERER_API_KEY=your_key_here" >> ~/.clawdbot/.env
Get an API Key
Get a free API key at unstract.com/llmwhisperer.
- Free Tier: 100 pages/day
Usage
llmwhisperer <file>
Script Source
The executable script is located at scripts/llmwhisperer.
#!/bin/bash
# Extract text using LLMWhisperer API
if [ -z "$LLMWHISPERER_API_KEY" ]; then
if [ -f ~/.clawdbot/.env ]; then
# shellcheck disable=SC2046
export $(grep -v '^#' ~/.clawdbot/.env | grep 'LLMWHISPERER_API_KEY' | xargs)
fi
fi
if [ -z "$LLMWHISPERER_API_KEY" ]; then
echo "Error: LLMWHISPERER_API_KEY not found in env or ~/.clawdbot/.env"
exit 1
fi
FILE="$1"
if [ -z "$FILE" ]; then
echo "Usage: $0 <file>"
exit 1
fi
curl -s -X POST "https://llmwhisperer-api.us-central.unstract.com/api/v2/whisper?mode=high_quality&output_mode=layout_preserving" \
-H "Content-Type: application/octet-stream" \
-H "unstract-key: $LLMWHISPERER_API_KEY" \
--data-binary "@$FILE"
Examples
Print text to terminal:
llmwhisperer flyer.jpg
Save output to a text file:
llmwhisperer invoice.pdf > invoice.txt
Process a handwritten note:
llmwhisperer notes.jpg
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
- manifest.json
FAQ
What does the extract-text-layout-from-documents skill do?
Extract text and layout from images and PDFs using LLMWhisperer API. Good for handwriting and complex forms.
How do I install the extract-text-layout-from-documents skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the extract-text-layout-from-documents skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…