upstash/context7 · info
No matching skills found for your dependencies
Error message
No matching skills found for your dependencies
What it means
In the suggest flow, after detecting dependencies the CLI queries the remote search API for skills matching those dependencies. When the response contains an empty skills array, the spinner warns `No matching skills found for your dependencies`. The request succeeded; the backend simply had no relevant skills.
Solutions
- Fall back to `ctx7 skills search <keyword>` with the library name to search manually
- Broaden/curate your dependencies or install skills for the mainstream ones manually
- Retry later — the skill index may add matches
- Check ctx7 version and update, as the search endpoint/index may have changed
Defensive patterns
Strategy: fallback
Validate before calling
const data = await searchSkillsForDeps(deps);
if (!data.skills || data.skills.length === 0) {
console.log('No auto-matches; falling back to manual search: ctx7 skills search <library>');
} Prevention
- Expect empty results for niche libraries and keep the manual search command handy
- Treat suggest as best-effort; verify results before installing
- Retry periodically as the skill index grows
When it happens
Trigger: `ctx7 skill suggest` where dependency detection succeeded but the remote skill search returns data.skills.length === 0 — detected deps have no indexed matching skills.
Common situations: Project depends on niche/proprietary libraries with no community skills; backend index hasn't catalogued skills for those libraries yet; very unusual dependency combination.
Understand the failure class
Background: EmptyResultError / "no results found": when an API or scraper succeeds but returns zero rows — this error's family across 9 libraries.
Related errors
- searchResult.message || "Try a different description"
- No documentation found for
- No libraries found matching
- No skills found in
- No skills found matching
AI-assisted analysis of upstash/context7@4416fb855b (2026-09-16).
Data as JSON: /api/errors/31f089121edffec7.
Report an issue: GitHub.
Appendix: source
Thrown at packages/cli/src/commands/skill.ts:864
const accessToken = await getValidAccessToken();
let data;
try {
data = await suggestSkills(deps, accessToken);
} catch {
searchSpinner.fail(pc.red("Failed to connect to Context7"));
return;
}
if (data.error) {
searchSpinner.fail(pc.red(`Error: ${data.message || data.error}`));
return;
}
const skills = data.skills;
if (skills.length === 0) {
searchSpinner.warn(pc.yellow("No matching skills found for your dependencies"));
return;
}
searchSpinner.succeed(`Found ${skills.length} relevant skill(s)`);
trackEvent("suggest_results", { depCount: deps.length, skillCount: skills.length });
log.blank();
const nameWithRepo = (s: SkillSearchResult) => `${s.name} ${pc.dim(`(${s.project})`)}`;
const nameWithRepoLen = (s: SkillSearchResult) => `${s.name} (${s.project})`.length;
const maxNameLen = Math.max(...skills.map(nameWithRepoLen));
const popularityColWidth = 13;
const trustColWidth = 8;
const maxMatchedLen = Math.max(...skills.map((s) => s.matchedDep.length));
const indexWidth = skills.length.toString().length;
const choices = skills.map((s, index) => {
const indexStr = pc.dim(`${(index + 1).toString().padStart(indexWidth)}.`);
const rawLen = nameWithRepoLen(s);View on GitHub (pinned to 4416fb855b)