SKILLEMALL.ai

BB openrouter-usage

Fetch real-time OpenRouter usage totals and historical per-model spend. Use when the user asks for usage, spend, cost breakdown, or OpenRouter stats. Not for system health or non-LLM metrics.

modbender/skill-library-mcp Agent Skills author: modbender MIT 2 files body ≈ 471 tokens Open the sourcegithub.com analyzed 2 d ago

Fetch real-time OpenRouter usage totals and historical per-model spend.

As a process B 74/100 · Nearly there — weak spots: inputs and preconditions, running it twice, progress reporting

ProcedureSoftware developmentData and analyticsAI and agentstype and topics are labelled automatically from the skill text
JSON
Technical rating
B
88/100
safety, quality, tests
Safety 60%
85
Quality 40%
92
Run on models
none yet
Process rating
B
74/100
Nearly there
Inputs and preconditions w 11
0
Progress reporting w 2
0
Running it twice w 4
30
the three weakest of ten parameters · all ten

What is at stake

Medium-severity findings: the skill is probably honest, but read what alarmed the scanner.

Broad scope medium severity

Below is the worst case for this category. The finding here is medium: the guard saw a sign, not a proof.

If you install

The skill asks for more than the task needs: broad tool access, credential environment variables, binaries. Every extra permission widens the damage from a mistake or a compromise.

For the author

Narrow allowed-tools and the variable list to the minimum; replace binaries with readable sources or scripts.

Exfiltration medium severity

Below is the worst case for this category. The finding here is medium: the guard saw a sign, not a proof.

If you install

The instructions or scripts send data out: environment variables, keys, file contents, chat history. You may never notice, because the agent performs the upload as "part of the task".

For the author

If the upload is not needed for the task, remove it: catalogs flag such skills and delist them. If it is needed, name the destination explicitly, say what leaves the machine, and give the user a switch.

How to improve

    For the model run — optional
    • Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
    • A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.

    Guard findings · 3

    ✓ No critical or high findings

    Medium and low: 3
    • medium Broad scope meta-broad-allowed-tools SKILL.md:1
      Broad tool permissions pre-approved: Bash(curl:*)
      allowed-tools: Bash(python3:*) Bash(curl:*) Bash(jq:*) Read
    • medium Exfiltration net-credential-use SKILL.md:47
      Credential used in a network call (verify the destination is the intended service)
      curl -sS -H "Authorization: Bearer $OPENROUTER_API_KEY"
    • medium Exfiltration net-credential-use SKILL.md:51
      Credential used in a network call (verify the destination is the intended service)
      curl -sS -H "Authorization: Bearer $OPENROUTER_MGMT_KEY"

    Files scanned: 2. Evidence is masked. Grey chips explain why severity was lowered.

    Against the Agent Skills spec

    • note frontmatter-key unknown frontmatter key "required-env-vars"
    • note frontmatter-key unknown frontmatter key "optional-env-vars"
    • note frontmatter-key unknown frontmatter key "primary-credential"
    • note frontmatter-key unknown frontmatter key "credential-description"

    Process rating: all ten parameters 74/100

    • 0Inputs and preconditions. Does not say what the process needs to start
    • 0Progress reporting. Says nothing while it works
    • 30Running it twice. 2 mutating operations with no state check
    • 50Failures and branches. 0 branches, has a failure section
    • 60Result and completion. Output format stated, no completion criterion
    • 100Tools and files. Tools declared in frontmatter
    • 100Steps. 11 steps
    • 100When it triggers. States when to use and when not to
    • 100Consistency. Name and required fields are in place
    • 100Execution cost. Instruction body is 471 tokens

    Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.

    Quality signals

    • +5Description has no quoted example phrases that should trigger the skill
    • +2Single-language instructions
    • +4Description says when NOT to use the skill
    • +3Description length 191: enough signal without eating the budget
    • +4Structure: 7 headings
    • +3Step-by-step instructions: 11 items
    • +3Output format is stated explicitly
    • +4Has examples (2 code blocks)
    • +3All 1 scripts are documented
    • +1License stated

    Quality base 70; lint remarks subtract, signals add up to 100. Result: 92.