PixelPilot uiux-library-verification.instructions.md

A checklist for checking whether a third-party software library is suitable before recommending it. It covers existence, recent updates, downloads, licensing, size, and TypeScript support.

In plain words
What is it for?
Use it when evaluating npm or GitHub libraries and producing a standard verification report before suggesting one.
Why use it?
It reduces the risk of recommending a library that is unavailable, abandoned, legally unsuitable, too large, or difficult to use in a typed project.

Instructions file for GitHub Copilot

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/dev-lou/pixelpilot/uiux-library-verification
Clone the repo
git clone --depth 1 https://github.com/dev-lou/PixelPilot

Made for: GitHub Copilot.

Per session 1,806 This file is loaded in full into every session.
When invoked 1,806 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.01806 $0.01806
Opus 5 $0.00903 $0.00903
Sonnet 5 $0.00361 $0.00361
Haiku 4.5 $0.00181 $0.00181

Measured 2d ago against content hash aa87febea607, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

PixelPilot uiux-library-verification.instructions.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

vscode/.github/instructions/uiux-library-verification.instructions.md · 252 lines

How it starts

The opening of the file, as written. The whole thing — 252 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Library Verification Skill

Before recommending any third-party library, AI must verify its health and suitability.


VERIFICATION CHECKLIST

Rule: Never recommend a library without completing this verification. Output results in a standardized table.

Required Checks

Check Criteria Action if Failed
Exists Package found on npm or GitHub Do not recommend
Last Update ≤ 12 months ago Warn user, suggest alternatives
Downloads ≥ 10,000/week (popular) or ≥ 1,000/week (niche) Warn user
License MIT, Apache 2.0, BSD, ISC, or MIT-compatible Do not recommend without explicit user consent
Bundle Size Reasonable for category Note in recommendation
TypeScript Has types (built-in or @types/*) Note if missing

OUTPUT FORMAT

Always output verification results in this table format:

### Library Verification Report

| Library | Exists? | Weekly Downloads | Last Update | License | Bundle Size | Recommendation |
|---------|---------|------------------|-------------|---------|-------------|----------------|
| fuse.js | ✅ Yes | 1.2M | 2 months ago | Apache-2.0 | 24KB | ✅ Recommended |
| some-lib | ✅ Yes | 500 | 18 months ago | MIT | 8KB | ⚠️ Low activity |
| fake-lib | ❌ No | N/A | N/A | N/A | N/A | ❌ Does not exist |

VERIFICATION PROCESS

Step 1: Check npm Registry

// Verification script (run via Node.js or use npm API)
async function verifyPackage(packageName) {
  const response = await fetch(`https://registry.npmjs.org/${packageName}`);
  
  if (!response.ok) {
    return { exists: false, reason: 'Package not found on npm' };
  }
  
  const data = await response.json();
  const latest = data['dist-tags']?.latest;
  const latestVersion = data.versions?.[latest];
  
  return {
    exists: true,
    name: data.name,
    version: latest,
    license: latestVersion?.license || 'Unknown',
    lastPublish: data.time?.[latest],
    repository: latestVersion?.repository?.url,
    types: latestVersion?.types || latestVersion?.typings || 
           data.name.startsWith('@types/') || 
           !!latestVersion?.devDependencies?.['@types/' + data.name]
  };
}

Read the full file on GitHub · 252 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 252 lines · 1,806 tokens per session scan A aa87febea607

Subscribe to this mod's changes

PixelPilot uiux-library-verification.instructions.md is an instructions file published in the GitHub repository dev-lou/PixelPilot (2 stars, last pushed 4mo ago), licensed MIT. It adds 1,806 tokens to every session, about $0.0090 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.