Open-source Claude Code and Codex plugins for compressing, searching, and decompressing coding-agent session log archives with CLP (Compressed Log Processor).
This repo contains the plugin payload only. The compiled installer that
ships the clp-s binary and the deploy tooling live in a separate private
repository.
| Plugin | Surface |
|---|---|
clp@yscope |
List recent Claude Code and Codex session JSONL files, compress one selected session with clp-s c --timestamp-key timestamp, search local CLP archives with KQL (including semantic("...") similarity search), and decompress a local CLP archive directory. |
The plugin exposes a curated subset of clp-s capabilities. It does not
expose full-project compression, reducers, network/file output handlers,
results-cache writes, indexing, conversion, remote decompression, metadata
sinks, or arbitrary clp-s option passthrough. See
plugins/clp/README.md for the full API surface.
.claude-plugin/marketplace.json
Claude Code marketplace manifest.
.agents/plugins/marketplace.json
Codex marketplace manifest.
plugins/clp/
Shared plugin root for clp@yscope.
plugins/clp/.claude-plugin/plugin.json
Claude Code plugin manifest.
plugins/clp/.codex-plugin/plugin.json
Codex plugin manifest.
plugins/clp/bin/
Restricted-passthrough bash wrappers for clp-s.
plugins/clp/skills-claude/
Claude Code skills: compress, search, decompress, claude-code-trajectory.
plugins/clp/skills-codex/
Codex skills: compress, search, decompress, codex-trajectory.
scripts/validate-codex-plugin.sh
Validates the Codex plugin manifest and SKILL.md frontmatter.
.github/workflows/release.yml
Builds marketplace.tar.gz and plugin-release.json on tag push.
LICENSE
Apache-2.0.
The repository root is the marketplace root for both products. Claude Code
reads .claude-plugin/marketplace.json; Codex reads
.agents/plugins/marketplace.json. Both marketplace manifests point to the
same plugin directory, ./plugins/clp, while each product reads its own
plugin manifest and skill directory.
End users install via the compiled installer at
https://installer.yscope.ai/coding-agent-plugin.sh. The installer and
deploy tooling live in the private repository
y-scope/coding-agent-integration-installer;
see its DEPLOY.md for build and deploy instructions.
From the repository root:
claude plugin validate .
claude plugin validate ./plugins/clp
scripts/validate-codex-plugin.sh ./plugins/clp
claude plugin marketplace add "$PWD" --scope user
claude plugin install clp@yscope --scope user
codex plugin marketplace add "$PWD"
codex plugin add clp@yscopeOr launch a single Claude session against the local plugin:
claude --plugin-dir ./plugins/clpSee LOCAL_TESTING.md for more on local testing.
bin/clp-s-list-sessionsbin/clp-s-compress-sessionbin/clp-s-search-kqlbin/clp-s-decompress
The wrappers prefer CLP_S_BIN, then plugin-local bin/clp-s, then
plugin-local .clp-core/bin/clp-s, then clp-s on PATH. See
plugins/clp/README.md for the full wrapper contract,
flag allowlist, and example commands.
clp-s-search-kql supports semantic("query") in KQL for natural-language
similarity search via embedding.yscope.ai.
The wrapper health-checks the embedding service before running a semantic
search; if the service is unavailable, the search fails with a clear error.
Default endpoint: https://embedding.yscope.ai/v1/similarity. Override with
--semantic-endpoint URL or set CLP_SEMANTIC_ENDPOINT. Other semantic flags:
--semantic-top-k K, --semantic-threshold T, --embedding-batch-size N.
./plugins/clp/bin/clp-s-search-kql /tmp/session-archive \
'semantic("slow database queries") AND level:error'This repo is the source of truth for the plugin payload. Wrappers, skills, plugin manifests, and marketplace manifests are all open for contribution.
For the full contributor guide — local dev loop (install → edit → ask the agent → reload), Claude Code vs Codex reload asymmetry, where to put a change (wrapper vs skill), and the pre-merge sanity checklist — see CONTRIBUTING.md.
This repo follows Semantic Versioning for the
clp@yscope plugin. To cut a release:
- Bump the
versionfield in both plugin manifests (must match). Bump the version inplugins/clp/.claude-plugin/plugin.jsonandplugins/clp/.codex-plugin/plugin.json— they must stay in sync. - Update the relevant
SKILL.mdfor any behavior change:- KQL/semantic syntax or wrapper flag changes → common
search/SKILL.md - Session-log workflow or agent schema changes →
claude-code-trajectory/orcodex-trajectory/ - Compress/decompress flag changes → corresponding
compress/ordecompress/skill
- KQL/semantic syntax or wrapper flag changes → common
- Update
plugins/clp/README.mdif the API surface changed. - Tag the commit (
git tag vX.Y.Z) and push the tag. - The release workflow (
.github/workflows/release.yml) buildsmarketplace.tar.gz, computes its SHA-256, and attaches both to the GitHub release. - The private installer repo consumes the release via
scripts/deploy-installer.sh --plugin-tag vX.Y.Z.
Apache-2.0. See LICENSE.