Install
$ agentstack add skill-yinjialu-context-harness-sync-conversations ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README — it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming — see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps — measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Sync Conversations
Use this skill to collect local Code Agent conversations into context-harness. The skill can bootstrap the CLI runtime even when only the skill was installed.
Runtime Bootstrap
Before running context-harness, execute the bundled bootstrap script from this skill directory:
runtime_dir="$(bash scripts/bootstrap.sh)"
cd "$runtime_dir"
The script clones or updates the runtime repository at ~/.local/share/context-harness by default, checks out the latest released tag, and runs uv sync.
Overrides:
CONTEXT_HARNESS_RUNTIME_DIR: custom runtime checkout path.CONTEXT_HARNESS_REPO_URL: custom fork URL.CONTEXT_HARNESS_REF: custom branch, tag, or commit.CONTEXT_HARNESS_BOOTSTRAP_SKIP_UPDATE=1: skip fetch/pull.
Sources
V1 supports:
codexclaude-code
Claude Web, Antigravity, ChatGPT, Gemini, and browser exports are outside V1.
Workflow
- Run the Runtime Bootstrap steps above. Use the returned path as the
context-harnessrepository root. - Resolve the context home from
CONTEXT_HARNESS_HOME, the user's explicit path, or~/.context-harness. - Change to the runtime repository root.
- Run the requested sync command from the repository root.
- Summarize
checked,created,updated,skipped, andoutput_dir.
Commands
Before running any command, first run the Runtime Bootstrap steps and change to the returned repository root. Run all uv run context-harness ... commands from that root.
Incremental sync:
uv run context-harness --context-home sync codex --latest 1
uv run context-harness --context-home sync claude-code --latest 1
Full sync:
uv run context-harness --context-home sync codex --all
uv run context-harness --context-home sync claude-code --all
After running, summarize checked, created, updated, skipped, and output_dir.
OKF Compliance
Archives are native Open Knowledge Format files: each archive carries an OKF frontmatter block (type: Conversation, plus title/description/source/session/messages/created/tags/timestamp) above the unchanged body. Every sync also rebuilds the OKF index.md / log.md files under conversations/ and the data-home root index.md.
To upgrade a pre-OKF data home (archives without frontmatter), run the idempotent migration once:
uv run context-harness --context-home migrate-okf --dry-run # preview
uv run context-harness --context-home migrate-okf # apply
The migration also normalizes memory/*.md and global-claude.md frontmatter. It preserves unknown producer fields and human-authored bodies, so it is safe to re-run.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: yinjialu
- Source: yinjialu/context-harness
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.