mirror of
https://github.com/openclaw/skills.git
synced 2026-07-22 16:15:22 -04:00
[PR #28] [CLOSED] fix(context7): make API key optional, fix search response parsing #28
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/openclaw/skills/pull/28
Author: @petter-b
Created: 2/3/2026
Status: ❌ Closed
Base:
main← Head:fix/context7-optional-api-key📝 Commits (1)
c73a5f0fix(context7): make API key optional, fix search response parsing📊 Changes
1 file changed (+17 additions, -21 deletions)
View changed files
📝
skills/thesethrose/context7/query.ts(+17 -21)📄 Description
Summary
The Context7 REST API works without authentication. The
context7skill (by TheSethRose) previously hard-requiredCONTEXT7_API_KEYand exited if not set, preventing out-of-the-box usage.Changes
Authorizationheader only when a key is availabledata.resultsarray vs bare array)??) for score display (so0isn't shown as N/A)Testing
Verified both
searchandcontextcommands work without an API key:Also verified the upstream API accepts unauthenticated requests:
Relates to: openclaw/clawhub#114
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.