Communityコーディング&開発github.com

trkbt10/indexion-segment

テキストをRAG/埋め込みパイプライン用の文脈的なチャンクに分割します。意図に基づいて選択されたウィンドウ、tfidf、句読点、またはハイブリッド戦略を使用したドキュメントのセグメンテーションとセクション抽出を行います。

indexion-segment とは?

このスキルは、RAG(Retrieval-Augmented Generation)や埋め込みパイプライン向けに、テキストを文脈を保持したチャンクに分割するためのツールです。ドキュメントのセグメンテーションとセクション抽出を、ウィンドウ方式、TF-IDFベース、句読点ベース、またはこれらを組み合わせたハイブリッド戦略から、ユーザーの意図に応じて適切な方法を選択して実行します。主にAIエージェント(Claude Code、Coder、Codexなど)と連携して動作し、大規模なテキストデータを効率的に処理するためのパイプラインの一部として使用されます。このスキルは、特にベクトルデータベースへのデータ投入や、コンテキストウィンドウを最適化する必要があるシナリオで有効です。各戦略は、テキストの構造や目的に応じて最適なチャンクサイズと境界を決定し、検索精度の向上に貢献します。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/trkbt10/indexion-skills/tree/main/skills/indexion-segment

Installed? Explore more コーディング&開発 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

indexion-segment は何をしますか?

テキストをRAG/埋め込みパイプライン用の文脈的なチャンクに分割します。意図に基づいて選択されたウィンドウ、tfidf、句読点、またはハイブリッド戦略を使用したドキュメントのセグメンテーションとセクション抽出を行います。

Individual skills in this repo

This repo contains 8 individual skills — each has its own dedicated page.

trkbt10/indexion-agent-orient

Generate and use a pre-edit structure brief so coding agents learn likely owners, consumer surfaces, and unsafe edit locations before implementing.

trkbt10/indexion-documentation

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?"

trkbt10/indexion-identity

Detect and review name/content drift in code using `indexion identity audit`, then plan verified renames, moves, folder changes, or splits.

trkbt10/indexion-kgf

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.

trkbt10/indexion-readme

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`.

trkbt10/indexion-refactor

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.

trkbt10/indexion-sdd

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.

trkbt10/indexion-wiki

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.

関連スキル