[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M698RMNEZ69DXN3X11MRPJZN":3,"skill-same:01M698RMNEZ69DXN3X11MRPJZN":77},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":10,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":29,"publishedAt":48,"linkOnly":49,"markdownContent":50,"markdownBody":51,"frontMatter":52,"refName":53,"commitSha":54,"skillDirectory":55,"forksCount":56,"repositoryHtmlUrl":57,"repositoryHomepageUrl":58,"ownerHtmlUrl":59,"ownerBlogUrl":60,"ownerDescription":61,"updatedAt":62,"install":63,"resources":76},"01M698RMNEZ69DXN3X11MRPJZN","convex-retention","Convex 数据保留与清理策略","Use when adding or changing ClawHub Convex tables, TTL fields, cleanup crons, retention policy, auth\u002Fsession cleanup, metric dedupe cleanup, or deprecated table removal","用于添加或更改 ClawHub Convex 表、TTL 字段、清理定时任务（cron）、保留策略、认证\u002F会话清理、指标去重清理或弃用表移除时使用。","openclaw\u002Fclawhub","openclaw","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F252820863?v=4","01M698P3FSAZ6B4R928ZF19KPT","01M698PDMKEC6E49395505BD05",9555,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fclawhub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fconvex-retention\u002FSKILL.md",[19,24],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BQ6TKQDF2K4KQS863Q79P4","开发参考","SCENARIO","使用场景",{"categoryNo":25,"categoryName":26,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",[30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47],"convex retention","convex","retention","when","clawhub convex","fields","metric","deprecated","tables","ttl","session cleanup","use","session","table","cleanup","auth","policy","clawhub","2026-11-10 10:12:30",false,"---\nname: convex-retention\ndescription: Use when adding or changing ClawHub Convex tables, TTL fields, cleanup crons, retention policy, auth\u002Fsession cleanup, metric dedupe cleanup, or deprecated table removal\n---\n\n# Convex Retention\n\n## Overview\n\nClawHub retention is code-owned. Every current Convex table must be classified in\n`convex\u002Flib\u002FretentionPolicy.ts`, and ephemeral tables need an indexed, bounded cleanup path unless\ntheir lifecycle is handled by usage-time validation or a documented component.\n\n## Checklist\n\n- Use `clawhub-convex` and read `convex\u002F_generated\u002Fai\u002Fguidelines.md` first.\n- Add every new schema table to `RETENTION_POLICIES`; the `Record\u003CTableNames, RetentionPolicy>` type\n  is the enforcement gate.\n- For ephemeral tables, prefer an explicit expiration field plus index, then prune with `.withIndex()`\n  and `.take(...)`.\n- For new generic TTL tables, prefer `expirationTime` to match Convex Auth. Keep existing `expiresAt`,\n  `dayStart`, and `processedAt` fields unless that table already needs a real migration.\n- Use `RETENTION_STANDARD_BATCH_SIZE` for ordinary retention jobs. Keep incident-tested special cases,\n  such as `skillStatEvents`, on their documented caps.\n- Cron jobs should schedule bounded cleanup entrypoints only. Large one-off production migrations or\n  destructive backfills still start with `convex-migration-helper`.\n- Do not bulk-clear active auth state. Expired `authSessions` and `authRefreshTokens` are pruned by\n  `convex\u002Fretention.ts`.\n\n## Verification\n\n- Add or update focused tests for policy classification and cleanup behavior.\n- Run the focused Vitest slice for touched cleanup modules.\n- Run `bunx convex codegen` after schema\u002FAPI changes.\n- Run a real Convex runtime check such as `bunx convex dev --once --typecheck=disable`.\n","# Convex Retention\n\n## Overview\n\nClawHub retention is code-owned. Every current Convex table must be classified in\n`convex\u002Flib\u002FretentionPolicy.ts`, and ephemeral tables need an indexed, bounded cleanup path unless\ntheir lifecycle is handled by usage-time validation or a documented component.\n\n## Checklist\n\n- Use `clawhub-convex` and read `convex\u002F_generated\u002Fai\u002Fguidelines.md` first.\n- Add every new schema table to `RETENTION_POLICIES`; the `Record\u003CTableNames, RetentionPolicy>` type\n  is the enforcement gate.\n- For ephemeral tables, prefer an explicit expiration field plus index, then prune with `.withIndex()`\n  and `.take(...)`.\n- For new generic TTL tables, prefer `expirationTime` to match Convex Auth. Keep existing `expiresAt`,\n  `dayStart`, and `processedAt` fields unless that table already needs a real migration.\n- Use `RETENTION_STANDARD_BATCH_SIZE` for ordinary retention jobs. Keep incident-tested special cases,\n  such as `skillStatEvents`, on their documented caps.\n- Cron jobs should schedule bounded cleanup entrypoints only. Large one-off production migrations or\n  destructive backfills still start with `convex-migration-helper`.\n- Do not bulk-clear active auth state. Expired `authSessions` and `authRefreshTokens` are pruned by\n  `convex\u002Fretention.ts`.\n\n## Verification\n\n- Add or update focused tests for policy classification and cleanup behavior.\n- Run the focused Vitest slice for touched cleanup modules.\n- Run `bunx convex codegen` after schema\u002FAPI changes.\n- Run a real Convex runtime check such as `bunx convex dev --once --typecheck=disable`.\n",{"name":5,"description":7},"main","fd6beef619775fe02dd2548b0658bf88b46d7740",".agents\u002Fskills\u002Fconvex-retention",1492,"https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fclawhub","https:\u002F\u002Fclawhub.ai","https:\u002F\u002Fgithub.com\u002Fopenclaw","https:\u002F\u002Fopenclaw.ai","Your personal, open source AI assistant.","2026-11-15 03:03:27",{"source":9,"skillName":5,"commands":64,"prompt":74,"zipAvailable":75},[65,68,71],{"tool":66,"command":67},"npx","npx skills add openclaw\u002Fclawhub --skill convex-retention",{"tool":69,"command":70},"bunx","bunx skills add openclaw\u002Fclawhub --skill convex-retention",{"tool":72,"command":73},"pnpm","pnpm dlx skills add openclaw\u002Fclawhub --skill convex-retention","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fclawhub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fconvex-retention\u002FSKILL.md",true,[],[78,86,93,124,152,173],{"skillNo":79,"name":80,"nameZh":16,"description":81,"descriptionZh":16,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":10,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":85},"01M7415W7GWE5XEH7ETJ1YWCF2","notes","Turn user-provided notes into a concise agenda.","https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fclawhub\u002Fblob\u002Fmain\u002Fscripts\u002Fsecurity\u002Ffixtures\u002Ftemplate-qualification\u002Fskills\u002Fnotes\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":87,"name":88,"nameZh":16,"description":89,"descriptionZh":16,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":10,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":85},"01M7415V57FG63ZGV9W35MV3TH","hosted-research","Read approved reference material for the hosted proof.","https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fclawhub\u002Fblob\u002Fmain\u002Ffixtures\u002Ftemplates\u002Fhosted-e2e\u002Fpackage\u002Fskills\u002Fresearch\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":96,"description":97,"descriptionZh":98,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":10,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":99,"categories":100,"keywords":107,"publishedAt":48},"01M698QE868QCJ1HN5H03NAKCZ","convex-advisor","Convex 部署性能诊断","Read the Convex deployment's 72h insights (read limits, OCC contention), root-cause each event in code, report evidence-backed perf\u002Fcost findings with fixes.","读取 Convex 部署的 72 小时洞察数据（读取限制、OCC 争用），在代码中逐一定位每个事件的根因，报告有证据支撑的性能\u002F成本问题及修复方案。","https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fclawhub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fconvex-advisor\u002FSKILL.md",[101,104],{"categoryNo":102,"categoryName":103,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BQGD3B3T8FK02S5JVCZA1M","运维监控与告警",{"categoryNo":105,"categoryName":106,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BQGD4WETX0HM3SM9QKQ15B","SRE 工程师",[108,109,31,110,111,112,113,114,115,116,117,118,119,120,121,122,123],"convex advisor","advisor","with","cost","perf","evidence","limits","fixes","event","deployment","read","report","insights","code","root","root-cause",{"skillNo":125,"name":126,"nameZh":127,"description":128,"descriptionZh":129,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":10,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":130,"categories":131,"keywords":134,"publishedAt":48},"01M698QD01M039DZ8WCRE8J6WY","convex-add","Convex 应用能力扩展","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 \u002Fadd, or asks to add hosting\u002Fpublishing or any backend capability to an existing Convex app.","向当前 Convex 应用添加功能——查阅所提供服务的 Convex 能力目录以获取始终最新的流程（计费、定时任务、认证、智能体、搜索等）；若不可用则回退到内置托管或 @convex-dev 组件搜索。当用户运行 \u002Fadd，或要求向现有 Convex 应用添加托管\u002F发布功能或任何后端能力时触发。","https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fclawhub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fconvex-add\u002FSKILL.md",[132,133],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},{"categoryNo":25,"categoryName":26,"taxonomyType":27,"taxonomyTypeDesc":28},[135,31,136,137,138,33,139,140,45,141,142,143,144,145,146,147,148,149,150,151],"add","convex add","publishing","user","Existing","dev","hosting","catalog","trigger","search","for","back","capability","backend","app","billing","component",{"skillNo":153,"name":154,"nameZh":155,"description":156,"descriptionZh":157,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":10,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":158,"categories":159,"keywords":164,"publishedAt":48},"01M698QBS5JVY310XM3RGFZCK4","convex-acquire-domain","Convex 域名购买与绑定","Find and buy a domain for the current Convex app through Convex, then bind it (labs; spend action).","通过 Convex 为当前 Convex 应用查找并购买域名，然后进行绑定（实验室环境；消费操作）。","https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fclawhub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fconvex-acquire-domain\u002FSKILL.md",[160,161],{"categoryNo":105,"categoryName":106,"taxonomyType":27,"taxonomyTypeDesc":28},{"categoryNo":162,"categoryName":163,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BQNXPY1AV6BSR5VKHDMWRH","部署与发布管理",[31,165,166,167,168,149,145,169,170,171,172],"domain","acquire","convex acquire domain","bind","find","buy","action","it",{"skillNo":174,"name":175,"nameZh":176,"description":177,"descriptionZh":178,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":10,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":179,"categories":180,"keywords":187,"publishedAt":48},"01M698Q9P74GJAVDMCP33QBBWX","controlling-costs","Axiom 成本优化分析","Analyzes Axiom query patterns to find unused data, then builds dashboards and monitors for cost optimization. Use when asked to reduce Axiom costs, find unused columns or field values, identify data waste, or track ingest spend.","分析 Axiom 查询模式以找出未使用的数据，随后构建仪表盘和监控以实现成本优化。适用于降低 Axiom 成本、查找未使用的列或字段值、识别数据浪费，或跟踪数据摄取支出。","https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fclawhub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcontrolling-costs\u002FSKILL.md",[181,184],{"categoryNo":182,"categoryName":183,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BQGD4CMBM6B4PWSM1NXGT9","数据分析与报告",{"categoryNo":185,"categoryName":186,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BQGD5CX980XNXCJKQF70BY","数据分析师",[188,189,145,190,191,192,193,41,33,194,195,111,196,197,198,169,199,200,201],"controlling costs","data","Optimization","cost optimization","ingest","unused","reduce","query","track","values","axiom","columns","patterns","dashboards"]