[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M737MT4MAGHNTS4NXR9STYJH":3,"skill-same:01M737MT4MAGHNTS4NXR9STYJH":49},{"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":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M737MT4MAGHNTS4NXR9STYJH","surya-ocr",null,"Recognize and extract text from images or PDFs using Surya OCR (datalab-to\u002Fsurya). Use when a user uploads a document, screenshot, scan, or photo and wants the text extracted or analyzed. Surya supports 90+ languages and works on both images and PDFs without an internet connection.","Horonomos-laps\u002FYana-AI","Horonomos-laps","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F355299122?v=4","01M76B3QPXE88ET2SQPDPVATZT"," Horonomos-laps","01M72ZQRJPCYPSSWT4D00VJR2A",13,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fsurya-ocr\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: surya-ocr\ndescription: Recognize and extract text from images or PDFs using Surya OCR (datalab-to\u002Fsurya). Use when a user uploads a document, screenshot, scan, or photo and wants the text extracted or analyzed. Surya supports 90+ languages and works on both images and PDFs without an internet connection.\norigin: \"github.com\u002Fdatalab-to\u002Fsurya (Apache 2.0)\"\n---\n\n# Surya OCR\n\n## Overview\n\nSurya is a local VLM-based OCR engine that extracts text from images and PDFs with high accuracy across 90+ languages. When a user attaches a file in Yana's chat, Yana sends it to `\u002Fapi\u002Focr`, which runs `ocr_worker.py` using Surya, and injects the extracted text into the message draft — ready for the user to add their question.\n\nSurya runs entirely on-device. No data leaves the machine during OCR.\n\n## When to Use\n\n- User uploads a screenshot, photo, or scanned document and says \"đọc cái này\", \"phân tích ảnh này\", \"trích xuất văn bản\", \"extract text\", \"what does this say\", \"summarize this document\"\n- User attaches a PDF and asks questions about its content\n- User sends an image with handwriting, receipts, contracts, or printed text\n\n## Installation\n\n```bash\npip install surya-ocr\n\n# For PDF support (converts pages to images before OCR)\npip install pdf2image\n# Also need poppler (renders PDF pages):\n# Ubuntu\u002FDebian: apt install poppler-utils\n# macOS:         brew install poppler\n\n# Alternative: pypdf (extracts text from text-based PDFs — no image conversion needed)\npip install pypdf\n```\n\nFirst run downloads ~1 GB of model weights to `~\u002F.cache\u002Fhuggingface\u002F`. Subsequent runs use the cache.\n\n## How Yana Uses It\n\n1. User taps the paperclip (📎) button in chat\n2. Selects an image or PDF from their device\n3. Yana encodes it to base64 and sends it to `POST \u002Fapi\u002Focr`\n4. Server calls `python3 tools\u002Fyana-web\u002Focr_worker.py \u003Ctmpfile> [lang]`\n5. Surya extracts the text, worker prints JSON: `{\"ok\": true, \"text\": \"...\", \"pages\": N}`\n6. Extracted text is injected into the draft input\n7. User adds their question and sends — Yana analyzes the content with full context\n\n## Supported File Types\n\n| Extension | Notes |\n|-----------|-------|\n| jpg\u002Fjpeg\u002Fpng\u002Fgif\u002Fwebp\u002Fbmp\u002Ftiff | Direct OCR |\n| pdf | Requires pdf2image + poppler, or pypdf for text-based PDFs |\n\n## Supported Languages\n\n90+ languages including English, Vietnamese (vi), Chinese (zh), Japanese (ja), Korean (ko), Arabic (ar), and more. Pass a 2–5 character ISO 639-1 code as the `lang` field in the request body.\n\n## API Contract\n\n**Request** `POST \u002Fapi\u002Focr`\n```json\n{\n  \"fileBase64\": \"\u003Cbase64-encoded file data>\",\n  \"filename\": \"scan.pdf\",\n  \"lang\": \"en\"\n}\n```\n\n**Response (success)**\n```json\n{\n  \"ok\": true,\n  \"text\": \"Extracted text content...\",\n  \"pages\": 3\n}\n```\n\n**Response (failure)**\n```json\n{\n  \"ok\": false,\n  \"error\": \"surya not installed. Run: pip install surya-ocr\"\n}\n```\n\n## Troubleshooting\n\n| Error | Fix |\n|-------|-----|\n| `surya not installed` | `pip install surya-ocr` |\n| `Pillow not installed` | `pip install Pillow` |\n| PDF: `pdf2image or pypdf not installed` | `pip install pdf2image pypdf` + `apt install poppler-utils` |\n| Slow first run | Model weights downloading (~1 GB), normal |\n| Wrong language | Set `lang` to correct ISO code (e.g. `vi` for Vietnamese) |\n\n## Anti-Patterns\n\n- Do NOT call `\u002Fapi\u002Focr` for files larger than 20 MB — use chunked uploads or compress the image first\n- Do NOT pass user-constructed filenames directly to the filesystem — the server sanitizes extensions and uses a random temp name\n- Do NOT assume OCR is 100% accurate — always let the user verify extracted text before acting on it\n- Do NOT log extracted text if it might contain CONFIDENTIAL content (rule 68 applies)\n\n## References\n\n- `tools\u002Fyana-web\u002Focr_worker.py` — Python worker script\n- `tools\u002Fyana-web\u002Fserver.js` — `\u002Fapi\u002Focr` endpoint (`handleApiOcr`)\n- `tools\u002Fyana-web\u002Fdesktop\u002Fchat.jsx` — desktop attach button + `handleOcr`\n- `tools\u002Fyana-web\u002Fmobile\u002Fm-chat.jsx` — mobile attach button + `handleOcr`\n- `github.com\u002Fdatalab-to\u002Fsurya` — upstream Surya OCR library\n","# Surya OCR\n\n## Overview\n\nSurya is a local VLM-based OCR engine that extracts text from images and PDFs with high accuracy across 90+ languages. When a user attaches a file in Yana's chat, Yana sends it to `\u002Fapi\u002Focr`, which runs `ocr_worker.py` using Surya, and injects the extracted text into the message draft — ready for the user to add their question.\n\nSurya runs entirely on-device. No data leaves the machine during OCR.\n\n## When to Use\n\n- User uploads a screenshot, photo, or scanned document and says \"đọc cái này\", \"phân tích ảnh này\", \"trích xuất văn bản\", \"extract text\", \"what does this say\", \"summarize this document\"\n- User attaches a PDF and asks questions about its content\n- User sends an image with handwriting, receipts, contracts, or printed text\n\n## Installation\n\n```bash\npip install surya-ocr\n\n# For PDF support (converts pages to images before OCR)\npip install pdf2image\n# Also need poppler (renders PDF pages):\n# Ubuntu\u002FDebian: apt install poppler-utils\n# macOS:         brew install poppler\n\n# Alternative: pypdf (extracts text from text-based PDFs — no image conversion needed)\npip install pypdf\n```\n\nFirst run downloads ~1 GB of model weights to `~\u002F.cache\u002Fhuggingface\u002F`. Subsequent runs use the cache.\n\n## How Yana Uses It\n\n1. User taps the paperclip (📎) button in chat\n2. Selects an image or PDF from their device\n3. Yana encodes it to base64 and sends it to `POST \u002Fapi\u002Focr`\n4. Server calls `python3 tools\u002Fyana-web\u002Focr_worker.py \u003Ctmpfile> [lang]`\n5. Surya extracts the text, worker prints JSON: `{\"ok\": true, \"text\": \"...\", \"pages\": N}`\n6. Extracted text is injected into the draft input\n7. User adds their question and sends — Yana analyzes the content with full context\n\n## Supported File Types\n\n| Extension | Notes |\n|-----------|-------|\n| jpg\u002Fjpeg\u002Fpng\u002Fgif\u002Fwebp\u002Fbmp\u002Ftiff | Direct OCR |\n| pdf | Requires pdf2image + poppler, or pypdf for text-based PDFs |\n\n## Supported Languages\n\n90+ languages including English, Vietnamese (vi), Chinese (zh), Japanese (ja), Korean (ko), Arabic (ar), and more. Pass a 2–5 character ISO 639-1 code as the `lang` field in the request body.\n\n## API Contract\n\n**Request** `POST \u002Fapi\u002Focr`\n```json\n{\n  \"fileBase64\": \"\u003Cbase64-encoded file data>\",\n  \"filename\": \"scan.pdf\",\n  \"lang\": \"en\"\n}\n```\n\n**Response (success)**\n```json\n{\n  \"ok\": true,\n  \"text\": \"Extracted text content...\",\n  \"pages\": 3\n}\n```\n\n**Response (failure)**\n```json\n{\n  \"ok\": false,\n  \"error\": \"surya not installed. Run: pip install surya-ocr\"\n}\n```\n\n## Troubleshooting\n\n| Error | Fix |\n|-------|-----|\n| `surya not installed` | `pip install surya-ocr` |\n| `Pillow not installed` | `pip install Pillow` |\n| PDF: `pdf2image or pypdf not installed` | `pip install pdf2image pypdf` + `apt install poppler-utils` |\n| Slow first run | Model weights downloading (~1 GB), normal |\n| Wrong language | Set `lang` to correct ISO code (e.g. `vi` for Vietnamese) |\n\n## Anti-Patterns\n\n- Do NOT call `\u002Fapi\u002Focr` for files larger than 20 MB — use chunked uploads or compress the image first\n- Do NOT pass user-constructed filenames directly to the filesystem — the server sanitizes extensions and uses a random temp name\n- Do NOT assume OCR is 100% accurate — always let the user verify extracted text before acting on it\n- Do NOT log extracted text if it might contain CONFIDENTIAL content (rule 68 applies)\n\n## References\n\n- `tools\u002Fyana-web\u002Focr_worker.py` — Python worker script\n- `tools\u002Fyana-web\u002Fserver.js` — `\u002Fapi\u002Focr` endpoint (`handleApiOcr`)\n- `tools\u002Fyana-web\u002Fdesktop\u002Fchat.jsx` — desktop attach button + `handleOcr`\n- `tools\u002Fyana-web\u002Fmobile\u002Fm-chat.jsx` — mobile attach button + `handleOcr`\n- `github.com\u002Fdatalab-to\u002Fsurya` — upstream Surya OCR library\n",{"name":5,"origin":24,"description":7},"github.com\u002Fdatalab-to\u002Fsurya (Apache 2.0)","main","481dcd7dd2e288b9d627a2bd017db70e64e6c6fa",".claude\u002Fskills\u002Fsurya-ocr",2,"https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI","https:\u002F\u002Fyana.vutam.link\u002F","https:\u002F\u002Fgithub.com\u002FHoronomos-laps","https:\u002F\u002Fyana.vutam.link","An open-source governed runtime & execution environment for multi-agent AI systems.","2026-11-14 13:24:09",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add Horonomos-laps\u002FYana-AI --skill surya-ocr",{"tool":41,"command":42},"bunx","bunx skills add Horonomos-laps\u002FYana-AI --skill surya-ocr",{"tool":44,"command":45},"pnpm","pnpm dlx skills add Horonomos-laps\u002FYana-AI --skill surya-ocr","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fsurya-ocr\u002FSKILL.md",true,[],[50,58,65,73,81,89],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":54,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":19},"01M735GKET5YVYKAY62W2P5YXB","openai--sentry--sentry","Use when the user asks to inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the Sentry API; perform read-only queries with the bundled script and require `SENTRY_AUTH_TOKEN`.","MIT","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fopenai--sentry--sentry\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M73DCAP83T17HY7SMGK7MGFE","ito-basket-compare","Compare Itô prediction-market baskets against a user's knowledge base, portfolio notes, financial context, watchlist, or research thesis. Use for read-only basket comparison and gap analysis without investment advice or live trading.","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fito-basket-compare\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":69,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M734CYEMZFDR3KH6SW0JP8TD","implementing-network-traffic-baselining","Build network traffic baselines from NetFlow\u002FIPFIX data using Python pandas for statistical analysis, z-score anomaly detection, and hourly\u002Fdaily traffic pattern profiling","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-network-traffic-baselining\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-network-traffic-baselining\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":77,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M73ASZ6NJRJM44Z2P84NGQ3Q","detecting-evasion-techniques-in-endpoint-logs","Detects defense evasion techniques used by adversaries in endpoint logs including log tampering, timestomping, process injection, and security tool disabling. Use when investigating suspicious endpoint behavior, building detection rules for evasion tactics, or conducting threat hunting for stealthy adversary activity. Activates for requests involving evasion detection, defense evasion analysis, log tampering detection, or MITRE ATT&CK TA0005.","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":85,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M734AFNXD06Z78QRK0VKGT7Q","implementing-microsegmentation-with-guardicore","Implementing microsegmentation using Akamai Guardicore Segmentation to map application dependencies, create granular network policies, visualize east-west traffic flows, and enforce least-privilege communication between workloads across data centers and cloud.","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-microsegmentation-with-guardicore\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-microsegmentation-with-guardicore\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M736TK27QMCXK0DVCH25SJN5","ramdisk-tmpfs-patterns","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Framdisk-tmpfs-patterns\u002FSKILL.md",[],[]]