Ck:Team logo

Ck:Team

Community
manhvann
ck:team

Orchestrate Agent Teams for parallel multi-session collaboration. Use for research, implementation, review, and debug workflows requiring independent teammates.

Overview

Publishermanhvann
Repositorycodexkit
Skill nameck:team
Stars
88
Forks
81
Bundled files
3
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by manhvann on GitHub. Read the source before you install it.

Installation

Install the Ck:Team AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/manhvann/codexkit/tree/main/.agents/skills/team
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/manhvann/codexkit.git /tmp/codexkit
mkdir -p .claude/skills
cp -r /tmp/codexkit/.agents/skills/team .claude/skills/manhvann-ck-team
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Ck:Team in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Ck:Team on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Ck:Team is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Agent Teams - CK-Native Orchestration Engine

Coordinate multiple independent Codex sessions. Each teammate has own context window, loads project context (AGENTS.md, skills, agents), communicates via shared task list and messaging.

Requires: Agent Teams enabled. Set CODEX_EXPERIMENTAL_AGENT_TEAMS=1 in settings.json env if using Codex < 2.1.33. May be GA in 2.1.33+.

Usage

$team <template> <context> [flags]

Templates: ck:research, ck:cook, ck:code-review, ck:debug

Flags:

  • --devs N | --researchers N | --reviewers N | --debuggers N — team size
  • --plan-approval / --no-plan-approval — plan gate (default: on for cook)
  • --delegate — lead only coordinates, never touches code

Execution Protocol

Pre-flight (MANDATORY — merged into step 2 of every template):

  1. Step 2 of every template calls TeamCreate(team_name: "...", ...). Do NOT check whether the tool exists first — just call it.
  2. If the call SUCCEEDS: continue with the template.
  3. If the call returns an ERROR or is unrecognized: STOP. Tell user: "Agent Teams requires CODEX_EXPERIMENTAL_AGENT_TEAMS=1 in settings.json. Team mode is not available."
  4. Do NOT fall back to subagents. $team MUST use Agent Teams or abort.
  5. All teammate spawns MUST include team_name parameter — never spawn Task without it.

When activated, IMMEDIATELY execute the matching template sequence below. Do NOT ask for confirmation. Do NOT explain what you're about to do. Execute the tool calls in order. Report progress after each major step.


CK Context Block

Every teammate spawn prompt MUST include this context at the end:

CK Context:
- Work dir: {CK_PROJECT_ROOT or CWD}
- Reports: {CK_REPORTS_PATH or "plans/reports/"}
- Plans: {CK_PLANS_PATH or "plans/"}
- Branch: {CK_GIT_BRANCH or current branch}
- Naming: {CK_NAME_PATTERN or "YYMMDD-HHMM"}
- Active plan: {CK_ACTIVE_PLAN or "none"}
- Commits: conventional (feat:, fix:, docs:, refactor:, test:, chore:)
- Refer to teammates by NAME, not agent ID

ON $team research <topic> [--researchers N]:

Wraps $research skill — scope, gather, analyze, report.

IMMEDIATELY execute in order:

  1. Derive N angles from <topic> (default N=3):

    • Angle 1: Architecture, patterns, proven approaches
    • Angle 2: Alternatives, competing solutions, trade-offs
    • Angle 3: Risks, edge cases, failure modes, security
    • (If N>3, derive additional angles from topic context)
  2. CALL TeamCreate(team_name: "<topic-slug>")

  3. CALL TaskCreate x N — one per angle:

    • Subject: Research: <angle-title>
    • Description: Investigate <angle> for topic: <topic>. Save report to: {CK_REPORTS_PATH}/researcher-{N}-{CK_NAME_PATTERN}-{topic-slug}.md. Format: Executive summary, key findings, evidence, recommendations. Mark task completed when done. Send findings summary to lead.
  4. CALL Task x N to spawn researcher teammates:

    • subagent_type: "researcher", team_name: "<topic-slug>", model: "haiku"
    • name: "researcher-{N}"
    • Prompt: task description + CK Context Block
  5. MONITOR via TaskCompleted hook events + TaskList fallback:

    • TaskCompleted events auto-notify when researchers finish
    • Fallback: Check TaskList if no event received in 60s
    • If stuck >5 min, message teammate directly
  6. READ all researcher reports from {CK_REPORTS_PATH}/

  7. SYNTHESIZE into: {CK_REPORTS_PATH}/research-summary-{CK_NAME_PATTERN}-{topic-slug}.md Format: exec summary, key findings, comparative analysis, recommendations, unresolved questions.

  8. SHUTDOWN: SendMessage(type: "shutdown_request") to each teammate

  9. CLEANUP: TeamDelete (no parameters — just call it)

  10. REPORT: Tell user Research complete. Summary: {path}. N reports generated.


ON $team cook <plan-path-or-description> [--devs N]:

Wraps ck:cook skill — plan, code, test, review, finalize.

IMMEDIATELY execute in order:

  1. READ plan (if path provided) OR create via planner teammate:

    • If description only: spawn Task(subagent_type: "planner") to create plan first
    • Parse plan into N independent task groups with file ownership boundaries
  2. CALL TeamCreate(team_name: "<feature-slug>")

  3. CALL TaskCreate x (N + 1) — N dev tasks + 1 tester task:

    • Dev tasks: include File ownership: <glob patterns> — NO overlap between devs
    • Tester task: addBlockedBy all dev task IDs
    • Each task description includes: implementation scope, file ownership, acceptance criteria
  4. CALL Task x N to spawn developer teammates:

    • subagent_type: "fullstack_developer", mode: "plan"
    • model: "sonnet", name: "dev-{N}"
    • Prompt: task description + CK Context Block
    • REVIEW and APPROVE each developer's plan via plan_approval_response
  5. MONITOR dev completion via TaskCompleted events:

    • TaskCompleted hook notifies when each dev task finishes
    • When all N dev tasks show completed, spawn tester immediately
    • TeammateIdle events confirm devs are available for shutdown
    • Fallback: Check TaskList if no events received in 60s
    • Task(subagent_type: "tester", model: "haiku", name: "tester")
    • Tester runs full test suite, reports pass/fail
  6. DOCS SYNC EVAL (MANDATORY for cook — from ck:cook finalize):

    Docs impact: [none|minor|major]
    Action: [no update needed — <reason>] | [updated <page>] | [needs separate PR]
  7. SHUTDOWN all teammates via SendMessage(type: "shutdown_request")

  8. CLEANUP: TeamDelete (no parameters — just call it)

  9. REPORT: Tell user what was cooked, test results, docs impact.


ON $team review <scope> [--reviewers N]:

Wraps $code-review skill — scout, review, synthesize with evidence gates.

IMMEDIATELY execute in order:

  1. DERIVE N review focuses from <scope> (default N=3):

    • Focus 1: Security — vulnerabilities, auth, input validation, OWASP
    • Focus 2: Performance — bottlenecks, memory, complexity, scaling
    • Focus 3: Test coverage — gaps, edge cases, error paths
    • (If N>3, derive from scope: architecture, DX, accessibility, etc.)
  2. CALL TeamCreate(team_name: "review-<scope-slug>")

  3. CALL TaskCreate x N — one per focus:

    • Subject: Review: <focus-title>
    • Description: Review <scope> for <focus>. Output severity-rated findings only. Format: [CRITICAL|IMPORTANT|MODERATE] <finding> — <evidence> — <recommendation>. No "seems" or "probably" — concrete evidence only. Save to: {CK_REPORTS_PATH}/reviewer-{N}-{CK_NAME_PATTERN}-{scope-slug}.md. Mark task completed when done.
  4. CALL Task x N to spawn reviewers:

    • subagent_type: "code_reviewer", model: "haiku", name: "reviewer-{N}"
    • Prompt: task description + CK Context Block
  5. MONITOR via TaskCompleted hook events + TaskList fallback:

    • TaskCompleted events auto-notify when reviewers finish
    • Fallback: Check TaskList if no event received in 60s
  6. SYNTHESIZE into: {CK_REPORTS_PATH}/review-{scope-slug}.md

    • Deduplicate findings across reviewers
    • Prioritize by severity: CRITICAL > IMPORTANT > MODERATE
    • Create action items list with owners
  7. SHUTDOWN all teammates via SendMessage(type: "shutdown_request")

  8. CLEANUP: TeamDelete (no parameters — just call it)

  9. REPORT: Tell user Review complete. {X} findings ({Y} critical). Report: {path}.


ON $team debug <issue> [--debuggers N]:

Wraps $fix skill — root-cause-first, adversarial hypotheses, disprove to converge.

IMMEDIATELY execute in order:

  1. GENERATE N competing hypotheses from <issue> (default N=3):

    • Each hypothesis must be independently testable
    • Each must predict different observable symptoms
    • Frame as: "If , then we should see "
  2. CALL TeamCreate(team_name: "debug-<issue-slug>")

  3. CALL TaskCreate x N — one per hypothesis:

    • Subject: Debug: Test hypothesis — <theory>
    • Description: Investigate hypothesis: <theory>. For issue: <issue>. ADVERSARIAL: actively try to disprove other theories. Message other debuggers to challenge findings. Report evidence FOR and AGAINST your theory. Save findings to: {CK_REPORTS_PATH}/debugger-{N}-{CK_NAME_PATTERN}-{issue-slug}.md. Mark task completed when done.
  4. CALL Task x N to spawn debugger teammates:

    • subagent_type: "debugger", model: "sonnet", name: "debugger-{N}"
    • Prompt: task description + CK Context Block
  5. MONITOR via TaskCompleted events. Debuggers should message each other — let them converge.

    • TaskCompleted events notify as each hypothesis is tested
    • TeammateIdle events indicate debugger awaiting peer input
    • Fallback: Check TaskList if no events in 60s
  6. READ all debugger reports. Identify surviving theory as root cause.

  7. WRITE root cause report: {CK_REPORTS_PATH}/debug-{issue-slug}.md Format: Root cause, evidence chain, disproven hypotheses, recommended fix.

  8. SHUTDOWN all teammates via SendMessage(type: "shutdown_request")

  9. CLEANUP: TeamDelete (no parameters — just call it)

  10. REPORT: Tell user Debug complete. Root cause: <summary>. Report: {path}.


Agent Memory

Agents with memory: project retain learnings across team sessions. Memory persists in .codex/agent-memory/<name>/ (gitignored). Useful for:

  • Code reviewer remembering project conventions
  • Debugger recalling past failure patterns
  • Tester tracking flaky tests and coverage gaps

Agent Memory

Agents with memory: project retain learnings across team sessions. Memory persists in .codex/agent-memory/<name>/ (gitignored). Useful for:

  • Code reviewer remembering project conventions
  • Debugger recalling past failure patterns
  • Tester tracking flaky tests and coverage gaps

When to Use Agent Teams vs Subagents

ScenarioSubagents (Task tool)Agent Teams
Focused task (test, lint, single review)YesOverkill
Sequential chain (plan → code → test)YesNo
3+ independent parallel workstreamsMaybeYes
Competing debug hypothesesNoYes
Cross-layer work (FE + BE + tests)MaybeYes
Workers need to discuss/challenge findingsNoYes
Token budget is tightYesNo (high cost)

Token Budget

TemplateEstimated TokensModel Strategy
Research (3)~150K-300Khaiku for all
Cook (4)~400K-800Ksonnet for devs, haiku for tester
Review (3)~100K-200Khaiku for all
Debug (3)~200K-400Ksonnet for all

Error Recovery

  1. Check status: Shift+Up/Down (in-process) or click pane (split)
  2. Redirect: Send direct message with corrective instructions
  3. Replace: Shut down failed teammate, spawn replacement for same task
  4. Reassign: TaskUpdate stuck task to unblock dependents

Abort Team

Shut down all teammates. Then call TeamDelete (no parameters).

If unresponsive: close terminal or kill session. Clean orphaned configs at ~/.codex/teams/ manually.

Display Modes

  • auto (default): split panes if in tmux, otherwise in-process
  • in-process: all in one terminal. Shift+Up/Down navigate. Ctrl+T task list.
  • tmux/split: each teammate own pane. Requires tmux or iTerm2.

Rules Reference

See .codex/rules/team-coordination-rules.md for teammate behavior rules.

v2.1.0: Event-driven orchestration via TaskCompleted/TeammateIdle hooks. Agent memory + Task restrictions.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Ck:Team AI skill do?

Orchestrate Agent Teams for parallel multi-session collaboration. Use for research, implementation, review, and debug workflows requiring independent teammates.

Why use Ck:Team on TypingMind?

Because you install it once and use it with any model. Ck:Team is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Ck:Team in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/manhvann/codexkit/tree/main/.agents/skills/team. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Ck:Team?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Ck:Team?

As many as you like. As long as a model supports skills, you can use Ck:Team with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Ck:Team AI skill free?

Yes. It is published on GitHub by manhvann under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇