技能图谱SKILLSGROVE
技能图谱/办公文档/s328900856/context-courier/context-courier

context-courier

安装

$npx skills add https://github.com/s328900856/context-courier --skill context-courier
$git clone --depth 1 https://github.com/s328900856/context-courier.git /tmp/context-courier && mkdir -p ~/.claude/skills && cp -r /tmp/context-courier/. ~/.claude/skills/context-courier
请帮我安装这个 Agent Skill:https://github.com/s328900856/context-courier/tree/09b1ca17e02a0acd2dca5a824b4fb36bdf8fde2b/ ,先阅读它的 SKILL.md 和脚本,确认安全后再安装到我的技能目录。

简介

原文描述 · MITPrepare a PDF or PPTX for staged AI analysis without altering the original file. Use when a document is large, image-heavy, slide-based, or likely to waste context if read in full; create a page-aware package, verify the source hash, and retrieve only relevant pages or slides.
以下 SKILL.md 内容转载自 s328900856/context-courier(提交 09b1ca1),依据 MIT 许可证转载正文(文字未改动;仅省略文件头元数据、将图片显示为链接,超长内容会截断);版权归 2026 Context Courier contributors 所有。许可证:LICENSE。仅展示说明文件,附带脚本请在原仓库查看。

Context Courier

Create a staged-reading package before analyzing a PDF or PPTX. Preserve the original as the authority for visual and exact claims.

Workflow

  1. Run from the repository root:

    python -m context_courier pack <input.pdf-or-pptx> --out ai-pack --render-pages
    python -m context_courier verify ai-pack
    
  2. Read ai-pack/brief.md first. Identify only the relevant page or slide numbers.

  3. Read the matching file under ai-pack/pages/ when exact extracted wording is needed.

  4. Inspect ai-pack/original/ when an answer depends on a chart, image, table layout, scan, or any visual detail.

  5. State which source was used and cite page/slide numbers. Never infer that text omitted from brief.md is absent from the source.

Rules

  • Treat manifest.json SHA-256 verification as proof the packaged original was not changed after packing.
  • Treat the brief as a routing layer, not a summary sufficient for quotes or visual facts.
  • For a scanned PDF with no extracted text, render pages and inspect the original; do not fabricate a text transcription.
  • Do not promise a fixed token reduction. The benefit depends on the question and the agent retrieving selectively.
查看许可证全文(MIT)
MIT License

Copyright (c) 2026 Context Courier contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.