Skip to content
Back to skills

Chunking And Types

ASecurity

"Use Chonkie local chunkers, tokenizers, and data contracts for

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 8, 2026
devopspythonapidatabase

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill chunking-and-types --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Chunking And Types?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Chunking And Types
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-chunking-and-types/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-chunking-and-types)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: chunking-and-types
description: "Use Chonkie local chunkers, tokenizers, and data contracts for
  deterministic text, table, code, and optional model-dependent chunking."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# Chonkie chunking and types

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.

## Route here

- Fixed-size chunks by token count: `TokenChunker`.
- General-purpose local document chunking: `RecursiveChunker`.
- Sentence-boundary chunking: `SentenceChunker`.
- Byte-throughput chunking: `FastChunker`.
- Markdown/HTML table chunks: `TableChunker`.
- Source-code chunks: `CodeChunker` when the `code` extra and tree-sitter grammars are available.
- Interpreting chunk fields, tokenizer behavior, `RecursiveRules`, `MarkdownDocument`, `MarkdownTable`, `MarkdownCode`, and code rule dataclasses.

## Route elsewhere

- Pipeline orchestration, chefs, refineries, fetchers, and CHOMP ordering: `../pipelines-and-processing/`.
- Embedding/model/provider setup for `SemanticChunker`, `LateChunker`, `NeuralChunker`, or `SlumberChunker`: `../embeddings-and-generative/`.
- CLI commands, HTTP API schemas/routes, local serving, and cloud wrappers: `../interfaces-and-deployment/`.
- JSON/datasets/vector-database export or handshakes: `../integrations-and-storage/`.

## Required operating references

1. Start with `references/chunker-api-reference.md` for constructor signatures, selection rules, deterministic versus optional chunkers, and common examples.
2. Use `references/tokenizers-and-types.md` when chunk offsets, token counts, metadata, recursive rules, or markdown/code/table object contracts matter.
3. Use `references/troubleshooting.md` for import, optional dependency, model-download, grammar-cache, chunk-size, and boundary problems.
4. For a safe local diagnostic, run `scripts/chunking_smoke.py --help` first, then run the smoke with deterministic defaults.

## Safe defaults

Prefer this deterministic baseline before any model/provider chunker:

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

Files in this skill

  • SKILL.md2.6 KB
  • references/chunker-api-reference.md11.9 KB
  • references/tokenizers-and-types.md9.5 KB
  • references/troubleshooting.md9.7 KB
  • scripts/chunking_smoke.py11.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.