doc-restructuring
Safely move, reparent, reorder, promote, or delete chunks in a chunked-graph Document.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Safely move, reparent, reorder, promote, or delete chunks in a chunked-graph Document.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create and curate graph edges between chunks (and across documents) in a chunked-graph Document.
Import a Markdown file into a chunked-graph Document — deterministic round-trip vs semantic chunking.
Split arbitrary prose or a Markdown file into a sensible chunk hierarchy in a chunked-graph Document.
How to review a slice of a code repository with high precision — confidence-scored findings, project-guideline compliance, and Karpathy behavioral guidelines (simplicity, surgical scope, surfaced assumptions). Use when reviewing or auditing source files.
| name | doc/restructuring |
| description | Safely move, reparent, reorder, promote, or delete chunks in a chunked-graph Document. |
| tools | ["Document"] |
| license | Apache-2.0 |
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.
query_chunks document_id=<id> to see parents
and positions before moving anything.Document op=move_chunk id=<chunk> new_parent_id=<p>
(and an optional position). Moving a chunk takes its whole subtree with it.
A move into a chunk's own subtree is refused (it would orphan the tree).new_parent_id = the document
root). Demote = move under a sibling.op=delete_chunk id=<chunk> — this cascades to all
descendants and returns the count. You cannot delete a document's root chunk.query_chunks) if you're chaining further changes — ids
are stable but positions shift.