create-agent

create-agent is a skill for Claude Code, Codex from plmbr/nui. It costs 24 tokens per session (790 once invoked), scanned A, original, MIT.

A skill that turns the current conversation into a reusable nui agent definition and saves it as an agent file. The definition includes the agent's instructions and basic configuration.

In plain words
What is it for?
Use it to create or update an agent based on the conversation, including its name, purpose, prompt, working setup, and optional recurring first message.
Why use it?
It saves you from rebuilding the same agent instructions by hand when a useful workflow should be reused.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it to create or update an agent based on the conversation, including its name, purpose, prompt, working setup, and optional recurring first message.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/plmbr/nui/create-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 plmbr/nui --skill create-agent
Clone the repo
git clone --depth 1 https://github.com/plmbr/nui

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 create-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/plmbr/nui/create-agent/github.svg)](https://agentmods.dev/skills/plmbr/nui/create-agent)
Your own site
<a href="https://agentmods.dev/skills/plmbr/nui/create-agent"><img src="https://agentmods.dev/badge/skills/plmbr/nui/create-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 create-agent

Your own site · 80×15
<a href="https://agentmods.dev/skills/plmbr/nui/create-agent"><img src="https://agentmods.dev/badge/skills/plmbr/nui/create-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 790 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 3
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Rogue Agent · line 71
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
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.00024 $0.00790
Opus 5.5 $0.00010 $0.00316
Sonnet 5.5 $0.00005 $0.00158
Haiku 4.5 $0.00002 $0.00079

Measured 2mo ago against content hash 6e5b21c018fd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

create-agent scanned grade A with 0 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 2mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

internal/skills/builtins/create-agent/SKILL.md · 89 lines

How it starts

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

Create Agent

Use this skill when the user invokes /create-agent or asks you to turn the conversation into a reusable nui agent.

Default behavior

When no other instructions are given, convert the conversation into a new ADL agent definition:

  1. Infer a short id (kebab-case, e.g. code-review-helper) and human-readable name.
  2. Write a description summarizing what the agent does.
  3. Distill the conversation into a systemPrompt that captures the user's intent, constraints, and examples discussed.
  4. If the conversation implies a recurring first message, set defaultPrompt; otherwise omit it.
  5. Choose harness.type from context (default claude-code when unclear).
  6. Omit aiAssets, orchestration, and env unless the conversation clearly requires them.

Save the result as ~/.nui/agents/<id>.yaml.

When the user adds instructions

Follow any instructions in the same message after /create-agent or in follow-up messages. Examples:

  • change harness, model, or working directory behavior
  • add skills, MCP servers, or orchestration (workflow steps, subAgents, or council)
  • rename the agent or adjust the system prompt
  • update an existing agent file instead of creating a new one

User instructions override the default conversion behavior when they conflict.

ADL template

Use ADL 1.0. Minimum viable agent:

adl: "1.0"

id: example-agent
name: Example Agent
description: One-line summary of what this agent does.
version: 0.1.0

harness:
  type: claude-code
  model: claude-sonnet-4-6

systemPrompt: |
  Instructions distilled from the conversation.

Optional fields when relevant: defaultPrompt, promptMode, workingDirInput, env, aiAssets, orchestration.

For multi-agent agents use orchestration (never top-level steps, subAgents, or council):

orchestration:
  type: workflow          # or subAgents | council
  steps:                  # when type is workflow
    - name: review
      systemPrompt: ...

Read the full file on GitHub · 89 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. 2mo ago Changed · +1 lines 6e5b21c018fd
  2. 2mo ago Changed · +10 lines f49bef3d3e4f
  3. 3mo ago First seen · 78 lines · 24 tokens per session scan A 7133ce58a885

Subscribe to this mod's changes

create-agent is a skill published in the GitHub repository plmbr/nui (8 stars, last pushed 2mo ago), licensed MIT. It adds 24 tokens to every session and 790 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

create-agent compared with skills from other repositories

create-agent next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
create-agentplmbr/nuiSkill82mo agoMITA24Claude Code, Codex
ship-itBlackBeltTechnology/pi-agent-dashboardSkill357todayMITA92Claude Code, Codex
release-cutBlackBeltTechnology/pi-agent-dashboardSkill357todayMITA93Claude Code, Codex
anti-slop-frontendBlackBeltTechnology/pi-agent-dashboardSkill357todayMITA147Claude Code, Codex
ci-troubleshootBlackBeltTechnology/pi-agent-dashboardSkill357todayMITA97Claude Code, Codex
plan-proposalBlackBeltTechnology/pi-agent-dashboardSkill357todayMITA83Claude Code, Codex
dashboard-plugin-scaffoldBlackBeltTechnology/pi-agent-dashboardSkill357todayMITA81Claude Code, Codex