技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
chunking-and-types【数据与研究】Use Chonkie local chunkers, tokenizers, and data contracts for deterministic text, table, code, and optional model-dependent chunking.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is about selecting or configuring Chonkie chunkers, interpreting Chunk/Sentence/recursive/markdown data objects, or running deterministic local chunking checks.
TokenChunker.RecursiveChunker.SentenceChunker.FastChunker.TableChunker.CodeChunker when the code extra and tree-sitter grammars are available.RecursiveRules, MarkdownDocument, MarkdownTable, MarkdownCode, and code rule dataclasses.../pipelines-and-processing/.SemanticChunker, LateChunker, NeuralChunker, or SlumberChunker: ../embeddings-and-generative/.../interfaces-and-deployment/.../integrations-and-storage/.references/chunker-api-reference.md for constructor signatures, selection rules, deterministic versus optional chunkers, and common examples.references/tokenizers-and-types.md when chunk offsets, token counts, metadata, recursive rules, or markdown/code/table object contracts matter.references/troubleshooting.md for import, optional dependency, model-download, grammar-cache, chunk-size, and boundary problems.scripts/chunking_smoke.py --help first, then run the smoke with deterministic defaults.Prefer this deterministic baseline before any model/provider chunker:
from chonkie import RecursiveChunker
chunker = RecursiveChunker(tokenizer="character", chunk_size=512, min_characters_per_chunk=24)
chunks = chunker.chunk(text)
If strict maximum token count matters more than natural boundaries, switch to TokenChunker. If topic-coherent or model-trained boundaries are requested, route dependency and model decisions to ../embeddings-and-generative/ and keep a deterministic fallback ready.