Turn a short, redacted Session summary into a collaboration-safe Context excerpt. Use before sharing an agent or meeting handoff when the original Session may contain private details that do not belong in the next task.
文档
ContextCrumb
试用Use when an agent needs to read, inspect, summarize, or load large local prose-heavy files cheaply before sending them into LLM context. Best for Markdown do...
它能做什么
Use when an agent needs to read, inspect, summarize, or load large local prose-heavy files cheaply before sending them into LLM context. Best for Markdown do...
技能文档
ContextCrumb
Purpose
Use ContextCrumb as a cheap first pass before reading large local text files into an LLM context window. It compresses by deleting lower-value words and punctuation while keeping the remaining text in original order.
ContextCrumb is for orientation and triage. Treat compressed output as shortened context, not authoritative source text.
When To Use
Use it before reading large natural-language files:
- Documentation and Markdown
- Notes and research dumps
- Meeting transcripts
- Issue threads and long discussions
- Logs with lots of prose
- Long comments or narrative text
When Not To Use
Do not rely on compressed output for exact syntax or exact wording:
- Source code
- Config files
- Diffs and patches
- JSON, YAML, TOML, XML, or schemas
- Commands that may need to be copied exactly
- Legal, compliance, policy, or contract text
For these files, read the raw source. If a file is too large, use ContextCrumb only to find likely relevant sections, then open the raw file around those sections before editing, quoting, or copying anything.
Default Workflow
If contextcrumb is already installed, use golden mode by default:
contextcrumb load
If the CLI is not installed and this is a one-off read, run it from PyPI:
uvx --from contextcrumb contextcrumb load
If repeated local use is expected, install it once:
python -m pip install contextcrumb
Then use:
contextcrumb load
Golden mode chooses an adaptive cutoff for each file and is the preferred default because it is conservative. If the output is still too large, use a fixed keep ratio only after checking the tradeoff:
contextcrumb load --target-keep-ratio 0.75
contextcrumb load --target-keep-ratio 0.5
Avoid aggressive ratios for first-pass reading unless the user explicitly asks for heavy compression.
Validation
Check compression savings without dumping the full output:
contextcrumb inspect
Check what was removed before trusting a compressed result:
contextcrumb diff
Use JSON only when another tool needs stats:
contextcrumb load --json
Read the text field as compressed context. Use stats.token_keep_ratio, stats.word_keep, and stats.model_windows to decide whether to retry with a different setting.
Practical Rules
- Use
contextcrumb loadas the default. - Use
uvx --from contextcrumb contextcrumb loadfor no-install one-off use. - Use installed CLI for repeated use.
- Use
inspectanddiffbefore trusting compressed text for important work. - Never edit code, copy commands, or quote exact wording based only on compressed output.
相关技能
Verify and distribute trust-gated context (memory and skill files) to a multi-agent roster before it's injected. Use when assembling context for several sub-agents from shared memory/skill files, to catch files silently modified since they were last verified.
Condense a long agent session transcript into a compact handoff memo: decisions, tasks, risks, facts & links. Credential values are auto-redacted before output (best-effort - review memos before sharing; --strict drops whole suspect lines). EN/RU heuristics, zero dependencies. The CLI prints what it reads and where it writes. Use ONLY with the user's explicit consent: tell the user which transcript file will be read.
Deterministic memory/context pipeline with semantic retrieval checks, compression/lint, safe fallback, and memory watchdog.
Pure prompt guidance for generating faithful meeting and call summaries. Use when the model should summarize transcripts into meeting minutes, concise summar...
Use when a NON-multimodal agent (a text-only LLM backend that cannot read attachments) receives a document — PDF, Word (docx), PowerPoint (pptx), Excel (xlsx...