[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MJ0VAYRETY002DPSJKKV2F":3,"skill-same:01M6MJ0VAYRETY002DPSJKKV2F":69},{"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":40,"linkOnly":41,"markdownContent":42,"markdownBody":43,"frontMatter":44,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":50,"ownerHtmlUrl":51,"ownerBlogUrl":52,"ownerDescription":53,"updatedAt":54,"install":55,"resources":68},"01M6MJ0VAYRETY002DPSJKKV2F","batch-extraction",null,"Use when extracting from many files at once with shared config, bounded parallelism, per-file overrides, and error recovery. Covers the `batch` command, `--file-configs`, `--max-concurrent`, and output layout.","hashgraph-online\u002Fawesome-codex-plugins","hashgraph-online","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160371962?v=4","01M6CNB6NRJVNNGN14TR01Q6D3","HOL (Hashgraph Online)","01M6JT1HSKKG9V68KQAQGBA7XP",1575,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fkreuzberg-dev\u002Fplugins\u002Fplugins\u002Fkreuzberg\u002Fskills\u002Fbatch-extraction\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],"batch","extraction","batch extraction","shared","overrides","when","bounded","at","extracting","with","output","error","layout","config","max","files","use","command","recovery","file","error recovery","2026-11-10 10:12:30",false,"---\nname: batch-extraction\ndescription: Use when extracting from many files at once with shared config, bounded parallelism, per-file overrides, and error recovery. Covers the `batch` command, `--file-configs`, `--max-concurrent`, and output layout.\n---\n\n# Batch extraction\n\nUse this when processing a directory or glob of documents in one pass.\n`kreuzberg batch` shares one extraction config across every file, runs\nextractions concurrently, and returns one structured array — failures on\nindividual files do not abort the run.\n\n## Basic usage\n\n```bash\n# Glob expands to many paths; results come back as a JSON array (default)\nkreuzberg batch *.pdf\n\n# Mixed formats, markdown content for LLM ingestion\nkreuzberg batch docs\u002F*.docx --content-format markdown\n\n# Recurse with the shell, then extract\nkreuzberg batch $(find .\u002Fcorpus -name '*.pdf')\n```\n\n`batch` defaults to `--format json` (vs `--format text` for single\n`extract`). Each array entry is a full extraction result, so downstream\ncode can index by position into the input path list.\n\n```bash\nkreuzberg batch reports\u002F*.pdf \\\n  | jq '.[] | {chars: (.content | length), mime: .mime_type}'\n```\n\n## Parallelism\n\n`--max-concurrent` caps how many files extract at once (default: CPU\ncount). Lower it on memory-constrained hosts or when OCR\u002FML models are\nactive, since each in-flight extraction holds its own buffers:\n\n```bash\n# Cap at 4 concurrent extractions\nkreuzberg batch scans\u002F*.pdf --ocr true --max-concurrent 4\n```\n\n`--max-threads` additionally caps *total* internal threads (Rayon, ONNX\nintra-op, the batch semaphore) for tightly constrained environments:\n\n```bash\nkreuzberg batch *.pdf --max-concurrent 2 --max-threads 4\n```\n\n## Per-file config overrides\n\nA single shared config does not always fit. `--file-configs` points at a\nJSON file mapping each path to its own override object, merged on top of\nthe shared config for that file only:\n\n```json\n{\n  \"scan.pdf\": { \"force_ocr\": true },\n  \"report.pdf\": { \"output_format\": \"markdown\" },\n  \"data.xlsx\": { \"output_format\": \"json\" }\n}\n```\n\n```bash\nkreuzberg batch scan.pdf report.pdf data.xlsx --file-configs overrides.json\n```\n\nKeys are file paths (matching the paths passed on the command line);\nvalues are per-file extraction config objects in snake_case, the same\nshape as a config file.\n\n## Output layout\n\nFor text\u002Ftoon output with image extraction, `--output-dir` controls where\nreferenced image files (e.g. `image_0.png`) are written; the directory\nmust already exist. JSON output embeds image bytes inline and ignores\n`--output-dir`.\n\n```bash\nmkdir -p out\u002Fimages\nkreuzberg batch slides\u002F*.pptx --extract-images true --output-dir out\u002Fimages --format text\n```\n\n## Error recovery\n\nBatch extraction is fault-tolerant per file: one unreadable or corrupt\ndocument does not stop the rest. Inspect results for partial content and\nsurfaced errors rather than relying on the process exit code alone. Pair\nwith `--max-concurrent` to avoid exhausting memory when a few large files\nsit in a big batch.\n\n## Shared config\n\nEvery `extract` flag also applies to `batch` (OCR, chunking, layout,\ncontent format, etc.) and is shared across all files unless a\n`--file-configs` entry overrides it:\n\n```bash\nkreuzberg batch invoices\u002F*.pdf \\\n  --layout --layout-table-model slanet_wireless \\\n  --content-format markdown --max-concurrent 8\n```\n\nA config file works too and auto-discovers from the cwd upward:\n\n```toml\noutput_format = \"markdown\"\n\n[ocr]\nbackend = \"tesseract\"\nlanguage = \"eng\"\n```\n\n```bash\nkreuzberg batch corpus\u002F*.pdf --config kreuzberg.toml\n```\n\n## Programmatic access\n\nFrom Python, use the batch helpers (async and sync):\n\n```python\nfrom kreuzberg import batch_extract_files, batch_extract_files_sync, ExtractionConfig\n\nconfig = ExtractionConfig(output_format=\"markdown\")\n\n# Async\nresults = await batch_extract_files([\"a.pdf\", \"b.docx\", \"c.xlsx\"], config=config)\n\n# Sync\nresults = batch_extract_files_sync([\"a.pdf\", \"b.docx\"], config=config)\n\nfor result in results:\n    print(len(result.content))\n```\n\nNode.js mirrors this with `batchExtractFiles`; Rust uses\n`batch_extract_file` (requires the `tokio-runtime` feature). See\n`references\u002Fpython-api.md`, `references\u002Fnodejs-api.md`, and\n`references\u002Frust-api.md` in the sibling `kreuzberg` skill.\n\n## MCP\n\nWhen the `kreuzberg` MCP server is registered, prefer the\n`batch_extract_files` tool over shelling out — it takes the file list and a\nconfig object and returns structured results directly.\n\n## Common pitfalls\n\n- **Default format differs** — `batch` defaults to `--format json`,\n  `extract` to `--format text`. Set `--format` explicitly if a script\n  depends on one shape.\n- **`--output-dir` must exist** — the CLI does not create it.\n- **Memory blowups** — large batches with OCR\u002Flayout active need a lower\n  `--max-concurrent`; the default is CPU count.\n- **`--file-configs` path keys** — must match the paths as passed on the\n  command line, not absolute-resolved variants.\n\nSee `references\u002Fcli-reference.md` for the full `batch` flag set.\n","# Batch extraction\n\nUse this when processing a directory or glob of documents in one pass.\n`kreuzberg batch` shares one extraction config across every file, runs\nextractions concurrently, and returns one structured array — failures on\nindividual files do not abort the run.\n\n## Basic usage\n\n```bash\n# Glob expands to many paths; results come back as a JSON array (default)\nkreuzberg batch *.pdf\n\n# Mixed formats, markdown content for LLM ingestion\nkreuzberg batch docs\u002F*.docx --content-format markdown\n\n# Recurse with the shell, then extract\nkreuzberg batch $(find .\u002Fcorpus -name '*.pdf')\n```\n\n`batch` defaults to `--format json` (vs `--format text` for single\n`extract`). Each array entry is a full extraction result, so downstream\ncode can index by position into the input path list.\n\n```bash\nkreuzberg batch reports\u002F*.pdf \\\n  | jq '.[] | {chars: (.content | length), mime: .mime_type}'\n```\n\n## Parallelism\n\n`--max-concurrent` caps how many files extract at once (default: CPU\ncount). Lower it on memory-constrained hosts or when OCR\u002FML models are\nactive, since each in-flight extraction holds its own buffers:\n\n```bash\n# Cap at 4 concurrent extractions\nkreuzberg batch scans\u002F*.pdf --ocr true --max-concurrent 4\n```\n\n`--max-threads` additionally caps *total* internal threads (Rayon, ONNX\nintra-op, the batch semaphore) for tightly constrained environments:\n\n```bash\nkreuzberg batch *.pdf --max-concurrent 2 --max-threads 4\n```\n\n## Per-file config overrides\n\nA single shared config does not always fit. `--file-configs` points at a\nJSON file mapping each path to its own override object, merged on top of\nthe shared config for that file only:\n\n```json\n{\n  \"scan.pdf\": { \"force_ocr\": true },\n  \"report.pdf\": { \"output_format\": \"markdown\" },\n  \"data.xlsx\": { \"output_format\": \"json\" }\n}\n```\n\n```bash\nkreuzberg batch scan.pdf report.pdf data.xlsx --file-configs overrides.json\n```\n\nKeys are file paths (matching the paths passed on the command line);\nvalues are per-file extraction config objects in snake_case, the same\nshape as a config file.\n\n## Output layout\n\nFor text\u002Ftoon output with image extraction, `--output-dir` controls where\nreferenced image files (e.g. `image_0.png`) are written; the directory\nmust already exist. JSON output embeds image bytes inline and ignores\n`--output-dir`.\n\n```bash\nmkdir -p out\u002Fimages\nkreuzberg batch slides\u002F*.pptx --extract-images true --output-dir out\u002Fimages --format text\n```\n\n## Error recovery\n\nBatch extraction is fault-tolerant per file: one unreadable or corrupt\ndocument does not stop the rest. Inspect results for partial content and\nsurfaced errors rather than relying on the process exit code alone. Pair\nwith `--max-concurrent` to avoid exhausting memory when a few large files\nsit in a big batch.\n\n## Shared config\n\nEvery `extract` flag also applies to `batch` (OCR, chunking, layout,\ncontent format, etc.) and is shared across all files unless a\n`--file-configs` entry overrides it:\n\n```bash\nkreuzberg batch invoices\u002F*.pdf \\\n  --layout --layout-table-model slanet_wireless \\\n  --content-format markdown --max-concurrent 8\n```\n\nA config file works too and auto-discovers from the cwd upward:\n\n```toml\noutput_format = \"markdown\"\n\n[ocr]\nbackend = \"tesseract\"\nlanguage = \"eng\"\n```\n\n```bash\nkreuzberg batch corpus\u002F*.pdf --config kreuzberg.toml\n```\n\n## Programmatic access\n\nFrom Python, use the batch helpers (async and sync):\n\n```python\nfrom kreuzberg import batch_extract_files, batch_extract_files_sync, ExtractionConfig\n\nconfig = ExtractionConfig(output_format=\"markdown\")\n\n# Async\nresults = await batch_extract_files([\"a.pdf\", \"b.docx\", \"c.xlsx\"], config=config)\n\n# Sync\nresults = batch_extract_files_sync([\"a.pdf\", \"b.docx\"], config=config)\n\nfor result in results:\n    print(len(result.content))\n```\n\nNode.js mirrors this with `batchExtractFiles`; Rust uses\n`batch_extract_file` (requires the `tokio-runtime` feature). See\n`references\u002Fpython-api.md`, `references\u002Fnodejs-api.md`, and\n`references\u002Frust-api.md` in the sibling `kreuzberg` skill.\n\n## MCP\n\nWhen the `kreuzberg` MCP server is registered, prefer the\n`batch_extract_files` tool over shelling out — it takes the file list and a\nconfig object and returns structured results directly.\n\n## Common pitfalls\n\n- **Default format differs** — `batch` defaults to `--format json`,\n  `extract` to `--format text`. Set `--format` explicitly if a script\n  depends on one shape.\n- **`--output-dir` must exist** — the CLI does not create it.\n- **Memory blowups** — large batches with OCR\u002Flayout active need a lower\n  `--max-concurrent`; the default is CPU count.\n- **`--file-configs` path keys** — must match the paths as passed on the\n  command line, not absolute-resolved variants.\n\nSee `references\u002Fcli-reference.md` for the full `batch` flag set.\n",{"name":5,"description":7},"main","2b63f856ce19c2a797929cacabd9e0fc936812fa","plugins\u002Fkreuzberg-dev\u002Fplugins\u002Fplugins\u002Fkreuzberg\u002Fskills\u002Fbatch-extraction",491,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins","https:\u002F\u002Fhol.org\u002Fplugins\u002Fbest-codex-plugins","https:\u002F\u002Fgithub.com\u002Fhashgraph-online","https:\u002F\u002Fhol.org","Open-source standards and developer tools for interoperable AI agents: discovery, identity, communication, payments, privacy and security.","2026-11-14 14:06:13",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill batch-extraction",{"tool":61,"command":62},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill batch-extraction",{"tool":64,"command":65},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill batch-extraction","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fkreuzberg-dev\u002Fplugins\u002Fplugins\u002Fkreuzberg\u002Fskills\u002Fbatch-extraction\u002FSKILL.md",true,[],[70,80,88,96,104,112],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":74,"licenseFileUrl":75,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":79},"01M7DV332YQMGD8WTRJ9DZQXTB","worktable-review-with-annotations","Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.","MIT","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":74,"licenseFileUrl":84,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":79},"01M7DV2YGHCZVBEB1AHYB6CGHE","worktable-find-and-synthesize-context","Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":74,"licenseFileUrl":92,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":79},"01M7DV2TQN1H11ME2SAF9MXN7V","worktable-create-or-update-docs","Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":74,"licenseFileUrl":100,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":79},"01M7DV2NE452NEA8TXATKSNAJH","worktable-create-or-manage-records","Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":74,"licenseFileUrl":108,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":79},"01M7DV2HENRBR2KSCVM064WH0Y","worktable-create-or-manage-interactive-html","Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FSKILL.md",[],[],{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":74,"licenseFileUrl":116,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":79},"01M7DV2CADR5R7RQFFYPNAGR9Y","worktable-collaborate-threads","Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FSKILL.md",[],[]]