Skip to content
Skills Library
AI & agents · Building & coding

agent-new

/agent-new

Create or update an agent worker from any runtime: write its identity file, render its Claude and Codex capes, and list the team. Use when the person or a lead says new agent, new worker, new specialist, add a role, update an agent, or rebuild a cape.

Repository
foxrun ↗
Licence
MIT
Last repository change
26.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
6
Scripts
2
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 26.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 2 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: tests/__init__.py, tests/test_wrapper.py

What it does and when to use it

Create or update an agent worker from any runtime: write its identity file, render its Claude and Codex capes, and list the team. Use when the person or a lead says new agent, new worker, new specialist, add a role, update an agent, or rebuild a cape.

Original author description

Create or update an agent worker from any runtime: write its identity file, render its Claude and Codex capes, and list the team. Use when the person or a lead says new agent, new worker, new specialist, add a role, update an agent, or rebuild a cape.

How it works

  1. Where things go
  2. Steps
  3. Gotchas
Original SKILL.md headings · 39 lines, 342 words
SKILL.md preview
---
name: agent-new
description: "Create or update an agent worker from any runtime: write its identity file, render its Claude and Codex capes, and list the team. Use when the person or a lead says new agent, new worker, new specialist, add a role, update an agent, or rebuild a cape."
kind: tool
---

# agent-new

One identity file per agent. The capes are thin loaders rendered from it, so you change the identity, never the cape.
The wrapper `bin/agent-new` runs the installed program `~/.foxrun/agents/tools/agent_new.py`. Run `bin/agent-new <command> -h` for each command's flags.

## Where things go

- A workspace agent: `~/foxrun/<workspace>/team/<id>.md`. Its capes sit in `<workspace>/.claude/agents/<id>.claude.md` and `<workspace>/.codex/agents/<id>.toml`; both folders link to `<workspace>/team`.
- A system agent: `--client system`. Its capes sit in `~/.foxrun/agents/generated/claude/<id>.md` and `~/.foxrun/agents/generated/codex/<id>.toml`.
- Render receipts: `<workspace>/history/outputs/agent-new/<id>/`, or `~/.foxrun/agents/generated/<id>/` for a system agent.
- An id has one owner across both homes. A duplicate id is refused.

## Steps

1. Check the id is free: `bin/agent-new list`. For an existing seat, run `python3 ~/.foxrun/foxrun.py start --seat <id>` and read the file on its `File:` line. `base.paths.resolve_seat` selects that file.
   Done when: the id is free (create), or you have read its current identity file (update).
2. Create: run with `--dry-run` first, then without it.

   ```
   bin/agent-new create <id> --role "<role>" --summary "<one line>" --tier work --skills a,b --tools qmd --client <workspace> --runtimes claude,codex --hermes-mode none --dry-run
   ```

   Update: edit the identity file, bump its `version`, and go to step 3.
   Done when: the identity file exists with the right role, tier, skills, and version.
3. Render the capes: `bin/agent-new render <id> --dry-run`, then `bin/agent-new render <id>`.
   Done when: each cape names the exact identity path and carries the `managed-by: agent-new` marker.
4. Report the identity path, each cape path, and the receipt folder.
   Done when: `bin/agent-new list` shows the id with its client.

## Gotchas

- An identity is not a Hermes profile. Only `--hermes-mode none` works today. Child and profile modes are held.
- `probe`, `diff`, and `apply` stop today. They need an approved agent-folder plan and live loader proof. No stopped command falls back to an old home.
- Skills are ids on the shared shelf. Report a missing skill as a gap. Never invent one.
- New skill names follow `~/.foxrun/skillwright/standards/skill-law.md`.
- A hand-written cape has no marker. `render` never overwrites it.
- Tiers resolve to models in `~/.foxrun/config/models.yaml`.
Files in this package (6)
  • SKILL.md 3 KB
  • bin/agent-new 1 KB
  • replays/list-help.json 1 KB
  • replays/read-seat-boot.json 1 KB
  • tests/__init__.py 1 KB
  • tests/test_wrapper.py 1 KB

Versions

The database has no other skills named agent-new.

Database snapshot: 13.11.2026 · package version 70f3d051110c (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90agent-add
    Create a new Claude Code agent file (review or team type) following the official sub-agent schema and token-efficiency budgets. Use when the user wants to add a new review agent, detect a new category of code issue, create a team agent persona, or says things like "add an agent…
  • 100may-config
    Use when the user wants MAY roles to run on specific models, asks which model each MAY worker uses, or wants to change per-role model settings for Claude Code, Oh My Pi, Codex, or Pi with the pi-subagents extension.
  • 100agent-config
    Create, update, or audit AGENTS.md (default) or CLAUDE.md agent instructions: set up, prune, add a rule, or merge CLAUDE.md or .cursorrules into one file Claude Code, Codex, and Cursor all read. Don't use for READMEs, skills, or subagents.
  • 100create-agent
    Create or update a Harness Anything business Agent — a declared identity with its own instructions, prompts, skills, role, preset, runtime targets, and permission mode — instead of only naming a model. Use when a user asks to create an agent, define a new…
  • 95add-openclaw-agent
    Create a new OpenClaw agent via exec (openclaw agents add) and configure its identity + operating rules by editing the new workspace files (IDENTITY.md, AGENTS.md). Use when the user wants a new agent and can describe what they want it to do; this skill asks for the purpose…
  • 100skill-creator
    Create new AI agent skills for Claude Code, Codex, and Cursor. Use when asked to create a skill, add a new agent capability, or set up a slash command.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.