by BoneD-Q
Skills-first AI context handoff with structured evidence, uncertainty tracking, validation, and cross-agent knowledge transfer.
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
# Add to your Claude Code skills
git clone https://github.com/BoneD-Q/contextbridgeGuides for using ai agents skills like contextbridge.
See how contextbridge compares with popular alternatives.
Skills-first AI-to-AI document handoff using a shared folder package format (CBHF 0.1.0).
ContextBridge is an open-source Agent Skills project — not a SaaS product, web dashboard, or standalone application runtime. It helps one AI agent hand work to another without silently dropping evidence, decisions, unknowns, or conflicts.
中文说明 · Getting started · Docs index
When one AI produces documents for another AI (or for a later session), critical context is often lost:
Plain Markdown dumps and chat summaries usually collapse these distinctions.
SKILL.md instructions; Python exists only as an optional Validator helper.verified, user_confirmed, inferred, unverified, unknown, disputed) are preserved; Importer must not upgrade them.validation/, which 0.1.0 does not write) means “not validated yet”.| Skill | Role |
|---|---|
context-exporter |
Read user documents (host-capable), build a CBHF 0.1.0 folder package |
context-validator |
Read-only structural checks (package / schema / integrity L1–L3); L4 never auto-PASS |
context-importer |
Read-only restore of context + session Receiver Understanding Report |
Do not merge these into one mega-skill. Exporter writes packages; Validator judges structure; Importer consumes for takeover.
CBHF (ContextBridge Handoff Format) lives under spec/cbhf/ and skills/context-exporter/references/cbhf-format.md. It is a protocol, not a Skill.
Core idea: one folder package as the handoff carrier; three Skills with hard role boundaries; Validator/Importer outputs stay in the session (0.1.0 does not write validation/ into the package).
flowchart TB
DOC["Source documents"]
subgraph skills ["Agent Skills"]
EXP["context-exporter<br/>writes package"]
VAL["context-validator<br/>L1–L3 structure · L4 never auto-PASS"]
IMP["context-importer<br/>restore · no trust upgrade"]
end
subgraph carrier ["Handoff carrier"]
PKG["CBHF 0.1.0 folder package"]
SCH["spec/cbhf/v0.1.0 JSON Schemas"]
end
subgraph session ["Session-only outputs"]
VREP["Validator session JSON"]
UREP["Receiver Understanding Report"]
end
DOC --> EXP
EXP -->|creates| PKG
SCH -.->|shape rules| VAL
PKG --> VAL
VAL -->|read-only| VREP
PKG --> IMP
VREP -.->|optional import gate| IMP
IMP -->|read-only| UREP
| Piece | Writes package? | Role |
|---|---|---|
context-exporter |
Yes (Exporter-required tree) | Extract knowledge, evidence, unknowns/conflicts |
context-validator |
No | Structural honesty L1–L3; session report |
context-importer |
No | Consume package + optional session report for takeover |
| CBHF + schemas | Protocol | Shared field layout; not a Skill |
Exporter-required tree:
<package-root>/
├── manifest.yaml
├── source/
│ ├── source-index.json
│ └── original/ # package copies (may be redacted)
├── knowledge/
│ ├── overview.md
│ ├── facts.json
│ ├── claims.json
│ ├── decisions.json
│ ├── constraints.json
│ └── glossary.json
├── evidence/
│ ├── evidence.json
│ └── references.json
├── uncertainty/
│ ├── unknowns.json
│ └── conflicts.json
└── handoff/
├── receiver-guide.md
├── questions.json
└── recommended-actions.json
Reserved path (CBHF 0.1.0: session reports only; in-package write not enabled — neither Exporter nor Validator creates it):
<package-root>/validation/validation-report.json
Absence of validation/ is normal in 0.1.0 and means no packaged report (usually not validated yet), not “validation passed”. Use the Validator session JSON as the authority.
python scripts/install_skills.py
pip install -r requirements-validator.txt
python scripts/doctor.py
examples/technical-proposal/.Path-invoke always works without install: point the agent at skills/*/SKILL.md.
Validator helper (optional, deterministic L1–L3), from the repo root:
python skills/context-validator/scripts/validate_package.py examples/technical-proposal/generated-output
Optional: --schema-dir pointing at a local spec/cbhf/v0.1.0 (default). The script prints session JSON to stdout and does not modify the package. Exit code 1 only when final_status is invalid.
source docs → context-exporter → CBHF package
↓
context-validator (optional but recommended)
↓
context-importer → Receiver Understanding Report (session)
context-exporter against your documents into a new package folder.context-validator (prefer the helper script) for L1–L3 honesty.context-importer, optionally with the Validator session JSON.examples/technical-proposal/ is a fictional Northwind Edge Gateway corpus for demos and tests.
| Path | Meaning |
|---|---|
input/ |
Synthetic source documents (not produced by Exporter). May contain drill / fake secret strings for redaction exercises — not real credentials. |
generated-output/ |
A complete CBHF 0.1.0 package (redacted copies, knowledge, evidence, unknowns, one conflict). |
expected-output/EXPECTED.md |
Human expectations for the sample — not a second protocol. |
| Doc | Audience |
|---|---|
| docs/getting-started.md | First run |
| docs/README.md | Full index (user vs audit docs) |
| cbhf-format.md | Human CBHF field/layout guide |
| spec/cbhf/v0.1.0/ | Machine JSON Schemas |
Skill SKILL.md files under skills/ |
Agent instructions |
In scope / implemented
docs scenario).spec/cbhf/v0.1.0/.UNTRUSTED_STRUCTURE) documented and E2E exercised.examples/ and tests/.Out of scope / not claimed
.agents / .claude discovery after install_skills.py.unverified → verified as other hosts are exercised.readable: false demos) without changing frozen rules lightly.Licensed under the Apache License, Version 2.0. See LICENSE.
contextbridge is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by BoneD-Q. Skills-first AI context handoff with structured evidence, uncertainty tracking, validation, and cross-agent knowledge transfer. It has 61 GitHub stars.
contextbridge's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/BoneD-Q/contextbridge" and add it to your Claude Code skills directory (see the Installation section above).
contextbridge is primarily written in Python. It is open-source under BoneD-Q on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh contextbridge against similar tools.
No comments yet. Be the first to share your thoughts!