smoke-tests
Skill116 starsChanged 7 days agoMITView on GitHub
Use before running `npm run smoke`, `npm run smoke:http` or `npm run smoke:agent` in caldav-mcp - what each harness checks, what it needs, what real calendar data it writes, and how to find leftovers after a failed run.
- Reads credentials
- Installs packages
7 other projects use a version of this.
Adopted by
Most recently taken up by
- langmail/caldav-mcpword for word, first seen Nov 29, 2026
- Conceptual-Machines/magda-coretheir own version, first seen Nov 25, 2026
- microsoft/vscodetheir own version, first seen Nov 12, 2026
- EpicGames/loretheir own version, first seen Nov 9, 2026
- vguedz/skillstheir own version, first seen Oct 17, 2026
- NeuralInverse/neuralinversetheir own version, first seen Oct 8, 2026
Other versions7 projects use a version of this.
Word for word · 1
- langmail/caldav-mcp★ 116100% same
Edited · 0
None found.
Wrote their own version · 6
- microsoft/vscode★ 196ksame name
- EpicGames/lore★ 9.2ksame name
- posit-dev/positron★ 4.4ksame name
- Conceptual-Machines/magda-core★ 272same name
- NeuralInverse/neuralinverse★ 221same name
- vguedz/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- decideSkill
- deliverSkill
- grillingSkill
- grill-meSkill
- handover-promptSkill
- improve-contextSkill
- mcp-tool-designSkill
- resolve-conflictsSkill
- review-agents-mdSkill
- scheduled-agent-designSkill
- scion-like-gitSkill
- triageSkill
- ultraciteSkill
- upgrade-dependencySkill
The file
Files
Smoke tests
Two complementary end-to-end checks against a real CalDAV server (uses .env):
npm run smoke— deterministic SDK harness (scripts/smoke.ts). Spawns the built server over stdio via the MCP client SDK and asserts the create → list → update → delete round-trip. Fast, no LLM cost. CI runs it on every PR and push tomainagainst a throwaway Radicale server (smokejob inrelease.yml).npm run smoke:http— the same harness withSMOKE_TRANSPORT=http: startsdist/index.js --httpon an ephemeral port with a randomMCP_AUTH_TOKENand runs the same round-trip over Streamable HTTP. Writes and cleans up exactly whatsmokedoes, and kills the server it started even when the run fails. CI runs it right aftersmoke.npm run smoke:agent— agent-ergonomics harness (scripts/smoke-agent.sh). Drives the server viaclaude -pwith a JSON output schema, validating that tool names, descriptions, schemas, and error messages are usable by an LLM. It then runs the task-reminder eval (scripts/smoke-agent-reminder.ts): a multi-turnclaude -psession asks for a reminder tomorrow at 9, moves it to 10 and removes it, plus a near miss ("by Friday") that must set a due date and no reminder. It checks the agent's tool calls and the stored reminders, and prints oneresult: pass|fail|error … calls=[…]line (caldav tool calls per turn).SMOKE_SERVER=<path to dist/index.js>runs it against another build, such asmain's. Last comes the accounts eval (scripts/smoke-agent-accounts.ts): with the.envaccount and a second one fromSMOKE_SECOND_BASE_URL,SMOKE_SECOND_USERNAMEandSMOKE_SECOND_PASSWORDconfigured as two accounts, it asks for an event tomorrow at 10 in the second account's first calendar and a listing of it, and checks that the event landed in a calendar of that account. WithoutSMOKE_SECOND_BASE_URLit printsresult: skip.SMOKE_SINGLE=1serves only the second account, the single-account baseline (also the way to run it onmain), whosecalls=the two-account runs must not exceed; compare the two runs' lines by hand.
.mcp.json at the repo root registers the server (loads .env via node --env-file) so both the agent smoke and interactive Claude Code sessions pick it up automatically.
Cost and side effects (locally, .env points at a real account):
- Needs:
.envwithCALDAV_BASE_URL,CALDAV_USERNAME,CALDAV_PASSWORD.smoke:agentalso needsclaudeandjqon PATH. Both scripts runnpm run buildfirst. - Without a real account (a routine, a cloud session):
pip install radicaleand start it the way thesmokejob in.github/workflows/release.ymldoes, with a.envpointing at it. For the accounts eval, add a second user to the htpasswd file, create a calendar for it the same way, and pointSMOKE_SECOND_*at it. Behind an HTTPS proxy, add127.0.0.1toNO_PROXY. Delete that.envafterwards. smokewrites real data to the first calendarlist-calendarsreturns: two events 1h from now (one addressed by absolute URL, one by server-relative path), a daily ×3 recurring event 2h from now, a whole-day event on 2030-08-18, and a yearly whole-day event 3 days from now (ending four years on). If a calendar supports VTODO, it also creates (with a reminder about 23h from now), completes, updates, moves and clears the reminder of, and deletes a todo on the first such calendar. Everything is deleted on success.smokecleans up on failure only for the relative-path event and the two whole-day events (try/finally). Any other failure, or a killed run, can leave events or the todo behind; their summaries start withcaldav-mcp smoke.smoke:agentruns a fullclaude -psession: costs LLM tokens on your Claude account, uses your default model, and is slower thansmoke. The model creates, renames, lists, and deletes a test event 1h from now on the first calendar, then callslist-eventswith an invalid date. Cleanup depends on the model following the prompt; the script itself deletes nothing, so an aborted run can leave an event with a model-chosen title. The accounts eval creates one event tomorrow at 10 in the second account's first calendar (summarycaldav-mcp smoke accounts …) and deletes it, also when a check fails. The reminder eval creates two tasks on the first task calendar (summaries usually containcaldav-mcp smoke) and deletes every task it saw created, also when a check fails; a killed run can leave them.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

