Need a Convex cron setup, but tired of wiring up convex/crons.ts by hand? This skill scaffolds the file with cronJobs(), points each job at an internal function instead of a public api.* endpoint, and nudges you toward handlers that are small and safe to re-run, which matters because cron retries and overlaps happen. It also checks that the job actually shows up in the dashboard schedule. I'd reach for it when you're adding a nightly cleanup or a periodic sync. The one honest caveat: the rules are guidance, not enforcement, so you still need to think about idempotency yourself. And if the work could be pushed by a subscription rather than polled on a tight interval, the skill will tell you so, which is the advice worth listening to.

skills.sh installs
41.2K
GitHub stars
69
last updated
Oct 26, 2026

Install

$ npx -y skills add convex/agent-skills --skill convex-crons --agent claude-code

Installs into .claude/skills of the current project.

Files

Add scheduled jobs (crons)

Define recurring jobs in convex/crons.ts targeting internal functions, with sane intervals and idempotent handlers.

Workflow

  1. Create convex/crons.ts with cronJobs().
  2. Schedule internal functions (never public api.*) at the right interval.
  3. Make handlers idempotent (safe to re-run); keep each run small.
  4. Verify the job appears in the dashboard schedule.

Rules

  • Schedule internal.* functions, never api.*.
  • Keep cron handlers small + idempotent.
  • Don't poll tight intervals for things a subscription can push.

Sponsors

Details

Repository
github.com/convex/agent-skills
Categories
AI & Agent Building, Databases
First seen
Oct 26, 2026

More from convex/agent-skills

All 30
1convex avatarconvex-testconvex/agent-skillsGenerate convex-test tests for the app's Convex functions.41.1Kskills.sh installs
2convex avatarconvex-addconvex/agent-skillsAdd a capability to the CURRENT Convex app — consults the served Convex capability catalog for always-current procedures (billing, crons, auth, agent, search, …41.1Kskills.sh installs
3convex avatarconvex-costconvex/agent-skillsPreview Convex spend — rank functions by bytes/documents-read × call-volume from insights, project each cost driver's growth curve, name the cheapest fix; confi41.1Kskills.sh installs
4convex avatarconvex-migrate-rehearseconvex/agent-skillsRehearse a live-app schema change + backfill on a snapshot-seeded preview deployment, verify, then promote the proven change to prod with the snapshot as rollba41.1Kskills.sh installs
5convex avatarconvex-launch-readinessconvex/agent-skillsRun every Convex audit (authz, reviewer, advisor, insights) into one scored, deduped readiness report with an ordered fix plan — Lighthouse for your backend.41Kskills.sh installs
6convex avatarconvex-explain-appconvex/agent-skillsExplain an existing Convex app — data model + relationships, public vs internal functions, auth/ownership model, components, a request→data flow — read from the41Kskills.sh installs