Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add denn-gubsky/loomcycle --skill semantic-chunkinggit clone --depth 1 https://github.com/denn-gubsky/loomcycleWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/denn-gubsky/loomcycle/semantic-chunking)<a href="https://agentmods.dev/skills/denn-gubsky/loomcycle/semantic-chunking"><img src="https://agentmods.dev/badge/skills/denn-gubsky/loomcycle/semantic-chunking/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/denn-gubsky/loomcycle/semantic-chunking"><img src="https://agentmods.dev/badge/skills/denn-gubsky/loomcycle/semantic-chunking.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00027 | $0.00359 |
| Opus 5.5 | $0.00011 | $0.00144 |
| Sonnet 5.5 | $0.00005 | $0.00072 |
| Haiku 4.5 | $0.00003 | $0.00036 |
Grade A, and why
doc/semantic-chunking scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Semantic chunking
When the operator hands you a body of text (pasted prose, a spec, a Markdown file) and asks to "import it" or "chunk it", turn it into a hierarchy of chunks — do NOT dump it into one giant chunk.
Method
- Read the text's own structure first: existing headings, numbered sections, topic shifts, and natural paragraphs are your chunk boundaries.
- Choose a hierarchy: a top-level chunk per major section, child chunks per sub-section. Aim for chunks that are individually meaningful and editable — a few sentences to a few paragraphs each, not one-liners and not whole pages.
- Give every chunk a short, descriptive title (it becomes the heading).
- Create them top-down so parents exist before children:
Document op=create_chunk document_id=<id> parent_id=<parent> title="…" body="…"(omitparent_idfor a child of the root, or pass the document's root chunk). - Carry a
typewhen the operator's domain implies one (e.g.section,requirement,task) and astatusif they use a workflow.
Notes
- If the text is a loomcycle export (it has
<!-- loom: … -->comments), prefer the deterministicimport_mdop instead (see the doc/md-import skill). - Keep the operator's wording in the body; don't paraphrase unless asked.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 31 lines · 27 tokens per session scan A dc7b06e8b914
doc/semantic-chunking is a skill published in the GitHub repository denn-gubsky/loomcycle (18 stars, last pushed today), licensed Apache-2.0. It adds 27 tokens to every session and 359 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
doc/semantic-chunking compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| doc/semantic-chunkingdenn-gubsky/loomcycle | Skill | 18 | today | Apache-2.0 | A | 27 | Claude Code, Codex |
| pdf-processingTencent/WeKnora | Skill | 38k | 3d ago | none | A | 36 | Claude Code, Codex |
| pptagenticip-cas/PPTAgent | Skill | 5.3k | 6d ago | MIT | A | 52 | Claude Code, Codex |
| docxMemTensor/memmy-agent | Skill | 2.4k | yesterday | MIT | A | 40 | Claude Code, Codex |
| co-mail-and-driveopenonion/connectonion | Skill | 1.6k | today | Apache-2.0 | A | 103 | Claude Code, Codex |
| pptxMemTensor/memmy-agent | Skill | 2.4k | yesterday | MIT | A | 29 | Claude Code, Codex |
| xlsxMemTensor/memmy-agent | Skill | 2.4k | yesterday | MIT | A | 35 | Claude Code, Codex |