indexion-segment 是做什么的?
将文本分割成上下文相关的块,用于RAG/嵌入管道。通过意图选择窗口、TF-IDF、标点或混合策略,进行文档分割和章节提取。
将文本分割成上下文相关的块,用于RAG/嵌入管道。通过意图选择窗口、TF-IDF、标点或混合策略,进行文档分割和章节提取。
trkbt10/indexion-segment 是一个AI代理技能,专为RAG(检索增强生成)和嵌入管道设计,用于将长文档智能分割成语义完整的文本块。该技能支持多种分割策略,包括基于窗口的分割、TF-IDF(词频-逆文档频率)算法、标点符号分割以及混合策略,用户可以根据具体文档类型和任务意图灵活选择。它能够自动识别文档章节边界,确保每个块保留足够的上下文信息,从而提升检索和嵌入的质量。该技能适用于Claude Code、Cursor、Codex等主流AI代理平台,通过简单的API调用即可将原始文本高效转换为结构化的嵌入输入。其工作流程首先分析文档结构,然后根据预设策略或动态意图选择最优分割方法,最后输出带有元数据的文本块列表,便于下游处理。
npx skills add https://github.com/trkbt10/indexion-skills/tree/main/skills/indexion-segmentInstalled? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →
将文本分割成上下文相关的块,用于RAG/嵌入管道。通过意图选择窗口、TF-IDF、标点或混合策略,进行文档分割和章节提取。
This repo contains 8 individual skills — each has its own dedicated page.
Generate and use a pre-edit structure brief so coding agents learn likely owners, consumer surfaces, and unsafe edit locations before implementing.
Documentation analysis — assess coverage, detect code-to-doc drift with plan reconcile, visualize dependencies with doc graph. Answers "what needs docs?" and "are docs still accurate?"
Detect and review name/content drift in code using `indexion identity audit`, then plan verified renames, moves, folder changes, or splits.
Debug and inspect KGF specs — view tokenization results, parse trees, and extracted edges from source files. Use when adding/fixing language support or when indexion's analysis output looks wrong.
README construction — initialize template structure, generate per-package READMEs from doc comments, plan writing tasks, assemble root README from docs/ and package READMEs via doc.json config, and verify edits with `plan drift`.
After writing code, detect and clean up duplication at three levels — copy-paste blocks, cross-package shared code, unnecessary wrappers, and concept-level SoT violations. Detect with indexion, fix, and verify.
Generate SDD requirements from RFCs/specs and quantitatively verify implementation conformance. spec draft → spec align → spec verify → automated validation loop with codex/claude. Operate spec-to-impl drift gates as CI checks.
Project wiki lifecycle — create pages, track source changes with ingest, update stale pages, lint structural integrity, detect code-to-doc drift with reconcile, and manage search indexes. A runbook for navigating and maintaining the wiki as an agent.
Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.
Control Eight Sleep pods (status, temperature, alarms, schedules).
BluOS CLI (blu) for discovery, playback, grouping, and volume.
Create, search, and manage Bear notes via grizzly CLI.
Capture frames or clips from RTSP/ONVIF cameras.
Search GIF providers with CLI/TUI, download results, and extract stills/sheets.