agent_creator

agent_creator is a skill for Claude Code, Codex from Negai-ai/AgentClaw. It costs 48 tokens per session (6,171 once invoked), scanned B, original, Apache-2.0.

A guide for creating or changing AgentClaw workflows and agents from plain-language requirements. It covers workflow structure, prompts, routing, tools, validation, and project setup.

In plain words
What is it for?
It helps build or modify agent workflows, configure their tools and prompts, add validation steps, and connect them to a project.
Why use it?
It gives developers a defined process for making agent changes and checking them as they work. This helps avoid incomplete wiring or unvalidated behavior.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps build or modify agent workflows, configure their tools and prompts, add validation steps, and connect them to a project.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/negai-ai/agentclaw/agent_creator
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 Negai-ai/AgentClaw --skill agent_creator
Clone the repo
git clone --depth 1 https://github.com/Negai-ai/AgentClaw

Made for: Claude Code, Codex.

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 agent_creator

README.md
[![agentmods](https://agentmods.dev/badge/skills/negai-ai/agentclaw/agent_creator.svg)](https://agentmods.dev/skills/negai-ai/agentclaw/agent_creator)
Your own site
<a href="https://agentmods.dev/skills/negai-ai/agentclaw/agent_creator"><img src="https://agentmods.dev/badge/skills/negai-ai/agentclaw/agent_creator.svg" alt="Measured on agentmods" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,171 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.00048 $0.06171
Opus 5 $0.00024 $0.03086
Sonnet 5 $0.00010 $0.01234
Haiku 4.5 $0.00005 $0.00617

Measured 8d ago against content hash 8f8f0218a748, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade B, and why

agent_creator 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 8d ago.

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.

- `shell(command="curl -s -N -X POST {BASE_URL}/_internal/api/workflow/run -H 'Content-Type: application/json' -d '{\"workflow_id\": \"my_workflow\", \"inputs\": {...}, \"response_mode\": \"streaming\"}'", timeout=300)`

Makes network callslowCapability

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

- `shell(command="curl -s -N -X POST {BASE_URL}/_internal/api/workflow/run -H 'Content-Type: application/json' -d '{\"workflow_id\": \"my_workflow\", \"inputs\": {...}, \"response_mode\": \"streaming\"}'", timeout=300)`
agentclaw/skills/builtin_skills/agent_creator/SKILL.md · 551 lines

How it starts

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

Agent Creator (Lean Playbook)

This file is the default workflow-building guide. Read this file first. Route into references/* when the task pattern calls for it.

0) Default Mode (Important)

Use Lean Mode by default:

  1. Keep to the shortest executable path.
  2. Prefer local patch fixes over full-file rewrites.
  3. Validate after each Python edit.
  4. Prefer not to continue to the next gate while the current gate is failing.
  5. Report completed / partial / blocked truthfully.

Keep the build lean, but do not skip a pattern reference when the request clearly matches it. The right reference is part of the shortest reliable path.

0.1) Reference Routing (Pattern Library)

Use references as early design aids, not last-resort repair manuals.

Before designing or coding, scan the user request for domain patterns:

If the request mentions... Read before design Use it to choose...
SQL, NL2SQL, database Q&A, table, column, schema, analytics, dashboard data, log audit, compliance/audit report, scheduled data report references/nl2sql.md tool-based exploration vs. process-based workflow, schema discovery, SQL validation, execution/report gates

If no pattern matches, stay in this file and load references only when a concrete missing detail blocks progress.

0.2) Agent Construction Mental Model

A good AgentClaw workflow is not just code that runs; it is a small evidence pipeline that turns user intent into safe action.

Design the workflow in layers:

  1. Input contract: define what the user supplies and what output they expect.
  2. Evidence/discovery: gather facts the agent should not guess: files, schemas, APIs, current state, configs, and user rules.
  3. Reasoning/generation: use LLMNode for interpretation, synthesis, SQL/code/report drafting, natural-language explanation, and ambiguous mapping.
  4. Validation/gating: use deterministic checks before execution, mutation, file writing, scheduling, or final claims.
  5. Action/output: execute only validated actions; write files or call APIs in small deterministic nodes.
  6. Final response: tell the user what happened, what was verified, and what remains blocked.

Read the full file on GitHub · 551 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 551 lines · 48 tokens per session scan B 8f8f0218a748

Subscribe to this mod's changes

agent_creator is a skill published in the GitHub repository Negai-ai/AgentClaw (341 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 48 tokens to every session and 6,171 once invoked, about $0.0002 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-30.

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

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

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens