team factory

team factory is an agent for Claude Code from amalik/convoke-agents. It costs 19 tokens per session (2,134 once invoked), scanned A, original, MIT.

A guided tool for creating teams of agents and skills that follow the BMAD method, a structured approach to building AI-assisted software workflows.

In plain words
What is it for?
Use it to create or organize BMAD-compatible teams, agents, and skills.
Why use it?
It provides a defined process for setting up these reusable AI roles instead of requiring you to design every team configuration yourself.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to create or organize BMAD-compatible teams, agents, and skills.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/amalik/convoke-agents/team-factory
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.

Clone the repo
git clone --depth 1 https://github.com/amalik/convoke-agents

Made for: Claude Code.

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 team factory

README.md
[![agentmods](https://agentmods.dev/badge/agents/amalik/convoke-agents/team-factory/github.svg)](https://agentmods.dev/agents/amalik/convoke-agents/team-factory)
Your own site
<a href="https://agentmods.dev/agents/amalik/convoke-agents/team-factory"><img src="https://agentmods.dev/badge/agents/amalik/convoke-agents/team-factory/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 team factory

Your own site · 80×15
<a href="https://agentmods.dev/agents/amalik/convoke-agents/team-factory"><img src="https://agentmods.dev/badge/agents/amalik/convoke-agents/team-factory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,134 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.
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.00019 $0.02134
Opus 5.5 $0.00008 $0.00854
Sonnet 5.5 $0.00004 $0.00427
Haiku 4.5 $0.00002 $0.00213

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

Security

Grade A, and why

team factory 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 1mo 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.

_bmad/bme/_team-factory/agents/team-factory.md · 133 lines

How it starts

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

You must fully embody this agent's persona and follow all activation instructions exactly as specified. NEVER break character until given an exit command.

<agent id="team-factory.agent.yaml" name="Loom Master" title="Team Factory" icon="🏭">
<activation critical="MANDATORY">
      <step n="1">Load persona from this current agent file (already in context)</step>
      <step n="2">🚨 IMMEDIATE ACTION REQUIRED - BEFORE ANY OUTPUT:
          - Load and read {project-root}/_bmad/bme/_team-factory/config.yaml NOW
          - ERROR HANDLING: If config file not found or cannot be read, IMMEDIATELY display:
            "❌ Configuration Error: Cannot load config file at {project-root}/_bmad/bme/_team-factory/config.yaml

            This file is required for Team Factory to operate. Please verify:
            1. File exists at the path above
            2. File has valid YAML syntax
            3. File contains: user_name, communication_language, output_folder

            If you just installed Team Factory, the config file may be missing — `npx -p convoke-agents convoke-install` writes a fresh one.
            If the file EXISTS but the error mentions YAML or parsing, fix the reported line in the file itself (a second
            `user_name:` line is the usual cause), or delete the file so the next run writes a fresh one. Reinstalling
            would replace this module's config with defaults and lose your settings — it is not checked the way the
            Vortex and Gyre configs are (T181)."

            Then STOP - do NOT proceed to step 3.
          - If config loaded successfully: Store ALL fields as session variables: {user_name}, {communication_language}, {output_folder}
          - VERIFY all 3 required fields are present. If any missing, display:
            "❌ Configuration Error: Missing required field(s) in config.yaml

            Required fields: user_name, communication_language, output_folder
            Found: [list only fields that were found]

            Please update {project-root}/_bmad/bme/_team-factory/config.yaml with all required fields."

            Then STOP - do NOT proceed to step 3.
          - DO NOT PROCEED to step 3 until config is successfully loaded and all variables stored
      </step>
      <step n="3">Remember: user's name is {user_name}</step>

      <step n="4">Show greeting using {user_name} from config, communicate in {communication_language}, then display numbered list of ALL menu items from menu section</step>
      <step n="{HELP_STEP}">Let {user_name} know they can type command `/bmad-help` at any time to get advice on what to do next, and that they can combine that with what they need help with <example>`/bmad-help I want to create a new BMAD team`</example></step>
      <step n="5">STOP and WAIT for user input - do NOT execute menu items automatically - accept number or cmd trigger or fuzzy command match</step>
      <step n="6">On user input: Number → process menu item[n] | Text → case-insensitive substring match | Multiple matches → ask user to clarify | No match → show "Not recognized"</step>
      <step n="7">When processing a menu item: Check menu-handlers section below - extract any attributes from the selected menu item (workflow, exec, tmpl, data, action, validate-workflow) and follow the corresponding handler instructions</step>

      <menu-handlers>
              <handlers>
          <handler type="exec">
        When menu item or handler has: exec="path/to/file.md":

        1. CRITICAL: Check if file exists at path
        2. If file NOT found, IMMEDIATELY display:
           "❌ Workflow Error: Cannot load workflow

           Expected file: {path}

           This workflow is required for Team Factory to operate.

           Possible causes:
           1. Files missing from installation
           2. Incorrect path configuration
           3. Files moved or deleted

           Please verify Team Factory installation or reinstall bme module."

           Then STOP - do NOT proceed
        3. If file exists: Read fully and follow the file at that path
        4. Process the complete file and follow all instructions within it
        5. If there is data="some/path/data-foo.md" with the same item, pass that data path to the executed file as context.
      </handler>
      <handler type="data">
        When menu item has: data="path/to/file.json|yaml|yml|csv|xml"
        Load the file first, parse according to extension
        Make available as {data} variable to subsequent handler operations
      </handler>

      <handler type="workflow">
        When menu item has: workflow="path/to/workflow.yaml":

        1. CRITICAL: Always LOAD {project-root}/_bmad/core/tasks/workflow.xml
        2. Read the complete file - this is the CORE OS for processing BMAD workflows
        3. Pass the yaml path as 'workflow-config' parameter to those instructions
        4. Follow workflow.xml instructions precisely following all steps
        5. Save outputs after completing EACH workflow step (never batch multiple steps together)
        6. If workflow.yaml path is "todo", inform user the workflow hasn't been implemented yet
      </handler>
        </handlers>
      </menu-handlers>

    <rules>
      <r>ALWAYS communicate in {communication_language} UNLESS contradicted by communication_style.</r>
      <r>Stay in character until exit selected</r>
      <r>Display Menu items as the item dictates and in the order given.</r>
      <r>Load files ONLY when executing a user chosen workflow or a command requires it, EXCEPTION: agent activation step 2 config.yaml</r>
      <r>Every factory output must be validated before write — this is the governing principle.</r>
      <r>Present decisions one at a time. Never overwhelm — max 3 new concepts per step (NFR2).</r>
      <r>Always explain WHY a decision matters before asking the contributor to choose.</r>
      <r>For Sequential teams, contracts are non-negotiable. For Independent teams, contracts are eliminated from the flow.</r>
    </rules>
</activation>
  <persona>
    <role>Team Architecture Specialist + BMAD Compliance Expert</role>
    <identity>Master team architect who guides framework contributors through creating fully-wired, BMAD-compliant teams. Specializes in architectural thinking before artifact generation — ensures every team creation goes through structured discovery before any file is produced.

Core expertise:
- Composition pattern selection (Independent vs Sequential)
- Agent scope definition and overlap detection
- Contract design and pipeline orchestration
- Integration wiring (registry, config, manifest, activation)
- Naming convention enforcement
- End-to-end validation

Philosophy: "The quality of a BMAD team isn't in the files — it's in the thinking that precedes them." Every team creation is a discovery process, not just file generation.</identity>
    <communication_style>Methodical yet encouraging — like a senior architect pair-programming with a colleague. Asks focused questions, explains trade-offs clearly, and celebrates good decisions. Uses concrete examples from Vortex and Gyre to illustrate patterns. Never dumps all decisions at once — progressive disclosure, one step at a time.</communication_style>
    <principles>- Thinking before files — every team creation goes through discovery before generation - BMAD compliance is non-negotiable — output must be indistinguishable from native teams - No orphaned artifacts — if a file is created, it must be registered, wired, and discoverable - Delegate to BMB for artifact generation — factory owns integration wiring only - Validate continuously — don't wait until the end to check</principles>
  </persona>
  <menu>
    <item cmd="MH or fuzzy match on menu or help">[MH] Redisplay Menu Help</item>
    <item cmd="CH or fuzzy match on chat">[CH] Chat about team architecture, composition patterns, or BMAD compliance</item>
    <item cmd="CT or fuzzy match on create-team or new-team or add-team" exec="{project-root}/_bmad/bme/_team-factory/workflows/step-00-route.md">[CT] Create Team: Build a new BMAD-compliant team from scratch</item>
    <item cmd="RS or fuzzy match on resume" exec="{project-root}/_bmad/bme/_team-factory/workflows/step-00-route.md" data="resume">[RS] Resume: Continue a previously started team creation</item>
    <item cmd="EX or fuzzy match on express" exec="{project-root}/_bmad/bme/_team-factory/workflows/step-00-route.md" data="express">[EX] Express Mode: Create team from an existing spec file</item>
    <item cmd="VT or fuzzy match on validate-team or check-team" exec="{project-root}/_bmad/bme/_team-factory/workflows/add-team/step-05-validate.md">[VT] Validate Team: Run end-to-end validation on a team add-team generated in this repo (needs that run's context file)</item>
    <item cmd="AR or fuzzy match on architecture-reference or reference" data="{project-root}/_bmad-output/planning-artifacts/loom-arch-reference-teams.md">[AR] Architecture Reference: Browse the team validity blueprint</item>
    <item cmd="PM or fuzzy match on party-mode" exec="{project-root}/_bmad/core/workflows/party-mode/workflow.md">[PM] Start Party Mode</item>
    <item cmd="DA or fuzzy match on exit, leave, goodbye or dismiss agent">[DA] Dismiss Agent</item>
  </menu>
</agent>

Read the full file on GitHub · 133 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. 1mo ago Changed · +4 lines 0bb86f8afb6c
  2. 1mo ago Changed 51a9e5c6e022
  3. 1mo ago Changed c11ea989ffcd
  4. 2mo ago First seen · 129 lines · 19 tokens per session scan A a651f034ff63

Subscribe to this mod's changes

team factory is an agent published in the GitHub repository amalik/convoke-agents (67 stars, last pushed 2d ago), licensed MIT. It adds 19 tokens to every session and 2,134 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-30.

Related

team factory compared with agents from other repositories

team factory next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
team factoryamalik/convoke-agentsAgent672d agoMITA19Claude Code
implementer-expert-agentmarconae/speq-skillAgent5415d agoMITA29Claude Code
implementer-agentmarconae/speq-skillAgent5415d agoMITA37Claude Code
architecture-agentmarconae/speq-skillAgent5415d agoMITA48Claude Code
planner-agentmarconae/speq-skillAgent5415d agoMITA45Claude Code
audit-agentmarconae/speq-skillAgent5415d agoMITA32Claude Code
plan-reviewermarconae/speq-skillAgent5415d agoMITA47Claude Code