[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ETRHN1N27RH17RGHM2BECN":3,"skill-same:01M7ETRHN1N27RH17RGHM2BECN":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},"01M7ETRHN1N27RH17RGHM2BECN","python-extraction",null,"Use Trafilatura's Python APIs to extract text, metadata, comments, tables, and structured TXT\u002FMarkdown\u002FJSON\u002FHTML\u002FXML\u002FXML-TEI from in-memory HTML inputs.","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\u002Fpython-extraction\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: python-extraction\ndescription: \"Use Trafilatura's Python APIs to extract text, metadata, comments,\n  tables, and structured TXT\u002FMarkdown\u002FJSON\u002FHTML\u002FXML\u002FXML-TEI from in-memory HTML\n  inputs.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\nlicense: Apache 2.0\n---\n\n# Python Extraction\n\nUse this sub-skill when a task needs Trafilatura's Python API to turn an already available HTML payload, response body, or parsed LXML tree into extracted article text, metadata, comments, tables, or structured output.\n\n## Route here\n\n- In-memory extraction from `str`, `bytes`, response-like objects with `.data`, or `lxml.html.HtmlElement` inputs.\n- Choosing between `extract()`, `bare_extraction()`, `extract_with_metadata()`, `extract_metadata()`, `html2txt()`, `baseline()`, and `load_html()`.\n- Selecting `output_format` among `txt`, `markdown`, `json`, `html`, `csv`, `xml`, and `xmltei`.\n- Using metadata\u002Fcomment\u002Ftable\u002Flink\u002Fimage\u002Fformatting flags, precision\u002Frecall\u002Ffast modes, `Extractor` settings objects, `prune_xpath`, date parameters, language filtering, and config-driven size limits.\n- Diagnosing `None` output, too-short results, malformed HTML, metadata\u002Fdate surprises, and Markdown\u002FXML conversion quirks.\n\n## Route elsewhere\n\n- CLI flags, shell pipelines, filesystem output, batch command construction, or stdin\u002Fstdout behavior: `cli-batch-processing`.\n- Live downloading, feed\u002Fsitemap discovery, URL queues, crawl loops, or response fetching: `discovery-downloads`.\n- Corpus-level deduplication strategy, TEI validation depth, benchmark evaluation, or quality scoring: `corpus-quality`.\n\n## Start points\n\n1. Read [references\u002Fapi-reference.md](references\u002Fapi-reference.md) for function signatures, return shapes, option semantics, and output-format tradeoffs.\n2. Use [references\u002Fworkflows.md](references\u002Fworkflows.md) for copy-paste Python recipes and failure-aware extraction decisions.\n3. Use [references\u002Ftroubleshooting.md](references\u002Ftroubleshooting.md) when extraction returns `None`, metadata is missing, language filtering behaves unexpectedly, or output formatting looks wrong.\n4. Run [scripts\u002Fextraction_smoke.py](scripts\u002Fextraction_smoke.py) in an environment with `trafilatura` installed to verify the basic no-network API surface.\n\n## Minimal pattern\n\n```python\nfrom trafilatura import extract\n\nhtml = \"\"\"\u003Chtml>\u003Cbody>\u003Carticle>\u003Ch1>Title\u003C\u002Fh1>\u003Cp>Main article text.\u003C\u002Fp>\u003C\u002Farticle>\u003C\u002Fbody>\u003C\u002Fhtml>\"\"\"\ntext = extract(html, include_comments=False)\nif text is None:\n    # Retry with recall or a fallback API; see references\u002Fworkflows.md.\n    ...\n```\n\n## Safety and scope notes\n\n- This sub-skill assumes HTML is already available. Do not initiate live network access from these recipes unless another sub-skill has explicitly selected and prepared that workflow.\n- Public runtime guidance here is self-contained for Trafilatura 2.2.0 and does not require reopening the source repository.\n- Some optional behavior, especially robust `target_language` body-language detection and speedups, depends on optional extras such as `trafilatura[all]`; handle absence as a runtime capability limit, not as an extraction bug.\n","# Python Extraction\n\nUse this sub-skill when a task needs Trafilatura's Python API to turn an already available HTML payload, response body, or parsed LXML tree into extracted article text, metadata, comments, tables, or structured output.\n\n## Route here\n\n- In-memory extraction from `str`, `bytes`, response-like objects with `.data`, or `lxml.html.HtmlElement` inputs.\n- Choosing between `extract()`, `bare_extraction()`, `extract_with_metadata()`, `extract_metadata()`, `html2txt()`, `baseline()`, and `load_html()`.\n- Selecting `output_format` among `txt`, `markdown`, `json`, `html`, `csv`, `xml`, and `xmltei`.\n- Using metadata\u002Fcomment\u002Ftable\u002Flink\u002Fimage\u002Fformatting flags, precision\u002Frecall\u002Ffast modes, `Extractor` settings objects, `prune_xpath`, date parameters, language filtering, and config-driven size limits.\n- Diagnosing `None` output, too-short results, malformed HTML, metadata\u002Fdate surprises, and Markdown\u002FXML conversion quirks.\n\n## Route elsewhere\n\n- CLI flags, shell pipelines, filesystem output, batch command construction, or stdin\u002Fstdout behavior: `cli-batch-processing`.\n- Live downloading, feed\u002Fsitemap discovery, URL queues, crawl loops, or response fetching: `discovery-downloads`.\n- Corpus-level deduplication strategy, TEI validation depth, benchmark evaluation, or quality scoring: `corpus-quality`.\n\n## Start points\n\n1. Read [references\u002Fapi-reference.md](references\u002Fapi-reference.md) for function signatures, return shapes, option semantics, and output-format tradeoffs.\n2. Use [references\u002Fworkflows.md](references\u002Fworkflows.md) for copy-paste Python recipes and failure-aware extraction decisions.\n3. Use [references\u002Ftroubleshooting.md](references\u002Ftroubleshooting.md) when extraction returns `None`, metadata is missing, language filtering behaves unexpectedly, or output formatting looks wrong.\n4. Run [scripts\u002Fextraction_smoke.py](scripts\u002Fextraction_smoke.py) in an environment with `trafilatura` installed to verify the basic no-network API surface.\n\n## Minimal pattern\n\n```python\nfrom trafilatura import extract\n\nhtml = \"\"\"\u003Chtml>\u003Cbody>\u003Carticle>\u003Ch1>Title\u003C\u002Fh1>\u003Cp>Main article text.\u003C\u002Fp>\u003C\u002Farticle>\u003C\u002Fbody>\u003C\u002Fhtml>\"\"\"\ntext = extract(html, include_comments=False)\nif text is None:\n    # Retry with recall or a fallback API; see references\u002Fworkflows.md.\n    ...\n```\n\n## Safety and scope notes\n\n- This sub-skill assumes HTML is already available. Do not initiate live network access from these recipes unless another sub-skill has explicitly selected and prepared that workflow.\n- Public runtime guidance here is self-contained for Trafilatura 2.2.0 and does not require reopening the source repository.\n- Some optional behavior, especially robust `target_language` body-language detection and speedups, depends on optional extras such as `trafilatura[all]`; handle absence as a runtime capability limit, not as an extraction bug.\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\u002Fpython-extraction",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 python-extraction",{"tool":42,"command":43},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill python-extraction",{"tool":45,"command":46},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill python-extraction","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Ftrafilatura\u002Fsub-skills\u002Fpython-extraction\u002FSKILL.md",[49,55,59],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fapi-reference.md","REFERENCE","参考文档",13954,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Ftrafilatura\u002Fsub-skills\u002Fpython-extraction\u002Freferences\u002Fapi-reference.md",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Ftroubleshooting.md",8956,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Ftrafilatura\u002Fsub-skills\u002Fpython-extraction\u002Freferences\u002Ftroubleshooting.md",{"path":60,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Fworkflows.md",9876,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Ftrafilatura\u002Fsub-skills\u002Fpython-extraction\u002Freferences\u002Fworkflows.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",[],[]]