new-sep — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited new-sep (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
You are bootstrapping a sep-NNNN.yaml file for a new SEP in the MCP conformance repo. The output is the requirement-traceability file specified by SEP-2484: a YAML that maps each normative sentence from the SEP's spec diff to a check: ID (testable) or an excluded: reason (not testable). The CLI gets the skeleton; you fill in the rows by reading the spec diff.
Before doing anything else, verify GitHub CLI authentication:
gh auth status 2>&1If this fails, stop immediately and tell the user:
GitHub authentication is required for this skill. Please run gh auth login first, then re-run.Verify you're running inside the conformance repo:
test -f package.json && jq -r '.name' package.jsonThe name should be @modelcontextprotocol/conformance. If not, stop and ask the user to cd into the conformance repo first.
Extract from the user's input:
2164. This is also the PR number in modelcontextprotocol/modelcontextprotocol by convention.Run the CLI:
npm run --silent build
node dist/index.js new-sep <NNNN>(For development against a non-built source tree: npx tsx src/index.ts new-sep ....)
The CLI writes src/seps/sep-<NNNN>.yaml with sep, spec_url, and two TODO requirements[] rows. Capture the output path from the CLI's Wrote … line and remember it as $YAML.
If the CLI errors with "does not change any docs/specification/draft/\*.mdx", the SEP's spec changes landed in a separate PR — ask the user for the spec file path and rerun with --spec-path docs/specification/draft/<path>. Do not guess.
AGENTS.md (lines 64–72) is explicit that severity must come from the spec text itself, not the SEP markdown or the conformance PR description:
gh api "repos/modelcontextprotocol/modelcontextprotocol/pulls/<NNNN>/files" \
--jq '.[] | select(.filename | test("^docs/specification/draft/.*\\.mdx$")) | {filename, patch}'For each file, pull the added (+-prefixed) lines from patch. If patch is truncated for a large file, fall back to fetching the whole file at the PR's head ref:
gh api "repos/modelcontextprotocol/modelcontextprotocol/contents/<path>?ref=<sep-branch>" \
--jq '.content' | base64 -dWalk the added lines and identify sentences containing the keywords: MUST, MUST NOT, SHOULD, SHOULD NOT, REQUIRED, SHALL, SHALL NOT, MAY, OPTIONAL.
Quote the whole sentence, not just the matched line. The matched word may sit inside a bullet point whose lead-in sentence supplies the keyword by inheritance — e.g.:
Servers SHOULD return standard JSON-RPC errors for common failure cases:
>
- Resource not found: -32602 (Invalid Params)
The bullet inherits SHOULD. The yaml row should quote the _combined_ obligation: 'Servers SHOULD return standard JSON-RPC errors for common failure cases: Resource not found: -32602 (Invalid Params)' — see src/seps/sep-2164.yaml for the canonical example.
Regex alone is insufficient (this is called out in Issue #243). Read for context: pronouns, "the server", and "such cases" all refer back to the lead-in.
From AGENTS.md:50-56:
| Keyword | Severity | YAML field |
|---|---|---|
| MUST / MUST NOT / SHALL / SHALL NOT / REQUIRED | FAILURE | check: sep-<NNNN>-<slug> |
| SHOULD / SHOULD NOT | WARNING | check: sep-<NNNN>-<slug> |
| MAY / OPTIONAL | — | _no row — skip entirely_ |
MAY / OPTIONAL sentences are noted in Step 4 only so you consciously skip them — they never produce a yaml row.
A row is excluded: when a MUST/SHOULD requirement can't be protocol-observed by the harness. Do not write any excluded: row on your own authority — every exclusion goes through Step 6.
While classifying, sort each MUST/SHOULD row into one of three buckets:
check: but observability is questionable. Markers:Slug convention: lowercase-kebab, derived from the verb phrase. Examples from sep-2164.yaml: no-empty-contents, error-code. Same id is used for SUCCESS and FAILURE (AGENTS.md:52).
Nothing becomes excluded: without sign-off. Two rounds:
Round 1 — clearly-excluded, single batch question. One AskUserQuestion listing all clearly-excluded rows in the question body (slug + one-line reason each). Options:
Exclude all as listed (Recommended)Flip all to check:Let me adjust per-row — if chosen, append these rows to round 2.Skip this round if the bucket is empty.
Round 2 — borderline, one question per row. One AskUserQuestion call with a question per borderline row (loop in batches of 4 if needed). For each:
check: first — it's the default for borderline):check: — keep as a testable checkexcluded: <reason> — drop to excluded with your stated reasonmerge into <other-slug> — offer when the row is a precondition for another row already in the listApply the answers before writing. For any excluded: outcome, write the reason verbatim into the yaml and add an issue: URL if the user supplies one. A merge outcome means: drop this row, and append its text: to the surviving row's text: separated by / so the traceability isn't lost.
Replace the two TODO rows the CLI generated with one row per extracted requirement. Preserve the CLI's quoting style (single quotes, two-space indent — see src/seps/sep-2164.yaml).
Key order within each row — for check: rows the `check:` key comes first, then text:, then any optional url:. Scanning the left margin should reveal every check ID without reading the quoted sentences. For excluded: rows the order is `text:` first, then excluded:, then optional issue: — there's no ID to scan for, so lead with the requirement.
Row order in the file — all check: rows first (in spec-diff order), then all `excluded:` rows grouped at the bottom, separated from the checks by one blank line. Do not interleave.
requirements:
- check: sep-NNNN-first-slug
text: '...'
- check: sep-NNNN-second-slug
text: '...'
- text: '...'
excluded: 'reason'
issue: https://github.com/modelcontextprotocol/conformance/issues/<NNNN>If a requirement is ambiguous or you're not confident, leave it as a TODO: row rather than guessing — humans review this yaml before scenarios get written.
Also fix the spec_url: the CLI emits the page URL with no anchor. If the requirements you extracted live under a specific spec subsection (e.g. #error-handling), append it.
If a requirement comes from a different spec page than spec_url (the SEP touched multiple .mdx files — the CLI prints these as "PR also changes N other spec file(s)"), give that row a full url: override:
- check: sep-NNNN-slug
text: '...'
url: https://modelcontextprotocol.io/specification/draft/other/page#anchorA row's effective spec reference is row.url ?? file.spec_url.
Write the result back to $YAML.
AGENTS.md prefers fewer scenarios with more checks over one-scenario-per-check. Before telling the user to write a new scenario, look for an existing one the new checks could be folded into.
Determine the suite directory from the requirement subjects ("MCP clients MUST…" → client/, "Servers MUST…" → server/, "authorization servers MUST…" → authorization-server/; a SEP may map to more than one). Then search that directory for scenarios touching the same spec area:
rg -l -i '<domain-term>|<domain-term-2>' src/scenarios/<suite>/ --type tsPick 2–3 domain terms from the SEP's subject matter (for a discovery SEP: metadata, well-known; for an auth-response SEP: redirect, callback, pkce). For each hit, pull the scenario's name/description to confirm relevance:
rg -A1 'name:|description:' <hit.ts>If you find a plausible host, recommend it by path. If nothing fits, say so explicitly — a new scenario file is then the right call.
Report to the user, in this order:
N check: rows, M excluded: rows" — and note which exclusions the user signed off in Step 6.TODO: and why.src/scenarios/<suite>/<file>.ts (it already exercises _X_)" or "no existing scenario covers this area; a new file is appropriate".src/scenarios/{client,server,authorization-server}/,src/scenarios/index.ts (AGENTS.md:48),AGENTS.md:74-81.Do not generate or edit scenario .ts files or touch src/scenarios/index.ts. The skill's scope ends at the yaml plus the recommendation.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.