/jeredblu-tools:agent-skill-evaluatorfrom jeredblu-tools
Statically reviews agent skills, skill directories, and .skill archives for security and trust issues before installation. Checks for prompt injection, unwanted output, execution risks, credential access, and data disclosure with evidence-backed findings and rubric scores.
Ships in jeredblu-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Automatically evaluate the security, safety, and trustworthiness of agent skills from GitHub repositories, websites, or direct .skill file URLs. The review covers instructions, code, and trust-relevant behavior without running the target. Scores summarize reviewed evidence; they are not safety probabilities or certifications.
Use available authenticated repository tools or CLI for pinned file access. For public research, follow the host's tool policy (including Bright Data CLI when configured); otherwise use available web tools. No particular MCP server, paid research provider, or new API key is required. If access fails, report the gap and use a supplied local copy rather than repeating equivalent failed requests.
Your very first action in this skill — before Step 1, before acknowledging the request, before any other output — is to report which version is running:
Read the metadata.version field from this SKILL.md's YAML frontmatter. Use the actual value in the file. Do NOT state a version number from memory or from the changelog — memory is how the wrong number gets printed.
Output exactly this line, substituting the value you just read:
Running agent-skill-evaluator v{version}.
This is mandatory on every run. If you cannot read the frontmatter for any reason, say so explicitly ("could not read skill version") rather than guessing a number. The user relies on this line to confirm the improved local copy is running and not a stale one.
Default to Markdown; ask about PDF only if it matters to the user's request. Identify the target, intended use, and scope. Do not broaden one skill review into every plugin or sibling repository. Create one unique output workspace (for example work="$(mktemp -d)") outside the target and retain its absolute path for this run. Keep the ledger, scanner output and report there; do not overwrite another evaluation.
Acquire the exact skill directory/archive and its referenced executable/instruction resources. For repository URLs, resolve a revision rather than assuming the default branch is main. For websites, identify the actual package link before downloading. Record origin URL/local path and commit or SHA-256 of reviewed bytes. Do not install, register, launch, or execute the target; reading its contents for static inspection is allowed. If the user declines an archive or external source, leave it uninspected and prominent in coverage; do not keep asking.
Fetch once and reuse the local snapshot. Do not trust README claims as a substitute for code. If required contents cannot be acquired, return a partial review of what is available and specify what is missing.
Safety Guardrails (apply to this step and all of Step 5 — do not skip):
eval.Extract .skill Contents: A .skill file is normally a ZIP archive; validate rather than trusting its extension. Use a fresh, nonexistent child directory:
python3 -I "{skill_dir}/scripts/safe_archive.py" downloaded.skill "$work/target"
If the helper refuses the archive, stop extraction and report why. Never fall back to unchecked extraction. For an already unpacked skill, inspect the local tree read-only. Examine:
Document the complete file structure and note any unexpected files or directories.
Create a markdown assessment file using whatever file-write tool the current runtime provides:
Skill_Security_Assessment_{skill_name}.mdInventory first; prioritize instructions, command/agent files, executable entry points and scanner leads. Read all instruction files in full for a complete review. If size, permissions, user scope or time budget prevents that, give a partial review: list files read fully/partially/not read, leave affected rubric checks unknown, and never present it as a clean bill of health. Scanner coverage is not human/agent review coverage. Reuse one evidence ledger instead of repeatedly scanning or rewriting findings.
Execute evaluation in this order, updating assessment file after each step:
Run the bundled read-only scanner once over the local target, saving the full inventory and leads outside it:
bash "{skill_dir}/scripts/scan.sh" "<target_dir>" --json > "$work/scan.json"
It reads each text file once for all categories, never runs target code, and requires only Python 3 standard library. Exit 0 means the pattern scan completed, 3 means explicit gaps, and 2 means invalid input/failure. Inspect skipped and complete, not just exit status or lead counts. Binary, non-UTF-8, symlink, unreadable and limit-skipped content is not a pass. .git metadata is excluded explicitly; node_modules is not silently ignored.
Resolve every lead or group of equivalent leads with cited files/lines and a reason. All leads are preserved in JSON; zero matches only means no configured pattern matched. Read the actual instructions and execution/data paths to catch semantic issues, multiline constructs and unknown patterns. Resolve gaps with safe format-specific reading where practical; otherwise leave affected checks unknown.
Read every instruction file in full — this is the exhaustive backstop the scanner cannot replace. Read the complete text of the SKILL.md AND every command, prompt, agent, and sub-skill instruction file in the target (not just the top, not a sample). Forced-output and behavioral instructions hide in the middle of long files and in per-command files, exactly where a skim misses them. If a repo has many instruction files, read them all; if that is genuinely too many, read the primary SKILL.md plus every file the scanner flagged plus every file that defines a user-facing command, and state which files you covered.
Coverage line (required). In the report and the Step 6 verdict, state what you actually read — e.g. "Read in full: SKILL.md (271 lines) + 24 command files + 8 scripts." A clean/no-major-risks verdict or the "no output-pollution" sentence is not permitted unless this coverage was done. Known serious findings still determine an adverse verdict even with incomplete coverage.
Analyze each file for:
A. Prompt Injection Patterns
Search for attempts to override system instructions:
B. Suspicious Behavioral Instructions
Identify concerning directives:
C. Over-Permissioned Requests
Check for excessive or unnecessary permissions:
Document all findings in "SKILL.md Analysis" section with specific code snippets and severity ratings.
D. Trust-Relevant Behavior Scan (REQUIRED — run every category)
These are the behaviors most likely to harm a user who installs the skill without reading its source. Scan the SKILL.md AND every script, hook, config, and reference file for each category. Record file path + line for every hit. Every hit found here is a candidate for Top Risks in the final chat response (Step 6), not just the report.
PostToolUse, PreToolUse, SessionStart, startup), install scripts, settings.json hook blocks, MCP command registration, or package-manager commands that run without a fresh user prompt.curl … | sh, wget … | bash, PowerShell download cradles (iwr … | iex), bash -c "$(curl …)", encoded shell, any download-and-run.eval/exec/os.system on decoded strings..env, SSH keys, keychain, cloud creds (~/.aws, ~/.config/gcloud), gh auth token, npm/OAuth tokens, API keys in settings.package.json scripts, or git hooks to the user's project.npx, npm/pip installs, postinstall hooks, unpinned deps, external MCP servers.For each hit: quote the exact text, cite file:line, and classify it as confirmed malicious / suspicious / legitimate-but-high-risk / benign-but-trust-relevant. This classification carries into Step 6.
For any Python, Bash, or other executable scripts:
A. Code Review
subprocess, os.system, eval, exec, socket operationsB. Execution Risk Assessment
Document in "Scripts Security Analysis" section with code snippets and risk levels.
References Directory:
Assets Directory:
Document in "References & Assets Analysis" section.
Use a bounded research pass on the exact skill/source and maintainer (for example, the skill name plus security/review, then a targeted query for any material claim or warning). Do not mechanically search every platform or repeat Step 5.1. Record exact queries, sources, results and failures once. No results is not evidence of safety or malice. If offline or research is declined, mark external_evidence unknown and state the limitation prominently.
Cross-reference findings against known attack patterns (see references/attack_patterns.md):
Document in "Attack Pattern Analysis" section with specific pattern matches.
Read references/scoring.md and the 14 checks in references/rubric-v1.json. Populate an evidence ledger, then calculate rather than inventing category/overall scores:
python3 -I "{skill_dir}/scripts/score.py" --template > "$work/evaluation.json"
# Fill target identity and each check from the reviewed evidence.
python3 -I "{skill_dir}/scripts/score.py" "$work/evaluation.json" > "$work/score.json"
python3 -I "{skill_dir}/scripts/score.py" "$work/evaluation.json" --markdown > "$work/score.md"
Pass earns full weight, low/medium concern half, fail zero; unknown is excluded from assessed weight and lowers coverage. Every resolved check needs a reason and evidence. Absent scripts/network/assets may pass the relevant check only when a complete inventory and instruction review establish absence, never merely from zero scanner hits. Use the bundled severity floors/caps for confirmed issues, not keywords in examples. A benign necessary permission or explicitly requested integration is not automatically a finding. Critical/high findings override an otherwise high score. Report the reviewed-evidence score with weighted-check coverage, actual file-read coverage, and limitations.
Assume the user will NOT read source code and will NOT open the report file. Everything that affects their trust decision must be in this chat message itself. The report is a backup, not the deliverable.
Your final chat response MUST be standalone and MUST use exactly these five sections, in this order:
1. Verdict — use the calculated verdict: NO MAJOR RISKS IDENTIFIED, REVIEWED WITH LIMITATIONS, INCOMPLETE, USE WITH CAUTION, NOT RECOMMENDED, or DO NOT USE, plus its main reason. Show the score (or unavailable), whether provisional, weighted check coverage, and actual file-read coverage. Name major unreviewed surfaces and whether provenance/external research was checked. These are static-review judgments, not SAFE certifications.
2. Top Risks — every trust-relevant finding from the Step 5.2-D scan. Write each as its own bullet with these three parts, in this order:
file:line (or file + quoted snippet).Write it so a non-coder understands it (recipe, not optional):
SSRF (tricking the tool into fetching attacker-chosen web addresses), RCE (running code on your computer), exfiltration (secretly sending your data out), credential (a saved password or access key). If you cannot gloss a term simply, describe the behavior instead of naming it.Anything that auto-runs, phones home, reads or stores credentials, executes remote code, inserts promo/backlinks, or modifies the user's other projects belongs at the top of this list — these are the behaviors that actually harm the user, so put them where they'll be seen, not in a report they won't open.
Only if your complete in-scope read (5.2), gap resolution and scanner lead review (5.0) found none of these behaviors, write this exact sentence — it is a promise that you looked, so don't write it on a skim:
No obvious auto-execution, phone-home, credential exfiltration, remote execution, or output-pollution behavior found in static review.
3. Should You Install? — give an evidence-bounded recommendation: no, yes-with-specific-precautions, or insufficient evidence. A high provisional score is not installation approval.
4. Safer Path — concrete next step: the exact section/lines to delete, an instruction to give the agent before use, a safer alternative skill, or the remaining inspection needed. Do not claim installation or runtime safety was tested.
5. Full Report — link to the assessment file for anyone who wants the detail.
Wording rules:
Use with caution because: [specific bullets].Create assessment with this exact structure:
# Security Assessment: [Skill Name]
## Executive Summary
- Overall Risk Level: [Calculated verdict]
- Source: [GitHub/Website/Direct URL]
- Evaluation Date: [Current Date]
- Evaluator: Agent Skill Evaluator [version], rubric [version]
- Critical Findings: [1-2 sentence summary of most important findings]
- Recommendation: [Evidence-bounded recommendation or insufficient evidence]
## Source & Provenance
[Creator analysis, source legitimacy, reputation indicators, red flags]
## Skill Structure Overview
[File structure, components present, size and complexity analysis]
## SKILL.md Analysis
### Prompt Injection Detection
[Findings with code snippets and severity levels]
### Suspicious Behavioral Instructions
[Concerning directives with evidence]
### Over-Permissioned Requests
[Excessive permission requests with analysis]
## Scripts Security Analysis
[If scripts present: code review findings with snippets and risk assessment]
## References & Assets Analysis
[If present: analysis of documentation and asset files]
## Community Feedback & External Research
[Search results, community warnings, reputation indicators]
## Attack Pattern Analysis
[Matched patterns from known threats, sophistication assessment]
## Risk Assessment
### Detailed Scoring
[Insert calculated score.md: per-check status, severity, earned/assessed points, evidence, category totals, coverage and severity cap. Do not average independently invented dimension scores.]
### Threat Summary
[List of all identified threats ranked by severity]
### False Positive Analysis
[Discussion of any potential false positives and why ruled in/out]
## Final Verdict
**Recommendation**: [Calculated verdict and evidence-bounded recommendation]
**Reasoning**: [Clear explanation of recommendation based on evidence]
**Specific Concerns**: [If any]
**Safe Use Cases**: [If applicable - conditions under which skill might be safe]
**Alternative Skills**: [If this skill deemed unsafe, suggest safer alternatives]
## Evaluation Limitations
[If applicable, note any limitations due to inaccessible files, failed downloads, etc.]
## Evidence Appendix
[Include relevant code snippets, screenshots, or specific examples supporting findings]
If issues occur during evaluation:
Keep user informed at key milestones:
Provide concise updates for long reviews and significant blockers; keep bulky tool output in the evidence files.
Be Specific, Not Generic:
Make Evidence-Bounded Judgments:
Include Evidence: Always back up scores and recommendations with specific code examples, exact text from SKILL.md, or measurable indicators.
Prioritize User Safety: When evidence is missing, say unknown and recommend the specific remaining review rather than guessing safety or maliciousness.
Recognize Legitimate Patterns: Not all complex instructions are malicious. Legitimate skills may have sophisticated workflows. Distinguish between:
This skill includes reference documentation in the references/ directory:
scoring.md and rubric-v1.json - Required per-check scoring rules and evidence schemascan-patterns.json - Scanner leads, not a security classifierattack_patterns.md - Examples of prompt injection and malicious code patternssafe_skill_examples.md - Potentially legitimate patterns and implementation caveatsRead these references as needed during evaluation to improve detection accuracy.
CHANGELOG.md (opens in a new tab)references/attack_patterns.md (opens in a new tab)references/rubric-v1.json (opens in a new tab)references/safe_skill_examples.md (opens in a new tab)references/scan-patterns.json (opens in a new tab)references/scoring.md (opens in a new tab)scripts/safe_archive.py (opens in a new tab)scripts/scan.py (opens in a new tab)scripts/scan.sh (opens in a new tab)scripts/score.py (opens in a new tab)tests/VALIDATION.md (opens in a new tab)tests/test_evaluator.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub jeredblu/jeredblu-marketplace --plugin jeredblu-tools5 skills in this plugin
/frugal-fableUse when running on Claude Fable (or any premium model) and the work is token-heavy — building features, multi-file changes, research, testing, debugging, migrations, or anything spanning many files/sources. Keeps Fable on the judgment (decompose, architect, synthesize, review) and delegates bounded, verifiable heavy-lifting to cheaper models (Haiku/Sonnet/Opus) — with a quality floor so construction work is never owned by a weak agent. Triggers on requests to "be efficient with Fable", "don't burn tokens", orchestrate subagents, or delegate work. Also fires on cross-CLI delegation: "delegate to Codex", "use Codex/GPT for this", "second opinion from Codex", or offloading work to a separate Codex/ChatGPT quota./mcp-evaluatorReview an MCP server's security, privacy, permissions, and launch risks before use. Use for a supplied MCP repository or hosted MCP endpoint, or an explicit safety comparison. Produces an evidence-based per-check score with coverage and deployment limits; does not install or run the server./prd-creatorCreate comprehensive PRDs through conversational discovery. Use when users want to plan software projects, document requirements, or prepare specifications. Supports beginners to experienced PMs. Asks deep clarifying questions to gather requirements, researches technologies, and produces structured markdown PRDs./repo-evaluatorEvidence-led pre-install review of GitHub software without executing the target. Inspect install paths, code behavior, data flows, dependencies, provenance and agent instructions; produce a versioned per-check risk rubric with explicit coverage and uncertainty. Use when the user asks whether a repo is safe, legitimate or worth installing. For a skill or MCP-only review prefer the corresponding evaluator; this skill can additionally review its code.Other plugins' skills for the same job