Borrowing it
Nothing to install: this file belongs to waynesutton/markdown-site. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/waynesutton/markdown-site/main/.cursor/skills/convex-doctor/SKILL.mdgit clone --depth 1 https://github.com/waynesutton/markdown-siteWrote 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.
[](https://agentmods.dev/skills/waynesutton/markdown-site/convex-doctor)<a href="https://agentmods.dev/skills/waynesutton/markdown-site/convex-doctor"><img src="https://agentmods.dev/badge/skills/waynesutton/markdown-site/convex-doctor.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 5 findings, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium MCP Rug Pull · line 17 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 125 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 122 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 123 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 123 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00072 | $0.01782 |
| Opus 5 | $0.00036 | $0.00891 |
| Sonnet 5 | $0.00014 | $0.00356 |
| Haiku 4.5 | $0.00007 | $0.00178 |
Grade A, and why
convex-doctor 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 8d 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.
How it starts
The opening of the file, as written. The whole thing — 171 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Convex doctor workflow
This skill codifies the full convex-doctor remediation workflow used in this codebase (score 42 to 100 across 17 passes). Follow it whenever running convex-doctor or fixing its findings.
What is convex-doctor
convex-doctor is a static analysis tool for Convex backends. It scores your codebase 0 to 100 across five categories: security, correctness, performance, schema, and architecture.
Run it with:
npx convex-doctor@latest
Configuration
This project has a convex-doctor.toml at the repo root with intentional suppressions. Always check it before working on findings.
Current suppressions and rationale
| Rule | Level | Rationale |
|---|---|---|
correctness/generated-code-modified |
off | Working tree is always dirty after codegen |
schema/optional-field-no-default-handling |
off | 94 optional fields by design for markdown frontmatter |
correctness/missing-unique |
off | Remaining .first() calls are intentional ordered picks |
schema/deep-nesting |
off | 4-level validators needed for chat attachments |
schema/array-relationships |
off | Flagged on function args, not table columns |
perf/missing-index-on-foreign-key |
off | Remaining FK is inside nested array (not indexable) |
arch/duplicated-auth |
off | Auth awareness is intentional per public handler |
arch/monolithic-file |
off | Files organized by domain |
arch/large-handler |
off | Email templates, sync, and search are inherently multi-step |
Ignored files
convex/_generated/**(generated code)convex/authComponent.ts(thin auth component forwarders)
Fix priority order
When convex-doctor reports findings, fix them in this order:
-
Security errors (highest priority)
- Add auth to HTTP actions and public endpoints
- Convert
api.*server-to-server calls tointernal.* - Move public actions to mutation-scheduled internal actions
-
Correctness errors
- Remove
Date.now()from queries (breaks caching and reactivity) - Convert
.first()to.unique()only where the index enforces uniqueness - Fix
collect then filterpatterns with indexed queries
- Remove
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.
- 8d ago First seen · 171 lines · 72 tokens per session scan A 869d09faef9a
convex-doctor is a skill published in the GitHub repository waynesutton/markdown-site (630 stars, last pushed 3mo ago), licensed MIT. It adds 72 tokens to every session and 1,782 once invoked, about $0.0004 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-30.
Other skills, from other repositories
sql-optimizer
Analyzes SQL queries for missing indexes, N+1 patterns, suboptimal joins, and full table scans. Interprets EXPLAIN, detects anti-patterns, rewrites queries. Triggers on: "optimize this query", "slow query", "add indexes", "explain plan", "N+1 query", "why is this query slow".
Bug Fixing
Skill "Bug Fixing" from OpenLabor/openlabor, covering bug fixing, objective, process and guidelines.
Generate Code
Write production-ready code.
Incident Response
Handle production incidents.
Performance Audit
Audit application performance.
Database Optimization
Optimize database queries.