From 2d56a166eef7efb86556e200099324d257468513 Mon Sep 17 00:00:00 2001 From: Kyle Sexton <153232337+kyle-sexton@users.noreply.github.com> Date: Mon, 2 Nov 2026 23:53:22 -0500 Subject: [PATCH] chore(context7): sync the lookup skill with upstream Refresh the vendored context7-cli baseline and the frontmatter stamp to upstash/context7@ceaf5f91f48949eaa6e4da5e66f3f59d1b44556d. The only drift is upstream listing `ctx7 search`, which ctx7 0.8.2 does not have, so it is not ported. The CLI reference records that with a pointer and a recheck trigger; the two-step lookup stays as it was. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01VQb9Q49h99qKdrunU4xw3S --- .../context7/chore-context7-sync-upstream-708de01d.md | 7 +++++++ plugins/context7/skills/lookup/SKILL.md | 4 ++-- plugins/context7/skills/lookup/context/cli.md | 11 +++++++++++ plugins/context7/skills/lookup/vendor/cli/SKILL.md | 1 + 4 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 .changes/context7/chore-context7-sync-upstream-708de01d.md diff --git a/.changes/context7/chore-context7-sync-upstream-708de01d.md b/.changes/context7/chore-context7-sync-upstream-708de01d.md new file mode 100644 index 00000000000..389acdbc7ac --- /dev/null +++ b/.changes/context7/chore-context7-sync-upstream-708de01d.md @@ -0,0 +1,7 @@ +--- +bump: patch +--- + +### Changed + +- **`/context7:lookup` synced to upstash/context7 `ceaf5f9`.** The vendored `context7-cli` baseline is refreshed, and `metadata.upstream-version` names that commit. Its new `ctx7 search` command is not ported: the current `ctx7` release does not have it, so the CLI reference records that with a recheck trigger, and lookups stay `ctx7 library`, then `ctx7 docs`. diff --git a/plugins/context7/skills/lookup/SKILL.md b/plugins/context7/skills/lookup/SKILL.md index b16ca09ca55..eeada9ae84e 100644 --- a/plugins/context7/skills/lookup/SKILL.md +++ b/plugins/context7/skills/lookup/SKILL.md @@ -6,8 +6,8 @@ disable-model-invocation: false allowed-tools: - "Bash(ctx7 --version*)" metadata: - upstream-version: upstash/context7@158ad26261019f4036571b475d9ba87065c4973f - synced: 2026-10-20 + upstream-version: upstash/context7@ceaf5f91f48949eaa6e4da5e66f3f59d1b44556d + synced: 2026-11-03 workflow-stage: research summary: Look up current library docs, API references, and examples via Context7 shell: bash diff --git a/plugins/context7/skills/lookup/context/cli.md b/plugins/context7/skills/lookup/context/cli.md index 12be47517d2..bf61436fd9d 100644 --- a/plugins/context7/skills/lookup/context/cli.md +++ b/plugins/context7/skills/lookup/context/cli.md @@ -43,6 +43,17 @@ Set it wherever your project manages local environment variables (shell profile, runnable, with an in-tool warning that it "will stop working in the next major release". This plugin never invokes it (see below), so no behavior here depends on it. +**This plugin does not use `ctx7 search`, because the installed CLI does not have it.** The upstream +`context7-cli` skill lists the command, so `vendor/cli/SKILL.md` names it. On `ctx7` 0.8.2, +`ctx7 --help` does not list it and `ctx7 search "react hooks"` exits 1 with a too-many-arguments +error. Lookups stay `ctx7 library`, then `ctx7 docs`. + +- **Pointer**: when deciding whether `search` can be used, run those two probes on the installed + CLI and fetch [upstash/context7#3396](https://github.com/upstash/context7/pull/3396) live. +- **As of**: 2026-11-02 +- **Recheck trigger**: `ctx7 --help` lists `search`, or the `update` action reports an npm `latest` + newer than 0.8.2. + ## Flags ### Global diff --git a/plugins/context7/skills/lookup/vendor/cli/SKILL.md b/plugins/context7/skills/lookup/vendor/cli/SKILL.md index d8209ad40ca..a4febfbff48 100644 --- a/plugins/context7/skills/lookup/vendor/cli/SKILL.md +++ b/plugins/context7/skills/lookup/vendor/cli/SKILL.md @@ -28,6 +28,7 @@ npx ctx7@latest ```bash # Documentation +ctx7 search # Search all libraries in one step ctx7 library # Step 1: resolve library ID ctx7 docs # Step 2: fetch docs