[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BTH61GFYPDEGSCT9TJJ3XV":3,"skill-same:01M7BTH61GFYPDEGSCT9TJJ3XV":54},{"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":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7BTH61GFYPDEGSCT9TJJ3XV","functions",null,"Deploy serverless browser automation as cloud functions using Browserbase. Use when the user wants to deploy browser automation to run on a schedule or cron, create a webhook endpoint for browser tasks, run automation in the cloud instead of locally, or asks about Browserbase Functions.","om-scogo\u002Fskillsh-scraper","om-scogo","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160466840?v=4","01M79AWB6DFVCQ7RK70CS34B96","Om Achrekar","01M79AWB6ZM9SKR8KDH1WSSM22",0,"MIT","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fbrowserbase-skills\u002Ffunctions\u002FSkill.md",[],[],"2026-11-15 14:19:17",false,"---\nname: functions\ndescription: \"Deploy serverless browser automation as cloud functions using Browserbase. Use when the user wants to deploy browser automation to run on a schedule or cron, create a webhook endpoint for browser tasks, run automation in the cloud instead of locally, or asks about Browserbase Functions.\"\ncompatibility: \"Requires the browse CLI (`npm install -g browse`), Node.js 18+ with pnpm or npm, and BROWSERBASE_API_KEY.\"\nlicense: MIT\nallowed-tools: Bash Read Write Edit\n---\n\n# Browserbase Functions\n\nDeploy serverless browser automation using the official `browse` CLI.\n\n## Prerequisites\n\nGet an API key from: https:\u002F\u002Fbrowserbase.com\u002Fsettings\n\n```bash\nexport BROWSERBASE_API_KEY=\"your_api_key\"\n```\n\n## Creating a Function Project\n\n### 1. Initialize\n\n```bash\nbrowse functions init my-function\ncd my-function\n```\n\nThis creates:\n```\nmy-function\u002F\n├── package.json\n├── index.ts        # Your function code\n└── .env            # Add credentials here\n```\n\n### 2. Add Credentials to .env\n\n```bash\necho \"BROWSERBASE_API_KEY=$BROWSERBASE_API_KEY\" >> .env\n```\n\n### 3. Install Dependencies\n\n```bash\npnpm install\n```\n\n## Function Structure\n\n```typescript\nimport { defineFn } from \"@browserbasehq\u002Fsdk-functions\";\nimport { chromium } from \"playwright-core\";\n\ndefineFn(\"my-function\", async (context) => {\n  const { session, params } = context;\n\n  \u002F\u002F Connect to browser\n  const browser = await chromium.connectOverCDP(session.connectUrl);\n  const page = browser.contexts()[0]!.pages()[0]!;\n\n  \u002F\u002F Your automation\n  await page.goto(params.url || \"https:\u002F\u002Fexample.com\");\n  const title = await page.title();\n\n  \u002F\u002F Return JSON-serializable result\n  return { success: true, title };\n});\n```\n\n**Key objects:**\n- `context.session.connectUrl` - CDP endpoint to connect Playwright\n- `context.params` - Input parameters from invocation\n\n## Development Workflow\n\n### 1. Start Dev Server\n\n```bash\nbrowse functions dev index.ts\n```\n\nServer runs at `http:\u002F\u002F127.0.0.1:14113`\n\n### 2. Test Locally\n\n```bash\ncurl -X POST http:\u002F\u002F127.0.0.1:14113\u002Fv1\u002Ffunctions\u002Fmy-function\u002Finvoke \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"params\": {\"url\": \"https:\u002F\u002Fnews.ycombinator.com\"}}'\n```\n\n### 3. Iterate\n\nThe dev server auto-reloads on file changes. Use `console.log()` for debugging - output appears in the terminal.\n\n## Deploying\n\n```bash\nbrowse functions publish index.ts\n```\n\nOutput:\n```\nFunction published successfully\nBuild ID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\nFunction ID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\n```\n\n**Save the Function ID** - you need it to invoke.\n\n## Quick Reference\n\n| Command | Description |\n|---------|-------------|\n| `browse functions init \u003Cname>` | Create new project |\n| `browse functions dev \u003Cfile>` | Start local dev server |\n| `browse functions publish \u003Cfile>` | Deploy to Browserbase |\n\nFor invocation examples, common patterns, and troubleshooting, see [REFERENCE.md](REFERENCE.md).\n","# Browserbase Functions\n\nDeploy serverless browser automation using the official `browse` CLI.\n\n## Prerequisites\n\nGet an API key from: https:\u002F\u002Fbrowserbase.com\u002Fsettings\n\n```bash\nexport BROWSERBASE_API_KEY=\"your_api_key\"\n```\n\n## Creating a Function Project\n\n### 1. Initialize\n\n```bash\nbrowse functions init my-function\ncd my-function\n```\n\nThis creates:\n```\nmy-function\u002F\n├── package.json\n├── index.ts        # Your function code\n└── .env            # Add credentials here\n```\n\n### 2. Add Credentials to .env\n\n```bash\necho \"BROWSERBASE_API_KEY=$BROWSERBASE_API_KEY\" >> .env\n```\n\n### 3. Install Dependencies\n\n```bash\npnpm install\n```\n\n## Function Structure\n\n```typescript\nimport { defineFn } from \"@browserbasehq\u002Fsdk-functions\";\nimport { chromium } from \"playwright-core\";\n\ndefineFn(\"my-function\", async (context) => {\n  const { session, params } = context;\n\n  \u002F\u002F Connect to browser\n  const browser = await chromium.connectOverCDP(session.connectUrl);\n  const page = browser.contexts()[0]!.pages()[0]!;\n\n  \u002F\u002F Your automation\n  await page.goto(params.url || \"https:\u002F\u002Fexample.com\");\n  const title = await page.title();\n\n  \u002F\u002F Return JSON-serializable result\n  return { success: true, title };\n});\n```\n\n**Key objects:**\n- `context.session.connectUrl` - CDP endpoint to connect Playwright\n- `context.params` - Input parameters from invocation\n\n## Development Workflow\n\n### 1. Start Dev Server\n\n```bash\nbrowse functions dev index.ts\n```\n\nServer runs at `http:\u002F\u002F127.0.0.1:14113`\n\n### 2. Test Locally\n\n```bash\ncurl -X POST http:\u002F\u002F127.0.0.1:14113\u002Fv1\u002Ffunctions\u002Fmy-function\u002Finvoke \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"params\": {\"url\": \"https:\u002F\u002Fnews.ycombinator.com\"}}'\n```\n\n### 3. Iterate\n\nThe dev server auto-reloads on file changes. Use `console.log()` for debugging - output appears in the terminal.\n\n## Deploying\n\n```bash\nbrowse functions publish index.ts\n```\n\nOutput:\n```\nFunction published successfully\nBuild ID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\nFunction ID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\n```\n\n**Save the Function ID** - you need it to invoke.\n\n## Quick Reference\n\n| Command | Description |\n|---------|-------------|\n| `browse functions init \u003Cname>` | Create new project |\n| `browse functions dev \u003Cfile>` | Start local dev server |\n| `browse functions publish \u003Cfile>` | Deploy to Browserbase |\n\nFor invocation examples, common patterns, and troubleshooting, see [REFERENCE.md](REFERENCE.md).\n",{"name":5,"license":15,"description":7,"allowed-tools":24,"compatibility":25},"Bash Read Write Edit","Requires the browse CLI (`npm install -g browse`), Node.js 18+ with pnpm or npm, and BROWSERBASE_API_KEY.","main","8859218955d9504cd18b59e7892100718039d3b4","data\u002Fskills\u002Fbrowserbase-skills\u002Ffunctions",1,"https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper","https:\u002F\u002Fgithub.com\u002Fom-scogo","SDE-1 @ Scogo ","2026-07-18 12:22:46",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add om-scogo\u002Fskillsh-scraper --skill functions",{"tool":40,"command":41},"bunx","bunx skills add om-scogo\u002Fskillsh-scraper --skill functions",{"tool":43,"command":44},"pnpm","pnpm dlx skills add om-scogo\u002Fskillsh-scraper --skill functions","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fbrowserbase-skills\u002Ffunctions\u002FSkill.md",true,[48],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"metadata.json","REFERENCE","参考文档",411,"https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fbrowserbase-skills\u002Ffunctions\u002Fmetadata.json",[55,62,67,74,79,86],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M7D6MC9FAAEV4CMNYX8W7JTG","arxiv-search","Search arXiv physics, math, and computer science preprints using natural language queries. Powered by Valyu semantic search.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002Fskills\u002Farxiv-search\u002FSKILL.md",[],[],{"skillNo":63,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M7D6M85CKKN87TA98VCQV4H7","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002FSkill.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7D4ZTCS4DR3CE4JY06X84T2","working-with-legacy-code","Safely change and test untested codebases using Feathers' \"Working Effectively with Legacy Code\". Use when the user mentions \"legacy code\", \"no tests\", \"untested codebase\", \"how do I test this\", \"seams\", \"characterization tests\", \"golden master\", \"sprout method\", \"afraid to change this code\", \"monster method\", \"dependency breaking\", or \"inherited a messy codebase\". Also trigger when changing code without tests safely, getting a class under test when constructors, statics, or singletons block it, adding features to tangled modules, or planning incremental test coverage for an old codebase. Covers the legacy-code change algorithm, seams, characterization tests, sprout\u002Fwrap, and dependency-breaking techniques. For refactoring code that already has tests, see refactoring-patterns. For day-to-day code quality, see clean-code.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002Fworking-with-legacy-code\u002FSKILL.md",[],[],{"skillNo":75,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7D4ZHZKJD2RSNGAF63V14P4","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002FSkill.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7D4ZB4CJBFW5JE67CPH2QRV","web-typography","Select, pair, and implement typefaces for web projects. Use when the user mentions \"font pairing\", \"which typeface\", \"line height\", \"responsive typography\", \"web font loading\", \"type hierarchy\", \"variable fonts\", \"FOUT\u002FFOIT\", \"typographic scale\", or \"the text is hard to read\". Also trigger when choosing between system fonts and web fonts, optimizing font-loading performance, or designing readable long-form content. Covers readability evaluation, CSS implementation, and performance optimization. For overall UI design systems, see refactoring-ui. For dramatic typographic experiences, see top-design.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002Fweb-typography\u002FSKILL.md",[],[],{"skillNo":87,"name":81,"nameZh":6,"description":82,"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},"01M7D4Z4MVYVY3NMJ18BNV6WNA","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002FSkill.md",[],[]]