# Manage Agents

> Create, modify, or remove agents, skills, hooks, and MCP servers for this project. Use when the team needs a new specialty or automation, or to retire ones no longer needed.

- **Type:** Skill
- **Install:** `agentstack add skill-zdnemz-claude-team-manage-agents`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [zdnemz](https://agentstack.voostack.com/s/zdnemz)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [zdnemz](https://github.com/zdnemz)
- **Source:** https://github.com/zdnemz/claude-team/tree/main/.claude/skills/manage-agents

## Install

```sh
agentstack add skill-zdnemz-claude-team-manage-agents
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Manage Agents & Tooling

Model policy + roster: `.claude/system/registry.md`. Update its table on EVERY create/remove, and `progress_log` the change.

## Create an agent
1. Check `.claude/agents/` — don't duplicate an existing specialty; sharpen the existing one instead.
2. Copy `.claude/system/templates/agent-template.md` → `.claude/agents/.md`. Fill: name, description ("Use for …" so auto-selection works), model per registry policy, 5–8 specialty bullets that would actually change how the work is done.
3. New agent TYPES register at the next session start. Until then, spawn `general-purpose` with the file body prepended + the `model` param — same file, either path.

## Modify an agent
Edit `.claude/agents/.md` directly — description, model tier (justify against registry policy), specialty bullets. Typical at init: retuning a generic role to the project's domain (e.g. backend-engineer → "REST + Postgres" bullets swapped for "gRPC + embedded sqlite"). Sync the registry row. Named-type changes load next session; immediate need → general-purpose + updated file body.

## Remove an agent
Delete `.claude/agents/.md` + its registry row. Never remove a role with in-flight tasks — reassign first. If the user created it manually, ask before deleting.

## Create a skill
`.claude/skills//SKILL.md` — frontmatter (name, description with a "Use when …" trigger), body = the procedure. Worth creating when a procedure has ≥3 steps and will run ≥2 times. Loads next session; follow the file directly until then.

## Hooks
Scripts live in `.claude/hooks/`; register in `.claude/settings.json` under `hooks.` (SessionStart, UserPromptSubmit, PreToolUse, PostToolUse, Stop):

```json
{"hooks": [{"type": "command", "command": "bash \"$CLAUDE_PROJECT_DIR/.claude/hooks/.sh\""}]}
```

Keep hooks fast (": {"command": "...", "args": ["..."]}}}`. Prefer stdio + zero/low-dependency (see `memory-server.mjs` as the pattern). Loads next session.
**NEVER remove the `memory` server** — the system is amnesiac without it.

## Removal safety (all artifact types)
State why, `progress_log` it, and if the artifact was user-added rather than system-created, ask the user first.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [zdnemz](https://github.com/zdnemz)
- **Source:** [zdnemz/claude-team](https://github.com/zdnemz/claude-team)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-zdnemz-claude-team-manage-agents
- Seller: https://agentstack.voostack.com/s/zdnemz
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
