[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EF85SMQGG54NK8BW09CVYA":3,"skill-same:01M7EF85SMQGG54NK8BW09CVYA":65},{"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":6,"ownerHtmlUrl":35,"ownerBlogUrl":6,"ownerDescription":36,"updatedAt":37,"install":38,"resources":50},"01M7EF85SMQGG54NK8BW09CVYA","vectorizers-ctfidf",null,"Tunes BERTopic topic-term extraction with c-TF-IDF, CountVectorizer, OnlineCountVectorizer, and update_topics refreshes.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fbertopic\u002Fsub-skills\u002Fvectorizers-ctfidf\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: vectorizers-ctfidf\ndescription: \"Tunes BERTopic topic-term extraction with c-TF-IDF,\n  CountVectorizer, OnlineCountVectorizer, and update_topics refreshes.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\n  package: \"BERTopic\"\n  package-version: \"0.17.4\"\n  parent-skill: \"bertopic\"\nlicense: MIT\n---\n\n# vectorizers-ctfidf\n\nUse this sub-skill when the task is about BERTopic topic-term extraction: c-TF-IDF scoring, vectorizer tuning, or online vocabulary updates.\n\n## Route here for\n\n- `ClassTfidfTransformer` setup, including `bm25_weighting`, `reduce_frequent_words`, and seed-word boosts.\n- `CountVectorizer` tuning for topic words: `ngram_range`, `stop_words`, `min_df`, `max_features`, and custom tokenizers.\n- `OnlineCountVectorizer` incremental vocabulary workflows, including `decay` and `delete_min_df`.\n- Refreshing fitted topic words with `BERTopic.update_topics(...)` using a new vectorizer or c-TF-IDF transformer.\n- Debugging sparse topic-term matrices, empty vocabularies, or online cleanup behavior.\n\n## Route elsewhere\n\n- Embedding model or backend selection: use the embeddings backend sub-skill.\n- Representation models, LLM labels, MMR, POS, KeyBERT-inspired labels, or multi-aspect labels: use the representations\u002Flabeling sub-skill.\n- Plotting, hierarchy analysis, topic distributions, or dashboards: use the analysis\u002Fvisualization sub-skill.\n- Saving, loading, hub upload, or serialization format choices: use the serialization sub-skill.\n\n## Read next\n\n1. [`references\u002Fapi-reference.md`](references\u002Fapi-reference.md) for verified classes, signatures, and parameter behavior.\n2. [`references\u002Fworkflows.md`](references\u002Fworkflows.md) for fit-time tuning, post-fit refreshes, custom tokenizers, and streaming vocabulary updates.\n3. [`references\u002Ftroubleshooting.md`](references\u002Ftroubleshooting.md) for import, parameter, and online-vocabulary failures.\n4. [`scripts\u002Fsmoke_vectorizers.py`](scripts\u002Fsmoke_vectorizers.py) for a safe synthetic smoke that exercises custom tokenization, c-TF-IDF sweeps, `update_topics`, and online cleanup.\n\n## Minimal decision flow\n\n- If the clusters are acceptable but the words are noisy, refresh representations with `update_topics(docs, vectorizer_model=..., ctfidf_model=...)` rather than retraining embeddings or clustering.\n- If the vocabulary is too large, prefer `min_df` or `max_features`; for streaming models add `delete_min_df` on `OnlineCountVectorizer`.\n- If generic words dominate many topics, try `stop_words`, a domain stopword list, `ClassTfidfTransformer(reduce_frequent_words=True)`, and on smaller corpora `bm25_weighting=True`.\n- If terms need phrases, raise `ngram_range` and remove stopwords so multiword terms survive scoring.\n- If the text needs custom segmentation, pass a deterministic tokenizer to `CountVectorizer` or `OnlineCountVectorizer` and keep it consistent across fit and refresh calls.\n\n## Verification anchors\n\n- Tiny synthetic corpus with a custom tokenizer and CountVectorizer sweep: expected output includes stable topic-specific terms, at least one phrase when bigrams are enabled, and a bounded vocabulary when `max_features` is set.\n- Incremental `OnlineCountVectorizer` stream with `decay` and `delete_min_df`: expected output is a sparse matrix whose vocabulary can drop low-frequency historical terms and later re-add them when they become frequent again.\n","# vectorizers-ctfidf\n\nUse this sub-skill when the task is about BERTopic topic-term extraction: c-TF-IDF scoring, vectorizer tuning, or online vocabulary updates.\n\n## Route here for\n\n- `ClassTfidfTransformer` setup, including `bm25_weighting`, `reduce_frequent_words`, and seed-word boosts.\n- `CountVectorizer` tuning for topic words: `ngram_range`, `stop_words`, `min_df`, `max_features`, and custom tokenizers.\n- `OnlineCountVectorizer` incremental vocabulary workflows, including `decay` and `delete_min_df`.\n- Refreshing fitted topic words with `BERTopic.update_topics(...)` using a new vectorizer or c-TF-IDF transformer.\n- Debugging sparse topic-term matrices, empty vocabularies, or online cleanup behavior.\n\n## Route elsewhere\n\n- Embedding model or backend selection: use the embeddings backend sub-skill.\n- Representation models, LLM labels, MMR, POS, KeyBERT-inspired labels, or multi-aspect labels: use the representations\u002Flabeling sub-skill.\n- Plotting, hierarchy analysis, topic distributions, or dashboards: use the analysis\u002Fvisualization sub-skill.\n- Saving, loading, hub upload, or serialization format choices: use the serialization sub-skill.\n\n## Read next\n\n1. [`references\u002Fapi-reference.md`](references\u002Fapi-reference.md) for verified classes, signatures, and parameter behavior.\n2. [`references\u002Fworkflows.md`](references\u002Fworkflows.md) for fit-time tuning, post-fit refreshes, custom tokenizers, and streaming vocabulary updates.\n3. [`references\u002Ftroubleshooting.md`](references\u002Ftroubleshooting.md) for import, parameter, and online-vocabulary failures.\n4. [`scripts\u002Fsmoke_vectorizers.py`](scripts\u002Fsmoke_vectorizers.py) for a safe synthetic smoke that exercises custom tokenization, c-TF-IDF sweeps, `update_topics`, and online cleanup.\n\n## Minimal decision flow\n\n- If the clusters are acceptable but the words are noisy, refresh representations with `update_topics(docs, vectorizer_model=..., ctfidf_model=...)` rather than retraining embeddings or clustering.\n- If the vocabulary is too large, prefer `min_df` or `max_features`; for streaming models add `delete_min_df` on `OnlineCountVectorizer`.\n- If generic words dominate many topics, try `stop_words`, a domain stopword list, `ClassTfidfTransformer(reduce_frequent_words=True)`, and on smaller corpora `bm25_weighting=True`.\n- If terms need phrases, raise `ngram_range` and remove stopwords so multiword terms survive scoring.\n- If the text needs custom segmentation, pass a deterministic tokenizer to `CountVectorizer` or `OnlineCountVectorizer` and keep it consistent across fit and refresh calls.\n\n## Verification anchors\n\n- Tiny synthetic corpus with a custom tokenizer and CountVectorizer sweep: expected output includes stable topic-specific terms, at least one phrase when bigrams are enabled, and a bounded vocabulary when `max_features` is set.\n- Incremental `OnlineCountVectorizer` stream with `decay` and `delete_min_df`: expected output is a sparse matrix whose vocabulary can drop low-frequency historical terms and later re-add them when they become frequent again.\n",{"name":5,"license":15,"metadata":24,"description":7,"disable-model-invocation":29},{"package":25,"disco-role":26,"parent-skill":27,"package-version":28},"BERTopic","operating","bertopic","0.17.4",true,"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","04-安全渗透\u002Fbertopic\u002Fsub-skills\u002Fvectorizers-ctfidf",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":39,"prompt":49,"zipAvailable":29},[40,43,46],{"tool":41,"command":42},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill vectorizers-ctfidf",{"tool":44,"command":45},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill vectorizers-ctfidf",{"tool":47,"command":48},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill vectorizers-ctfidf","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fbertopic\u002Fsub-skills\u002Fvectorizers-ctfidf\u002FSKILL.md",[51,57,61],{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fapi-reference.md","REFERENCE","参考文档",4192,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fbertopic\u002Fsub-skills\u002Fvectorizers-ctfidf\u002Freferences\u002Fapi-reference.md",{"path":58,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Ftroubleshooting.md",4772,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fbertopic\u002Fsub-skills\u002Fvectorizers-ctfidf\u002Freferences\u002Ftroubleshooting.md",{"path":62,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Fworkflows.md",5877,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fbertopic\u002Fsub-skills\u002Fvectorizers-ctfidf\u002Freferences\u002Fworkflows.md",[66,74,79,86,93,100],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":73},"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.","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":75,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":73},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":73},"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":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":73},"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":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":73},"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":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":73},"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",[],[]]