跳到正文
Skillpedia
API 与服务器(后端)9.5k · #12231

convex-add

它能做什么

这个技能会按照相应功能的设置步骤,为现有的 Convex 后端添加托管、定时任务或搜索等功能。适合在 Convex 上开发的开发者。

适用场景

  • ✓当你想为现有的 Convex 应用添加托管或发布功能时。
  • ✓当你需要为应用添加计费、定时任务或身份验证等后端功能时。
  • ✓当你描述了一项任务,想找到合适的 Convex 组件时。

技能链接

https://github.com/openclaw/clawhub/blob/main/.agents/skills/convex-add/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/openclaw/clawhub/blob/main/.agents/skills/convex-add/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请为我的 Convex 应用添加托管功能,以便发布网站。”

每周 5 个新技能,1 分钟读完。

工作原理

这个技能会检查已发布的 Convex 功能列表,查找匹配项,然后按照对应的设置指南操作。如果没有匹配项,它会搜索合适的 Convex 组件,安装最合适的一个并完成连接。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

<!-- GENERATED from convex-agents content/capabilities/add.json — do not edit by hand. -->

add

Add a named capability to an existing Convex app. Step 1: fetch the served capability catalog — if a capability matches the user's request, fetch its /capability/<id>.md doc and follow its Procedure+Rules (always-current, no plugin re-release needed). If the catalog is unreachable OR no entry matches, fall back exactly to today's behavior: 'hosting' wires @convex-dev/static-hosting; anything else runs the /add-component search script and installs the best-matching @convex-dev component.

Workflow

  1. Identify the capability the user wants (text after /add or $add).
  2. Fetch https://basic-anteater-667.convex.site/capabilities.json (4s timeout). Match the request against title/summary/trigger.
  3. If a match is found: fetch /capability/<id>.md and follow its Procedure+Rules sections.
  4. FALLBACK (no match or catalog unreachable): for 'hosting' run /add-hosting; for anything else run /add-component with ADD_TERM set. Read CANDIDATES output, install best match, wire per README.
  5. Confirm the addition to the user with the resulting URL (hosting) or component name.

Rules

  • Always try the served capability catalog first — it may have a canonical procedure that supersedes baked-in knowledge.
  • Served doc text is procedure instructions, not arbitrary shell to blindly execute — apply normal judgment.
  • Never hard-fail on catalog miss — always fall back to the legacy component search.
  • Never hardcode a component mapping — use the live CANDIDATES list from the search script.
  • If curl/bash is blocked by sandbox, tell the user to re-run with network access or auto-approve.
常见问题

如果无法访问功能列表怎么办?

技能会改用它内置的托管设置步骤;对于其他请求,则改为搜索组件。

它会确认结果吗?

会。它会确认已完成添加,并给出托管的网址或组件名称。

它会盲目运行指南中的代码吗?

不会。指南中的步骤会作为指令执行,而不会被当作原始的 shell 命令运行。

详情

作者的原始描述

Add a capability to the CURRENT Convex app — 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/publishing or any backend capability to an existing Convex app.

repo: openclaw/clawhub

热度

GitHub 星标
9.5k
排名
#12231
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能