upstash/context7 · warning
Review other skills from this repository carefully before…
Error message
Review other skills from this repository carefully before installing.
What it means
This is not a thrown error but a warning logged by the `skill install` command in the opencode CLI. When the repository's skill listing reports one or more skills that were blocked because prompt injection was detected in them (blockedSkillsCount > 0), the CLI hides those skills and warns the user to manually vet the remaining skills from that repository before installing them, since the source is potentially untrusted.
Solutions
- Read the warning as informational: the blocked skills were already hidden, so choose only the skills you need from the interactive list
- Vet the repository source (inspect its skill files on the hosted forge) before installing the remaining skills
- Install only the specific skills you need instead of --all, reducing exposure to unvetted content
- If the repo is untrusted, abort and find an official/maintained equivalent
Example fix
// before opencode skill install untrusted-org/skills --all // after opencode skill install untrusted-org/skills # pick only reviewed skills, avoid --all
Defensive patterns
Strategy: validation
Validate before calling
const listing = await fetchRepoSkills(repo);
if (listing.blockedSkillsCount > 0) {
console.warn(`${listing.blockedSkillsCount} skill(s) blocked; vet remaining skills from ${repo} before installing.`);
} Prevention
- Pin and review skill sources; prefer official repositories
- Read the repo's skill files on the forge before installing
- Avoid --all on untrusted repositories
When it happens
Trigger: Running `opencode skill install <repo>` where the fetched skill manifest data contains blockedSkillsCount > 0, i.e. at least one skill in the repository was filtered out by the prompt-injection scanner.
Common situations: Installing skills from third-party or community repositories that contain skill descriptions embedding injected instructions; a repo whose SKILL.md files include prompt-injection payloads; auditing a new registry source before trusting it.
Related errors
- This skill contains potentially malicious content and…
- Failed to install
- No skills found in
- Skill name " " escapes the skills root
- Unsafe skill name
AI-assisted analysis of upstash/context7@4416fb855b (2026-09-16).
Data as JSON: /api/errors/08ee8342eb00e160.
Report an issue: GitHub.
Appendix: source
Thrown at packages/cli/src/commands/skill.ts:327
}
if (!data.skills || data.skills.length === 0) {
spinner.warn(pc.yellow(`No skills found in ${repo}`));
return;
}
const skillsWithRepo = data.skills
.map((s) => ({ ...s, project: repo }))
.sort((a, b) => (b.installCount ?? 0) - (a.installCount ?? 0));
spinner.succeed(`Found ${data.skills.length} skill(s)`);
if (data.blockedSkillsCount && data.blockedSkillsCount > 0) {
log.blank();
log.error(
`${data.blockedSkillsCount} skill(s) blocked due to prompt injection and not shown.`
);
log.warn("Review other skills from this repository carefully before installing.");
}
if (options.all || data.skills.length === 1) {
selectedSkills = skillsWithRepo;
} else {
const indexWidth = data.skills.length.toString().length;
const maxNameLen = Math.max(...data.skills.map((s) => s.name.length));
const popularityColWidth = 13;
const choices = skillsWithRepo.map((s, index) => {
const indexStr = pc.dim(`${(index + 1).toString().padStart(indexWidth)}.`);
const paddedName = s.name.padEnd(maxNameLen);
const popularity = formatPopularity(s.installCount) + " ".repeat(popularityColWidth - 4);
const trust = formatTrust(s.trustScore);
const skillUrl = s.url || `https://github.com${s.project}`;
const skillLink = terminalLink(s.name, skillUrl, pc.white);
const repoLink = terminalLink(s.project, `https://github.com${s.project}`, pc.white);
const metadataLines = [View on GitHub (pinned to 4416fb855b)