Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills Aโ€“Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Teamwork Preview

ASecurity

Interactive 9-step prompt crafting and delegation protocol for autonomous multi-agent teams. Enforces objective verification, integrity modes, and acceptance criteria across Antigravity, Claude Code, Cursor, OpenCode, Codex, and Roo Code.

6 stars
0 votes
0 copies
1 views
Added 9/19/2026
ai-agentsgorailstestingapi

Works with

claude codecursorcliapi

Security Analysis

A100/100

Scanned 9/19/2026

Install to Claude Code

$npx -y skills add hybridlabor-api/aos --skill teamwork-preview --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Teamwork Preview?

Add the live security badge to your README โ€” it updates automatically with every re-scan.

Security grade badge for Teamwork Preview
[![Security: A โ€” Skills Directory](https://www.skillsdirectory.com/api/skills/hybridlabor-api-teamwork-preview/badge)](https://www.skillsdirectory.com/skills/hybridlabor-api-teamwork-preview)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: teamwork-preview
description: Interactive 9-step prompt crafting and delegation protocol for autonomous multi-agent teams. Enforces objective verification, integrity modes, and acceptance criteria across Antigravity, Claude Code, Cursor, OpenCode, Codex, and Roo Code.
category: bdb-core
---

# ๐Ÿค Teamwork Preview โ€” Multi-Agent Prompt Crafting & Delegation

A structured workflow to turn high-level user ideas into robust, objectively verifiable multi-agent project specifications and delegate them cleanly to execution swarms.

Two-phase workflow:
1. **Interactive Prompt Crafting (Steps 1โ€“9)**: Iteratively define project goals, eliminate ambiguity, select integrity modes, and enforce objective verification mechanisms.
2. **Delegation**: Hand off the validated specification to the target multi-agent team or execution harness.

---

## โ–ถ๏ธ On Claude Code: run the script, don't narrate the protocol

**Action:** call the `Workflow` tool with `scriptPath` set to
`$HOME/.claude/workflows/teamwork-dispatch.mjs` โ€” resolve `$HOME` yourself rather
than hardcoding a username โ€” and `args` set to whatever the user said after the
command, passed through verbatim. If they said nothing, pass no `args`; step 1
asks.

Use `scriptPath`, not `name`. By-name lookup for a custom workflow script has been
observed to fail with `Workflow "..." not found` even when the file exists and its
`meta.name` matches.

Then wait for the call to finish and relay its result โ€” the draft path, the
validation outcome, and any issues it reports. Do not summarise or reinterpret it.

**Do NOT walk through the nine steps yourself in response to this skill.** The
protocol below is the specification the script implements; it is not a set of
instructions to follow inline. This repo has already paid for that mistake once,
recorded in `skills/basic/startcycle-graph/SKILL.md`: an earlier version embedded
its pipeline in prose, the model followed it "in spirit" instead of invoking the
script, and the entire graph โ€” subagents, state, review, quality gate โ€” silently
never ran. A 9-step protocol with integrity modes and acceptance criteria is
exactly the shape of thing that gets approximated.

If the `Workflow` tool is unavailable (some harnesses have none; Claude Code can
have Dynamic Workflows switched off in `/config`), *then* run the protocol below
manually, in order, one step at a time.

## ๐ŸŒ Which harnesses get which

| | |
|---|---|
| **Claude Code** | The script above. Deterministic: it runs or it doesn't. |
| **Codex ยท Cursor ยท OpenCode ยท Roo ยท Antigravity** | The prose protocol below, interpreted by that harness's model. |

The `.mjs` script depends on Claude Code's Dynamic Workflows runtime โ€” the ambient
`agent()` global and the `Workflow` tool. No other harness exposes an equivalent
today, so the prose is not a fallback there, it is the implementation. Both are
kept in this one file deliberately: two files would drift, and the drift would be
invisible until someone on the other harness got different behaviour.

**This is not Antigravity's `/teamwork-preview`.** That command is compiled into
the `agy` binary, with its own conductor/orchestrator/auditor agent types, and is
maintained by Google. This is an independent implementation of the same idea on a
different runtime. It will behave differently, and it does not claim otherwise.

---

## ๐Ÿงญ Core Principles

| # | Principle | Rule |
|---|---|---|
| 1 | **Specify What, Not How** | Define requirements and acceptance criteria. Never prescribe implementation details (file structure, algorithms, libraries) unless the user explicitly mandates them. |
| 2 | **Objective Verification** | Every requirement needs an independent verification mechanism. Programmatic verification (tests, assertion scripts, CLI benchmarks) is preferred; explicit agent-as-judge rubrics are accepted when programmatic testing is impossible. |
| 3 | **Acceptance Criteria = Guardrails** | Acceptance criteria serve as the quality bar to prevent premature self-certification of incomplete or broken work. |
| 4 | **Minimal Requirements** | Only specify what the user explicitly cares about. Give the agent team maximal solution space. |

---

## ๐Ÿ“‹ Artifact-Based Workflow

Maintain a **prompt draft artifact** (`prompt_draft.md`) throughout the interaction. It provides real-time visibility to the user and tracks step progression.

```markdown
# Teamwork Project Prompt โ€” Draft

> Status: Step 1 โ€” Eliciting project idea
> Goal: Craft prompt โ†’ get user approval โ†’ delegate
> Requested team: [none โ€” routes automatically from description]

[Project description โ€” 1-2 sentences]

Working directory: [TBD]
Integrity mode: [development | demo | benchmark]

## Requirements

### R1. [TBD]

### R2. [TBD]

## Acceptance Criteria

### [Category]
- [ ] [Objective condition checkable without subjective bias]

---
*Next: when approved โ†’ delegate via execution protocol*
```

---

## ๐Ÿ”„ The 9-Step Interactive Workflow

### Step 1: Elicit the Idea
- Ask: What do you want to build? What is the purpose (production, demo, eval, prototype)? Who is the audience?
- Condense into a 1โ€“2 sentence project description.
- Initialize `prompt_draft.md` and set status to Step 2.

### Step 2: Identify Ambiguity & Scale
- Probe points with multiple reasonable interpretations (data sources, third-party services, scope limits).
- Ask about effort and team scale:
  - **Single self-contained fix/feature**: Keep focused (one implementer + repeated adversarial review). Prefix prompt: *"This is a single self-contained fix; keep it small and focused."*
  - **Math, formal proofs, or massive search**: Offer standard pipeline vs. large-scale team. If large-scale selected, prefix prompt: *"Use a very large team of agents."*
  - **Standard multi-agent build**: Standard workflow routes from task description.

### Step 3: Determine Integrity Mode
Clarify operational boundaries:
- Can code be copied from existing open-source projects?
- Are pre-built external libraries permitted for core logic?
- Can test implementations be inspected before coding?
- **Mapping**:
  - Unrestricted / default โ†’ `integrity_mode: development`
  - Some shortcuts allowed (demo showcase) โ†’ `integrity_mode: demo`
  - Strict isolation / zero external leakage โ†’ `integrity_mode: benchmark`

### Step 4: Draft Requirements (R1, R2, ...)
- Write 2โ€“5 concise requirement blocks.
- Focus strictly on **what** is required, not **how** to implement it.
- Apply litmus test: *"Would a senior engineer feel over-constrained by this requirement?"* If yes, prune.

### Step 5: Design Verification Mechanisms (Forcing Function)
> **Why this matters:** Verification is a forcing function. Its job is to create an objective test target that forces a genuine build โ†’ test โ†’ debug loop and prevents premature self-certification.

- Design programmatic tests where feasible (unit test suites, test runners, CLI assertion scripts).
- If programmatic tests are not feasible, draft an explicit agent-as-judge scoring rubric.
- Inquire whether the user has existing test suites, schemas, or reference implementations to include in a `## Verification Resources` section.

### Step 6: Set Acceptance Criteria
- Convert verification mechanisms into checkable markdown checkboxes (`- [ ]`).
- Calibrate strictly to the project purpose:
  - Demo: Achievable within rapid time budget.
  - Production: Full test coverage, strict error handling, production readiness.
  - Eval: Strict reproducible metrics over polish.

### Step 7: Infrastructure Constraints (If Applicable)
- Define sandboxing or controlled APIs for remote file operations, job launching, and external network calls.
- Skip if the project operates purely within local workspace files.

### Step 8: Choose Working Directory
- Confirm the target working directory (default: `~/teamwork_projects/{project_name}` or a relative path in the current repo).
- Record as `Working directory: <path>` at top of prompt draft.

### Step 9: Assemble, Validate & Seek Approval
Assemble the final structured prompt:

```markdown
[1-2 sentence project description]

Working directory: <path>
Integrity mode: [development | demo | benchmark]
[Optional: Team scaling directive]

## Requirements

### R1. [Primary Deliverable]
[What it does, not how to build it]

### R2. [Secondary Deliverable]
[What it does, not how to build it]

## Acceptance Criteria

### [Category]
- [ ] [Objective condition checkable without subjective bias]
```

**Pre-flight Checklist:**
- [ ] No unsolicited implementation hints (file structures, algorithms).
- [ ] Every acceptance criterion is objectively verifiable.
- [ ] Scope matches actual user needs.
- [ ] Team scale directive included if requested in Step 2.

Seek explicit approval from the user before triggering execution.

---

## ๐Ÿš€ Delegation Protocol

Once approved by the user:

### 1. In Antigravity Harness
If running in Google Antigravity with native subagent support:
- Call `invoke_subagent`:
  - `TypeName`: `teamwork_preview`
  - `Role`: `Teamwork Coordinator`
  - `Prompt`: Full prompt content from `prompt_draft.md`
- Set artifact status to `Launched`.

### 2. In Other Agent Harnesses
- **Claude Code**: Feed the finalized prompt to dynamic workflows or dispatch via `/startcycle-graph` / subagents.
- **Cursor / Windsurf**: Inject the prompt into composer or project rules context.
- **OpenCode / Codex CLI**: Pass the prompt to `opencode run` or Codex runner.

Attribution

hybridlabor-apihybridlabor-api
View sourceMore from hybridlabor-api โ†’
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

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 (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Ultra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".

1066601 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

686011 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3351 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

651 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants โ€” handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents โ†’