ai-agent

ai-agent is a skill for Claude Code from zavudev/zavu-skills. It costs 28 tokens per session (6,713 once invoked), scanned B, original, Apache-2.0.

Instructions for creating and configuring AI agents through a software interface or web API, without building source files or deploying code.

In plain words
What is it for?
Use it to create or update agents through API calls, connect them to webhooks, or configure messaging accounts.
Why use it?
It provides a way to set up agents, webhooks, and knowledge bases from a dashboard or backend script.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the zavu-skills plugin — 14 skills shipped together

Good fit Use it to create or update agents through API calls, connect them to webhooks, or configure messaging accounts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zavudev/zavu-skills/ai-agent
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add zavudev/zavu-skills --skill ai-agent
Clone the repo
git clone --depth 1 https://github.com/zavudev/zavu-skills

Made for: Claude Code.

Or install zavu-skills, the plugin that ships this one along with the rest of its 14 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ai-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/zavudev/zavu-skills/ai-agent/github.svg)](https://agentmods.dev/skills/zavudev/zavu-skills/ai-agent)
Your own site
<a href="https://agentmods.dev/skills/zavudev/zavu-skills/ai-agent"><img src="https://agentmods.dev/badge/skills/zavudev/zavu-skills/ai-agent/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ai-agent

Your own site · 80×15
<a href="https://agentmods.dev/skills/zavudev/zavu-skills/ai-agent"><img src="https://agentmods.dev/badge/skills/zavudev/zavu-skills/ai-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,713 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00028 $0.06713
Opus 5 $0.00014 $0.03356
Sonnet 5 $0.00006 $0.01343
Haiku 4.5 $0.00003 $0.00671

Measured yesterday against content hash 6a2bed13aed3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade B, and why

ai-agent scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

curl -X POST https://api.zavu.dev/v1/agents/$AGENT/tools -d '{...}'

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X PATCH https://api.zavu.dev/v1/senders/snd_abc123/agent \
skills/ai-agent/SKILL.md · 693 lines

How it starts

The opening of the file, as written. The whole thing — 693 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AI Agent

When to Use

Use this skill when the user wants to configure AI agents through API calls (no source files, no deploy step) — typically from a dashboard or a backend script that creates/updates the agent imperatively.

If the user wants a code-first agent with custom tool handlers in TypeScript, deployed via the zavu CLI, route them to the functions skill instead. That path is more ergonomic, version-controlled, and has built-in deployment + debugging.

Quick routing:

User says… Use
"I want my agent's tool to query my database" / "I want to write the tool handler in code" / defineTool / npx zavudev deploy functions skill
"Set up an agent that calls a webhook on my server" / "Configure from the dashboard" / "Create an agent via API" this skill
"I'm starting from scratch and want the simplest path" functions skill (recommended default)

The imperative API documented here is fully supported and won't be deprecated, but Functions is the recommended path for most new integrations.

Senders vs accounts (one paragraph)

A Sender is the API handle you pass as Zavu-Sender; accounts (a WhatsApp Business Account, a Facebook Page, a Telegram bot, a phone number) are the connections it routes — and what bills. Senders are free. Connecting an account in the dashboard auto-creates its sender; find it with GET /v1/senders and trust its channels array for what it can send. See the channel-setup skill for the full model.

Architecture

Inbound message -> Flow check (keyword match, or an `always` flow?)
                     -> YES: Execute flow steps
                     -> NO: LLM call with system prompt + context + KB
                -> Agent generates response -> Send reply

Two ways to build one

As code, with defineAgent. The agent lives in a Zavu Function, next to the tools it calls, and npx zavudev deploy reconciles it. Prefer this when the agent has tools, when it should be reviewable in a pull request, or when it is part of an app you already deploy. See the functions skill for the full shape.

Read the full file on GitHub · 693 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed · +15 lines 6a2bed13aed3
  2. 11d ago First seen · 678 lines · 28 tokens per session scan B 84dd17d84e37

Subscribe to this mod's changes

ai-agent is a skill published in the GitHub repository zavudev/zavu-skills (1 stars, last pushed yesterday), licensed Apache-2.0. It adds 28 tokens to every session and 6,713 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens