Convex Agents Tools
Enables agents to call external functions, APIs, and database operations through tool definitions. Use this when agents need to fetch data, perform actions, or integrate with external services while maintaining clean separation.
npx skills add majiayu000/claude-skill-registry --skill convex-agents-tools --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
## Purpose Equips agents with the ability to take actions beyond text generation. Tools allow agents to call Convex functions, external APIs, and complex operations. ## When to Use This Skill - Agents need to query or modify database data - Integrating with external APIs - Creating human-in-the-loop workflows - Agents autonomously deciding what actions to take - Chaining tool calls for multi-step operations ## Define Tools Create Convex-aware tools: ```typescript import { createTool } from "@convex-dev/agent"; import { z } from "zod"; export const getUserDataTool = createTool({ description: "Fetch user information by email", args: z.object({ email: z.string().email().describe("The user's email address"), }), handler: async (ctx, { email }): Promise<string> => { const user = await ctx.runQuery(api.users.getUserByEmail, { email }); return user ? JSON.stringify(user) : "User not found"; }, }); ``` ## Configure Agent with Tools ```typescript const agentWithTools = new Agent(components.agent, { name: "Database Agent", languageModel: openai.chat("gpt-4o-mini"), tools: { getUserData: getUserDataTool, }, maxSteps: 5, // Allow tool calls }); ``` ## Enable Automatic Tool Calling ```typescrip
- Purpose
- When to Use This Skill
- Define Tools
- Configure Agent with Tools
- Enable Automatic Tool Calling
- Key Principles
- Next Steps
What does the Convex Agents Tools skill do?
Enables agents to call external functions, APIs, and database operations through tool definitions. Use this when agents need to fetch data, perform actions, or integrate with external services while maintaining clean separation.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill convex-agents-tools --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
