agentleFS
GrinvGrinv/steam-games-mcp/.agents/skills/prompt-check/SKILL.md

prompt-check

Skill4 starsChanged 2 months agoMITView on GitHub

Live-test every MCP Prompt in src/tools/prompts.ts through the real MCP protocol (not a static read) across every argument combination. Use when a prompt is added or its argument-handling logic changes, or as part of a live-audit pass.

1 other project uses a version of this, 1 of them edited.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 1

    1. Grinv/mal-mcp★ 338% same

    Wrote their own version · 0

    None found.

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository8 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run each prompt with no args, with only one of several optional args set at a time, and with all of them set — an argument that's …

    line 21

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Prompt check — live-test every MCP Prompt argument combination

A static read comparing prompt text against tool names/params misses argument-handling bugs. Actually render every prompt through the real MCP protocol:

npx @modelcontextprotocol/inspector --cli node dist/index.js --method prompts/list
npx @modelcontextprotocol/inspector --cli node dist/index.js --method prompts/get \
  --prompt-name <name> --prompt-args key=value key2=value2

--prompt-args takes space-separated key=value pairs, not a JSON blob — the CLI rejects JSON with "Invalid parameter format".

Run each prompt with no args, with only one of several optional args set at a time, and with all of them set — an argument that's individually optional can still have a bug that only shows up when given alone. Also try "" and a whitespace-only value (" ") for every optional string arg, not just omitted-vs-present — both must mean "not given", never a validation error (client forms send "" for an untouched field; what_should_i_play rejected it for budget/steamid): it's truthy in JS, so a missing .trim() on prompts.ts's own argsSchema (separate from tools/*.ts's, and not automatically covered by a tool-schema trim fix like 61fe40a) slips past a field ? ... : .../field ?? "default" check the same way an actually-set value would.

Validate every tool call the rendered text instructs against that tool's actual inputSchema and documented caps — reading the prompt for plausible tool/param names isn't enough. Both live-confirmed here: deals_digest rendered min_discount values outside discover_games' own 1-100 range, and what_should_i_play told the agent to read ownership off get_owned_games' games list, which is capped at the top 50 by playtime and whose own source comment says it is not reliable for ownership (check_appids is).

Watch out for a SteamID64 argument specifically: the inspector CLI's own --prompt-args key=value parsing silently coerces a numeric-looking value through a JS number, and a 17-digit SteamID64 exceeds Number.MAX_SAFE_INTEGER — it comes out the other side with its last couple of digits corrupted (e.g. ...930 → ...940), even though the prompt's own z.string() schema never asked for that. Confirmed this is the inspector's bug, not this server's, by sending the identical prompts/get call as raw JSON-RPC over stdio (a JSON string round-trips exactly) — don't spend time chasing this as a steam-games-mcp finding if it recurs; just verify any SteamID64-argument prompt test that way instead of trusting the inspector CLI's rendering of the digits.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.