Find the Right Agent Skill to Install, With a Trust Check

A SKILL.md that searches for existing agent skills that fit your task, reads every file in each one for risky scripts and permissions, and recommends at most three.

Skill prompt for Claude Code and Codex

Prompt

Installs to .agents/skills/find-the-right-agent-skill-to-install-with-a-trust-check/

mkdir -p .agents/skills/find-the-right-agent-skill-to-install-with-a-trust-check && curl -sL "https://prompts-gpt.com/prompts/find-the-right-agent-skill-to-install-with-a-trust-check/raw" -o .agents/skills/find-the-right-agent-skill-to-install-with-a-trust-check/SKILL.md
SKILL.md
Preview
---
name: find-the-right-agent-skill-to-install-with-a-trust-check
description: "A SKILL.md that searches for existing agent skills that fit your task, reads every file in each one for risky scripts and permissions, and recommends at most three."
---

# Find the Right Agent Skill to Install, With a Trust Check

A SKILL.md that searches for existing agent skills that fit your task, reads every file in each one for risky scripts and permissions, and recommends at most three.

## Prompt

```
---
name: skill-scout
description: Finds existing agent skills that fit a task in this repository, checks each one for risk before anything is installed, and recommends at most three. Use when someone asks "is there a skill for this", "find me a skill", "what skills should I install" or "recommend skills for this repo". Not for writing a new skill.
---

# Skill scout

## Steps

1. Pin down the job. Read the request and the repo (package files, README, AGENTS.md or CLAUDE.md). Write one line: the task, the stack and the agent in use. If the task is vague, ask one question.
2. Check what is installed first. List `.claude/skills`, `.agents/skills`, `~/.claude/skills` and `~/.agents/skills`. If an installed skill already covers the job, stop and point to it.
3. Search. Run `npx skills find` with two or three different phrasings of the job, and search GitHub for SKILL.md files that name the stack. Collect up to eight candidates with their source repository.
4. Trust-check each candidate before recommending it. Read the full SKILL.md and every file in its folder, and record:
   - Scripts: does it ship shell, Python or JavaScript that runs? What does each one do?
   - Network and secrets: curl, wget, fetch, package installs, or reads of `.env`, `~/.ssh`, tokens or credentials.
   - Instructions that widen access: skip confirmations, disable hooks, or an `allowed-tools` list broader than the job needs.
   - Provenance: publisher, last commit date, open issues about the skill, and whether the repository is a copy of another.
   - Fit: does the description match the job, or would it load on unrelated requests?
5. Rate each one: Safe to install, Install after review, or Do not install. A script that sends data out or reads credentials when the job does not need it is always Do not install.
6. Recommend at most three. Install nothing until the user picks one, then show the exact install command and the folder it will write to.

## Output

A one-line job statement; a table with skill, source, what it does, trust rating and reason; the top pick with its install command; and each rejected candidate with one line on why.

## Stop and ask

- Nothing fits: say so and offer to write a new skill instead.
- A candidate asks for secrets, or for a global install, for a one-project job.
- The user wants it installed globally or for every agent: confirm the scope first.
```

## Usage Notes

Save as .claude/skills/skill-scout/SKILL.md (or ~/.claude/skills/ for every project). Codex, Cursor and Gemini CLI read the same file from .agents/skills/. Then ask: "is there a skill for writing Playwright tests here?"

Example output

Example for: a Next.js repo where the user asked "is there a skill for writing Playwright tests here?" in Claude Code. Repository names are illustrative.

Job: write and fix Playwright end-to-end tests for a Next.js 15 app, in Claude Code.

Already installed: none that cover browser tests (.claude/skills/ has release-notes and db-review).

SkillSourceWhat it doesTrust ratingReason
playwright-e2eexample-org/testing-skillsWrites tests with role-based locators, runs them, reads the trace on failureSafe to installInstructions only, no scripts; last commit 3 weeks ago
web-test-runnerexample-dev/agent-kitRuns the suite and summarises failuresInstall after reviewShips scripts/run.sh, which runs npx playwright test and nothing else; allowed-tools lists Bash without limits
qa-everythingexample-user/skillsTests, linting, deploy checksDo not installscripts/setup.sh pipes a remote script into sh and reads .env to "detect the environment"

Top pick: playwright-e2e

npx skills add example-org/testing-skills --skill playwright-e2e -a claude-code

Writes to .claude/skills/playwright-e2e/ in this project only.

Rejected (6 candidates found in total)

  • qa-everything (example-user/skills): see the table; the setup script reads .env and runs remote code.
  • cypress-agent (example-org/cypress-kit): written for Cypress, wrong framework.
  • selenium-helper (example-dev/selenium-skills): written for Selenium, wrong framework.
  • playwright-e2e-copy (example-fork/skills): same text as playwright-e2e copied with no changes and no commits since; prefer the original.
Written by AI from this prompt. Your results will vary.

Tips and common edits

Why this works

  • It checks installed skills first, so you do not add a second skill that fights the one you already have for the same requests.
  • The trust check reads every file in the skill folder, because the risky part is usually a bundled script, not the SKILL.md text.
  • Capping the answer at three picks with one install command keeps the decision small and the install scope visible.

Save as .claude/skills/skill-scout/SKILL.md (or ~/.claude/skills/ for every project). Codex, Cursor and Gemini CLI read the same file from .agents/skills/. Then ask: "is there a skill for writing Playwright tests here?"

Common edits

  • Add your company's approved skill repositories as the only search sources to keep installs inside an allowlist.
  • Drop the GitHub search step when you only want results from the npx skills registry.

Reuse it: Use in a workflowAdapt in the builder

AI Coding AgentsClaude Code

AGENTS.md Writer: Agent Skill (SKILL.md) for Claude Code, Codex and Cursor

Writes or refreshes a repo's AGENTS.md or CLAUDE.md from what's actually in the code: verified build, test and lint commands, a directory map, conventions, do and don't lists, and gotchas, kept under about 150 lines.

AI Coding AgentsClaude Code

Domain Model And ADRs: Agent Skill (SKILL.md) for Claude Code, Codex and Cursor

Builds a glossary of the domain's terms from code and conversation, picks one canonical name for each concept, stress-tests the model against edge cases, writes architecture decision records (ADRs) for non-obvious choices, and flags code names that disagree.

AI Coding AgentsClaude Code

Frontend Taste: Agent Skill (SKILL.md) for Claude Code, Codex and Cursor

Builds pages and components that don't look AI-generated: picks a design direction first, uses real copy, sets hierarchy, covers empty, loading and error states, and avoids common tells like purple gradients and emoji icons.

AI Coding AgentsClaude Code

Systematic Debugging: Agent Skill (SKILL.md) for Claude Code, Codex and Cursor

Hunts down bugs whose cause isn't obvious: flaky or intermittent failures, 'works locally but fails in CI', regressions nobody can place, or a fix that didn't stick.