[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-convex-add":3,"mdc-n4kovf-key":32,"related-repo-convex-add":941,"related-org-convex-add":1046},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":12,"stars":21,"repoUrl":22,"updatedAt":23,"license":24,"forks":25,"topics":26,"repo":27,"sourceUrl":30,"mdContent":31},"add","add capabilities to Convex applications","Add a capability to the CURRENT Convex + Next.js project — consults the served Convex capability catalog for always-current procedures (billing, crons, auth, agent, search, …); falls back to built-in hosting or @convex-dev component search. TRIGGER when the user runs $add, or asks to add hosting\u002Fpublishing or any backend capability to an existing Convex app.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},"convex","Convex","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fconvex.png","get-convex",[13,17,18],{"name":14,"slug":15,"type":16},"Backend","backend","tag",{"name":9,"slug":8,"type":16},{"name":19,"slug":20,"type":16},"Next.js","next-js",2,"https:\u002F\u002Fgithub.com\u002Fget-convex\u002Fconvex-codex-plugin","2026-07-12T07:59:59.358004","Apache-2.0",0,[],{"repoUrl":22,"stars":21,"forks":25,"topics":28,"description":29},[],"Codex plugin for the hosted Convex MCP server","https:\u002F\u002Fgithub.com\u002Fget-convex\u002Fconvex-codex-plugin\u002Ftree\u002FHEAD\u002Fplugins\u002Fconvex\u002Fskills\u002Fadd","---\nname: \"add\"\ndescription: \"Add a capability to the CURRENT Convex + Next.js project — consults the served Convex capability catalog for always-current procedures (billing, crons, auth, agent, search, …); falls back to built-in hosting or @convex-dev component search. TRIGGER when the user runs $add, or asks to add hosting\u002Fpublishing or any backend capability to an existing Convex app.\"\nlicense: \"Apache-2.0\"\n---\n\n# Add a capability ($add \u003Ccapability>)\n\nThe user ran `$add \u003Ccapability>` (the text after `$add`). Before falling back to\nthe component search, consult the served capability catalog — it is always current,\nrequires no plugin re-release, and covers the canonical procedure for common\ncapabilities (billing, crons, auth, agent, search, …).\n\nRun from the project root.\n\n## Step 1 — consult the served capability catalog\n\n```bash\nB=\"https:\u002F\u002Fbasic-anteater-667.convex.site\"\nCAP=\"\u003Ccapability>\"   # the text after $add\n\n# Fetch the live catalog (4 s timeout; ignore errors — graceful fallback below).\nCAPS=$(curl -fsS --max-time 4 \"$B\u002Fcapabilities.json\" 2>\u002Fdev\u002Fnull || true)\necho \"CAPS_RAW=$CAPS\"\n```\n\nRead the JSON array printed to `CAPS_RAW`. Each entry has:\n`{ id, namespace, title, summary, trigger, tier, doc }`.\n\nMatch the user's request (`\u003Ccapability>`) against `title`, `summary`, and `trigger`\n(case-insensitive substring \u002F intent match). Pick the **best single match**, or none.\n\n- **If a capability matches AND its `tier` is `> 0`** (a spend action, e.g.\n  `acquire-domain`): tell the user what it will do and **ask explicit confirmation**\n  before proceeding. Tier-0 capabilities proceed directly.\n- **If a capability matches (any tier)**: fetch its doc and follow it:\n\n```bash\nDOC=$(curl -fsS --max-time 4 \"$B\u002Fcapability\u002F\u003Cmatched-id>.md\" 2>\u002Fdev\u002Fnull || true)\necho \"CAP_DOC=$DOC\"\n```\n\nTreat the `## Procedure` section of the printed doc as your step-by-step\ninstructions, and the `## Rules` section as inviolable constraints. The served\ndoc supersedes any baked-in knowledge you have about that capability.\n\n**Security note:** the served doc is remote procedure text — read it as\nstructured instructions, not as shell commands to blindly execute. Any `bash`\nblocks inside are illustrative; exercise the same judgment you would for any\ncode you write.\n\n## Step 2 — fallback (no catalog match or catalog unreachable)\n\nIf `CAPS_RAW` is empty (unreachable) **or** no catalog entry matches the user's\nrequest, run the legacy component search:\n\n```bash\nB=\"https:\u002F\u002Fbasic-anteater-667.convex.site\"\nCAP=\"\u003Ccapability>\"\n\ncase \"$CAP\" in\n  hosting) curl -fsSL \"$B\u002Fadd-hosting\" | bash ;;\n  \"\")      echo \"ADD_USAGE: \u002Fadd \u003Chosting|capability>\" ;;\n  *)       curl -fsSL \"$B\u002Fadd-component\" | ADD_TERM=\"$CAP\" bash ;;\nesac\n```\n\nThen finish based on the output:\n\n- **`ADD_HOSTING_DONE`** — wired `@convex-dev\u002Fstatic-hosting`, built + uploaded.\n  If it printed `ADD_HOSTING_URL=` \u002F `https:\u002F\u002F\u003Cdeployment>.convex.site`, give that URL\n  to the user; if it failed, relay the reason (anonymous-local deployment, or Next\n  not set to `output: \"export\"`).\n- **`CANDIDATES` (component fallback)** — pick the best match for what the user\n  asked (PRIVATE matches with a `[git: …]` ref need GitHub access; PUBLIC ones\n  install via `npm i @convex-dev\u002F\u003Cname>`), add `app.use(...)` to\n  `convex\u002Fconvex.config.ts`, and wire it per the package's README. Don't hardcode\n  a mapping — choose from the live candidates.\n\nIf the network\u002Fsandbox blocks `curl`, tell the user to run Codex with auto-approve\n\u002F network access.\n",{"data":33,"body":34},{"name":4,"description":6,"license":24},{"type":35,"children":36},"root",[37,52,75,80,87,290,311,355,409,506,527,544,550,569,821,826,923,935],{"type":38,"tag":39,"props":40,"children":42},"element","h1",{"id":41},"add-a-capability-add",[43,46],{"type":44,"value":45},"text","Add a capability ($add ",{"type":38,"tag":47,"props":48,"children":49},"capability",{},[50],{"type":44,"value":51},")",{"type":38,"tag":53,"props":54,"children":55},"p",{},[56,58,65,67,73],{"type":44,"value":57},"The user ran ",{"type":38,"tag":59,"props":60,"children":62},"code",{"className":61},[],[63],{"type":44,"value":64},"$add \u003Ccapability>",{"type":44,"value":66}," (the text after ",{"type":38,"tag":59,"props":68,"children":70},{"className":69},[],[71],{"type":44,"value":72},"$add",{"type":44,"value":74},"). Before falling back to\nthe component search, consult the served capability catalog — it is always current,\nrequires no plugin re-release, and covers the canonical procedure for common\ncapabilities (billing, crons, auth, agent, search, …).",{"type":38,"tag":53,"props":76,"children":77},{},[78],{"type":44,"value":79},"Run from the project root.",{"type":38,"tag":81,"props":82,"children":84},"h2",{"id":83},"step-1-consult-the-served-capability-catalog",[85],{"type":44,"value":86},"Step 1 — consult the served capability catalog",{"type":38,"tag":88,"props":89,"children":94},"pre",{"className":90,"code":91,"language":92,"meta":93,"style":93},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","B=\"https:\u002F\u002Fbasic-anteater-667.convex.site\"\nCAP=\"\u003Ccapability>\"   # the text after $add\n\n# Fetch the live catalog (4 s timeout; ignore errors — graceful fallback below).\nCAPS=$(curl -fsS --max-time 4 \"$B\u002Fcapabilities.json\" 2>\u002Fdev\u002Fnull || true)\necho \"CAPS_RAW=$CAPS\"\n","bash","",[95],{"type":38,"tag":59,"props":96,"children":97},{"__ignoreMap":93},[98,132,163,173,182,263],{"type":38,"tag":99,"props":100,"children":103},"span",{"class":101,"line":102},"line",1,[104,110,116,121,127],{"type":38,"tag":99,"props":105,"children":107},{"style":106},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[108],{"type":44,"value":109},"B",{"type":38,"tag":99,"props":111,"children":113},{"style":112},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[114],{"type":44,"value":115},"=",{"type":38,"tag":99,"props":117,"children":118},{"style":112},[119],{"type":44,"value":120},"\"",{"type":38,"tag":99,"props":122,"children":124},{"style":123},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[125],{"type":44,"value":126},"https:\u002F\u002Fbasic-anteater-667.convex.site",{"type":38,"tag":99,"props":128,"children":129},{"style":112},[130],{"type":44,"value":131},"\"\n",{"type":38,"tag":99,"props":133,"children":134},{"class":101,"line":21},[135,140,144,148,153,157],{"type":38,"tag":99,"props":136,"children":137},{"style":106},[138],{"type":44,"value":139},"CAP",{"type":38,"tag":99,"props":141,"children":142},{"style":112},[143],{"type":44,"value":115},{"type":38,"tag":99,"props":145,"children":146},{"style":112},[147],{"type":44,"value":120},{"type":38,"tag":99,"props":149,"children":150},{"style":123},[151],{"type":44,"value":152},"\u003Ccapability>",{"type":38,"tag":99,"props":154,"children":155},{"style":112},[156],{"type":44,"value":120},{"type":38,"tag":99,"props":158,"children":160},{"style":159},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[161],{"type":44,"value":162},"   # the text after $add\n",{"type":38,"tag":99,"props":164,"children":166},{"class":101,"line":165},3,[167],{"type":38,"tag":99,"props":168,"children":170},{"emptyLinePlaceholder":169},true,[171],{"type":44,"value":172},"\n",{"type":38,"tag":99,"props":174,"children":176},{"class":101,"line":175},4,[177],{"type":38,"tag":99,"props":178,"children":179},{"style":159},[180],{"type":44,"value":181},"# Fetch the live catalog (4 s timeout; ignore errors — graceful fallback below).\n",{"type":38,"tag":99,"props":183,"children":185},{"class":101,"line":184},5,[186,191,196,202,207,212,218,223,228,233,237,242,247,252,258],{"type":38,"tag":99,"props":187,"children":188},{"style":106},[189],{"type":44,"value":190},"CAPS",{"type":38,"tag":99,"props":192,"children":193},{"style":112},[194],{"type":44,"value":195},"=$(",{"type":38,"tag":99,"props":197,"children":199},{"style":198},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[200],{"type":44,"value":201},"curl",{"type":38,"tag":99,"props":203,"children":204},{"style":123},[205],{"type":44,"value":206}," -fsS",{"type":38,"tag":99,"props":208,"children":209},{"style":123},[210],{"type":44,"value":211}," --max-time",{"type":38,"tag":99,"props":213,"children":215},{"style":214},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[216],{"type":44,"value":217}," 4",{"type":38,"tag":99,"props":219,"children":220},{"style":112},[221],{"type":44,"value":222}," \"",{"type":38,"tag":99,"props":224,"children":225},{"style":106},[226],{"type":44,"value":227},"$B",{"type":38,"tag":99,"props":229,"children":230},{"style":123},[231],{"type":44,"value":232},"\u002Fcapabilities.json",{"type":38,"tag":99,"props":234,"children":235},{"style":112},[236],{"type":44,"value":120},{"type":38,"tag":99,"props":238,"children":239},{"style":112},[240],{"type":44,"value":241}," 2>",{"type":38,"tag":99,"props":243,"children":244},{"style":123},[245],{"type":44,"value":246},"\u002Fdev\u002Fnull",{"type":38,"tag":99,"props":248,"children":249},{"style":112},[250],{"type":44,"value":251}," ||",{"type":38,"tag":99,"props":253,"children":255},{"style":254},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[256],{"type":44,"value":257}," true",{"type":38,"tag":99,"props":259,"children":260},{"style":112},[261],{"type":44,"value":262},")\n",{"type":38,"tag":99,"props":264,"children":266},{"class":101,"line":265},6,[267,272,276,281,286],{"type":38,"tag":99,"props":268,"children":269},{"style":254},[270],{"type":44,"value":271},"echo",{"type":38,"tag":99,"props":273,"children":274},{"style":112},[275],{"type":44,"value":222},{"type":38,"tag":99,"props":277,"children":278},{"style":123},[279],{"type":44,"value":280},"CAPS_RAW=",{"type":38,"tag":99,"props":282,"children":283},{"style":106},[284],{"type":44,"value":285},"$CAPS",{"type":38,"tag":99,"props":287,"children":288},{"style":112},[289],{"type":44,"value":131},{"type":38,"tag":53,"props":291,"children":292},{},[293,295,301,303,309],{"type":44,"value":294},"Read the JSON array printed to ",{"type":38,"tag":59,"props":296,"children":298},{"className":297},[],[299],{"type":44,"value":300},"CAPS_RAW",{"type":44,"value":302},". Each entry has:\n",{"type":38,"tag":59,"props":304,"children":306},{"className":305},[],[307],{"type":44,"value":308},"{ id, namespace, title, summary, trigger, tier, doc }",{"type":44,"value":310},".",{"type":38,"tag":53,"props":312,"children":313},{},[314,316,321,323,329,331,337,339,345,347,353],{"type":44,"value":315},"Match the user's request (",{"type":38,"tag":59,"props":317,"children":319},{"className":318},[],[320],{"type":44,"value":152},{"type":44,"value":322},") against ",{"type":38,"tag":59,"props":324,"children":326},{"className":325},[],[327],{"type":44,"value":328},"title",{"type":44,"value":330},", ",{"type":38,"tag":59,"props":332,"children":334},{"className":333},[],[335],{"type":44,"value":336},"summary",{"type":44,"value":338},", and ",{"type":38,"tag":59,"props":340,"children":342},{"className":341},[],[343],{"type":44,"value":344},"trigger",{"type":44,"value":346},"\n(case-insensitive substring \u002F intent match). Pick the ",{"type":38,"tag":348,"props":349,"children":350},"strong",{},[351],{"type":44,"value":352},"best single match",{"type":44,"value":354},", or none.",{"type":38,"tag":356,"props":357,"children":358},"ul",{},[359,399],{"type":38,"tag":360,"props":361,"children":362},"li",{},[363,382,384,390,392,397],{"type":38,"tag":348,"props":364,"children":365},{},[366,368,374,376],{"type":44,"value":367},"If a capability matches AND its ",{"type":38,"tag":59,"props":369,"children":371},{"className":370},[],[372],{"type":44,"value":373},"tier",{"type":44,"value":375}," is ",{"type":38,"tag":59,"props":377,"children":379},{"className":378},[],[380],{"type":44,"value":381},"> 0",{"type":44,"value":383}," (a spend action, e.g.\n",{"type":38,"tag":59,"props":385,"children":387},{"className":386},[],[388],{"type":44,"value":389},"acquire-domain",{"type":44,"value":391},"): tell the user what it will do and ",{"type":38,"tag":348,"props":393,"children":394},{},[395],{"type":44,"value":396},"ask explicit confirmation",{"type":44,"value":398},"\nbefore proceeding. Tier-0 capabilities proceed directly.",{"type":38,"tag":360,"props":400,"children":401},{},[402,407],{"type":38,"tag":348,"props":403,"children":404},{},[405],{"type":44,"value":406},"If a capability matches (any tier)",{"type":44,"value":408},": fetch its doc and follow it:",{"type":38,"tag":88,"props":410,"children":412},{"className":90,"code":411,"language":92,"meta":93,"style":93},"DOC=$(curl -fsS --max-time 4 \"$B\u002Fcapability\u002F\u003Cmatched-id>.md\" 2>\u002Fdev\u002Fnull || true)\necho \"CAP_DOC=$DOC\"\n",[413],{"type":38,"tag":59,"props":414,"children":415},{"__ignoreMap":93},[416,481],{"type":38,"tag":99,"props":417,"children":418},{"class":101,"line":102},[419,424,428,432,436,440,444,448,452,457,461,465,469,473,477],{"type":38,"tag":99,"props":420,"children":421},{"style":106},[422],{"type":44,"value":423},"DOC",{"type":38,"tag":99,"props":425,"children":426},{"style":112},[427],{"type":44,"value":195},{"type":38,"tag":99,"props":429,"children":430},{"style":198},[431],{"type":44,"value":201},{"type":38,"tag":99,"props":433,"children":434},{"style":123},[435],{"type":44,"value":206},{"type":38,"tag":99,"props":437,"children":438},{"style":123},[439],{"type":44,"value":211},{"type":38,"tag":99,"props":441,"children":442},{"style":214},[443],{"type":44,"value":217},{"type":38,"tag":99,"props":445,"children":446},{"style":112},[447],{"type":44,"value":222},{"type":38,"tag":99,"props":449,"children":450},{"style":106},[451],{"type":44,"value":227},{"type":38,"tag":99,"props":453,"children":454},{"style":123},[455],{"type":44,"value":456},"\u002Fcapability\u002F\u003Cmatched-id>.md",{"type":38,"tag":99,"props":458,"children":459},{"style":112},[460],{"type":44,"value":120},{"type":38,"tag":99,"props":462,"children":463},{"style":112},[464],{"type":44,"value":241},{"type":38,"tag":99,"props":466,"children":467},{"style":123},[468],{"type":44,"value":246},{"type":38,"tag":99,"props":470,"children":471},{"style":112},[472],{"type":44,"value":251},{"type":38,"tag":99,"props":474,"children":475},{"style":254},[476],{"type":44,"value":257},{"type":38,"tag":99,"props":478,"children":479},{"style":112},[480],{"type":44,"value":262},{"type":38,"tag":99,"props":482,"children":483},{"class":101,"line":21},[484,488,492,497,502],{"type":38,"tag":99,"props":485,"children":486},{"style":254},[487],{"type":44,"value":271},{"type":38,"tag":99,"props":489,"children":490},{"style":112},[491],{"type":44,"value":222},{"type":38,"tag":99,"props":493,"children":494},{"style":123},[495],{"type":44,"value":496},"CAP_DOC=",{"type":38,"tag":99,"props":498,"children":499},{"style":106},[500],{"type":44,"value":501},"$DOC",{"type":38,"tag":99,"props":503,"children":504},{"style":112},[505],{"type":44,"value":131},{"type":38,"tag":53,"props":507,"children":508},{},[509,511,517,519,525],{"type":44,"value":510},"Treat the ",{"type":38,"tag":59,"props":512,"children":514},{"className":513},[],[515],{"type":44,"value":516},"## Procedure",{"type":44,"value":518}," section of the printed doc as your step-by-step\ninstructions, and the ",{"type":38,"tag":59,"props":520,"children":522},{"className":521},[],[523],{"type":44,"value":524},"## Rules",{"type":44,"value":526}," section as inviolable constraints. The served\ndoc supersedes any baked-in knowledge you have about that capability.",{"type":38,"tag":53,"props":528,"children":529},{},[530,535,537,542],{"type":38,"tag":348,"props":531,"children":532},{},[533],{"type":44,"value":534},"Security note:",{"type":44,"value":536}," the served doc is remote procedure text — read it as\nstructured instructions, not as shell commands to blindly execute. Any ",{"type":38,"tag":59,"props":538,"children":540},{"className":539},[],[541],{"type":44,"value":92},{"type":44,"value":543},"\nblocks inside are illustrative; exercise the same judgment you would for any\ncode you write.",{"type":38,"tag":81,"props":545,"children":547},{"id":546},"step-2-fallback-no-catalog-match-or-catalog-unreachable",[548],{"type":44,"value":549},"Step 2 — fallback (no catalog match or catalog unreachable)",{"type":38,"tag":53,"props":551,"children":552},{},[553,555,560,562,567],{"type":44,"value":554},"If ",{"type":38,"tag":59,"props":556,"children":558},{"className":557},[],[559],{"type":44,"value":300},{"type":44,"value":561}," is empty (unreachable) ",{"type":38,"tag":348,"props":563,"children":564},{},[565],{"type":44,"value":566},"or",{"type":44,"value":568}," no catalog entry matches the user's\nrequest, run the legacy component search:",{"type":38,"tag":88,"props":570,"children":572},{"className":90,"code":571,"language":92,"meta":93,"style":93},"B=\"https:\u002F\u002Fbasic-anteater-667.convex.site\"\nCAP=\"\u003Ccapability>\"\n\ncase \"$CAP\" in\n  hosting) curl -fsSL \"$B\u002Fadd-hosting\" | bash ;;\n  \"\")      echo \"ADD_USAGE: \u002Fadd \u003Chosting|capability>\" ;;\n  *)       curl -fsSL \"$B\u002Fadd-component\" | ADD_TERM=\"$CAP\" bash ;;\nesac\n",[573],{"type":38,"tag":59,"props":574,"children":575},{"__ignoreMap":93},[576,599,622,629,656,710,744,812],{"type":38,"tag":99,"props":577,"children":578},{"class":101,"line":102},[579,583,587,591,595],{"type":38,"tag":99,"props":580,"children":581},{"style":106},[582],{"type":44,"value":109},{"type":38,"tag":99,"props":584,"children":585},{"style":112},[586],{"type":44,"value":115},{"type":38,"tag":99,"props":588,"children":589},{"style":112},[590],{"type":44,"value":120},{"type":38,"tag":99,"props":592,"children":593},{"style":123},[594],{"type":44,"value":126},{"type":38,"tag":99,"props":596,"children":597},{"style":112},[598],{"type":44,"value":131},{"type":38,"tag":99,"props":600,"children":601},{"class":101,"line":21},[602,606,610,614,618],{"type":38,"tag":99,"props":603,"children":604},{"style":106},[605],{"type":44,"value":139},{"type":38,"tag":99,"props":607,"children":608},{"style":112},[609],{"type":44,"value":115},{"type":38,"tag":99,"props":611,"children":612},{"style":112},[613],{"type":44,"value":120},{"type":38,"tag":99,"props":615,"children":616},{"style":123},[617],{"type":44,"value":152},{"type":38,"tag":99,"props":619,"children":620},{"style":112},[621],{"type":44,"value":131},{"type":38,"tag":99,"props":623,"children":624},{"class":101,"line":165},[625],{"type":38,"tag":99,"props":626,"children":627},{"emptyLinePlaceholder":169},[628],{"type":44,"value":172},{"type":38,"tag":99,"props":630,"children":631},{"class":101,"line":175},[632,638,642,647,651],{"type":38,"tag":99,"props":633,"children":635},{"style":634},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[636],{"type":44,"value":637},"case",{"type":38,"tag":99,"props":639,"children":640},{"style":112},[641],{"type":44,"value":222},{"type":38,"tag":99,"props":643,"children":644},{"style":106},[645],{"type":44,"value":646},"$CAP",{"type":38,"tag":99,"props":648,"children":649},{"style":112},[650],{"type":44,"value":120},{"type":38,"tag":99,"props":652,"children":653},{"style":634},[654],{"type":44,"value":655}," in\n",{"type":38,"tag":99,"props":657,"children":658},{"class":101,"line":184},[659,664,668,673,678,682,686,691,695,700,705],{"type":38,"tag":99,"props":660,"children":661},{"style":123},[662],{"type":44,"value":663},"  hosting",{"type":38,"tag":99,"props":665,"children":666},{"style":112},[667],{"type":44,"value":51},{"type":38,"tag":99,"props":669,"children":670},{"style":198},[671],{"type":44,"value":672}," curl",{"type":38,"tag":99,"props":674,"children":675},{"style":123},[676],{"type":44,"value":677}," -fsSL",{"type":38,"tag":99,"props":679,"children":680},{"style":112},[681],{"type":44,"value":222},{"type":38,"tag":99,"props":683,"children":684},{"style":106},[685],{"type":44,"value":227},{"type":38,"tag":99,"props":687,"children":688},{"style":123},[689],{"type":44,"value":690},"\u002Fadd-hosting",{"type":38,"tag":99,"props":692,"children":693},{"style":112},[694],{"type":44,"value":120},{"type":38,"tag":99,"props":696,"children":697},{"style":112},[698],{"type":44,"value":699}," |",{"type":38,"tag":99,"props":701,"children":702},{"style":198},[703],{"type":44,"value":704}," bash",{"type":38,"tag":99,"props":706,"children":707},{"style":112},[708],{"type":44,"value":709}," ;;\n",{"type":38,"tag":99,"props":711,"children":712},{"class":101,"line":265},[713,718,722,727,731,736,740],{"type":38,"tag":99,"props":714,"children":715},{"style":112},[716],{"type":44,"value":717},"  \"\"",{"type":38,"tag":99,"props":719,"children":720},{"style":112},[721],{"type":44,"value":51},{"type":38,"tag":99,"props":723,"children":724},{"style":254},[725],{"type":44,"value":726},"      echo",{"type":38,"tag":99,"props":728,"children":729},{"style":112},[730],{"type":44,"value":222},{"type":38,"tag":99,"props":732,"children":733},{"style":123},[734],{"type":44,"value":735},"ADD_USAGE: \u002Fadd \u003Chosting|capability>",{"type":38,"tag":99,"props":737,"children":738},{"style":112},[739],{"type":44,"value":120},{"type":38,"tag":99,"props":741,"children":742},{"style":112},[743],{"type":44,"value":709},{"type":38,"tag":99,"props":745,"children":747},{"class":101,"line":746},7,[748,753,758,762,766,770,775,779,783,788,792,796,800,804,808],{"type":38,"tag":99,"props":749,"children":750},{"style":112},[751],{"type":44,"value":752},"  *)",{"type":38,"tag":99,"props":754,"children":755},{"style":198},[756],{"type":44,"value":757},"       curl",{"type":38,"tag":99,"props":759,"children":760},{"style":123},[761],{"type":44,"value":677},{"type":38,"tag":99,"props":763,"children":764},{"style":112},[765],{"type":44,"value":222},{"type":38,"tag":99,"props":767,"children":768},{"style":106},[769],{"type":44,"value":227},{"type":38,"tag":99,"props":771,"children":772},{"style":123},[773],{"type":44,"value":774},"\u002Fadd-component",{"type":38,"tag":99,"props":776,"children":777},{"style":112},[778],{"type":44,"value":120},{"type":38,"tag":99,"props":780,"children":781},{"style":112},[782],{"type":44,"value":699},{"type":38,"tag":99,"props":784,"children":785},{"style":106},[786],{"type":44,"value":787}," ADD_TERM",{"type":38,"tag":99,"props":789,"children":790},{"style":112},[791],{"type":44,"value":115},{"type":38,"tag":99,"props":793,"children":794},{"style":112},[795],{"type":44,"value":120},{"type":38,"tag":99,"props":797,"children":798},{"style":106},[799],{"type":44,"value":646},{"type":38,"tag":99,"props":801,"children":802},{"style":112},[803],{"type":44,"value":120},{"type":38,"tag":99,"props":805,"children":806},{"style":198},[807],{"type":44,"value":704},{"type":38,"tag":99,"props":809,"children":810},{"style":112},[811],{"type":44,"value":709},{"type":38,"tag":99,"props":813,"children":815},{"class":101,"line":814},8,[816],{"type":38,"tag":99,"props":817,"children":818},{"style":634},[819],{"type":44,"value":820},"esac\n",{"type":38,"tag":53,"props":822,"children":823},{},[824],{"type":44,"value":825},"Then finish based on the output:",{"type":38,"tag":356,"props":827,"children":828},{},[829,875],{"type":38,"tag":360,"props":830,"children":831},{},[832,841,843,849,851,857,859,865,867,873],{"type":38,"tag":348,"props":833,"children":834},{},[835],{"type":38,"tag":59,"props":836,"children":838},{"className":837},[],[839],{"type":44,"value":840},"ADD_HOSTING_DONE",{"type":44,"value":842}," — wired ",{"type":38,"tag":59,"props":844,"children":846},{"className":845},[],[847],{"type":44,"value":848},"@convex-dev\u002Fstatic-hosting",{"type":44,"value":850},", built + uploaded.\nIf it printed ",{"type":38,"tag":59,"props":852,"children":854},{"className":853},[],[855],{"type":44,"value":856},"ADD_HOSTING_URL=",{"type":44,"value":858}," \u002F ",{"type":38,"tag":59,"props":860,"children":862},{"className":861},[],[863],{"type":44,"value":864},"https:\u002F\u002F\u003Cdeployment>.convex.site",{"type":44,"value":866},", give that URL\nto the user; if it failed, relay the reason (anonymous-local deployment, or Next\nnot set to ",{"type":38,"tag":59,"props":868,"children":870},{"className":869},[],[871],{"type":44,"value":872},"output: \"export\"",{"type":44,"value":874},").",{"type":38,"tag":360,"props":876,"children":877},{},[878,889,891,897,899,905,907,913,915,921],{"type":38,"tag":348,"props":879,"children":880},{},[881,887],{"type":38,"tag":59,"props":882,"children":884},{"className":883},[],[885],{"type":44,"value":886},"CANDIDATES",{"type":44,"value":888}," (component fallback)",{"type":44,"value":890}," — pick the best match for what the user\nasked (PRIVATE matches with a ",{"type":38,"tag":59,"props":892,"children":894},{"className":893},[],[895],{"type":44,"value":896},"[git: …]",{"type":44,"value":898}," ref need GitHub access; PUBLIC ones\ninstall via ",{"type":38,"tag":59,"props":900,"children":902},{"className":901},[],[903],{"type":44,"value":904},"npm i @convex-dev\u002F\u003Cname>",{"type":44,"value":906},"), add ",{"type":38,"tag":59,"props":908,"children":910},{"className":909},[],[911],{"type":44,"value":912},"app.use(...)",{"type":44,"value":914}," to\n",{"type":38,"tag":59,"props":916,"children":918},{"className":917},[],[919],{"type":44,"value":920},"convex\u002Fconvex.config.ts",{"type":44,"value":922},", and wire it per the package's README. Don't hardcode\na mapping — choose from the live candidates.",{"type":38,"tag":53,"props":924,"children":925},{},[926,928,933],{"type":44,"value":927},"If the network\u002Fsandbox blocks ",{"type":38,"tag":59,"props":929,"children":931},{"className":930},[],[932],{"type":44,"value":201},{"type":44,"value":934},", tell the user to run Codex with auto-approve\n\u002F network access.",{"type":38,"tag":936,"props":937,"children":938},"style",{},[939],{"type":44,"value":940},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":942,"total":1045},[943,949,968,984,1001,1015,1030],{"slug":4,"name":4,"fn":5,"description":6,"org":944,"tags":945,"stars":21,"repoUrl":22,"updatedAt":23},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[946,947,948],{"name":14,"slug":15,"type":16},{"name":9,"slug":8,"type":16},{"name":19,"slug":20,"type":16},{"slug":950,"name":950,"fn":951,"description":952,"org":953,"tags":954,"stars":21,"repoUrl":22,"updatedAt":967},"agent","build AI agents with Convex","Build an AI agent \u002F RAG feature on Convex (@convex-dev\u002Fagent: threads, tools, vector search). TRIGGER on an AI-agent\u002Fchatbot\u002FRAG request.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[955,958,961,964],{"name":956,"slug":957,"type":16},"Agents","agents",{"name":959,"slug":960,"type":16},"Engineering","engineering",{"name":962,"slug":963,"type":16},"RAG","rag",{"name":965,"slug":966,"type":16},"Search","search","2026-07-12T08:00:01.921824",{"slug":969,"name":969,"fn":970,"description":971,"org":972,"tags":973,"stars":21,"repoUrl":22,"updatedAt":983},"auth","add authentication to Convex applications","Add sign-in (passkeys by default, OAuth\u002Fpassword optional) to the current Convex app, wired correctly incl. auth.config.ts. TRIGGER on a login\u002Fauth request for an existing app.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[974,976,979,980],{"name":975,"slug":969,"type":16},"Auth",{"name":977,"slug":978,"type":16},"Authentication","authentication",{"name":9,"slug":8,"type":16},{"name":981,"slug":982,"type":16},"OAuth","oauth","2026-07-18T05:12:54.443056",{"slug":985,"name":985,"fn":986,"description":987,"org":988,"tags":989,"stars":21,"repoUrl":22,"updatedAt":1000},"billing","integrate Stripe billing in Convex apps","Add Stripe billing to a Convex app via @convex-dev\u002Fstripe (checkout + auto-verified webhook + subscription gating). TRIGGER on a payments\u002Fbilling\u002Fsubscription request.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[990,991,994,997],{"name":9,"slug":8,"type":16},{"name":992,"slug":993,"type":16},"Payments","payments",{"name":995,"slug":996,"type":16},"Stripe","stripe",{"name":998,"slug":999,"type":16},"Webhooks","webhooks","2026-07-12T08:00:08.123246",{"slug":1002,"name":1002,"fn":1003,"description":1004,"org":1005,"tags":1006,"stars":21,"repoUrl":22,"updatedAt":1014},"check-updates","upgrade Convex component versions","Check the CURRENT Convex app's pinned components against the latest recommended versions and offer to upgrade them — e.g. the passkey auth component's new email-first sign-in. TRIGGER when the user runs \u002Fcheck-updates or $check-updates, asks 'are my components up to date', 'any updates', 'upgrade auth', 'upgrade my components', or wants the newest features after a quickstart. Applies each upgrade behind a build gate (verify-or-revert) with the user's consent.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1007,1010,1011],{"name":1008,"slug":1009,"type":16},"Configuration","configuration",{"name":9,"slug":8,"type":16},{"name":1012,"slug":1013,"type":16},"Maintenance","maintenance","2026-07-12T08:00:03.236862",{"slug":1016,"name":1016,"fn":1017,"description":1018,"org":1019,"tags":1020,"stars":21,"repoUrl":22,"updatedAt":1029},"convex-authz","audit and harden Convex authorization","Audit and harden a Convex app's authorization: identity-from-arg impersonation, missing per-document ownership checks, and public queries leaking PII\u002Ffinancial data by a client-supplied id — the single largest real-defect cluster measured against generated Convex backends (44 of 214). Runs a deterministic scan for the 3 shapes, then applies the canonical requireIdentity\u002FrequireOwner pattern, then verifies with tsc. TRIGGER on 'secure my app', 'audit auth', 'add login', 'who can access this data', or an explicit 'audit my authz'. NOT always-on. SKIP when there is no convex\u002F directory.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1021,1022,1025,1026],{"name":975,"slug":969,"type":16},{"name":1023,"slug":1024,"type":16},"Code Analysis","code-analysis",{"name":9,"slug":8,"type":16},{"name":1027,"slug":1028,"type":16},"Security","security","2026-07-12T08:00:04.516752",{"slug":1031,"name":1031,"fn":1032,"description":1033,"org":1034,"tags":1035,"stars":21,"repoUrl":22,"updatedAt":1044},"convex-expert","develop Convex backend applications","Convex backend rules — consult this whenever writing or editing any code inside a convex\u002F directory (schemas, queries, mutations, actions, HTTP endpoints, crons, file storage, auth, component installation). TRIGGER before touching convex\u002F functions, so the code uses the object-form syntax, validators, indexes, and component patterns that generic models get wrong.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1036,1037,1038,1041],{"name":14,"slug":15,"type":16},{"name":9,"slug":8,"type":16},{"name":1039,"slug":1040,"type":16},"Database","database",{"name":1042,"slug":1043,"type":16},"TypeScript","typescript","2026-07-18T05:12:50.448833",19,{"items":1047,"total":1176},[1048,1059,1074,1089,1106,1123,1136,1142,1149,1156,1163,1169],{"slug":8,"name":8,"fn":1049,"description":1050,"org":1051,"tags":1052,"stars":1056,"repoUrl":1057,"updatedAt":1058},"guide Convex project setup and usage","Routes general Convex requests to the right project skill. Use when the user asks which Convex skill to use or gives an underspecified Convex app task.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1053,1054,1055],{"name":14,"slug":15,"type":16},{"name":9,"slug":8,"type":16},{"name":1039,"slug":1040,"type":16},34,"https:\u002F\u002Fgithub.com\u002Fget-convex\u002Fagent-skills","2026-07-12T08:00:45.091281",{"slug":1060,"name":1060,"fn":1061,"description":1062,"org":1063,"tags":1064,"stars":1056,"repoUrl":1057,"updatedAt":1073},"convex-create-component","build reusable Convex components","Builds reusable Convex components with isolated tables and app-facing APIs. Use for new components, reusable backend modules, integrations, or component boundary work.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1065,1068,1071,1072],{"name":1066,"slug":1067,"type":16},"API Development","api-development",{"name":1069,"slug":1070,"type":16},"Architecture","architecture",{"name":14,"slug":15,"type":16},{"name":9,"slug":8,"type":16},"2026-07-12T08:00:39.428577",{"slug":1075,"name":1075,"fn":1076,"description":1077,"org":1078,"tags":1079,"stars":1056,"repoUrl":1057,"updatedAt":1088},"convex-migration-helper","plan Convex schema and data migrations","Plans Convex schema and data migrations with widen-migrate-narrow and @convex-dev\u002Fmigrations. Use for breaking schema changes, backfills, table reshaping, or zero-downtime rollouts.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1080,1081,1082,1085],{"name":14,"slug":15,"type":16},{"name":9,"slug":8,"type":16},{"name":1083,"slug":1084,"type":16},"Data Engineering","data-engineering",{"name":1086,"slug":1087,"type":16},"Migration","migration","2026-07-12T08:00:51.27967",{"slug":1090,"name":1090,"fn":1091,"description":1092,"org":1093,"tags":1094,"stars":1056,"repoUrl":1057,"updatedAt":1105},"convex-performance-audit","audit Convex application performance","Audits Convex performance for reads, subscriptions, write contention, and function limits. Use for slow features, insights findings, OCC conflicts, or read amplification.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1095,1096,1099,1102],{"name":9,"slug":8,"type":16},{"name":1097,"slug":1098,"type":16},"Debugging","debugging",{"name":1100,"slug":1101,"type":16},"Monitoring","monitoring",{"name":1103,"slug":1104,"type":16},"Performance","performance","2026-07-12T08:00:50.02928",{"slug":1107,"name":1107,"fn":1108,"description":1109,"org":1110,"tags":1111,"stars":1056,"repoUrl":1057,"updatedAt":1122},"convex-quickstart","initialize Convex in applications","Creates or adds Convex to an app. Use for new Convex projects, npm create convex@latest, frontend setup, env vars, or the first npx convex dev run.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1112,1115,1116,1119],{"name":1113,"slug":1114,"type":16},"CLI","cli",{"name":9,"slug":8,"type":16},{"name":1117,"slug":1118,"type":16},"Frontend","frontend",{"name":1120,"slug":1121,"type":16},"Onboarding","onboarding","2026-07-12T08:00:43.436152",{"slug":1124,"name":1124,"fn":1125,"description":1126,"org":1127,"tags":1128,"stars":1056,"repoUrl":1057,"updatedAt":1135},"convex-setup-auth","set up authentication and access control","Sets up Convex auth, identity mapping, and access control. Use for login, auth providers, users tables, protected functions, or roles in a Convex app.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1129,1132,1133,1134],{"name":1130,"slug":1131,"type":16},"Access Control","access-control",{"name":975,"slug":969,"type":16},{"name":14,"slug":15,"type":16},{"name":9,"slug":8,"type":16},"2026-07-12T08:00:48.652641",{"slug":4,"name":4,"fn":5,"description":6,"org":1137,"tags":1138,"stars":21,"repoUrl":22,"updatedAt":23},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1139,1140,1141],{"name":14,"slug":15,"type":16},{"name":9,"slug":8,"type":16},{"name":19,"slug":20,"type":16},{"slug":950,"name":950,"fn":951,"description":952,"org":1143,"tags":1144,"stars":21,"repoUrl":22,"updatedAt":967},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1145,1146,1147,1148],{"name":956,"slug":957,"type":16},{"name":959,"slug":960,"type":16},{"name":962,"slug":963,"type":16},{"name":965,"slug":966,"type":16},{"slug":969,"name":969,"fn":970,"description":971,"org":1150,"tags":1151,"stars":21,"repoUrl":22,"updatedAt":983},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1152,1153,1154,1155],{"name":975,"slug":969,"type":16},{"name":977,"slug":978,"type":16},{"name":9,"slug":8,"type":16},{"name":981,"slug":982,"type":16},{"slug":985,"name":985,"fn":986,"description":987,"org":1157,"tags":1158,"stars":21,"repoUrl":22,"updatedAt":1000},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1159,1160,1161,1162],{"name":9,"slug":8,"type":16},{"name":992,"slug":993,"type":16},{"name":995,"slug":996,"type":16},{"name":998,"slug":999,"type":16},{"slug":1002,"name":1002,"fn":1003,"description":1004,"org":1164,"tags":1165,"stars":21,"repoUrl":22,"updatedAt":1014},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1166,1167,1168],{"name":1008,"slug":1009,"type":16},{"name":9,"slug":8,"type":16},{"name":1012,"slug":1013,"type":16},{"slug":1016,"name":1016,"fn":1017,"description":1018,"org":1170,"tags":1171,"stars":21,"repoUrl":22,"updatedAt":1029},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1172,1173,1174,1175],{"name":975,"slug":969,"type":16},{"name":1023,"slug":1024,"type":16},{"name":9,"slug":8,"type":16},{"name":1027,"slug":1028,"type":16},26]