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 agentmods add skills/denn-gubsky/loomcycle/restructuringnpx skills add denn-gubsky/loomcycle --skill restructuringgit 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/restructuring)<a href="https://agentmods.dev/skills/denn-gubsky/loomcycle/restructuring"><img src="https://agentmods.dev/badge/skills/denn-gubsky/loomcycle/restructuring.svg" alt="Measured on agentmods" 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 | $0.00027 | $0.00346 |
| Opus 5 | $0.00014 | $0.00173 |
| Sonnet 5 | $0.00005 | $0.00069 |
| Haiku 4.5 | $0.00003 | $0.00035 |
Grade A, and why
doc/restructuring 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 4d 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
Restructuring
Reshaping the tree — "promote the risks section to a top-level chunk", "move the deployment steps under Runbooks", "reorder these" — is your job (the Web UI deliberately has no drag-edit). Be careful: these operations cascade.
Method
- Map the current shape first:
query_chunks document_id=<id>to see parents and positions before moving anything. - Reparent / reorder with
Document op=move_chunk id=<chunk> new_parent_id=<p>(and an optionalposition). Moving a chunk takes its whole subtree with it. A move into a chunk's own subtree is refused (it would orphan the tree). - Promote = move to a shallower parent (e.g.
new_parent_id= the document root). Demote = move under a sibling. - Delete with
op=delete_chunk id=<chunk>— this cascades to all descendants and returns the count. You cannot delete a document's root chunk.
Safety
- For any cascade touching more than a couple of chunks, summarize the effect in one sentence and get the operator's confirmation BEFORE acting ("Deleting Section 3 removes it and its 4 sub-chunks — proceed?").
- Re-read after a move (
query_chunks) if you're chaining further changes — ids are stable but positions shift.
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.
- 4d ago First seen · 31 lines · 27 tokens per session scan A f196e033d87f
doc/restructuring is a skill published in the GitHub repository denn-gubsky/loomcycle (13 stars, last pushed today), licensed Apache-2.0. It adds 27 tokens to every session and 346 once invoked, about $0.0001 per session on Opus 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.
Other skills, from other repositories
openmaic-classroom
将 RAG 检索结果、文档块或知识图谱概念转换为 OpenMAIC 互动课程。当用户要求将知识库内容、检索到的文档片段、上传的文档、或知识图谱中的概念批量转换为教学课件/互动课堂时使用此技能。支持纯需求生成、基于 PDF 内容的课程生成、和基于概念图遍历的批量课堂生成。.
文档分析器
深度分析文档结构和内容。当用户需要分析文档结构、提取关键信息、识别文档类型、进行内容质量评估、或理解文档组织方式时使用此技能。.
pdf-processing
Extract text and tables from PDF files, fill forms, merge documents. Use when working with PDF files or when the user mentions PDFs, forms, or document extraction.
release-notes
Draft concise release notes.
文档协作
引导用户通过结构化的文档共同编写工作流程。当用户想撰写文档、提案、技术规范、决策文档或类似结构化内容时使用。该工作流程帮助用户高效传递上下文,通过迭代优化内容,并验证文档对读者有效。当用户提到写文档、创建提案、起草规范或类似文档任务时触发。.
weknora-shared
Use when driving a WeKnora RAG server through the weknora CLI as an agent — authenticating, managing knowledge bases / documents / sessions / agents, running search or chat, or interpreting the CLI's JSON envelopes and exit codes. Read this before any other weknora- skill.