[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ET89D5P2DZ8QZTNHWS44MG":3,"skill-same:01M6ET89D5P2DZ8QZTNHWS44MG":60},{"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":29,"linkOnly":30,"markdownContent":31,"markdownBody":32,"frontMatter":33,"refName":38,"commitSha":39,"skillDirectory":40,"forksCount":41,"repositoryHtmlUrl":42,"repositoryHomepageUrl":6,"ownerHtmlUrl":43,"ownerBlogUrl":6,"ownerDescription":44,"updatedAt":45,"install":46,"resources":59},"01M6ET89D5P2DZ8QZTNHWS44MG","create-voltagent",null,"Skill for creating AI agent projects using the VoltAgent framework. Guide for CLI setup and manual bootstrapping.","luokai0\u002Fai-agent-skills-by-luo-kai","luokai0","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F266954973?v=4","01M6E16VNT42JB8B3X3254QWJ7","luo kai","01M6E16VTFVP6S5XJF1V1MPV90",14,"MIT","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F21-external-registries\u002F08-pinkpixel-collection\u002Fcreate-voltagent\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28],"create","create voltagent","cli","github","ai agent","setup","framework","https","projects","guide","2026-11-10 10:12:30",false,"---\nname: create-voltagent\n# prettier-ignore\ndescription: Skill for creating AI agent projects using the VoltAgent framework. Guide for CLI setup and manual bootstrapping.\nlicense: MIT\nmetadata:\n  author: VoltAgent\n  version: \"1.0.0\"\n  repository: https:\u002F\u002Fgithub.com\u002FVoltAgent\u002Fskills\n---\n\n# Create VoltAgent Skill\n\nComplete guide for creating new VoltAgent projects. Includes the CLI flow and a full manual setup.\n\nOfficial documentation: https:\u002F\u002Fvoltagent.dev\u002Fdocs\u002F\n\n---\n\n## Start Here\n\nWhen a user wants to create a VoltAgent project, ask:\n\n\"How would you like to create your VoltAgent project?\"\n\n1. Automatic Setup - run `npm create voltagent-app@latest` and handle prompts\n2. Interactive Guide - walk through each step and confirm choices\n3. Manual Installation - set up dependencies and a full working example\n\nBased on their choice:\n- Option 1: run the CLI, capture server and provider choices, and finish setup\n- Option 2: gather server, provider, and API key, then run the CLI\n- Option 3: follow the manual steps below\n\n---\n\n## Before You Start\n\n- Node.js 20+ (>= 20.19.0 recommended)\n- Git (optional, for auto git init)\n- An API key for your model provider (not needed for Ollama)\n\n---\n\n## Fast Path\n\nCreate a new VoltAgent project with one command:\n\n```bash\nnpm create voltagent-app@latest\n```\n\nOther package managers:\n\n```bash\npnpm create voltagent-app@latest\nyarn create voltagent-app@latest\nbun create voltagent-app@latest\n```\n\n---\n\n## CLI Flow\n\nThe create-voltagent-app command:\n1. Asks for a project name (default: `my-voltagent-app`)\n2. Prompts for a server framework (Hono or Elysia)\n3. Prompts for an AI provider (OpenAI, Anthropic, Google, Groq, Mistral, Ollama)\n4. Prompts for an API key when required\n5. Installs dependencies and scaffolds the project\n6. Writes `.env`, `README.md`, `tsconfig.json`, `tsdown.config.ts`, and Docker files\n7. Initializes a git repo when available\n\n---\n\n## CLI Walkthrough\n\n1. Run:\n   ```bash\n   npm create voltagent-app@latest\n   ```\n\n2. When prompted:\n   - Choose a server (Hono recommended or Elysia)\n   - Choose an AI provider\n   - Enter your API key (skip if using Ollama)\n\n3. Start the dev server:\n   ```bash\n   cd \u003Cyour-project-directory>\n   npm run dev\n   ```\n\n4. If you chose Ollama:\n   ```bash\n   ollama pull llama3.2\n   ```\n\n---\n\n## CLI Flags and Examples\n\nCreate in a specific directory:\n\n```bash\nnpm create voltagent-app@latest my-voltagent-app\n```\n\nDownload an example from the VoltAgent repo:\n\n```bash\nnpm create voltagent-app@latest -- --example with-workflow\n```\n\npnpm \u002F yarn \u002F bun equivalents:\n\n```bash\npnpm create voltagent-app@latest -- --example with-workflow\nyarn create voltagent-app@latest -- --example with-workflow\nbun create voltagent-app@latest -- --example with-workflow\n```\n\nNotes:\n- Examples are pulled from https:\u002F\u002Fgithub.com\u002Fvoltagent\u002Fvoltagent\u002Ftree\u002Fmain\u002Fexamples\n- Some package managers require `--` before `--example`.\n- After an example download, run `npm install` and `npm run dev`.\n\n---\n\n## Generated Layout\n\n```\nmy-voltagent-app\u002F\n|-- src\u002F\n|   |-- index.ts\n|   |-- tools\u002F\n|   |   |-- index.ts\n|   |   `-- weather.ts\n|   `-- workflows\u002F\n|       `-- index.ts\n|-- .env\n|-- .voltagent\u002F\n|-- Dockerfile\n|-- .dockerignore\n|-- .gitignore\n|-- README.md\n|-- package.json\n|-- tsconfig.json\n`-- tsdown.config.ts\n```\n\nIf you run the docs sync script in this repo, you may also see `packages\u002Fcore\u002Fdocs` generated.\n\n---\n\n## Env Keys\n\nThe CLI writes `.env` with your provider key (or a placeholder). Common keys:\n\n```env\nOPENAI_API_KEY=...\nANTHROPIC_API_KEY=...\nGOOGLE_GENERATIVE_AI_API_KEY=...\nGROQ_API_KEY=...\nMISTRAL_API_KEY=...\nOLLAMA_HOST=http:\u002F\u002Flocalhost:11434\n\nVOLTAGENT_PUBLIC_KEY=...\nVOLTAGENT_SECRET_KEY=...\n```\n\n---\n\n## Manual Setup (Full)\n\nIf you prefer not to use the CLI, follow these steps:\n\n### Step 1: Create the project directory\n\n```bash\nmkdir my-voltagent-app && cd my-voltagent-app\nnpm init -y\nmkdir -p src\u002Ftools src\u002Fworkflows .voltagent\n```\n\n### Step 2: Install dependencies\n\nChoose one server package:\n\n```bash\nnpm install @voltagent\u002Fcore @voltagent\u002Flibsql @voltagent\u002Flogger @voltagent\u002Fserver-hono @voltagent\u002Fcli ai zod dotenv\n```\n\nor\n\n```bash\nnpm install @voltagent\u002Fcore @voltagent\u002Flibsql @voltagent\u002Flogger @voltagent\u002Fserver-elysia @voltagent\u002Fcli ai zod dotenv\n```\n\nDev dependencies:\n\n```bash\nnpm install -D typescript tsx tsdown @types\u002Fnode @biomejs\u002Fbiome\n```\n\n### Step 3: Add scripts to package.json\n\n```json\n{\n  \"scripts\": {\n    \"dev\": \"tsx watch --env-file=.env .\u002Fsrc\",\n    \"build\": \"tsdown\",\n    \"start\": \"node dist\u002Findex.js\",\n    \"lint\": \"biome check .\u002Fsrc\",\n    \"lint:fix\": \"biome check --write .\u002Fsrc\",\n    \"typecheck\": \"tsc --noEmit\",\n    \"volt\": \"volt\"\n  }\n}\n```\n\n`volt` is the VoltAgent CLI. Use it for project utilities (for example `init`, `deploy`, `eval`, `prompts`, `tunnel`, `update`).\n\n### Step 4: Configure TypeScript\n\nCreate `tsconfig.json`:\n\n```json\n{\n  \"compilerOptions\": {\n    \"target\": \"ES2022\",\n    \"module\": \"ES2022\",\n    \"moduleResolution\": \"bundler\",\n    \"esModuleInterop\": true,\n    \"forceConsistentCasingInFileNames\": true,\n    \"strict\": true,\n    \"outDir\": \"dist\",\n    \"skipLibCheck\": true\n  },\n  \"include\": [\"src\"],\n  \"exclude\": [\"node_modules\", \"dist\"]\n}\n```\n\n### Step 5: Add tsdown config\n\nCreate `tsdown.config.ts`:\n\n```typescript\nimport { defineConfig } from \"tsdown\";\n\nexport default defineConfig({\n  entry: [\".\u002Fsrc\u002Findex.ts\"],\n  sourcemap: true,\n  outDir: \"dist\",\n});\n```\n\n### Step 6: Create .env\n\n```env\nOPENAI_API_KEY=your-api-key-here\nVOLTAGENT_PUBLIC_KEY=your-public-key\nVOLTAGENT_SECRET_KEY=your-secret-key\nNODE_ENV=development\n```\n\nFor Ollama:\n\n```env\nOLLAMA_HOST=http:\u002F\u002Flocalhost:11434\n```\n\n### Step 7: Create a tool\n\nCreate `src\u002Ftools\u002Fweather.ts`:\n\n```typescript\nimport { createTool } from \"@voltagent\u002Fcore\";\nimport { z } from \"zod\";\n\nexport const weatherTool = createTool({\n  name: \"getWeather\",\n  description: \"Get the current weather for a specific location\",\n  parameters: z.object({\n    location: z.string().describe(\"City or location to get weather for\"),\n  }),\n  execute: async ({ location }) => {\n    return {\n      weather: {\n        location,\n        temperature: 21,\n        condition: \"Sunny\",\n        humidity: 45,\n        windSpeed: 8,\n      },\n      message: `Current weather in ${location}: 21 C and sunny.`,\n    };\n  },\n});\n```\n\nCreate `src\u002Ftools\u002Findex.ts`:\n\n```typescript\nexport { weatherTool } from \".\u002Fweather\";\n```\n\n### Step 8: Create a workflow\n\nCreate `src\u002Fworkflows\u002Findex.ts`:\n\n```typescript\nimport { createWorkflowChain } from \"@voltagent\u002Fcore\";\nimport { z } from \"zod\";\n\nexport const expenseApprovalWorkflow = createWorkflowChain({\n  id: \"expense-approval\",\n  name: \"Expense Approval Workflow\",\n  purpose: \"Process expense reports with manager approval for high amounts\",\n  input: z.object({\n    employeeId: z.string(),\n    amount: z.number(),\n    category: z.string(),\n    description: z.string(),\n  }),\n  result: z.object({\n    status: z.enum([\"approved\", \"rejected\"]),\n    approvedBy: z.string(),\n    finalAmount: z.number(),\n  }),\n})\n  .andThen({\n    id: \"check-approval-needed\",\n    resumeSchema: z.object({\n      approved: z.boolean(),\n      managerId: z.string(),\n      comments: z.string().optional(),\n      adjustedAmount: z.number().optional(),\n    }),\n    execute: async ({ data, suspend, resumeData }) => {\n      if (resumeData) {\n        return {\n          ...data,\n          approved: resumeData.approved,\n          approvedBy: resumeData.managerId,\n          finalAmount: resumeData.adjustedAmount || data.amount,\n          managerComments: resumeData.comments,\n        };\n      }\n\n      if (data.amount > 500) {\n        await suspend(\"Manager approval required\", {\n          employeeId: data.employeeId,\n          requestedAmount: data.amount,\n          category: data.category,\n        });\n      }\n\n      return {\n        ...data,\n        approved: true,\n        approvedBy: \"system\",\n        finalAmount: data.amount,\n      };\n    },\n  })\n  .andThen({\n    id: \"process-decision\",\n    execute: async ({ data }) => {\n      return {\n        status: data.approved ? \"approved\" : \"rejected\",\n        approvedBy: data.approvedBy,\n        finalAmount: data.finalAmount,\n      };\n    },\n  });\n```\n\n### Step 9: Create the entry point\n\nCreate `src\u002Findex.ts`:\n\n```typescript\nimport \"dotenv\u002Fconfig\";\nimport {\n  Agent,\n  Memory,\n  VoltAgent,\n  VoltAgentObservability,\n  VoltOpsClient,\n} from \"@voltagent\u002Fcore\";\nimport { LibSQLMemoryAdapter, LibSQLObservabilityAdapter } from \"@voltagent\u002Flibsql\";\nimport { createPinoLogger } from \"@voltagent\u002Flogger\";\nimport { honoServer } from \"@voltagent\u002Fserver-hono\";\nimport { expenseApprovalWorkflow } from \".\u002Fworkflows\";\nimport { weatherTool } from \".\u002Ftools\";\n\nconst logger = createPinoLogger({ name: \"my-voltagent-app\", level: \"info\" });\n\nconst memory = new Memory({\n  storage: new LibSQLMemoryAdapter({\n    url: \"file:.\u002F.voltagent\u002Fmemory.db\",\n    logger: logger.child({ component: \"libsql\" }),\n  }),\n});\n\nconst observability = new VoltAgentObservability({\n  storage: new LibSQLObservabilityAdapter({\n    url: \"file:.\u002F.voltagent\u002Fobservability.db\",\n  }),\n});\n\nconst agent = new Agent({\n  name: \"my-voltagent-app\",\n  instructions: \"A helpful assistant that can check weather and help with various tasks\",\n  model: \"openai\u002Fgpt-4o-mini\",\n  tools: [weatherTool],\n  memory,\n});\n\nnew VoltAgent({\n  agents: { agent },\n  workflows: { expenseApprovalWorkflow },\n  server: honoServer(),\n  logger,\n  observability,\n  voltOpsClient: new VoltOpsClient({\n    publicKey: process.env.VOLTAGENT_PUBLIC_KEY || \"\",\n    secretKey: process.env.VOLTAGENT_SECRET_KEY || \"\",\n  }),\n});\n```\n\nModel format is `provider\u002Fmodel`. Examples:\n- `openai\u002Fgpt-4o-mini`\n- `anthropic\u002Fclaude-3-5-sonnet`\n- `google\u002Fgemini-2.0-flash`\n- `groq\u002Fllama-3.3-70b-versatile`\n- `mistral\u002Fmistral-large-latest`\n- `ollama\u002Fllama3.2`\n\nIf you chose Elysia, replace `honoServer` with `elysiaServer` and update the import.\n\n### Step 10: Run the dev server\n\n```bash\nnpm run dev\n```\n","# Create VoltAgent Skill\n\nComplete guide for creating new VoltAgent projects. Includes the CLI flow and a full manual setup.\n\nOfficial documentation: https:\u002F\u002Fvoltagent.dev\u002Fdocs\u002F\n\n---\n\n## Start Here\n\nWhen a user wants to create a VoltAgent project, ask:\n\n\"How would you like to create your VoltAgent project?\"\n\n1. Automatic Setup - run `npm create voltagent-app@latest` and handle prompts\n2. Interactive Guide - walk through each step and confirm choices\n3. Manual Installation - set up dependencies and a full working example\n\nBased on their choice:\n- Option 1: run the CLI, capture server and provider choices, and finish setup\n- Option 2: gather server, provider, and API key, then run the CLI\n- Option 3: follow the manual steps below\n\n---\n\n## Before You Start\n\n- Node.js 20+ (>= 20.19.0 recommended)\n- Git (optional, for auto git init)\n- An API key for your model provider (not needed for Ollama)\n\n---\n\n## Fast Path\n\nCreate a new VoltAgent project with one command:\n\n```bash\nnpm create voltagent-app@latest\n```\n\nOther package managers:\n\n```bash\npnpm create voltagent-app@latest\nyarn create voltagent-app@latest\nbun create voltagent-app@latest\n```\n\n---\n\n## CLI Flow\n\nThe create-voltagent-app command:\n1. Asks for a project name (default: `my-voltagent-app`)\n2. Prompts for a server framework (Hono or Elysia)\n3. Prompts for an AI provider (OpenAI, Anthropic, Google, Groq, Mistral, Ollama)\n4. Prompts for an API key when required\n5. Installs dependencies and scaffolds the project\n6. Writes `.env`, `README.md`, `tsconfig.json`, `tsdown.config.ts`, and Docker files\n7. Initializes a git repo when available\n\n---\n\n## CLI Walkthrough\n\n1. Run:\n   ```bash\n   npm create voltagent-app@latest\n   ```\n\n2. When prompted:\n   - Choose a server (Hono recommended or Elysia)\n   - Choose an AI provider\n   - Enter your API key (skip if using Ollama)\n\n3. Start the dev server:\n   ```bash\n   cd \u003Cyour-project-directory>\n   npm run dev\n   ```\n\n4. If you chose Ollama:\n   ```bash\n   ollama pull llama3.2\n   ```\n\n---\n\n## CLI Flags and Examples\n\nCreate in a specific directory:\n\n```bash\nnpm create voltagent-app@latest my-voltagent-app\n```\n\nDownload an example from the VoltAgent repo:\n\n```bash\nnpm create voltagent-app@latest -- --example with-workflow\n```\n\npnpm \u002F yarn \u002F bun equivalents:\n\n```bash\npnpm create voltagent-app@latest -- --example with-workflow\nyarn create voltagent-app@latest -- --example with-workflow\nbun create voltagent-app@latest -- --example with-workflow\n```\n\nNotes:\n- Examples are pulled from https:\u002F\u002Fgithub.com\u002Fvoltagent\u002Fvoltagent\u002Ftree\u002Fmain\u002Fexamples\n- Some package managers require `--` before `--example`.\n- After an example download, run `npm install` and `npm run dev`.\n\n---\n\n## Generated Layout\n\n```\nmy-voltagent-app\u002F\n|-- src\u002F\n|   |-- index.ts\n|   |-- tools\u002F\n|   |   |-- index.ts\n|   |   `-- weather.ts\n|   `-- workflows\u002F\n|       `-- index.ts\n|-- .env\n|-- .voltagent\u002F\n|-- Dockerfile\n|-- .dockerignore\n|-- .gitignore\n|-- README.md\n|-- package.json\n|-- tsconfig.json\n`-- tsdown.config.ts\n```\n\nIf you run the docs sync script in this repo, you may also see `packages\u002Fcore\u002Fdocs` generated.\n\n---\n\n## Env Keys\n\nThe CLI writes `.env` with your provider key (or a placeholder). Common keys:\n\n```env\nOPENAI_API_KEY=...\nANTHROPIC_API_KEY=...\nGOOGLE_GENERATIVE_AI_API_KEY=...\nGROQ_API_KEY=...\nMISTRAL_API_KEY=...\nOLLAMA_HOST=http:\u002F\u002Flocalhost:11434\n\nVOLTAGENT_PUBLIC_KEY=...\nVOLTAGENT_SECRET_KEY=...\n```\n\n---\n\n## Manual Setup (Full)\n\nIf you prefer not to use the CLI, follow these steps:\n\n### Step 1: Create the project directory\n\n```bash\nmkdir my-voltagent-app && cd my-voltagent-app\nnpm init -y\nmkdir -p src\u002Ftools src\u002Fworkflows .voltagent\n```\n\n### Step 2: Install dependencies\n\nChoose one server package:\n\n```bash\nnpm install @voltagent\u002Fcore @voltagent\u002Flibsql @voltagent\u002Flogger @voltagent\u002Fserver-hono @voltagent\u002Fcli ai zod dotenv\n```\n\nor\n\n```bash\nnpm install @voltagent\u002Fcore @voltagent\u002Flibsql @voltagent\u002Flogger @voltagent\u002Fserver-elysia @voltagent\u002Fcli ai zod dotenv\n```\n\nDev dependencies:\n\n```bash\nnpm install -D typescript tsx tsdown @types\u002Fnode @biomejs\u002Fbiome\n```\n\n### Step 3: Add scripts to package.json\n\n```json\n{\n  \"scripts\": {\n    \"dev\": \"tsx watch --env-file=.env .\u002Fsrc\",\n    \"build\": \"tsdown\",\n    \"start\": \"node dist\u002Findex.js\",\n    \"lint\": \"biome check .\u002Fsrc\",\n    \"lint:fix\": \"biome check --write .\u002Fsrc\",\n    \"typecheck\": \"tsc --noEmit\",\n    \"volt\": \"volt\"\n  }\n}\n```\n\n`volt` is the VoltAgent CLI. Use it for project utilities (for example `init`, `deploy`, `eval`, `prompts`, `tunnel`, `update`).\n\n### Step 4: Configure TypeScript\n\nCreate `tsconfig.json`:\n\n```json\n{\n  \"compilerOptions\": {\n    \"target\": \"ES2022\",\n    \"module\": \"ES2022\",\n    \"moduleResolution\": \"bundler\",\n    \"esModuleInterop\": true,\n    \"forceConsistentCasingInFileNames\": true,\n    \"strict\": true,\n    \"outDir\": \"dist\",\n    \"skipLibCheck\": true\n  },\n  \"include\": [\"src\"],\n  \"exclude\": [\"node_modules\", \"dist\"]\n}\n```\n\n### Step 5: Add tsdown config\n\nCreate `tsdown.config.ts`:\n\n```typescript\nimport { defineConfig } from \"tsdown\";\n\nexport default defineConfig({\n  entry: [\".\u002Fsrc\u002Findex.ts\"],\n  sourcemap: true,\n  outDir: \"dist\",\n});\n```\n\n### Step 6: Create .env\n\n```env\nOPENAI_API_KEY=your-api-key-here\nVOLTAGENT_PUBLIC_KEY=your-public-key\nVOLTAGENT_SECRET_KEY=your-secret-key\nNODE_ENV=development\n```\n\nFor Ollama:\n\n```env\nOLLAMA_HOST=http:\u002F\u002Flocalhost:11434\n```\n\n### Step 7: Create a tool\n\nCreate `src\u002Ftools\u002Fweather.ts`:\n\n```typescript\nimport { createTool } from \"@voltagent\u002Fcore\";\nimport { z } from \"zod\";\n\nexport const weatherTool = createTool({\n  name: \"getWeather\",\n  description: \"Get the current weather for a specific location\",\n  parameters: z.object({\n    location: z.string().describe(\"City or location to get weather for\"),\n  }),\n  execute: async ({ location }) => {\n    return {\n      weather: {\n        location,\n        temperature: 21,\n        condition: \"Sunny\",\n        humidity: 45,\n        windSpeed: 8,\n      },\n      message: `Current weather in ${location}: 21 C and sunny.`,\n    };\n  },\n});\n```\n\nCreate `src\u002Ftools\u002Findex.ts`:\n\n```typescript\nexport { weatherTool } from \".\u002Fweather\";\n```\n\n### Step 8: Create a workflow\n\nCreate `src\u002Fworkflows\u002Findex.ts`:\n\n```typescript\nimport { createWorkflowChain } from \"@voltagent\u002Fcore\";\nimport { z } from \"zod\";\n\nexport const expenseApprovalWorkflow = createWorkflowChain({\n  id: \"expense-approval\",\n  name: \"Expense Approval Workflow\",\n  purpose: \"Process expense reports with manager approval for high amounts\",\n  input: z.object({\n    employeeId: z.string(),\n    amount: z.number(),\n    category: z.string(),\n    description: z.string(),\n  }),\n  result: z.object({\n    status: z.enum([\"approved\", \"rejected\"]),\n    approvedBy: z.string(),\n    finalAmount: z.number(),\n  }),\n})\n  .andThen({\n    id: \"check-approval-needed\",\n    resumeSchema: z.object({\n      approved: z.boolean(),\n      managerId: z.string(),\n      comments: z.string().optional(),\n      adjustedAmount: z.number().optional(),\n    }),\n    execute: async ({ data, suspend, resumeData }) => {\n      if (resumeData) {\n        return {\n          ...data,\n          approved: resumeData.approved,\n          approvedBy: resumeData.managerId,\n          finalAmount: resumeData.adjustedAmount || data.amount,\n          managerComments: resumeData.comments,\n        };\n      }\n\n      if (data.amount > 500) {\n        await suspend(\"Manager approval required\", {\n          employeeId: data.employeeId,\n          requestedAmount: data.amount,\n          category: data.category,\n        });\n      }\n\n      return {\n        ...data,\n        approved: true,\n        approvedBy: \"system\",\n        finalAmount: data.amount,\n      };\n    },\n  })\n  .andThen({\n    id: \"process-decision\",\n    execute: async ({ data }) => {\n      return {\n        status: data.approved ? \"approved\" : \"rejected\",\n        approvedBy: data.approvedBy,\n        finalAmount: data.finalAmount,\n      };\n    },\n  });\n```\n\n### Step 9: Create the entry point\n\nCreate `src\u002Findex.ts`:\n\n```typescript\nimport \"dotenv\u002Fconfig\";\nimport {\n  Agent,\n  Memory,\n  VoltAgent,\n  VoltAgentObservability,\n  VoltOpsClient,\n} from \"@voltagent\u002Fcore\";\nimport { LibSQLMemoryAdapter, LibSQLObservabilityAdapter } from \"@voltagent\u002Flibsql\";\nimport { createPinoLogger } from \"@voltagent\u002Flogger\";\nimport { honoServer } from \"@voltagent\u002Fserver-hono\";\nimport { expenseApprovalWorkflow } from \".\u002Fworkflows\";\nimport { weatherTool } from \".\u002Ftools\";\n\nconst logger = createPinoLogger({ name: \"my-voltagent-app\", level: \"info\" });\n\nconst memory = new Memory({\n  storage: new LibSQLMemoryAdapter({\n    url: \"file:.\u002F.voltagent\u002Fmemory.db\",\n    logger: logger.child({ component: \"libsql\" }),\n  }),\n});\n\nconst observability = new VoltAgentObservability({\n  storage: new LibSQLObservabilityAdapter({\n    url: \"file:.\u002F.voltagent\u002Fobservability.db\",\n  }),\n});\n\nconst agent = new Agent({\n  name: \"my-voltagent-app\",\n  instructions: \"A helpful assistant that can check weather and help with various tasks\",\n  model: \"openai\u002Fgpt-4o-mini\",\n  tools: [weatherTool],\n  memory,\n});\n\nnew VoltAgent({\n  agents: { agent },\n  workflows: { expenseApprovalWorkflow },\n  server: honoServer(),\n  logger,\n  observability,\n  voltOpsClient: new VoltOpsClient({\n    publicKey: process.env.VOLTAGENT_PUBLIC_KEY || \"\",\n    secretKey: process.env.VOLTAGENT_SECRET_KEY || \"\",\n  }),\n});\n```\n\nModel format is `provider\u002Fmodel`. Examples:\n- `openai\u002Fgpt-4o-mini`\n- `anthropic\u002Fclaude-3-5-sonnet`\n- `google\u002Fgemini-2.0-flash`\n- `groq\u002Fllama-3.3-70b-versatile`\n- `mistral\u002Fmistral-large-latest`\n- `ollama\u002Fllama3.2`\n\nIf you chose Elysia, replace `honoServer` with `elysiaServer` and update the import.\n\n### Step 10: Run the dev server\n\n```bash\nnpm run dev\n```\n",{"name":5,"license":15,"metadata":34,"description":7},{"author":35,"version":36,"repository":37},"VoltAgent","1.0.0","https:\u002F\u002Fgithub.com\u002FVoltAgent\u002Fskills","main","4d2fb89cdfb75f3f6fd3c6c5ec9ad90ea129eb3c","ai-agent-skills\u002F21-external-registries\u002F08-pinkpixel-collection\u002Fcreate-voltagent",2,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai","https:\u002F\u002Fgithub.com\u002Fluokai0","a solo builder.","2026-05-06 04:29:04",{"source":8,"skillName":5,"commands":47,"prompt":57,"zipAvailable":58},[48,51,54],{"tool":49,"command":50},"npx","npx skills add luokai0\u002Fai-agent-skills-by-luo-kai --skill create-voltagent",{"tool":52,"command":53},"bunx","bunx skills add luokai0\u002Fai-agent-skills-by-luo-kai --skill create-voltagent",{"tool":55,"command":56},"pnpm","pnpm dlx skills add luokai0\u002Fai-agent-skills-by-luo-kai --skill create-voltagent","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F21-external-registries\u002F08-pinkpixel-collection\u002Fcreate-voltagent\u002FSKILL.md",true,[],[61,87,104,129,154,179],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":29},"01M6F2SKTE208174C7S7JJCZC7","write-contracts","Generates secure Aptos Move V2 smart contracts with Object model, Digital Asset integration, security patterns, and storage type guidance. Includes comprehensive storage decision framework for optimal data structure selection. Triggers on: 'write contract', 'create NFT collection', 'build marketplace', 'implement minting', 'generate Move module', 'create token contract', 'build DAO', 'implement staking'. Ask storage questions when: 'store', 'track', 'registry', 'mapping', 'list', 'collection'.","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fwrite-contracts\u002FSKILL.md",[],[68,69,70,71,72,19,73,74,75,76,77,78,79,80,81,82,83,84,85,86],"write","contracts","write contracts","storage","secure","generate","collection","model","decision","ask","smart-contracts","selection","objects","structure","nft","token","aptos","critical","move",{"skillNo":88,"name":89,"nameZh":6,"description":90,"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":29},"01M6F2RFXJ6T9MKW0A7N7GM45B","web-search","通用网络搜索技能，支持多引擎搜索（百度、必应、DuckDuckGo），无需API密钥即可获取实时信息","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fweb-search-ex-skill\u002FSKILL.md",[],[94,95,96,97,98,99,100,101,102,103],"web","search","web search","搜索","baidu","bing","duckduckgo","百度","多引擎","internet",{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":29},"01M6F2K968G1FZEZFPW2E6B222","solo-build","Execute implementation plan tasks with TDD workflow, auto-commit, and phase gates. Use when user says \"build it\", \"start building\", \"execute plan\", \"implement tasks\", \"ship it\", or references a track ID. Do NOT use for planning (use \u002Fplan) or scaffolding (use \u002Fscaffold).","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fsolo-build\u002FSKILL.md",[],[111,112,113,114,115,116,117,118,95,119,120,121,68,122,123,124,125,126,127,128],"build","solo","solo build","MCP","workflow","commit","tasks","code","Bash","plan","read","auto","references","context7","query","scaffolding","ship it","project",{"skillNo":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":29},"01M6F2GKN39SGHSPWYB3662YC8","react-email","Use when building HTML email templates with React components, adding a visual email editor to an application using the React Email visual editor, rendering emails to HTML, or sending emails with Resend. Covers welcome emails, password resets, notifications, order confirmations, newsletters, transactional emails, and the embeddable email editor component.","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Freact-email-skills\u002FSKILL.md",[],[136,137,138,22,139,140,141,142,143,26,144,145,146,147,148,149,150,151,152,153],"react","email","react email","editor","components","react components","component","welcome","notifications","password","node","use","html","resend","visual","emails","rendering","with",{"skillNo":155,"name":156,"nameZh":6,"description":157,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":158,"categories":159,"keywords":160,"publishedAt":29},"01M6F2FBVGVDFSG8SSFJGXA40C","APITester Agent-Driven API Testing","Test API endpoints and document responses. Define tests in plain English, run them, get formatted results. Agent-driven Postman alternative.","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fopenclaw-api-tester\u002FSKILL.md",[],[161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178],"testing","api","api testing","driven","APITester Agent Driven API Testing","test","run","postman","results","plain english","tester","endpoints","document","get","define","tests","english","api-tester",{"skillNo":180,"name":181,"nameZh":6,"description":182,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":183,"categories":184,"keywords":185,"publishedAt":29},"01M6F273Y3NGAPVJZ608BC0G9G","hubspot-implementation-plan","Generate a phased implementation plan from a HubSpot audit report. Creates prioritized, sequenced cleanup processes with effort estimates, dependencies, and automation feasibility. Use after running \u002Fhubspot-audit.","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fhubspot-implementation-plan\u002FSKILL.md",[],[120,186,187,188,189,190,191,73,192,193,194,195,196,147,197,198,153,199],"implementation","hubspot","hubspot implementation plan","automation","feasibility","cleanup","planning","report","audit","audit report","phased implementation","dependencies","processes","hubspot audit"]