Skip to content
Back to skills

Agent Team

ASecurity

Create the `/team` skill and register magic keywords so users can invoke team mode naturally.

  • 28 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added May 28, 2026
databasestypescriptgobashapidatabase

Works with

  • api

Security analysis

A100/100

Pro scans all 12 files and shows the line behind each finding

Scanned May 28, 2026

npx -y skills add MeroZemory/oh-my-droid --skill agent-team --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agent Team?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agent Team
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/merozemory-agent-team/badge)](https://www.skillsdirectory.com/skills/merozemory-agent-team)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Phase 7: Skill + Keywords

## Goal

Create the `/team` skill and register magic keywords so users can invoke team mode naturally.

## Depends On

- Phase 5 (orchestrator)
- Phase 6 (hooks)

## Deliverables

### `skills/team/SKILL.md`

The skill definition that the Factory Droid runtime loads. Follows the standard frontmatter format.

```markdown
---
name: team
description: Coordinate named agents as a team with inter-agent communication
---
```

The skill body instructs the orchestrator to:

1. Analyze the user's request and determine required roles
2. Call `initTeam` with the role composition
3. Spawn members via hooks
4. Enter the COORDINATE loop (poll, handle messages, reassign)
5. Collect results and finalize

### Skill Invocation

```
/team [task description]
/team --roles architect,executor,qa-tester [task description]
/team --template api-crud [task description]
```

### Argument Parsing

| Argument | Description | Default |
|----------|-------------|---------|
| `--roles` | Comma-separated role list | Auto-determined from task |
| `--max-members` | Override maxMembers config | 5 |
| `--timeout` | Team timeout in minutes | 10 |
| `--dry-run` | Show team plan without executing | false |

### Magic Keywords

Add to `src/features/magic-keywords.ts`:

| Keyword | Triggers |
|---------|----------|
| `team` | `/team` skill |
| `collaborate` | `/team` skill |
| `together` | `/team` skill |

### Agent Registration

Add team orchestrator agent to `src/droids/definitions.ts`:

```typescript
{
  name: 'team-orchestrator',
  description: 'Coordinates a team of agents with communication and shared context',
  model: 'opus',
  tools: ['Agent', 'Bash', 'Read', 'Glob', 'Grep'],
}
```

### Dry-Run Output

When `--dry-run` is specified:

```
[TEAM PLAN]
Task: Add REST API endpoint for user preferences
Members:
  - architect-1 (architect): Design API schema and endpoint structure
  - executor-1 (executor): Implement controller and service layer
  - executor-2 (executor): Implement database migration and model
  - qa-tester-1 (qa-tester): Write integration tests

File Ownership:
  - executor-1: src/controllers/preferences.ts, src/services/preferences.ts
  - executor-2: src/models/preferences.ts, migrations/

Estimated: 4 agents, ~10 min
Proceed? [Y/n]
```

## Test Plan

### Skill file
- SKILL.md has valid frontmatter (name, description)
- Skill body covers all orchestrator phases

### Magic keywords
- `team` keyword triggers team skill
- `collaborate` keyword triggers team skill
- Keywords are not detected inside code blocks

### Agent definition
- team-orchestrator is registered in definitions.ts
- Has correct model and tool list

## Completion Criteria

- [ ] `skills/team/SKILL.md` exists with valid frontmatter
- [ ] Magic keywords registered in magic-keywords.ts
- [ ] team-orchestrator agent registered in definitions.ts
- [ ] `--dry-run` output format is defined
- [ ] Argument parsing covers roles, max-members, timeout, dry-run

Files in this skill

  • README.md2.7 KB
  • overview.md12.1 KB
  • phase-1-types.md5.2 KB
  • phase-2-registry.md3.7 KB
  • phase-3-mailbox.md4.1 KB
  • phase-4-shared-context.md3.6 KB
  • phase-5-orchestrator.md6.5 KB
  • phase-6-hooks.md4.4 KB
  • phase-7-skill.md2.9 KB
  • phase-8-hud.md4 KB
  • phase-9-integration.md3.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.