[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7B2ZS6T4AWTGTFP4YZJTSEP":3,"skill-same:01M7B2ZS6T4AWTGTFP4YZJTSEP":62},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7B2ZS6T4AWTGTFP4YZJTSEP","hamster-integrations",null,"External integration patterns including Airweave context connectors, OAuth flows, and third-party service connections. Use when implementing new integrations or working with context connections.","gethamster\u002Fskills","gethamster","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F215697643?v=4","01M7B2R6PGB3SDZZ71E0WE2S74","Hamster","01M7B2R6Q21HWJRXZZWB78BNDG",4,"MIT","https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002F.experimental\u002Fhamster-integrations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: hamster-integrations\ndescription: \"External integration patterns including Airweave context connectors, OAuth flows, and third-party service connections. Use when implementing new integrations or working with context connections.\"\nversion: \"1.1.0\"\n---\n\n# Hamster Integrations\n\n## Quick Reference\n\n| Task | Pattern | Reference |\n| --- | --- | --- |\n| Add new OAuth integration | Create service + DTO + callback + dialog | [oauth-patterns.md](references\u002Foauth-patterns.md) |\n| Get\u002Fcreate Airweave collection | `getOrCreateCollection(accountId)` | [airweave-collections.md](references\u002Fairweave-collections.md) |\n| Create source connection | Use `access_token` format | [airweave-collections.md](references\u002Fairweave-collections.md) |\n| Find integration specs | Check OAuth type and scopes | [integration-catalog.md](references\u002Fintegration-catalog.md) |\n\n## When to Apply\n\n- Adding new context connector integrations\n- Working with Airweave collections\n- Implementing OAuth flows\n- Troubleshooting integration authentication\n\n## Architecture Overview\n\n```\n┌─────────────────────────────────────────────────────────────────┐\n│                    Integration Architecture                      │\n├─────────────────────────────────────────────────────────────────┤\n│ Frontend           →  OAuth Redirect  →  Third-Party Provider   │\n│ (Connect Dialog)      (with SITE_URL)                           │\n│                                                                 │\n│ OAuth Callback     →  Exchange Code   →  Token Response         │\n│ (Next.js API)         (NestJS)                                  │\n│                                                                 │\n│ NestJS Service     →  Store Token     →  Vault                  │\n│                    →  Create Source   →  Airweave               │\n│                                                                 │\n│ Airweave           →  Sync Data       →  Team Collection        │\n└─────────────────────────────────────────────────────────────────┘\n```\n\n## Critical Rules\n\n1. **Use same SITE_URL** - Frontend and callback must use same URL to avoid `bad_redirect_uri`\n2. **access_token format** - Airweave expects `{ access_token: token }`, not nested credentials\n3. **Lazy collection creation** - Collections created on first context connection\n4. **Self-healing collections** - Verify \"active\" collections actually exist in Airweave\n\n## Key Patterns\n\n### Source Connection Authentication\n\n```typescript\n\u002F\u002F CORRECT - matches Airweave's oauth_token authentication type\nauthentication: {\n  access_token: tokenResponse.access_token,\n}\n\n\u002F\u002F WRONG - nested credentials not recognized\nauthentication: {\n  credentials: { bot_token: tokenResponse.access_token }\n}\n```\n\n### OAuth Types\n\n| Type | Description | Refresh Needed |\n| --- | --- | --- |\n| `access_only` | Tokens don't expire | No |\n| `with_refresh` | Standard refresh tokens | Yes |\n| `with_rotating_refresh` | New refresh token each refresh | Yes |\n| `oauth1` | Legacy OAuth 1.0a | N\u002FA |\n\n### Collection States\n\n| Status | Meaning |\n| --- | --- |\n| `initializing` | DB record created, Airweave collection pending |\n| `active` | Collection exists in both DB and Airweave |\n| `failed` | Collection creation failed (will retry on next attempt) |\n\n## Adding a New Integration\n\n1. Create OAuth service: `apps\u002Fai\u002Fsrc\u002Fmodules\u002Fcontext-connections\u002F[provider]-oauth.service.ts`\n2. Add DTO: `apps\u002Fai\u002Fsrc\u002Fmodules\u002Fcontext-connections\u002Fdto\u002Fcreate-[provider]-oauth-connection.dto.ts`\n3. Add schema: `packages\u002Fshared\u002Fsrc\u002Fcontext-connections\u002Fschemas.ts`\n4. Create callback route: `apps\u002Fweb\u002Fapp\u002Fapi\u002Foauth\u002F[provider]\u002Fcallback\u002Froute.ts`\n5. Create dialog: `apps\u002Fweb\u002Fapp\u002Fhome\u002F[account]\u002Fcontext-settings\u002F_components\u002Fconnect-[provider]-dialog.tsx`\n6. Add to `AVAILABLE_SERVICES` in constants\n7. Add i18n translations\n\n## References\n\n- [oauth-patterns.md](references\u002Foauth-patterns.md) - OAuth flow implementation\n- [airweave-collections.md](references\u002Fairweave-collections.md) - Collection management\n- [integration-catalog.md](references\u002Fintegration-catalog.md) - All 40+ integrations with specs\n\n## Key Files\n\n| File | Purpose |\n| --- | --- |\n| `apps\u002Fai\u002Fsrc\u002Fmodules\u002Fcontext-connections\u002F` | OAuth services and handlers |\n| `apps\u002Fai\u002Fsrc\u002Fmodules\u002Fcontext-connections\u002Fcollection-creation.helper.ts` | Collection helper |\n| `apps\u002Fweb\u002Fapp\u002Fapi\u002Foauth\u002F` | OAuth callback routes |\n| `apps\u002Fweb\u002Fapp\u002Fhome\u002F[account]\u002Fcontext-settings\u002F` | Connection UI |\n| `public.airweave_collections` | Collection database table |\n","# Hamster Integrations\n\n## Quick Reference\n\n| Task | Pattern | Reference |\n| --- | --- | --- |\n| Add new OAuth integration | Create service + DTO + callback + dialog | [oauth-patterns.md](references\u002Foauth-patterns.md) |\n| Get\u002Fcreate Airweave collection | `getOrCreateCollection(accountId)` | [airweave-collections.md](references\u002Fairweave-collections.md) |\n| Create source connection | Use `access_token` format | [airweave-collections.md](references\u002Fairweave-collections.md) |\n| Find integration specs | Check OAuth type and scopes | [integration-catalog.md](references\u002Fintegration-catalog.md) |\n\n## When to Apply\n\n- Adding new context connector integrations\n- Working with Airweave collections\n- Implementing OAuth flows\n- Troubleshooting integration authentication\n\n## Architecture Overview\n\n```\n┌─────────────────────────────────────────────────────────────────┐\n│                    Integration Architecture                      │\n├─────────────────────────────────────────────────────────────────┤\n│ Frontend           →  OAuth Redirect  →  Third-Party Provider   │\n│ (Connect Dialog)      (with SITE_URL)                           │\n│                                                                 │\n│ OAuth Callback     →  Exchange Code   →  Token Response         │\n│ (Next.js API)         (NestJS)                                  │\n│                                                                 │\n│ NestJS Service     →  Store Token     →  Vault                  │\n│                    →  Create Source   →  Airweave               │\n│                                                                 │\n│ Airweave           →  Sync Data       →  Team Collection        │\n└─────────────────────────────────────────────────────────────────┘\n```\n\n## Critical Rules\n\n1. **Use same SITE_URL** - Frontend and callback must use same URL to avoid `bad_redirect_uri`\n2. **access_token format** - Airweave expects `{ access_token: token }`, not nested credentials\n3. **Lazy collection creation** - Collections created on first context connection\n4. **Self-healing collections** - Verify \"active\" collections actually exist in Airweave\n\n## Key Patterns\n\n### Source Connection Authentication\n\n```typescript\n\u002F\u002F CORRECT - matches Airweave's oauth_token authentication type\nauthentication: {\n  access_token: tokenResponse.access_token,\n}\n\n\u002F\u002F WRONG - nested credentials not recognized\nauthentication: {\n  credentials: { bot_token: tokenResponse.access_token }\n}\n```\n\n### OAuth Types\n\n| Type | Description | Refresh Needed |\n| --- | --- | --- |\n| `access_only` | Tokens don't expire | No |\n| `with_refresh` | Standard refresh tokens | Yes |\n| `with_rotating_refresh` | New refresh token each refresh | Yes |\n| `oauth1` | Legacy OAuth 1.0a | N\u002FA |\n\n### Collection States\n\n| Status | Meaning |\n| --- | --- |\n| `initializing` | DB record created, Airweave collection pending |\n| `active` | Collection exists in both DB and Airweave |\n| `failed` | Collection creation failed (will retry on next attempt) |\n\n## Adding a New Integration\n\n1. Create OAuth service: `apps\u002Fai\u002Fsrc\u002Fmodules\u002Fcontext-connections\u002F[provider]-oauth.service.ts`\n2. Add DTO: `apps\u002Fai\u002Fsrc\u002Fmodules\u002Fcontext-connections\u002Fdto\u002Fcreate-[provider]-oauth-connection.dto.ts`\n3. Add schema: `packages\u002Fshared\u002Fsrc\u002Fcontext-connections\u002Fschemas.ts`\n4. Create callback route: `apps\u002Fweb\u002Fapp\u002Fapi\u002Foauth\u002F[provider]\u002Fcallback\u002Froute.ts`\n5. Create dialog: `apps\u002Fweb\u002Fapp\u002Fhome\u002F[account]\u002Fcontext-settings\u002F_components\u002Fconnect-[provider]-dialog.tsx`\n6. Add to `AVAILABLE_SERVICES` in constants\n7. Add i18n translations\n\n## References\n\n- [oauth-patterns.md](references\u002Foauth-patterns.md) - OAuth flow implementation\n- [airweave-collections.md](references\u002Fairweave-collections.md) - Collection management\n- [integration-catalog.md](references\u002Fintegration-catalog.md) - All 40+ integrations with specs\n\n## Key Files\n\n| File | Purpose |\n| --- | --- |\n| `apps\u002Fai\u002Fsrc\u002Fmodules\u002Fcontext-connections\u002F` | OAuth services and handlers |\n| `apps\u002Fai\u002Fsrc\u002Fmodules\u002Fcontext-connections\u002Fcollection-creation.helper.ts` | Collection helper |\n| `apps\u002Fweb\u002Fapp\u002Fapi\u002Foauth\u002F` | OAuth callback routes |\n| `apps\u002Fweb\u002Fapp\u002Fhome\u002F[account]\u002Fcontext-settings\u002F` | Connection UI |\n| `public.airweave_collections` | Collection database table |\n",{"name":5,"version":24,"description":7},"1.1.0","main","fe3bb1476c3ec23d8a366eac0fa8cd9f0852360a","skills\u002F.experimental\u002Fhamster-integrations",0,"https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills","https:\u002F\u002Fgithub.com\u002Fgethamster","https:\u002F\u002Ftryhamster.com","We're building the AI-native future of work, unlocking the promised acceleration for your whole team, from idea to impact.","2026-11-05 11:33:33",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add gethamster\u002Fskills --skill hamster-integrations",{"tool":40,"command":41},"bunx","bunx skills add gethamster\u002Fskills --skill hamster-integrations",{"tool":43,"command":44},"pnpm","pnpm dlx skills add gethamster\u002Fskills --skill hamster-integrations","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002F.experimental\u002Fhamster-integrations\u002FSKILL.md",true,[48,54,58],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Fairweave-collections.md","REFERENCE","参考文档",6210,"https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002F.experimental\u002Fhamster-integrations\u002Freferences\u002Fairweave-collections.md",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Fintegration-catalog.md",7181,"https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002F.experimental\u002Fhamster-integrations\u002Freferences\u002Fintegration-catalog.md",{"path":59,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Foauth-patterns.md",8722,"https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002F.experimental\u002Fhamster-integrations\u002Freferences\u002Foauth-patterns.md",[63,70,77,84,91,98],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7B5MWYW0KE251276S56KQDZ","writing-waterfall-requirements-documents","Write a waterfall requirements document: elicit, structure and review testable, traceable requirements, then baseline the specification before design.","https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-waterfall-requirements-documents\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7B5MRCXWWPKREPB1CHQ7H90","writing-vision-and-values-statements","Write a V2MOM vision a reader can test and a ranked list of values that settles real tradeoffs, so the rest of the document has a clear anchor.","https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-vision-and-values-statements\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7B5MKH2CH22YZAHQW3080VQ","writing-system-prompts-for-claude","Write Claude prompts and CLAUDE.md files that supply exact inputs, scope the task, and define done so the first attempt can be checked.","https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-system-prompts-for-claude\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7B5ME1Y3X9RNRKP5HKHKACZ","writing-page-specific-website-copy","Website copywriting by page type: write homepage, landing page, pricing page and feature page copy that fits each page's visitor and single job.","https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-page-specific-website-copy\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M7B5M8MQNM8MN8PYH6BVWJ2B","writing-internal-press-releases","How to write an internal press release: the one-page working backwards press release that opens a PR\u002FFAQ document before anything is built.","https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-internal-press-releases\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M7B5M3P3YH1XF37R8PWXXSBK","writing-email-sequences-that-sell","Email sequence copywriting for nurture and sales: give each email one job, write clear subject lines, and close with one specific call to action.","https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-email-sequences-that-sell\u002FSKILL.md",[],[]]