doc-consolidator

doc-consolidator is a skill for Claude Code, Codex from TashanGKD/tashan-cursor-skills. It costs 110 tokens per session (976 once invoked), scanned A, original, MIT.

A process for combining several overlapping documents into one maintained source of truth, meaning the one document treated as authoritative.

In plain words
What is it for?
Use it to compare candidate documents, choose a main source with the user's approval, merge useful material, archive older files, and check references afterward.
Why use it?
It reduces conflicting instructions, duplicated content, and uncertainty about which document is current.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to compare candidate documents, choose a main source with the user's approval, merge useful material, archive older files, and check references afterward.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tashangkd/tashan-cursor-skills/doc-consolidator
Install

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.

Any agent
npx skills add TashanGKD/tashan-cursor-skills --skill doc-consolidator
Clone the repo
git clone --depth 1 https://github.com/TashanGKD/tashan-cursor-skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for doc-consolidator

README.md
[![agentmods](https://agentmods.dev/badge/skills/tashangkd/tashan-cursor-skills/doc-consolidator/github.svg)](https://agentmods.dev/skills/tashangkd/tashan-cursor-skills/doc-consolidator)
Your own site
<a href="https://agentmods.dev/skills/tashangkd/tashan-cursor-skills/doc-consolidator"><img src="https://agentmods.dev/badge/skills/tashangkd/tashan-cursor-skills/doc-consolidator/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.

agentmods 80×15 button for doc-consolidator

Your own site · 80×15
<a href="https://agentmods.dev/skills/tashangkd/tashan-cursor-skills/doc-consolidator"><img src="https://agentmods.dev/badge/skills/tashangkd/tashan-cursor-skills/doc-consolidator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 110 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 976 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00110 $0.00976
Opus 5 $0.00055 $0.00488
Sonnet 5 $0.00022 $0.00195
Haiku 4.5 $0.00011 $0.00098

Measured 9d ago against content hash 912a178e2be4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

doc-consolidator 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 9d 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.

skills/doc-consolidator/SKILL.md · 90 lines

What it actually says

文档整合(doc-consolidator)

减少文档漂移,恢复单一权威指引文件。 基于 closure-orchestration-package 的 master-doc-consolidator 本地化。


激活后立即执行

Step 1  确认整合目标
        询问(如未说明):
        「需要整合的文档集合是哪些?
          主真源候选是哪个(用户认为最权威的版本)?
          整合后应该以什么文件名/路径作为新的真源?」

Step 2  读取所有候选文档
        用 explore 子智能体并行读取所有文档
        → 识别每份文档的:创建时间 / 最后修改时间 / 核心内容 / 与其他文档的重叠度

Step 3  确认主真源
        基于以下标准判断:
        - 最近更新的
        - 覆盖范围最完整的
        - 用户/项目明确指定的
        
        向用户确认:
        「建议以 [文档名] 作为主真源,原因是:[...]
          是否确认?」

Step 4  提取补充内容
        从其他文档中识别主真源没有覆盖但有价值的内容
        逐条列出,询问是否纳入主真源

Step 5  重建结构
        基于执行需要(不只是逻辑顺序)重新组织章节:
        - 优先放「AI/人首先需要读的内容」
        - 参考性内容可以放附录
        - 重复内容合并

Step 6  输出整合版本
        若覆写会造成版本混淆 → 创建新文件,原文件保留并标注「已被整合,参见新版本」
        若无混淆风险 → 直接更新主真源文件(必须先备份到 history/)

Step 7  废弃文档处理计划
        对每个被整合的文档,输出处理方案:
        - 归档到 history/
        - 添加「已废弃」标注
        - 更新引用该文档的其他文件
Step 8  整合后一致性验证提示(CO-003 Gap 修复)
        整合完成后,主动提示:
        「✅ 文档整合完成。
         建议:说「做收尾检查」触发 project-closeout,
         验证整合后的文档集自洽(各文档间无矛盾、无悬空引用)。」

注意事项

  • 覆写前必须备份:整合操作涉及覆写文档,必须先保留原版本到 history/
  • 不维护多个顶级主文档:整合目标是「一个类别只有一个权威版本」
  • 用户确认主真源:不允许 AI 自行决定哪份文档是主真源

变更记录

v1.1 — 2026-03-19 — Step 8 加入整合后一致性验证提示(CO-003 Gap 修复)

根因:CO-003 沙盘发现:doc-consolidator 完成整合后没有触发 project-closeout 验证文档自洽,整合结果未经验证。

修改内容

  • 新增:Step 8「整合后一致性验证提示」——整合完成后提示用户触发 project-closeout

验证状态:🔵 待验证


v1.0 — 2026-03-19 — 初始创建

根因:认知结构整理和项目文档管理中多次出现「多文档漂移、需要整合」的问题。基于外部包 master-doc-consolidator 本地化。

验证状态:🔵 待验证

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 9d ago First seen · 90 lines · 110 tokens per session scan A 912a178e2be4

Subscribe to this mod's changes

doc-consolidator is a skill published in the GitHub repository TashanGKD/tashan-cursor-skills (20 stars, last pushed 5mo ago), licensed MIT. It adds 110 tokens to every session and 976 once invoked, about $0.0006 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-09-03.

Related

Other skills, from other repositories

team

Coordinate parallel work across multiple Cursor sessions via shared .omc/team/ state.

Jkudjo/oh-my-cursor · 17 tokens

android-feature

Workflow for implementing a new Android feature, screen, fragment, activity, dialog, adapter, or enhancement in this XML/MVVM template. Use whenever the user asks to add, build, implement, or extend functionality — before writing any code. Covers planning, the MVVM/MVI skeleton, the Android configuration checklist…

orbitalsonic/AndroidPilot · 72 tokens

template-helpers

Catalog of the reusable building blocks shipped with this Android template — BaseActivity/BaseFragment, the helpers/ extension files (navigation, lifecycle, toast, snackbar, dialogs, images, permissions, theme, locale, settings intents, date, delay), common/ (Firebase, network, observers), and…

orbitalsonic/AndroidPilot · 92 tokens

android-new-project

Workflow for turning a fresh copy of this Android template into a new app — renaming the package/namespace/applicationId, branding (icons, splash, palette, fonts), Firebase setup, signing config, stripping unused sample screens, and verifying the foundation. Use when the user says they are starting a new app…

orbitalsonic/AndroidPilot · 83 tokens

android-preflight

Final verification checklist to run before declaring Android work finished — build, both themes, string resources, lifecycle and leak risks, registered permissions and components, resource parity between values and values-night, and honest reporting of what was and was not verified. Use at the end of any feature, fix…

orbitalsonic/AndroidPilot · 79 tokens

android-ui-theming

Rules for Android XML layouts, Material 3 components, semantic color tokens, light/dark theming, dimensions (sdp/ssp), string resources and localization, accessibility, and edge-to-edge insets. Use when creating or editing any layout, drawable, style, color, vector, or string resource, or when a screen must work in…

orbitalsonic/AndroidPilot · 81 tokens