[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73GKV77EC877YR19AXGBWK3":3,"skill-same:01M73GKV77EC877YR19AXGBWK3":48},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M73GKV77EC877YR19AXGBWK3","vercel-ai-sdk",null,"Use when building AI-powered web apps with Next.js, React, or Node.js — streaming chat, tool calling, structured output, multi-modal. Triggers on: 'vercel ai', 'ai sdk', 'streaming chat', 'useChat', 'generateText', 'streamText', 'ai chatbot nextjs', 'LLM in React', 'ai sdk tool use', 'provider agnostic LLM'.","Horonomos-laps\u002FYana-AI","Horonomos-laps","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F355299122?v=4","01M76B3QPXE88ET2SQPDPVATZT"," Horonomos-laps","01M72ZQRJPCYPSSWT4D00VJR2A",13,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fvercel-ai-sdk\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: vercel-ai-sdk\ndescription: \"Use when building AI-powered web apps with Next.js, React, or Node.js — streaming chat, tool calling, structured output, multi-modal. Triggers on: 'vercel ai', 'ai sdk', 'streaming chat', 'useChat', 'generateText', 'streamText', 'ai chatbot nextjs', 'LLM in React', 'ai sdk tool use', 'provider agnostic LLM'.\"\n---\n\n# Vercel AI SDK Skill\n\nProvider-agnostic TypeScript toolkit — streaming, tools, structured output, agents cho Next.js\u002FReact.\nSource: [vercel\u002Fai](https:\u002F\u002Fgithub.com\u002Fvercel\u002Fai) (MIT)\n\n## Install\n\n```bash\nnpm install ai\n# Provider cụ thể\nnpm install @ai-sdk\u002Fanthropic @ai-sdk\u002Fopenai @ai-sdk\u002Fgoogle\n```\n\n## Core APIs\n\n### generateText — one-shot\n\n```typescript\nimport { generateText } from 'ai'\nimport { anthropic } from '@ai-sdk\u002Fanthropic'\n\nconst { text } = await generateText({\n  model: anthropic('claude-sonnet-4-6'),\n  prompt: 'Giải thích async\u002Fawait trong 3 câu',\n})\nconsole.log(text)\n```\n\n### streamText — streaming response\n\n```typescript\nimport { streamText } from 'ai'\n\nconst result = streamText({\n  model: anthropic('claude-sonnet-4-6'),\n  prompt: 'Viết một bài thơ về Hà Nội',\n})\n\nfor await (const chunk of result.textStream) {\n  process.stdout.write(chunk)\n}\n```\n\n### generateObject — structured output (Zod)\n\n```typescript\nimport { generateObject } from 'ai'\nimport { z } from 'zod'\n\nconst { object } = await generateObject({\n  model: anthropic('claude-sonnet-4-6'),\n  schema: z.object({\n    title: z.string(),\n    tags: z.array(z.string()),\n    priority: z.enum(['low', 'medium', 'high']),\n  }),\n  prompt: 'Tạo một task: fix bug login timeout',\n})\n\u002F\u002F object.title, object.tags, object.priority — type-safe\n```\n\n### Tool calling\n\n```typescript\nimport { generateText, tool } from 'ai'\nimport { z } from 'zod'\n\nconst result = await generateText({\n  model: anthropic('claude-sonnet-4-6'),\n  tools: {\n    getWeather: tool({\n      description: 'Lấy thời tiết tại thành phố',\n      parameters: z.object({ city: z.string() }),\n      execute: async ({ city }) => {\n        return { temp: 32, condition: 'sunny', city }\n      },\n    }),\n  },\n  maxSteps: 5,   \u002F\u002F cho phép multi-turn tool calls\n  prompt: 'Thời tiết Hà Nội hôm nay thế nào?',\n})\nconsole.log(result.text)\n```\n\n## React \u002F Next.js integration\n\n### Chat UI với useChat\n\n```typescript\n\u002F\u002F app\u002Fapi\u002Fchat\u002Froute.ts\nimport { anthropic } from '@ai-sdk\u002Fanthropic'\nimport { streamText } from 'ai'\n\nexport async function POST(req: Request) {\n  const { messages } = await req.json()\n  const result = streamText({\n    model: anthropic('claude-sonnet-4-6'),\n    messages,\n  })\n  return result.toDataStreamResponse()\n}\n```\n\n```tsx\n\u002F\u002F app\u002Fpage.tsx\n'use client'\nimport { useChat } from 'ai\u002Freact'\n\nexport default function Chat() {\n  const { messages, input, handleInputChange, handleSubmit } = useChat()\n  return (\n    \u003Cdiv>\n      {messages.map(m => (\n        \u003Cdiv key={m.id}>\u003Cb>{m.role}:\u003C\u002Fb> {m.content}\u003C\u002Fdiv>\n      ))}\n      \u003Cform onSubmit={handleSubmit}>\n        \u003Cinput value={input} onChange={handleInputChange} placeholder=\"Nhập tin nhắn...\" \u002F>\n        \u003Cbutton type=\"submit\">Gửi\u003C\u002Fbutton>\n      \u003C\u002Fform>\n    \u003C\u002Fdiv>\n  )\n}\n```\n\n### useObject — streaming structured data\n\n```tsx\nimport { experimental_useObject as useObject } from 'ai\u002Freact'\nimport { taskSchema } from '.\u002Fschema'\n\nexport default function TaskGen() {\n  const { object, submit, isLoading } = useObject({\n    api: '\u002Fapi\u002Fgenerate-task',\n    schema: taskSchema,\n  })\n  return (\n    \u003Cdiv>\n      \u003Cbutton onClick={() => submit('Fix login bug')}>Generate\u003C\u002Fbutton>\n      {isLoading && \u003Cp>Đang tạo...\u003C\u002Fp>}\n      {object?.title && \u003Ch2>{object.title}\u003C\u002Fh2>}\n    \u003C\u002Fdiv>\n  )\n}\n```\n\n## Multi-modal (image input)\n\n```typescript\nconst { text } = await generateText({\n  model: anthropic('claude-sonnet-4-6'),\n  messages: [{\n    role: 'user',\n    content: [\n      { type: 'text', text: 'Mô tả ảnh này' },\n      { type: 'image', image: new URL('https:\u002F\u002Fexample.com\u002Fimage.png') },\n    ],\n  }],\n})\n```\n\n## Provider switching (zero code change)\n\n```typescript\n\u002F\u002F Đổi provider chỉ cần đổi 1 dòng\nimport { openai } from '@ai-sdk\u002Fopenai'\nimport { google } from '@ai-sdk\u002Fgoogle'\n\nconst model = process.env.PROVIDER === 'openai'\n  ? openai('gpt-4o')\n  : google('gemini-2.0-flash')\n```\n\n## Middleware (logging, caching, rate limit)\n\n```typescript\nimport { wrapLanguageModel, extractReasoningMiddleware } from 'ai'\n\nconst model = wrapLanguageModel({\n  model: anthropic('claude-sonnet-4-6'),\n  middleware: extractReasoningMiddleware({ tagName: 'think' }),\n})\n```\n","# Vercel AI SDK Skill\n\nProvider-agnostic TypeScript toolkit — streaming, tools, structured output, agents cho Next.js\u002FReact.\nSource: [vercel\u002Fai](https:\u002F\u002Fgithub.com\u002Fvercel\u002Fai) (MIT)\n\n## Install\n\n```bash\nnpm install ai\n# Provider cụ thể\nnpm install @ai-sdk\u002Fanthropic @ai-sdk\u002Fopenai @ai-sdk\u002Fgoogle\n```\n\n## Core APIs\n\n### generateText — one-shot\n\n```typescript\nimport { generateText } from 'ai'\nimport { anthropic } from '@ai-sdk\u002Fanthropic'\n\nconst { text } = await generateText({\n  model: anthropic('claude-sonnet-4-6'),\n  prompt: 'Giải thích async\u002Fawait trong 3 câu',\n})\nconsole.log(text)\n```\n\n### streamText — streaming response\n\n```typescript\nimport { streamText } from 'ai'\n\nconst result = streamText({\n  model: anthropic('claude-sonnet-4-6'),\n  prompt: 'Viết một bài thơ về Hà Nội',\n})\n\nfor await (const chunk of result.textStream) {\n  process.stdout.write(chunk)\n}\n```\n\n### generateObject — structured output (Zod)\n\n```typescript\nimport { generateObject } from 'ai'\nimport { z } from 'zod'\n\nconst { object } = await generateObject({\n  model: anthropic('claude-sonnet-4-6'),\n  schema: z.object({\n    title: z.string(),\n    tags: z.array(z.string()),\n    priority: z.enum(['low', 'medium', 'high']),\n  }),\n  prompt: 'Tạo một task: fix bug login timeout',\n})\n\u002F\u002F object.title, object.tags, object.priority — type-safe\n```\n\n### Tool calling\n\n```typescript\nimport { generateText, tool } from 'ai'\nimport { z } from 'zod'\n\nconst result = await generateText({\n  model: anthropic('claude-sonnet-4-6'),\n  tools: {\n    getWeather: tool({\n      description: 'Lấy thời tiết tại thành phố',\n      parameters: z.object({ city: z.string() }),\n      execute: async ({ city }) => {\n        return { temp: 32, condition: 'sunny', city }\n      },\n    }),\n  },\n  maxSteps: 5,   \u002F\u002F cho phép multi-turn tool calls\n  prompt: 'Thời tiết Hà Nội hôm nay thế nào?',\n})\nconsole.log(result.text)\n```\n\n## React \u002F Next.js integration\n\n### Chat UI với useChat\n\n```typescript\n\u002F\u002F app\u002Fapi\u002Fchat\u002Froute.ts\nimport { anthropic } from '@ai-sdk\u002Fanthropic'\nimport { streamText } from 'ai'\n\nexport async function POST(req: Request) {\n  const { messages } = await req.json()\n  const result = streamText({\n    model: anthropic('claude-sonnet-4-6'),\n    messages,\n  })\n  return result.toDataStreamResponse()\n}\n```\n\n```tsx\n\u002F\u002F app\u002Fpage.tsx\n'use client'\nimport { useChat } from 'ai\u002Freact'\n\nexport default function Chat() {\n  const { messages, input, handleInputChange, handleSubmit } = useChat()\n  return (\n    \u003Cdiv>\n      {messages.map(m => (\n        \u003Cdiv key={m.id}>\u003Cb>{m.role}:\u003C\u002Fb> {m.content}\u003C\u002Fdiv>\n      ))}\n      \u003Cform onSubmit={handleSubmit}>\n        \u003Cinput value={input} onChange={handleInputChange} placeholder=\"Nhập tin nhắn...\" \u002F>\n        \u003Cbutton type=\"submit\">Gửi\u003C\u002Fbutton>\n      \u003C\u002Fform>\n    \u003C\u002Fdiv>\n  )\n}\n```\n\n### useObject — streaming structured data\n\n```tsx\nimport { experimental_useObject as useObject } from 'ai\u002Freact'\nimport { taskSchema } from '.\u002Fschema'\n\nexport default function TaskGen() {\n  const { object, submit, isLoading } = useObject({\n    api: '\u002Fapi\u002Fgenerate-task',\n    schema: taskSchema,\n  })\n  return (\n    \u003Cdiv>\n      \u003Cbutton onClick={() => submit('Fix login bug')}>Generate\u003C\u002Fbutton>\n      {isLoading && \u003Cp>Đang tạo...\u003C\u002Fp>}\n      {object?.title && \u003Ch2>{object.title}\u003C\u002Fh2>}\n    \u003C\u002Fdiv>\n  )\n}\n```\n\n## Multi-modal (image input)\n\n```typescript\nconst { text } = await generateText({\n  model: anthropic('claude-sonnet-4-6'),\n  messages: [{\n    role: 'user',\n    content: [\n      { type: 'text', text: 'Mô tả ảnh này' },\n      { type: 'image', image: new URL('https:\u002F\u002Fexample.com\u002Fimage.png') },\n    ],\n  }],\n})\n```\n\n## Provider switching (zero code change)\n\n```typescript\n\u002F\u002F Đổi provider chỉ cần đổi 1 dòng\nimport { openai } from '@ai-sdk\u002Fopenai'\nimport { google } from '@ai-sdk\u002Fgoogle'\n\nconst model = process.env.PROVIDER === 'openai'\n  ? openai('gpt-4o')\n  : google('gemini-2.0-flash')\n```\n\n## Middleware (logging, caching, rate limit)\n\n```typescript\nimport { wrapLanguageModel, extractReasoningMiddleware } from 'ai'\n\nconst model = wrapLanguageModel({\n  model: anthropic('claude-sonnet-4-6'),\n  middleware: extractReasoningMiddleware({ tagName: 'think' }),\n})\n```\n",{"name":5,"description":7},"main","481dcd7dd2e288b9d627a2bd017db70e64e6c6fa","core\u002Fskills\u002Fvercel-ai-sdk",2,"https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI","https:\u002F\u002Fyana.vutam.link\u002F","https:\u002F\u002Fgithub.com\u002FHoronomos-laps","https:\u002F\u002Fyana.vutam.link","An open-source governed runtime & execution environment for multi-agent AI systems.","2026-11-14 13:24:09",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add Horonomos-laps\u002FYana-AI --skill vercel-ai-sdk",{"tool":40,"command":41},"bunx","bunx skills add Horonomos-laps\u002FYana-AI --skill vercel-ai-sdk",{"tool":43,"command":44},"pnpm","pnpm dlx skills add Horonomos-laps\u002FYana-AI --skill vercel-ai-sdk","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fvercel-ai-sdk\u002FSKILL.md",true,[],[49,57,64,72,80,88],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":53,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":19},"01M735GKET5YVYKAY62W2P5YXB","openai--sentry--sentry","Use when the user asks to inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the Sentry API; perform read-only queries with the bundled script and require `SENTRY_AUTH_TOKEN`.","MIT","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fopenai--sentry--sentry\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M73DCAP83T17HY7SMGK7MGFE","ito-basket-compare","Compare Itô prediction-market baskets against a user's knowledge base, portfolio notes, financial context, watchlist, or research thesis. Use for read-only basket comparison and gap analysis without investment advice or live trading.","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fito-basket-compare\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":68,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M734CYEMZFDR3KH6SW0JP8TD","implementing-network-traffic-baselining","Build network traffic baselines from NetFlow\u002FIPFIX data using Python pandas for statistical analysis, z-score anomaly detection, and hourly\u002Fdaily traffic pattern profiling","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-network-traffic-baselining\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-network-traffic-baselining\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":76,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M73ASZ6NJRJM44Z2P84NGQ3Q","detecting-evasion-techniques-in-endpoint-logs","Detects defense evasion techniques used by adversaries in endpoint logs including log tampering, timestomping, process injection, and security tool disabling. Use when investigating suspicious endpoint behavior, building detection rules for evasion tactics, or conducting threat hunting for stealthy adversary activity. Activates for requests involving evasion detection, defense evasion analysis, log tampering detection, or MITRE ATT&CK TA0005.","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":84,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M734AFNXD06Z78QRK0VKGT7Q","implementing-microsegmentation-with-guardicore","Implementing microsegmentation using Akamai Guardicore Segmentation to map application dependencies, create granular network policies, visualize east-west traffic flows, and enforce least-privilege communication between workloads across data centers and cloud.","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-microsegmentation-with-guardicore\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-microsegmentation-with-guardicore\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M736TK27QMCXK0DVCH25SJN5","ramdisk-tmpfs-patterns","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Framdisk-tmpfs-patterns\u002FSKILL.md",[],[]]