[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71R70CH7MZ7P1SZ8BHRZEKW":3,"skill-same:01M71R70CH7MZ7P1SZ8BHRZEKW":54},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":29,"linkOnly":30,"markdownContent":31,"markdownBody":32,"frontMatter":33,"refName":34,"commitSha":35,"skillDirectory":36,"forksCount":13,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":39,"install":40,"resources":53},"01M71R70CH7MZ7P1SZ8BHRZEKW","add-source-parser",null,"Step-by-step scaffold for adding a new coding-agent source to the gateway.","proxai\u002Fproxai_gateway","proxai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F166080369?v=4","01M71R6W4H4TC4ZDWXXCTE3T3K","01M71R6W5KYVW49V7ZNCHRJHBW",0,"MIT","https:\u002F\u002Fgithub.com\u002Fproxai\u002Fproxai_gateway\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fadd-source-parser\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28],"add source parser","parser","add source","source","add","gateway","for","new","Coding-Agent","coding","scaffold","2026-11-10 13:02:02",false,"---\nname: add-source-parser\ndescription: Step-by-step scaffold for adding a new coding-agent source to the gateway.\n---\n\n# Add Source Parser\n\n## When to use\n\nUse any time a new agent source (e.g., a new CLI tool) needs to be captured. Triggered by requests like \"add support for X CLI\", \"capture Y's session files\".\n\n## Key files\n\n- `src\u002Fsources\u002F\u003Cagent>\u002Fdiscover.ts`, `collect.ts`, `index.ts`, `\u003Cagent>.constants.ts`\n- `src\u002Fservices\u002Fcontract\u002Fcontract.constants.ts` (SOURCE_VARIANTS)\n- `src\u002Fservices\u002Fpolling\u002Fdefault-sources.ts`, `poll-worker.ts`\n\n## Common pitfalls\n\n- Using `**\u002F*.jsonl` instead of a pinned-depth glob.\n- Forgetting to add the `SOURCE_VARIANTS` entry — `validateRawRecordDTO` will reject the DTO silently at runtime.\n- Not implementing `consecutive_errors` tracking in the catch block.\n- Not handling VACUUM detection if the source is sqlite-based.\n- Opening a live sqlite directly instead of using `snapshotSqlite` (for sources the agent writes to concurrently).\n- Using `any` in the type signatures — prohibited across the codebase.\n","# Add Source Parser\n\n## When to use\n\nUse any time a new agent source (e.g., a new CLI tool) needs to be captured. Triggered by requests like \"add support for X CLI\", \"capture Y's session files\".\n\n## Key files\n\n- `src\u002Fsources\u002F\u003Cagent>\u002Fdiscover.ts`, `collect.ts`, `index.ts`, `\u003Cagent>.constants.ts`\n- `src\u002Fservices\u002Fcontract\u002Fcontract.constants.ts` (SOURCE_VARIANTS)\n- `src\u002Fservices\u002Fpolling\u002Fdefault-sources.ts`, `poll-worker.ts`\n\n## Common pitfalls\n\n- Using `**\u002F*.jsonl` instead of a pinned-depth glob.\n- Forgetting to add the `SOURCE_VARIANTS` entry — `validateRawRecordDTO` will reject the DTO silently at runtime.\n- Not implementing `consecutive_errors` tracking in the catch block.\n- Not handling VACUUM detection if the source is sqlite-based.\n- Opening a live sqlite directly instead of using `snapshotSqlite` (for sources the agent writes to concurrently).\n- Using `any` in the type signatures — prohibited across the codebase.\n",{"name":5,"description":7},"main","bb6fe878dd262a963efe6a0336e803356fb4c5a2","ai\u002Fskills\u002Fadd-source-parser","https:\u002F\u002Fgithub.com\u002Fproxai\u002Fproxai_gateway","https:\u002F\u002Fgithub.com\u002Fproxai","2026-07-02 20:55:05",{"source":8,"skillName":5,"commands":41,"prompt":51,"zipAvailable":52},[42,45,48],{"tool":43,"command":44},"npx","npx skills add proxai\u002Fproxai_gateway --skill add-source-parser",{"tool":46,"command":47},"bunx","bunx skills add proxai\u002Fproxai_gateway --skill add-source-parser",{"tool":49,"command":50},"pnpm","pnpm dlx skills add proxai\u002Fproxai_gateway --skill add-source-parser","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fproxai\u002Fproxai_gateway\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fadd-source-parser\u002FSKILL.md",true,[],[55,71,89],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":29},"01M71R746P3P8G23TNBNMFA91W","redaction-validator","Test that a new or modified redaction rule fires on the target pattern without matching any preserved token.","https:\u002F\u002Fgithub.com\u002Fproxai\u002Fproxai_gateway\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fredaction-validator\u002FSKILL.md",[],[62,63,64,65,25,66,67,68,69,70],"redaction","redaction validator","validator","rule","pattern","token","matching","target","test",{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":29},"01M71R71TH6K8XW0M9R647ZP3J","audit-sqlite-usage","Audit all bun:sqlite call sites for correctness against the rules in bun-sqlite.md and cross-platform.md.","https:\u002F\u002Fgithub.com\u002Fproxai\u002Fproxai_gateway\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Faudit-sqlite-usage\u002FSKILL.md",[],[78,79,80,81,82,83,84,85,86,87,24,88],"usage","audit","audit sqlite usage","sqlite","cross-platform","correctness","Rules","call","sites","bun","platform",{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":29},"01M71R6YZYKTXVH6YCQ2Z7PN6B","sample-skill","Example skill","https:\u002F\u002Fgithub.com\u002Fproxai\u002Fproxai_gateway\u002Fblob\u002Fmain\u002Fai\u002Fmapper\u002Ftests\u002Ffixtures\u002Fminimal-ai\u002Fskills\u002Fsample-skill\u002FSKILL.md",[],[96,97,98,99],"sample","sample skill","example skill","example"]