verify-upstream-config-examples

verify-upstream-config-examples is a skill for Claude Code from paultyng/testagent. It costs 29 tokens per session (1,263 once invoked), scanned A, original, MIT.

A checker that compares a project's stored examples for Claude, Codex or Cursor configuration with the vendors' current documentation.

In plain words
What is it for?
It helps fetch documentation, validate new configuration examples and prepare additions as a draft pull request. A pull request is a proposed code change for review.
Why use it?
It finds examples that have become outdated or new examples missing from the stored collection.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; mentions Codex.

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 skills/paultyng/testagent/verify-upstream-config-examples
Any agent
npx skills add paultyng/testagent --skill verify-upstream-config-examples
Clone the repo
git clone --depth 1 https://github.com/paultyng/testagent

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for verify-upstream-config-examples

README.md
[![agentmods](https://agentmods.dev/badge/skills/paultyng/testagent/verify-upstream-config-examples.svg)](https://agentmods.dev/skills/paultyng/testagent/verify-upstream-config-examples)
Your own site
<a href="https://agentmods.dev/skills/paultyng/testagent/verify-upstream-config-examples"><img src="https://agentmods.dev/badge/skills/paultyng/testagent/verify-upstream-config-examples.svg" alt="Measured on agentmods" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,263 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.1 $0.00029 $0.01263
Opus 5 $0.00015 $0.00632
Sonnet 5 $0.00006 $0.00253
Haiku 4.5 $0.00003 $0.00126

Measured 6d ago against content hash 46bd9b6c327b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

verify-upstream-config-examples scanned grade A with 1 finding 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 6d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- **claude**: `curl -sL https://code.claude.com/llms.txt` — produces a flat list of doc URLs. Grep for lines containing `hooks` or `mcp`; curl each linked page (also markdown).
.claude/skills/verify-upstream-config-examples/SKILL.md · 129 lines

How it starts

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

verify-upstream-config-examples

Detects drift between the vendored corpus under testdata/upstream-examples/ and live vendor docs. Net-new examples that pass testagent <vendor> validate --strict are written to the corpus and surfaced as a draft PR.

Vendor dispatch

Phrase Vendor arg
"verify upstream config examples" (no vendor named) ask the user or default to all
"verify claude config corpus" / "check claude drift" claude
"verify codex config corpus" / "check codex drift" codex
"verify cursor config corpus" / "check cursor drift" cursor
"verify upstream config examples all" all (runs all three sequentially)

Workflow

1. Scope check

Vendor must be claude, codex, cursor, or all. If ambiguous, ask: "Which vendor — claude, codex, cursor, or all?"

2. Fetch the vendor's source

Per sources.md:

  • claude: curl -sL https://code.claude.com/llms.txt — produces a flat list of doc URLs. Grep for lines containing hooks or mcp; curl each linked page (also markdown).
  • cursor: curl -sL https://cursor.com/llms.txt — same shape. Linked pages under /docs/hooks and /docs/context/mcp.
  • codex: gh api repos/openai/codex/contents/README.md -H 'Accept: application/vnd.github.raw' — inline fenced blocks; no link-following needed.

3. Extract fenced code blocks

From each fetched page, extract all fenced code blocks of the relevant language:

  • claude and cursor: ```json blocks.
  • codex: ```toml blocks.

Use awk to detect ```json / ```toml openers and matching ``` closers. Produce one candidate file per block.

4. Diff against local corpus

For each candidate block:

  1. Compute SHA256 of the block content.
  2. Compare against SHA256 of every file in testdata/upstream-examples/<vendor>/.
  3. Skip blocks already vendored verbatim (exact content match).
  4. Flag blocks where a same-name fixture exists but content differs (drift in an existing fixture).

Read the full file on GitHub · 129 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago First seen · 129 lines · 29 tokens per session scan A 46bd9b6c327b

Subscribe to this mod's changes

verify-upstream-config-examples is a skill published in the GitHub repository paultyng/testagent (7 stars, last pushed 1mo ago), licensed MIT. It adds 29 tokens to every session and 1,263 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

git-workflow

This skill should be used when the user asks to "create git commit", "manage branches", "follow git workflow", "use Conventional Commits", "handle merge conflicts", or asks about git branching strategies, version control best practices, pull request workflows. Provides comprehensive Git workflow guidance for team…

Galaxy-Dawn/claude-scholar · 64 tokens

daily-paper-generator

Use when the user asks to generate daily paper digests on a general topic. This skill supports both arXiv and bioRxiv (or either one), then produces structured Chinese/English summaries for selected papers.

Galaxy-Dawn/claude-scholar · 47 tokens

codex-autoresearch

Run autonomous, measurable experiments in a Git repository: change one hypothesis, verify a numeric metric, keep improvements, and revert failures. Use when the user wants Codex to keep iterating toward a numeric target in the foreground or as a detached background run. Do not use for ordinary one-shot coding…

leo-lilinxiao/codex-autoresearch · 80 tokens

clipboard

Copy text to clipboard with optional rich formatting. Triggers on "copy to clipboard", "copy that", "pbcopy", "copy formatted", "copy rich text".

CodeAlive-AI/ai-driven-development · 36 tokens

neo4j-modeling-skill

Design, review, and refactor Neo4j graph data models. Use when choosing node labels vs relationship types vs properties, migrating relational/document schemas to graph, detecting anti-patterns (generic labels, supernodes, missing constraints), designing intermediate nodes for n-ary relationships, enforcing schema with…

neo4j-contrib/neo4j-skills · 152 tokens

auto-test-project

当用户明确要求"测试项目"、"运行 auto-test-project"或"进行项目级测试"时使用。对完整项目进行多轮 A 轮批判性测试 + B 轮质量检查,系统化发现、记录、修复问题。⚠️ 不适用:用户只是想优化功能(应直接修改)、只是询问项目问题(应直接回答)、没有明确"测试"意图。.

huangwb8/skills · 94 tokens