[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M698RMNEZ69DXN3X11MRPJZN":3,"skill-same:01M698RMNEZ69DXN3X11MRPJZN":65},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":36,"linkOnly":37,"markdownContent":38,"markdownBody":39,"frontMatter":40,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":44,"repositoryHtmlUrl":45,"repositoryHomepageUrl":46,"ownerHtmlUrl":47,"ownerBlogUrl":48,"ownerDescription":49,"updatedAt":50,"install":51,"resources":64},"01M698RMNEZ69DXN3X11MRPJZN","convex-retention",null,"Use when adding or changing ClawHub Convex tables, TTL fields, cleanup crons, retention policy, auth\u002Fsession cleanup, metric dedupe cleanup, or deprecated table removal","openclaw\u002Fclawhub","openclaw","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F252820863?v=4","01M698P3FSAZ6B4R928ZF19KPT","01M698PDMKEC6E49395505BD05",9555,"MIT","https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fclawhub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fconvex-retention\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35],"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":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add openclaw\u002Fclawhub --skill convex-retention",{"tool":57,"command":58},"bunx","bunx skills add openclaw\u002Fclawhub --skill convex-retention",{"tool":60,"command":61},"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,[],[66,74,81,104,133,148],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":73},"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":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":73},"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":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":36},"01M698QE868QCJ1HN5H03NAKCZ","convex-advisor","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.","https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fclawhub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fconvex-advisor\u002FSKILL.md",[],[88,89,19,90,91,92,93,94,95,96,97,98,99,100,101,102,103],"convex advisor","advisor","with","cost","perf","evidence","limits","fixes","event","deployment","read","report","insights","code","root","root-cause",{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":115,"publishedAt":36},"01M698QD01M039DZ8WCRE8J6WY","convex-add","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.","https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fclawhub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fconvex-add\u002FSKILL.md",[110],{"categoryNo":111,"categoryName":112,"taxonomyType":113,"taxonomyTypeDesc":114},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[116,19,117,118,119,21,120,121,33,122,123,124,125,126,127,128,129,130,131,132],"add","convex add","publishing","user","Existing","dev","hosting","catalog","trigger","search","for","back","capability","backend","app","billing","component",{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":36},"01M698QBS5JVY310XM3RGFZCK4","convex-acquire-domain","Find and buy a domain for the current Convex app through Convex, then bind it (labs; spend action).","https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fclawhub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fconvex-acquire-domain\u002FSKILL.md",[],[19,140,141,142,143,130,126,144,145,146,147],"domain","acquire","convex acquire domain","bind","find","buy","action","it",{"skillNo":149,"name":150,"nameZh":6,"description":151,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":152,"categories":153,"keywords":154,"publishedAt":36},"01M698Q9P74GJAVDMCP33QBBWX","controlling-costs","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.","https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fclawhub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcontrolling-costs\u002FSKILL.md",[],[155,156,126,157,158,159,160,29,21,161,162,91,163,164,165,144,166,167,168],"controlling costs","data","Optimization","cost optimization","ingest","unused","reduce","query","track","values","axiom","columns","patterns","dashboards"]