[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M777JA87E97Z937ZNST9JZKS":3,"skill-same:01M777JA87E97Z937ZNST9JZKS":53},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":35,"ownerHtmlUrl":36,"ownerBlogUrl":6,"ownerDescription":37,"updatedAt":38,"install":39,"resources":52},"01M777JA87E97Z937ZNST9JZKS","claw-text-and-pics",null,"Extract text and embedded images from scanned documents, PDFs, and photos via Mistral OCR API. Use when reading receipts, invoices, contracts, handwritten notes, or any image or PDF containing text.","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fc\u002Fclaw-text-and-pics\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: claw-text-and-pics\ndescription: Extract text and embedded images from scanned documents, PDFs, and photos via Mistral OCR API. Use when reading receipts, invoices, contracts, handwritten notes, or any image or PDF containing text.\nlicense: MIT\ncompatibility: Requires Mistral API key. Optional Pillow (pip install pillow) for image extraction. Python 3.11+.\nmetadata:\n  author: photon78\n  version: \"1.0.0\"\n  env_required: MISTRAL_API_KEY\n  env_optional: TELEGRAM_BOT_TOKEN, TELEGRAM_CHAT_ID\n---\n\n# claw-text-and-pics\n\n**Extract text and images from documents via Mistral OCR**\n\nGive your OpenClaw agent the ability to read scanned documents, PDFs, and images — extracting clean Markdown text and cropping out embedded images. Powered by [Mistral's OCR API](https:\u002F\u002Fdocs.mistral.ai\u002Fcapabilities\u002Fdocument\u002F).\n\n## When to use\n- Extract text from scanned documents, invoices, receipts, contracts\n- Pull embedded images from PDFs or scans\n- Convert handwritten notes or photos to searchable text\n- Send extracted images directly to Telegram\n\n## Usage\n\n```bash\n# Extract text only\npython3 ocr.py --input scan.jpg\n\n# Extract text from PDF (3 pages)\npython3 ocr.py --input document.pdf --pages 3\n\n# Extract embedded images\npython3 ocr.py --input scan.jpg --extract-images --output-dir .\u002Fimages\u002F\n\n# Extract images and send to Telegram\npython3 ocr.py --input scan.jpg --extract-images --send --target 123456789\n\n# Works with URLs too\npython3 ocr.py --input https:\u002F\u002Fexample.com\u002Fdocument.pdf\n```\n\n## Output\n- **stdout:** Extracted text as Markdown\n- **Files:** Cropped images saved to `--output-dir` (only with `--extract-images`)\n\n## Configuration\n\nSet in `~\u002F.openclaw\u002F.env` or as environment variables:\n\n| Variable | Required | Description |\n|----------|----------|-------------|\n| `MISTRAL_API_KEY` | Yes | Your Mistral API key |\n| `TELEGRAM_BOT_TOKEN` | Only for `--send` | Your Telegram bot token |\n| `TELEGRAM_CHAT_ID` | Optional | Default chat ID (overridable with `--target`) |\n\n## Environment Variables\n\n```\nMISTRAL_API_KEY=required        # Mistral API key — get one at console.mistral.ai\nTELEGRAM_BOT_TOKEN=optional     # Required only when using --send\nTELEGRAM_CHAT_ID=optional       # Default target chat ID (overridable with --target)\n```\n\nThis skill reads `~\u002F.openclaw\u002F.env` as a fallback for credentials.\nEnsure the file has restricted permissions: `chmod 600 ~\u002F.openclaw\u002F.env`\n\n## Requirements\n- Python 3.11+\n- Mistral API key ([console.mistral.ai](https:\u002F\u002Fconsole.mistral.ai))\n- **Optional** (only for `--extract-images`): `pip install pillow`\n\n## Parameters\n\n| Parameter | Required | Description |\n|-----------|----------|-------------|\n| `--input` | Yes | Local path or URL to image\u002FPDF |\n| `--extract-images` | No | Crop and save embedded images |\n| `--output-dir` | No | Output directory (default: `.\u002Fextracted-images`) |\n| `--send` | No | Send extracted images via Telegram |\n| `--target` | No | Telegram chat ID (or `TELEGRAM_CHAT_ID` env var) |\n| `--pages` | No | Number of PDF pages to process |\n| `--debug` | No | Print raw API response |\n","# claw-text-and-pics\n\n**Extract text and images from documents via Mistral OCR**\n\nGive your OpenClaw agent the ability to read scanned documents, PDFs, and images — extracting clean Markdown text and cropping out embedded images. Powered by [Mistral's OCR API](https:\u002F\u002Fdocs.mistral.ai\u002Fcapabilities\u002Fdocument\u002F).\n\n## When to use\n- Extract text from scanned documents, invoices, receipts, contracts\n- Pull embedded images from PDFs or scans\n- Convert handwritten notes or photos to searchable text\n- Send extracted images directly to Telegram\n\n## Usage\n\n```bash\n# Extract text only\npython3 ocr.py --input scan.jpg\n\n# Extract text from PDF (3 pages)\npython3 ocr.py --input document.pdf --pages 3\n\n# Extract embedded images\npython3 ocr.py --input scan.jpg --extract-images --output-dir .\u002Fimages\u002F\n\n# Extract images and send to Telegram\npython3 ocr.py --input scan.jpg --extract-images --send --target 123456789\n\n# Works with URLs too\npython3 ocr.py --input https:\u002F\u002Fexample.com\u002Fdocument.pdf\n```\n\n## Output\n- **stdout:** Extracted text as Markdown\n- **Files:** Cropped images saved to `--output-dir` (only with `--extract-images`)\n\n## Configuration\n\nSet in `~\u002F.openclaw\u002F.env` or as environment variables:\n\n| Variable | Required | Description |\n|----------|----------|-------------|\n| `MISTRAL_API_KEY` | Yes | Your Mistral API key |\n| `TELEGRAM_BOT_TOKEN` | Only for `--send` | Your Telegram bot token |\n| `TELEGRAM_CHAT_ID` | Optional | Default chat ID (overridable with `--target`) |\n\n## Environment Variables\n\n```\nMISTRAL_API_KEY=required        # Mistral API key — get one at console.mistral.ai\nTELEGRAM_BOT_TOKEN=optional     # Required only when using --send\nTELEGRAM_CHAT_ID=optional       # Default target chat ID (overridable with --target)\n```\n\nThis skill reads `~\u002F.openclaw\u002F.env` as a fallback for credentials.\nEnsure the file has restricted permissions: `chmod 600 ~\u002F.openclaw\u002F.env`\n\n## Requirements\n- Python 3.11+\n- Mistral API key ([console.mistral.ai](https:\u002F\u002Fconsole.mistral.ai))\n- **Optional** (only for `--extract-images`): `pip install pillow`\n\n## Parameters\n\n| Parameter | Required | Description |\n|-----------|----------|-------------|\n| `--input` | Yes | Local path or URL to image\u002FPDF |\n| `--extract-images` | No | Crop and save embedded images |\n| `--output-dir` | No | Output directory (default: `.\u002Fextracted-images`) |\n| `--send` | No | Send extracted images via Telegram |\n| `--target` | No | Telegram chat ID (or `TELEGRAM_CHAT_ID` env var) |\n| `--pages` | No | Number of PDF pages to process |\n| `--debug` | No | Print raw API response |\n",{"name":5,"license":15,"metadata":24,"description":7,"compatibility":29},{"author":25,"version":26,"env_optional":27,"env_required":28},"photon78","1.0.0","TELEGRAM_BOT_TOKEN, TELEGRAM_CHAT_ID","MISTRAL_API_KEY","Requires Mistral API key. Optional Pillow (pip install pillow) for image extraction. Python 3.11+.","master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fc\u002Fclaw-text-and-pics",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill claw-text-and-pics",{"tool":45,"command":46},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill claw-text-and-pics",{"tool":48,"command":49},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill claw-text-and-pics","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fc\u002Fclaw-text-and-pics\u002FSKILL.md",true,[],[54,61,68,75,82,89],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]