[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ETR8PCAEZ0K7H4F0H2V1H3":3,"skill-same:01M7ETR8PCAEZ0K7H4F0H2V1H3":63},{"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":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":34,"updatedAt":35,"install":36,"resources":48},"01M7ETR8PCAEZ0K7H4F0H2V1H3","cli-batch-processing",null,"Use Trafilatura's command line for stdin, URL\u002Flist, and local directory batch extraction with safe outputs, configs, backups, parallelism, and validation.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Ftrafilatura\u002Fsub-skills\u002Fcli-batch-processing\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: cli-batch-processing\ndescription: \"Use Trafilatura's command line for stdin, URL\u002Flist, and local\n  directory batch extraction with safe outputs, configs, backups, parallelism,\n  and validation.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\nlicense: Apache 2.0\n---\n\n# CLI Batch Processing\n\nUse this sub-skill when the user wants Trafilatura from a shell or automation script rather than Python APIs: stdin extraction, `-u\u002F--URL`, URL-list batches, local `--input-dir` batches, output directories, backups, `--keep-dirs`, output format flags, `--parallel`, `--config-file`, metadata filters, deduplication, precision\u002Frecall presets, and XML-TEI validation.\n\nDo **not** use this sub-skill for direct Python function calls; route those requests to `python-extraction`. For feed\u002Fsitemap\u002Fcrawl algorithms beyond the CLI flag invocation, route to `discovery-downloads`. For conceptual deduplication, corpus formats, and TEI quality details, route to `corpus-quality`.\n\n## Start here\n\n1. Confirm the CLI is reachable:\n   ```bash\n   trafilatura --version\n   trafilatura --help\n   # PATH fallback when the console script is unavailable:\n   python -m trafilatura.cli --help\n   ```\n2. Choose exactly one primary input mode:\n   - no input flag: read HTML bytes from stdin;\n   - `-u\u002F--URL`: download and extract one URL;\n   - `-i\u002F--input-file`: process a text file containing one URL per line;\n   - `--input-dir`: walk local downloaded HTML files.\n3. Choose output behavior:\n   - no `-o\u002F--output-dir`: print to stdout;\n   - `-o DIR`: write result files, creating directories as needed;\n   - `--backup-dir DIR`: keep gzipped raw HTML for URL downloads;\n   - `--keep-dirs`: preserve local input paths, but only with `-o\u002F--output-dir`.\n4. Add extraction and format options deliberately: `--with-metadata`, `--only-with-metadata`, `--deduplicate`, `--precision`, `--recall`, `--xmltei --validate-tei`, `--json`, `--markdown`, etc.\n5. For a no-network sanity check, run the bundled helper:\n   ```bash\n   python scripts\u002Fcli_fixture_runner.py\n   python scripts\u002Fcli_fixture_runner.py --json\n   ```\n\n## References\n\n- `references\u002Fcli-reference.md` — flag groups, input\u002Foutput rules, format interactions, safe command construction, exit statuses.\n- `references\u002Fbatch-workflows.md` — ready-to-adapt stdin, URL-list, directory, backup, config, listing, and TEI recipes.\n- `references\u002Ftroubleshooting.md` — CLI-specific failure symptoms and recoveries.\n- `scripts\u002Fcli_fixture_runner.py` — no-network smoke helper for installed CLI behavior.\n\n## Safety checklist for generated commands\n\n- Quote URLs and paths in shell examples; in Python, prefer `subprocess.run([...])` argument lists over shell strings.\n- Keep network batches polite: start with `--parallel 1`, increase only when allowed, and use `SLEEP_TIME` in a config file for domain-level pacing.\n- Separate discovery\u002Flisting from extraction: `--list` prints URLs only and ignores extraction\u002Foutput-format expectations.\n- Use a small fixture or sample directory before a large batch; verify output content and file names before scaling.\n- Prefer relative `--input-dir` values when using `--keep-dirs`, so mirrored output paths stay inside the chosen output directory.\n\n## Provenance\n\nThis sub-skill distills Trafilatura 2.2.0 CLI behavior from public package docs, CLI source, settings source, and selected CLI\u002Fdownload tests. Evidence labels include `docs\u002Fusage-cli.rst`, `docs\u002Fquickstart.rst`, `docs\u002Finstallation.rst`, `docs\u002Fsettings.rst`, `docs\u002Ftroubleshooting.rst`, `trafilatura\u002Fcli.py`, `trafilatura\u002Fcli_utils.py`, `trafilatura\u002Fsettings.py`, `trafilatura\u002Fsettings.cfg`, `tests\u002Fcli_tests.py`, and selected `tests\u002Fdownloads_tests.py` queue cases.\n","# CLI Batch Processing\n\nUse this sub-skill when the user wants Trafilatura from a shell or automation script rather than Python APIs: stdin extraction, `-u\u002F--URL`, URL-list batches, local `--input-dir` batches, output directories, backups, `--keep-dirs`, output format flags, `--parallel`, `--config-file`, metadata filters, deduplication, precision\u002Frecall presets, and XML-TEI validation.\n\nDo **not** use this sub-skill for direct Python function calls; route those requests to `python-extraction`. For feed\u002Fsitemap\u002Fcrawl algorithms beyond the CLI flag invocation, route to `discovery-downloads`. For conceptual deduplication, corpus formats, and TEI quality details, route to `corpus-quality`.\n\n## Start here\n\n1. Confirm the CLI is reachable:\n   ```bash\n   trafilatura --version\n   trafilatura --help\n   # PATH fallback when the console script is unavailable:\n   python -m trafilatura.cli --help\n   ```\n2. Choose exactly one primary input mode:\n   - no input flag: read HTML bytes from stdin;\n   - `-u\u002F--URL`: download and extract one URL;\n   - `-i\u002F--input-file`: process a text file containing one URL per line;\n   - `--input-dir`: walk local downloaded HTML files.\n3. Choose output behavior:\n   - no `-o\u002F--output-dir`: print to stdout;\n   - `-o DIR`: write result files, creating directories as needed;\n   - `--backup-dir DIR`: keep gzipped raw HTML for URL downloads;\n   - `--keep-dirs`: preserve local input paths, but only with `-o\u002F--output-dir`.\n4. Add extraction and format options deliberately: `--with-metadata`, `--only-with-metadata`, `--deduplicate`, `--precision`, `--recall`, `--xmltei --validate-tei`, `--json`, `--markdown`, etc.\n5. For a no-network sanity check, run the bundled helper:\n   ```bash\n   python scripts\u002Fcli_fixture_runner.py\n   python scripts\u002Fcli_fixture_runner.py --json\n   ```\n\n## References\n\n- `references\u002Fcli-reference.md` — flag groups, input\u002Foutput rules, format interactions, safe command construction, exit statuses.\n- `references\u002Fbatch-workflows.md` — ready-to-adapt stdin, URL-list, directory, backup, config, listing, and TEI recipes.\n- `references\u002Ftroubleshooting.md` — CLI-specific failure symptoms and recoveries.\n- `scripts\u002Fcli_fixture_runner.py` — no-network smoke helper for installed CLI behavior.\n\n## Safety checklist for generated commands\n\n- Quote URLs and paths in shell examples; in Python, prefer `subprocess.run([...])` argument lists over shell strings.\n- Keep network batches polite: start with `--parallel 1`, increase only when allowed, and use `SLEEP_TIME` in a config file for domain-level pacing.\n- Separate discovery\u002Flisting from extraction: `--list` prints URLs only and ignores extraction\u002Foutput-format expectations.\n- Use a small fixture or sample directory before a large batch; verify output content and file names before scaling.\n- Prefer relative `--input-dir` values when using `--keep-dirs`, so mirrored output paths stay inside the chosen output directory.\n\n## Provenance\n\nThis sub-skill distills Trafilatura 2.2.0 CLI behavior from public package docs, CLI source, settings source, and selected CLI\u002Fdownload tests. Evidence labels include `docs\u002Fusage-cli.rst`, `docs\u002Fquickstart.rst`, `docs\u002Finstallation.rst`, `docs\u002Fsettings.rst`, `docs\u002Ftroubleshooting.rst`, `trafilatura\u002Fcli.py`, `trafilatura\u002Fcli_utils.py`, `trafilatura\u002Fsettings.py`, `trafilatura\u002Fsettings.cfg`, `tests\u002Fcli_tests.py`, and selected `tests\u002Fdownloads_tests.py` queue cases.\n",{"name":5,"license":24,"metadata":25,"description":7,"disable-model-invocation":27},"Apache 2.0",{"disco-role":26},"operating",true,"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","04-安全渗透\u002Ftrafilatura\u002Fsub-skills\u002Fcli-batch-processing",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":27},[38,41,44],{"tool":39,"command":40},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill cli-batch-processing",{"tool":42,"command":43},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill cli-batch-processing",{"tool":45,"command":46},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill cli-batch-processing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Ftrafilatura\u002Fsub-skills\u002Fcli-batch-processing\u002FSKILL.md",[49,55,59],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fbatch-workflows.md","REFERENCE","参考文档",9429,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Ftrafilatura\u002Fsub-skills\u002Fcli-batch-processing\u002Freferences\u002Fbatch-workflows.md",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fcli-reference.md",9254,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Ftrafilatura\u002Fsub-skills\u002Fcli-batch-processing\u002Freferences\u002Fcli-reference.md",{"path":60,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Ftroubleshooting.md",9344,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Ftrafilatura\u002Fsub-skills\u002Fcli-batch-processing\u002Freferences\u002Ftroubleshooting.md",[64,73,78,85,92,99],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":72},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":74,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":72},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":72},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":72},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":72},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":72},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]