[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6WWQ7V69Q140ZJ8JK4D34KP":3,"skill-same:01M6WWQ7V69Q140ZJ8JK4D34KP":154},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":87,"commitSha":88,"skillDirectory":89,"forksCount":14,"repositoryHtmlUrl":90,"repositoryHomepageUrl":91,"ownerHtmlUrl":92,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":93,"install":94,"resources":107},"01M6WWQ7V69Q140ZJ8JK4D34KP","team-creator",null,"Compose a provider-neutral AI team by tiering accessible models on\ncost-efficiency, capability, latency, and governance, then mapping\nthe 8 processkit role archetypes onto catalog Roles + RoleSlots\ninside a chartering Scope. Use when bootstrapping a new project\nteam, rotating after a provider change, or quarterly rebalancing.\nTriggers: \"create my AI team\", \"compose a team\", \"rebalance the\nteam\", \"review the team\".","projectious-work\u002Fprocesskit","projectious-work","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F263889726?v=4","01M6N97TJJ118WQ35CHRV8RD0E","projectious.work","01M6N97TPWJPF0BMKYQ4PBY5W8",0,"MIT","https:\u002F\u002Fgithub.com\u002Fprojectious-work\u002Fprocesskit\u002Fblob\u002Fmain\u002Farchive\u002Fprocesskit-install-20261101\u002Fcontext\u002Fskills\u002Fprocesskit\u002Fteam-creator\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"team creator","team","creator","project","capability","float","manager","re","availability","filter","full","change","artifact","cap","snapshot","list","write","read","open","create","2026-11-10 10:12:30",false,"---\nname: team-creator\ndescription: |\n  Compose a provider-neutral AI team by tiering accessible models on\n  cost-efficiency, capability, latency, and governance, then mapping\n  the 8 processkit role archetypes onto catalog Roles + RoleSlots\n  inside a chartering Scope. Use when bootstrapping a new project\n  team, rotating after a provider change, or quarterly rebalancing.\n  Triggers: \"create my AI team\", \"compose a team\", \"rebalance the\n  team\", \"review the team\".\nmetadata:\n  processkit:\n    apiVersion: processkit.projectious.work\u002Fv2\n    id: SKILL-team-creator\n    version: \"2.0.0\"\n    created: 2026-04-15T00:00:00Z\n    category: processkit\n    layer: 3\n    uses:\n      - skill: model-recommender\n        purpose: >\n          Query, score, and filter accessible models via\n          query_models, get_pricing, check_availability.\n      - skill: team-manager\n        purpose: >\n          Open RoleSlot entities (create_role_slot) inside the\n          chartering Scope and fill them via fill_role_slot. Replaces\n          v1's archetype Role + Actor + role-assignment writes.\n      - skill: binding-management\n        purpose: >\n          End superseded role-slot-fill Bindings via end_binding when\n          re-running the charter.\n      - skill: decision-record\n        purpose: >\n          Write the chartering DecisionRecord; read stored\n          formula weights on rebalance via get_decision.\n    provides:\n      primitives: []\n      mcp_tools: []\n    commands:\n      - name: pk-team-create\n        args: \"--subscription \u003Cprovider>:\u003Ctier> --providers \u003Clist|any> --parallelism-cap \u003Cint> --governance-floor \u003C0-5>\"\n        description: \"Derive a full team from scratch: roles, actors, bindings, roster, and chartering DecisionRecord\"\n      - name: pk-team-review\n        args: \"[--landscape-artifact \u003CART-id>] [--threshold \u003Cfloat>]\"\n        description: \"Read-only team health-check against the latest landscape snapshot\"\n      - name: pk-team-rebalance\n        args: \"--roles \u003Clist|all> --confirm --reason \u003Cstring>\"\n        description: \"Apply a pk-team-review recommendation: targeted re-tiering of one or more roles\"\n---\n\n# Team Creator\n\n## Intro\n\n`team-creator` derives a provider-neutral AI team by scoring all\naccessible models on four weighted dimensions (Capability, Cost,\nLatency, Governance) and mapping the 8 processkit role archetypes\nonto the resulting heavy \u002F medium \u002F light tiers. It composes 5\nexisting skills — no new primitives or MCP tools are introduced.\n\n## Overview\n\n### When to use\n\n| Trigger | Command |\n|---|---|\n| New project or provider subscription | `pk-team-create` |\n| Quarterly landscape shift | `pk-team-review` → `pk-team-rebalance` |\n| Provider outage, rapid rotation | `pk-team-rebalance --roles all` |\n| Spot-check current assignments | `pk-team-review` |\n\n### Inputs (key parameters)\n\n| Parameter | Required | Default | Notes |\n|---|---|---|---|\n| `--subscription \u003Cprovider>:\u003Ctier>` | yes | — | e.g. `anthropic:max-5x` |\n| `--governance-floor \u003C0-5>` | no | 3 | Models below excluded before scoring |\n| `--parallelism-cap \u003C1-10>` | no | 5 | PM always capped at 1 |\n| `--weight-overrides \u003Cjson>` | no | see formula | Must sum to 1.0 ± 0.001; CLI > DEC-*-TeamWeights > defaults |\n| `--threshold-overrides \u003Cjson>` | no | `{\"heavy_min\":0.70,\"medium_min\":0.40}` | CLI > DEC-*-TeamWeights > defaults |\n| `--landscape-artifact \u003CART-id>` | no | 3-level discovery | Explicit > project-tag > kit default; see `references\u002Flandscape-resolution.md` |\n| `--landscape \u003CART-id>` | no | alias for `--landscape-artifact` | Kept for backwards compatibility |\n\n### Catalog-driven archetype mapping (v2)\n\n`team-creator` v2 selects existing `context\u002Froles\u002FROLE-*` entries from\nthe 51-role catalog rather than writing 8 archetype Role entities. The\nmapping ships in\n`assets\u002Farchetype-catalog-mapping.yaml`; projects may layer a delta\noverride at `context\u002Fteam\u002Farchetype-catalog-mapping.yaml`. Archetypes\nare not stored as Roles — they are keys in the mapping file. See\n`references\u002Frole-archetypes.md` and the kit-default mapping asset for\nthe 8 archetype → catalog Role + seniority pairs.\n\nFor every selected archetype, `pk-team-create` opens a **RoleSlot**\nunder the chartering Scope via `team-manager.create_role_slot` (one slot\nper parallelism unit; `rank=1` is the primary). When a TeamMember is\nchosen to fill a slot, `team-manager.fill_role_slot` writes the\n`role-slot-fill` Binding. No archetype Role entities are written; v1\n`role-assignment` Bindings remain readable for one minor version.\n\n### Tiering formula (summary)\n\n**Defaults rebalanced 2026-04-15 after the 2026-04-15 internal review (see ART-20260415_1545-TeamWeaver-team-creator-dogfood-diff §7).** Capability weight raised from 0.40 to 0.60 to prevent tier inversion on same-provider candidate sets where cost and capability are anti-correlated.\n\n| Dim | Weight | Source |\n|---|---|---|\n| Capability (C) | 0.60 | swe_bench + community rating, normalised |\n| Cost efficiency (K) | 0.20 | 1 \u002F (output_price × quota_burn), normalised |\n| Latency fit (L) | 0.10 | output_tokens_per_sec, normalised |\n| Governance (G) | 0.10 | G-score from model-recommender, normalised |\n\n`TierScore ≥ 0.70 → heavy | 0.40–0.69 → medium | \u003C 0.40 → light`\n\nSee `references\u002Ftiering-formula.md` for normalisation, thresholds,\nand a full worked example.\n\n### Role archetypes → tier mapping\n\n| Role | Tier pin | Override? |\n|---|---|---|\n| project-manager | heavy | Never (immutable) |\n| senior-architect | heavy | Medium only if no heavy clears G-floor + owner approval |\n| senior-researcher | heavy | Same as senior-architect |\n| junior-architect | medium | Heavy if capability gap > 15pp on SWE-bench |\n| developer | medium | Heavy if `--security-critical` flag set |\n| junior-researcher | medium | No override |\n| junior-developer | light | Medium if no light model accessible |\n| assistant | light | No override; shares junior-developer model if no light available |\n\nSee `references\u002Frole-archetypes.md` for full override-when rules.\n\nProject-level overrides: if `context\u002Fteam\u002Frole-archetypes.yaml`\nexists, it is loaded before archetype mapping and validated eagerly.\nSee `references\u002Frole-archetypes-override.md` for schema and invariants.\n\n### Commands\n\n**`pk-team-create`** runs the full derivation: queries models, applies\nthe tiering formula, maps archetypes, **opens one RoleSlot per\nparallelism unit** under the chartering Scope via\n`team-manager.create_role_slot`, rewrites `context\u002Fteam\u002Froster.md`,\nand emits a chartering DecisionRecord that explicitly supersedes the\nprior team DecisionRecord. Archetype Roles are NOT written — the\ncatalog-mapping file is read instead. Use `--dry-run` to print the\nplan without writing.\n\n**`pk-team-review`** is read-only. Re-scores current assignments against\nthe latest landscape snapshot, diffs tier scores against those stored\nin the governing DecisionRecord, and surfaces tier-shifts, unavailable\nmodels, and new outperformers. Surfaces RoleSlots by their archetype\nname (resolved through the mapping file). No entities are written.\n\n**`pk-team-rebalance`** applies a review recommendation. Requires\n`--confirm`. For `--roles all`, the full create logic re-runs and a\nnew DecisionRecord is written. For named roles, the operator names an\narchetype (`developer`, `senior-architect`, ...); the skill resolves\nto the (role, seniority) pair via the mapping and operates on the\nmatching RoleSlot(s) in the active chartering Scope. The governing\nDecisionRecord's `progress_notes` are amended.\n\n### Outputs\n\n| Output | `pk-team-create` | `pk-team-review` | `pk-team-rebalance` |\n|---|---|---|---|\n| RoleSlot entities (per parallelism unit) | YES | NO | scoped roles |\n| `role-slot-fill` Bindings | YES (one per filled slot) | NO | per rotated slot |\n| `context\u002Fteam\u002Froster.md` | YES | NO | YES (in-place) |\n| DecisionRecord | YES (new) | NO | amend notes |\n| Diff report | NO | YES (stdout) | NO |\n\n## Gotchas\n\n- **Missing landscape-summary artifact.** This skill ingests a\n  pre-structured markdown artifact tagged `landscape-summary`, NOT\n  raw HTML. If none exists, error: \"No landscape-summary artifact\n  found. Run the Haiku landscape-ingest task to produce\n  ART-*-LandscapeSnapshot before pk-team-create.\" Do not parse HTML.\n\n- **Entity deactivation sequence on re-create.** When `pk-team-create`\n  is re-run: (a) resolve prior team from roster.md; (b) for each\n  prior `role-slot-fill` Binding call `binding-management.end_binding`\n  with `reason=\"superseded by pk-team-create run \u003Ctimestamp>\"`;\n  (c) close the prior RoleSlots via `team-manager.close_role_slot`\n  (the slot state machine forbids reopening — re-charters always\n  emit fresh SLOT-* IDs under the new Scope); (d) open new RoleSlots\n  via `team-manager.create_role_slot` and fill them with\n  `team-manager.fill_role_slot`. v1 `role-assignment` Bindings\n  observed during a re-charter remain readable but are not migrated\n  by `pk-team-create` — the Phase A apply script (see\n  `team-manager\u002Fscripts\u002Fapply_migration_2139.py`) handles that\n  one-shot back-fill.\n\n- **Formula weight persistence.** Weights live in the chartering\n  DecisionRecord's `spec.inputs_snapshot` block. `pk-team-rebalance`\n  reads them via `decision-record.get_decision`. No skill-local\n  config file for weights.\n\n- **Tier-collapse (\u003C 3 tiers accessible).** Promote the two highest-\n  scoring light models to medium. Never fail; degrade gracefully.\n\n- **PM is always rank=1, single slot.** Parallelism cap never applies\n  to project-manager; the project-manager archetype always opens\n  exactly one RoleSlot at `rank=1` (per DEC-20260414_0900). The\n  `primary_contact: true` annotation on the project-manager mapping\n  entry is retained as a convention marker — the actual semantics\n  are now expressed by `RoleSlot.rank=1`.\n\n- **Snapshot staleness.** Artifact older than 90 days → warn and\n  proceed. Surface the artifact date in the DecisionRecord.\n\n- **Provider-neutrality.** Never hardcode any model name, provider\n  name, or tier label anywhere in this skill. All identifiers flow\n  in from `model-recommender`.\n\n- **Override audit trails (override layers 1–4).** Each override\n  layer produces a distinct audit entry in the chartering team\n  DecisionRecord's `inputs_snapshot`:\n  - Layer 1 (landscape): `landscape_artifact_source` records\n    `\"explicit\"` | `\"project-tag\"` | `\"kit-default\"` and the\n    resolved ART-id. The project-tagged artifact (ART-*) is itself\n    the audit record for who created the custom landscape.\n  - Layer 2 (weights): `weights_source` + `weights` block records\n    which DEC-*-TeamWeights (if any) was applied, or `\"cli\"` \u002F\n    `\"skill-default\"`. The DEC-*-TeamWeights record carries its own\n    rationale and deciders.\n  - Layer 3 (thresholds): `tier_thresholds_source` + `tier_thresholds`\n    block; co-located with Layer 2 in the same DEC-*-TeamWeights\n    record (causally coupled — cannot drift).\n  - Layer 4 (role pins): `archetype_override_file`, `archetype_override_semantics`,\n    and `archetype_overrides` list each overridden role with its new\n    pin. The `context\u002Fteam\u002Frole-archetypes.yaml` file itself is\n    the persistent record.\n  Any run with overrides: query the single chartering team\n  DecisionRecord to fully reconstruct the run's configuration.\n\n- **v0.16.0 capacity fields are gone.** v1 emitted five fields on Role\n  \u002F Actor entities (`primary_contact`, `clone_cap`, `cap_escalation`,\n  `is_template`, `templated_from`). v2 stores capacity as the count of\n  RoleSlots opened under a chartering Scope — there is no\n  `clone_cap` field. Re-tiering replaces the matching RoleSlot's\n  fill rather than spawning a clone Actor; the seed\u002Fclone distinction\n  is therefore obsolete. v0.19.0 removed the fields from the live\n  `role.yaml` and `team-member.yaml` schemas; older entity files that\n  still carry them are tolerated as historical residue but are not\n  produced by this skill.\n\n## Agent-driven discovery\n\nAgents can resolve user intent into the correct override layer using\nthe trigger phrases below. These are additive to the existing\n`team-creator` triggers above — they extend the skill-finder entries,\nnot replace them.\n\n| Layer | Trigger phrases | Routed action |\n|---|---|---|\n| Layer 1 — landscape | \"use our own model list\", \"we have a custom provider set\", \"this project uses different models\", \"update the landscape for this project\" | Create project-tagged landscape artifact (`landscape-summary-project` tag + `project_id`); pass `--landscape-artifact` to `pk-team-create` |\n| Layer 2 — weights | \"we value latency more\", \"cost matters more here\", \"prioritise governance\", \"adjust the scoring weights\", \"latency is critical for this project\" | Write a `DEC-*-TeamWeights` record (tag: `team-weights-override`) via `decision-record-write`; re-run `pk-team-create` to pick it up |\n| Layer 3 — thresholds | \"the tier cutoffs don't fit our model set\", \"too many models landing in medium\", \"adjust the heavy threshold\", \"nothing is reaching heavy tier\" | Amend or create `DEC-*-TeamWeights` with a `tier_thresholds` block; validate against rules in `references\u002Fteam-weights-decision-schema.md` |\n| Layer 4 — pins | \"pin senior-architect to medium for this project\", \"we want all researchers on heavy\", \"remap role classes\", \"change the role tier assignments\" | Create or update `context\u002Fteam\u002Frole-archetypes.yaml`; re-run `pk-team-create` (eager validation fires on startup) |\n\nAgents MUST consult skill-finder before routing any of these requests.\nThe trigger phrases are designed to match natural-language owner requests\nwithout the owner naming the override layer explicitly.\n\n## No-skill-inflation rationale\n\nOption C chosen over extending `agent-management` (heaviest skill;\nscope bleed) or `model-recommender` (individual model profiling vs.\nteam orchestration). Pure orchestration consumer: 5 existing skills\ncomposed, 3 commands added, 0 new primitives or MCP tools.\n\n## Full reference\n\n### CLI contract — `pk-team-create`\n\n```\npk-team-create\n  --subscription \u003Cprovider>:\u003Ctier>     # e.g. anthropic:max-5x\n  --providers \u003Clist|\"any\">             # comma-separated; \"any\" = all accessible\n  --parallelism-cap \u003Cint>              # max clones per role, default 5\n  --governance-floor \u003C0-5>             # G-score floor, default 3\n  [--weight-overrides \u003Cjson>]          # CLI > DEC-*-TeamWeights > defaults\n  [--threshold-overrides \u003Cjson>]       # CLI > DEC-*-TeamWeights > defaults\n  [--landscape-artifact \u003CART-id>]      # explicit landscape; skips discovery\n  [--landscape \u003CART-id>]               # alias for --landscape-artifact\n  [--allow-degraded]                   # include models whose availability\n                                       # is not \"operational\"\n  [--security-critical]                # promotes developer archetype to heavy\n  [--dry-run]                          # print plan; write nothing\n```\n\nFull step-by-step process (8 steps: resolve landscape → query models →\nscore+classify → load archetype-catalog mapping + map archetypes →\nend prior `role-slot-fill` Bindings + close prior RoleSlots → open\nnew RoleSlots and fill them → write roster → write chartering\nDecisionRecord) lives in `commands\u002Fpk-team-create.md`. Read that file\nbefore changing the sequence; the order of (a) eager mapping-file\nvalidation before archetype mapping, (b)\n`binding-management.end_binding` before\n`team-manager.close_role_slot`, and (c) DecisionRecord written\nLAST so its ID can be embedded in roster.md is load-bearing.\n\n### CLI contract — `pk-team-review`\n\n```\npk-team-review\n  [--landscape-artifact \u003CART-id>]      # default: same 3-level resolution\n                                       # as pk-team-create\n  [--threshold \u003Cfloat>]                # tier-shift sensitivity, default 0.05\n```\n\nRead-only. Re-scores the current team's models against the latest\nlandscape snapshot, diffs each TierScore against the value stored in\nthe governing chartering DecisionRecord's\n`spec.inputs_snapshot.tier_scores` block, and prints a tier-shift\ntable to stdout. No entities written; no DecisionRecord amended.\n\n### CLI contract — `pk-team-rebalance`\n\n```\npk-team-rebalance\n  --roles \u003Clist|\"all\">                 # comma-separated archetype names\n  --confirm                            # required; no-op without it\n  --reason \u003Cstring>                    # free-text rationale; persisted\n  [--landscape-artifact \u003CART-id>]\n  [--weight-overrides \u003Cjson>]\n  [--threshold-overrides \u003Cjson>]\n```\n\nFor `--roles all`, full `pk-team-create` logic re-runs and a new\nchartering DecisionRecord supersedes the current one. For named\narchetypes, the matching RoleSlot's fill is rotated (end old\n`role-slot-fill` Binding; fill the slot with the new TeamMember via\n`team-manager.fill_role_slot`) and the governing DecisionRecord's\n`progress_notes` are amended with the `--reason` string and the new\ntier-score for each rotated archetype.\n\n### Skill composition map\n\n| Phase | MCP \u002F skill call | Source skill |\n|---|---|---|\n| Step 2 | `check_availability`, `query_models`, `get_pricing` | model-recommender |\n| Step 5 (a) | `end_binding` (per prior `role-slot-fill` Binding) | binding-management |\n| Step 5 (b) | `close_role_slot` (per prior RoleSlot in the rotating archetype) | team-manager |\n| Step 6 (RoleSlot) | `create_role_slot` (one per parallelism unit; rank 1..N) | team-manager |\n| Step 6 (Fill) | `fill_role_slot` (places a TeamMember into the open slot) | team-manager |\n| Step 8 | `record_decision` (chartering DEC) | decision-record |\n| Rebalance read | `get_decision` (governing DEC for stored weights) | decision-record |\n\n`team-creator` itself ships **no MCP server**; every write goes via the\nupstream skills above. This is what keeps `provides.primitives: []`\nand `provides.mcp_tools: []` in the frontmatter honest.\n\n### 4-layer override model (data sources)\n\n| Layer | What | Where it lives | Audit field in chartering DEC |\n|---|---|---|---|\n| 1 — landscape | The candidate model set | ART-*-LandscapeSnapshot artifact (tagged `landscape-summary` or `landscape-summary-project`) | `landscape_artifact`, `landscape_artifact_source`, `landscape_artifact_date` |\n| 2 — weights | `{C, K, L, G}` for the TierScore formula | DEC-*-TeamWeights (tag `team-weights-override`) `spec.weight_overrides` | `weights`, `weights_source` |\n| 3 — thresholds | `{heavy_min, medium_min}` | Same DEC-*-TeamWeights `spec.tier_thresholds` (causally coupled to layer 2) | `tier_thresholds`, `tier_thresholds_source` |\n| 4 — archetype pins | Role → tier mapping overrides | `context\u002Fteam\u002Frole-archetypes.yaml` (delta or replace mode) | `archetype_override_file`, `archetype_override_semantics`, `archetype_overrides` |\n\nCLI flags ALWAYS win over DEC-stored values, which always win over\nskill defaults. Eager validation for layer 4 fires BEFORE archetype\nmapping; layers 2\u002F3 validation is invoked from\n`references\u002Fteam-weights-decision-schema.md`. Validation failures at\nany layer are hard errors — the run aborts before any entity write.\n\n### Tiering formula — canonical definition\n\n```\nnorm(x)        = clamp((x - min) \u002F (max - min), 0.01, 1.00)\nTierScore(m)   = C·norm(C_raw(m))\n               + K·norm(K_raw(m))\n               + L·norm(L_raw(m))\n               + G·norm(G_raw(m))\n\nC_raw(m)       = (swe_bench_verified + swe_bench_pro + community_rating) \u002F 3\nK_raw(m)       = 1 \u002F (output_price_per_1M × quota_burn_vs_flagship)\nL_raw(m)       = output_tokens_per_sec\nG_raw(m)       = G_score \u002F 5             # normalise 0-5 → 0-1\n\nDefaults       C=0.60  K=0.20  L=0.10  G=0.10   (sum = 1.0 ± 0.001)\nTier cuts      heavy ≥ 0.70   medium ≥ 0.40   light \u003C 0.40\n```\n\nWorked example and edge cases in `references\u002Ftiering-formula.md`.\n\n### Role archetype pin table (kit defaults)\n\n| Archetype | Catalog Role | Seniority | Tier pin | Slots opened | Override-when |\n|---|---|---|---|---|---|\n| project-manager | ROLE-product-manager | senior | heavy | 1 (rank=1, primary contact) | Never (PM is immutable; always exactly one slot) |\n| senior-architect | ROLE-solutions-architect | senior | heavy | up to `--parallelism-cap` | Medium only if no heavy clears G-floor + owner approval |\n| senior-researcher | ROLE-research-scientist | senior | heavy | up to `--parallelism-cap` | Same as senior-architect |\n| junior-architect | ROLE-solutions-architect | specialist | medium | up to `--parallelism-cap` | Heavy if capability gap > 15pp on SWE-bench |\n| developer | ROLE-software-engineer | senior | medium | up to `--parallelism-cap` | Heavy if `--security-critical` flag set |\n| junior-researcher | ROLE-research-scientist | specialist | medium | up to `--parallelism-cap` | No override |\n| junior-developer | ROLE-software-engineer | junior | light | up to `--parallelism-cap` | Medium if no light model accessible |\n| assistant | ROLE-assistant | specialist | light | up to `--parallelism-cap` | No override; shares junior-developer model if no light available |\n\nThe `(role, seniority)` pairs above come from\n`assets\u002Farchetype-catalog-mapping.yaml` (the kit default) and may be\noverridden per-project at `context\u002Fteam\u002Farchetype-catalog-mapping.yaml`.\nThe \"Slots opened\" column is the v2 replacement for v1's `clone_cap`\nfield — v0.19.0 removed `clone_cap`\u002F`cap_escalation`\u002F`primary_contact`\nfrom the Role schema and `is_template`\u002F`templated_from` from the\nTeamMember schema; the count of RoleSlots under the chartering Scope\nis the canonical capacity record. See\n`references\u002Frole-archetypes.md` for the full responsibilities lists.\n\n### chartering DecisionRecord — `inputs_snapshot` schema\n\nThe DecisionRecord schema (`SCHEMA-decisionrecord` v1.0.0) declares\n`inputs_snapshot` with `additionalProperties: true`, so v2 augments\nthe block with two catalog-mapping audit fields without a schema bump:\n\n```yaml\nspec:\n  inputs_snapshot:\n    subscription: \u003Cprovider>:\u003Ctier>\n    governance_floor: \u003C0-5>\n    parallelism_cap: \u003Cint>\n    weights:                  {C: \u003Cfloat>, K: \u003Cfloat>, L: \u003Cfloat>, G: \u003Cfloat>}\n    weights_source:           cli | dec-team-weights | skill-default\n    tier_thresholds:          {heavy_min: \u003Cfloat>, medium_min: \u003Cfloat>}\n    tier_thresholds_source:   cli | dec-team-weights | skill-default\n    landscape_artifact:       ART-\u003Cid>\n    landscape_artifact_date:  \u003CISO date>\n    landscape_artifact_source: explicit | project-tag | kit-default\n    tier_scores:              {\u003Cmodel-id>: \u003Cfloat>, ...}\n    weight_overrides_applied: \u003Cbool>\n    archetype_catalog_mapping_file: kit-default | project | cli   # v2\n    archetype_catalog_overrides:                                   # v2\n      - {archetype, field, kit_default, project_value}\n    archetype_override_file:  present | absent\n    archetype_override_semantics: delta | replace | null\n    archetype_overrides:      [{role, kit_default_pin, override_pin, rationale}]\n    chartering_scope:         SCOPE-\u003Cid>     # v2 — required for RoleSlot writes\n    role_slots:                              # v2 — provenance back-pointer\n      - {archetype, slot_id, role, seniority, rank}\n```\n\n`archetype_catalog_mapping_file` records which layer of the\nmapping-file precedence chain was applied\n(`cli` > `project` > `kit-default`).\n`archetype_catalog_overrides` lists each per-archetype-per-field\ndelta when the project file modifies the kit default; an empty list\nmeans the kit default was used verbatim.\n\n`pk-team-rebalance` and `pk-team-review` both read this block via\n`decision-record.get_decision`. It is the single source of truth for a\nteam's configuration — there is no skill-local config file for\nweights, thresholds, or pins. `inputs_snapshot.tier_scores` is what\n`pk-team-review`'s diff is computed against.\n\n### Referenced source files\n\n| Path | Purpose |\n|---|---|\n| `commands\u002Fpk-team-create.md` | Step-by-step command process (8 steps) |\n| `commands\u002Fpk-team-review.md` | Read-only diff process |\n| `commands\u002Fpk-team-rebalance.md` | Targeted rotation process |\n| `references\u002Flandscape-resolution.md` | 3-level landscape discovery rules |\n| `references\u002Ftiering-formula.md` | Normalisation, thresholds, worked example |\n| `references\u002Frole-archetypes.md` | Kit-default pins + responsibilities |\n| `references\u002Frole-archetypes-override.md` | YAML schema + validation invariants |\n| `references\u002Fteam-weights-decision-schema.md` | DEC-*-TeamWeights schema + threshold validation rules |\n\n### Extension points\n\n- **New role archetype.** Add an entry to\n  `assets\u002Farchetype-catalog-mapping.yaml` (or a project override at\n  `context\u002Fteam\u002Farchetype-catalog-mapping.yaml`) keyed by archetype\n  name with `role: ROLE-\u003Cid>` + `seniority: \u003Cenum>`. Update\n  `references\u002Frole-archetypes.md` with the responsibilities one-liner\n  and add a row to the pin table above. The PM-immutability invariant\n  remains in force (`project-manager.role` must remain\n  `ROLE-product-manager` and the slot count must remain 1). v2\n  archetypes are mapping keys, not Role entities — no schema change\n  is required.\n- **New scoring dimension.** Extend the weight set (currently\n  `{C, K, L, G}`); update `weights` schema in `inputs_snapshot`,\n  the worked example in `references\u002Ftiering-formula.md`, and the\n  validation rule that weights sum to 1.0 ± 0.001.\n- **New override layer.** Add a layer-N row to the team-creator override layers table,\n  define an audit field in `inputs_snapshot`, and document the\n  precedence rule (CLI > DEC > defaults) for the new layer.\n\n### Corner cases\n\n- **Tier collapse (\u003C 3 distinct tiers).** Promote the two\n  highest-scoring light models to medium. Never abort — degrade\n  gracefully. Recorded in DEC `inputs_snapshot.notes`.\n- **Snapshot staleness > 90 days.** Warn and continue; surface the\n  artifact date in the DecisionRecord rather than hiding it.\n- **PM single-slot rule.** `--parallelism-cap` is silently overridden\n  to 1 for `project-manager` regardless of CLI \u002F archetype overrides\n  (DEC-20260414_0900). Layer-4 overrides cannot raise it; the\n  project-manager archetype always opens exactly one RoleSlot at\n  rank=1.\n- **Slot continuity across rebalances.** A targeted rebalance\n  (`pk-team-rebalance --roles \u003Clist>`) re-fills the existing RoleSlot\n  rather than closing and re-opening it; SLOT-* IDs are stable\n  across model rotations and only change on `--roles all`\n  (full re-charter).\n- **Empty preferred-providers tie-break.** Two models within 0.05\n  TierScore and no preferred provider supplied: pick the higher raw\n  Capability score, then alphabetical model-id as final tie-break.\n- **Provider neutrality.** No model name, provider name, or tier\n  label may be hardcoded anywhere in this skill — all identifiers\n  flow in from `model-recommender`. Hardcoding is caught by\n  release-audit's `skill_structure` check on the next release.\n","# Team Creator\n\n## Intro\n\n`team-creator` derives a provider-neutral AI team by scoring all\naccessible models on four weighted dimensions (Capability, Cost,\nLatency, Governance) and mapping the 8 processkit role archetypes\nonto the resulting heavy \u002F medium \u002F light tiers. It composes 5\nexisting skills — no new primitives or MCP tools are introduced.\n\n## Overview\n\n### When to use\n\n| Trigger | Command |\n|---|---|\n| New project or provider subscription | `pk-team-create` |\n| Quarterly landscape shift | `pk-team-review` → `pk-team-rebalance` |\n| Provider outage, rapid rotation | `pk-team-rebalance --roles all` |\n| Spot-check current assignments | `pk-team-review` |\n\n### Inputs (key parameters)\n\n| Parameter | Required | Default | Notes |\n|---|---|---|---|\n| `--subscription \u003Cprovider>:\u003Ctier>` | yes | — | e.g. `anthropic:max-5x` |\n| `--governance-floor \u003C0-5>` | no | 3 | Models below excluded before scoring |\n| `--parallelism-cap \u003C1-10>` | no | 5 | PM always capped at 1 |\n| `--weight-overrides \u003Cjson>` | no | see formula | Must sum to 1.0 ± 0.001; CLI > DEC-*-TeamWeights > defaults |\n| `--threshold-overrides \u003Cjson>` | no | `{\"heavy_min\":0.70,\"medium_min\":0.40}` | CLI > DEC-*-TeamWeights > defaults |\n| `--landscape-artifact \u003CART-id>` | no | 3-level discovery | Explicit > project-tag > kit default; see `references\u002Flandscape-resolution.md` |\n| `--landscape \u003CART-id>` | no | alias for `--landscape-artifact` | Kept for backwards compatibility |\n\n### Catalog-driven archetype mapping (v2)\n\n`team-creator` v2 selects existing `context\u002Froles\u002FROLE-*` entries from\nthe 51-role catalog rather than writing 8 archetype Role entities. The\nmapping ships in\n`assets\u002Farchetype-catalog-mapping.yaml`; projects may layer a delta\noverride at `context\u002Fteam\u002Farchetype-catalog-mapping.yaml`. Archetypes\nare not stored as Roles — they are keys in the mapping file. See\n`references\u002Frole-archetypes.md` and the kit-default mapping asset for\nthe 8 archetype → catalog Role + seniority pairs.\n\nFor every selected archetype, `pk-team-create` opens a **RoleSlot**\nunder the chartering Scope via `team-manager.create_role_slot` (one slot\nper parallelism unit; `rank=1` is the primary). When a TeamMember is\nchosen to fill a slot, `team-manager.fill_role_slot` writes the\n`role-slot-fill` Binding. No archetype Role entities are written; v1\n`role-assignment` Bindings remain readable for one minor version.\n\n### Tiering formula (summary)\n\n**Defaults rebalanced 2026-04-15 after the 2026-04-15 internal review (see ART-20260415_1545-TeamWeaver-team-creator-dogfood-diff §7).** Capability weight raised from 0.40 to 0.60 to prevent tier inversion on same-provider candidate sets where cost and capability are anti-correlated.\n\n| Dim | Weight | Source |\n|---|---|---|\n| Capability (C) | 0.60 | swe_bench + community rating, normalised |\n| Cost efficiency (K) | 0.20 | 1 \u002F (output_price × quota_burn), normalised |\n| Latency fit (L) | 0.10 | output_tokens_per_sec, normalised |\n| Governance (G) | 0.10 | G-score from model-recommender, normalised |\n\n`TierScore ≥ 0.70 → heavy | 0.40–0.69 → medium | \u003C 0.40 → light`\n\nSee `references\u002Ftiering-formula.md` for normalisation, thresholds,\nand a full worked example.\n\n### Role archetypes → tier mapping\n\n| Role | Tier pin | Override? |\n|---|---|---|\n| project-manager | heavy | Never (immutable) |\n| senior-architect | heavy | Medium only if no heavy clears G-floor + owner approval |\n| senior-researcher | heavy | Same as senior-architect |\n| junior-architect | medium | Heavy if capability gap > 15pp on SWE-bench |\n| developer | medium | Heavy if `--security-critical` flag set |\n| junior-researcher | medium | No override |\n| junior-developer | light | Medium if no light model accessible |\n| assistant | light | No override; shares junior-developer model if no light available |\n\nSee `references\u002Frole-archetypes.md` for full override-when rules.\n\nProject-level overrides: if `context\u002Fteam\u002Frole-archetypes.yaml`\nexists, it is loaded before archetype mapping and validated eagerly.\nSee `references\u002Frole-archetypes-override.md` for schema and invariants.\n\n### Commands\n\n**`pk-team-create`** runs the full derivation: queries models, applies\nthe tiering formula, maps archetypes, **opens one RoleSlot per\nparallelism unit** under the chartering Scope via\n`team-manager.create_role_slot`, rewrites `context\u002Fteam\u002Froster.md`,\nand emits a chartering DecisionRecord that explicitly supersedes the\nprior team DecisionRecord. Archetype Roles are NOT written — the\ncatalog-mapping file is read instead. Use `--dry-run` to print the\nplan without writing.\n\n**`pk-team-review`** is read-only. Re-scores current assignments against\nthe latest landscape snapshot, diffs tier scores against those stored\nin the governing DecisionRecord, and surfaces tier-shifts, unavailable\nmodels, and new outperformers. Surfaces RoleSlots by their archetype\nname (resolved through the mapping file). No entities are written.\n\n**`pk-team-rebalance`** applies a review recommendation. Requires\n`--confirm`. For `--roles all`, the full create logic re-runs and a\nnew DecisionRecord is written. For named roles, the operator names an\narchetype (`developer`, `senior-architect`, ...); the skill resolves\nto the (role, seniority) pair via the mapping and operates on the\nmatching RoleSlot(s) in the active chartering Scope. The governing\nDecisionRecord's `progress_notes` are amended.\n\n### Outputs\n\n| Output | `pk-team-create` | `pk-team-review` | `pk-team-rebalance` |\n|---|---|---|---|\n| RoleSlot entities (per parallelism unit) | YES | NO | scoped roles |\n| `role-slot-fill` Bindings | YES (one per filled slot) | NO | per rotated slot |\n| `context\u002Fteam\u002Froster.md` | YES | NO | YES (in-place) |\n| DecisionRecord | YES (new) | NO | amend notes |\n| Diff report | NO | YES (stdout) | NO |\n\n## Gotchas\n\n- **Missing landscape-summary artifact.** This skill ingests a\n  pre-structured markdown artifact tagged `landscape-summary`, NOT\n  raw HTML. If none exists, error: \"No landscape-summary artifact\n  found. Run the Haiku landscape-ingest task to produce\n  ART-*-LandscapeSnapshot before pk-team-create.\" Do not parse HTML.\n\n- **Entity deactivation sequence on re-create.** When `pk-team-create`\n  is re-run: (a) resolve prior team from roster.md; (b) for each\n  prior `role-slot-fill` Binding call `binding-management.end_binding`\n  with `reason=\"superseded by pk-team-create run \u003Ctimestamp>\"`;\n  (c) close the prior RoleSlots via `team-manager.close_role_slot`\n  (the slot state machine forbids reopening — re-charters always\n  emit fresh SLOT-* IDs under the new Scope); (d) open new RoleSlots\n  via `team-manager.create_role_slot` and fill them with\n  `team-manager.fill_role_slot`. v1 `role-assignment` Bindings\n  observed during a re-charter remain readable but are not migrated\n  by `pk-team-create` — the Phase A apply script (see\n  `team-manager\u002Fscripts\u002Fapply_migration_2139.py`) handles that\n  one-shot back-fill.\n\n- **Formula weight persistence.** Weights live in the chartering\n  DecisionRecord's `spec.inputs_snapshot` block. `pk-team-rebalance`\n  reads them via `decision-record.get_decision`. No skill-local\n  config file for weights.\n\n- **Tier-collapse (\u003C 3 tiers accessible).** Promote the two highest-\n  scoring light models to medium. Never fail; degrade gracefully.\n\n- **PM is always rank=1, single slot.** Parallelism cap never applies\n  to project-manager; the project-manager archetype always opens\n  exactly one RoleSlot at `rank=1` (per DEC-20260414_0900). The\n  `primary_contact: true` annotation on the project-manager mapping\n  entry is retained as a convention marker — the actual semantics\n  are now expressed by `RoleSlot.rank=1`.\n\n- **Snapshot staleness.** Artifact older than 90 days → warn and\n  proceed. Surface the artifact date in the DecisionRecord.\n\n- **Provider-neutrality.** Never hardcode any model name, provider\n  name, or tier label anywhere in this skill. All identifiers flow\n  in from `model-recommender`.\n\n- **Override audit trails (override layers 1–4).** Each override\n  layer produces a distinct audit entry in the chartering team\n  DecisionRecord's `inputs_snapshot`:\n  - Layer 1 (landscape): `landscape_artifact_source` records\n    `\"explicit\"` | `\"project-tag\"` | `\"kit-default\"` and the\n    resolved ART-id. The project-tagged artifact (ART-*) is itself\n    the audit record for who created the custom landscape.\n  - Layer 2 (weights): `weights_source` + `weights` block records\n    which DEC-*-TeamWeights (if any) was applied, or `\"cli\"` \u002F\n    `\"skill-default\"`. The DEC-*-TeamWeights record carries its own\n    rationale and deciders.\n  - Layer 3 (thresholds): `tier_thresholds_source` + `tier_thresholds`\n    block; co-located with Layer 2 in the same DEC-*-TeamWeights\n    record (causally coupled — cannot drift).\n  - Layer 4 (role pins): `archetype_override_file`, `archetype_override_semantics`,\n    and `archetype_overrides` list each overridden role with its new\n    pin. The `context\u002Fteam\u002Frole-archetypes.yaml` file itself is\n    the persistent record.\n  Any run with overrides: query the single chartering team\n  DecisionRecord to fully reconstruct the run's configuration.\n\n- **v0.16.0 capacity fields are gone.** v1 emitted five fields on Role\n  \u002F Actor entities (`primary_contact`, `clone_cap`, `cap_escalation`,\n  `is_template`, `templated_from`). v2 stores capacity as the count of\n  RoleSlots opened under a chartering Scope — there is no\n  `clone_cap` field. Re-tiering replaces the matching RoleSlot's\n  fill rather than spawning a clone Actor; the seed\u002Fclone distinction\n  is therefore obsolete. v0.19.0 removed the fields from the live\n  `role.yaml` and `team-member.yaml` schemas; older entity files that\n  still carry them are tolerated as historical residue but are not\n  produced by this skill.\n\n## Agent-driven discovery\n\nAgents can resolve user intent into the correct override layer using\nthe trigger phrases below. These are additive to the existing\n`team-creator` triggers above — they extend the skill-finder entries,\nnot replace them.\n\n| Layer | Trigger phrases | Routed action |\n|---|---|---|\n| Layer 1 — landscape | \"use our own model list\", \"we have a custom provider set\", \"this project uses different models\", \"update the landscape for this project\" | Create project-tagged landscape artifact (`landscape-summary-project` tag + `project_id`); pass `--landscape-artifact` to `pk-team-create` |\n| Layer 2 — weights | \"we value latency more\", \"cost matters more here\", \"prioritise governance\", \"adjust the scoring weights\", \"latency is critical for this project\" | Write a `DEC-*-TeamWeights` record (tag: `team-weights-override`) via `decision-record-write`; re-run `pk-team-create` to pick it up |\n| Layer 3 — thresholds | \"the tier cutoffs don't fit our model set\", \"too many models landing in medium\", \"adjust the heavy threshold\", \"nothing is reaching heavy tier\" | Amend or create `DEC-*-TeamWeights` with a `tier_thresholds` block; validate against rules in `references\u002Fteam-weights-decision-schema.md` |\n| Layer 4 — pins | \"pin senior-architect to medium for this project\", \"we want all researchers on heavy\", \"remap role classes\", \"change the role tier assignments\" | Create or update `context\u002Fteam\u002Frole-archetypes.yaml`; re-run `pk-team-create` (eager validation fires on startup) |\n\nAgents MUST consult skill-finder before routing any of these requests.\nThe trigger phrases are designed to match natural-language owner requests\nwithout the owner naming the override layer explicitly.\n\n## No-skill-inflation rationale\n\nOption C chosen over extending `agent-management` (heaviest skill;\nscope bleed) or `model-recommender` (individual model profiling vs.\nteam orchestration). Pure orchestration consumer: 5 existing skills\ncomposed, 3 commands added, 0 new primitives or MCP tools.\n\n## Full reference\n\n### CLI contract — `pk-team-create`\n\n```\npk-team-create\n  --subscription \u003Cprovider>:\u003Ctier>     # e.g. anthropic:max-5x\n  --providers \u003Clist|\"any\">             # comma-separated; \"any\" = all accessible\n  --parallelism-cap \u003Cint>              # max clones per role, default 5\n  --governance-floor \u003C0-5>             # G-score floor, default 3\n  [--weight-overrides \u003Cjson>]          # CLI > DEC-*-TeamWeights > defaults\n  [--threshold-overrides \u003Cjson>]       # CLI > DEC-*-TeamWeights > defaults\n  [--landscape-artifact \u003CART-id>]      # explicit landscape; skips discovery\n  [--landscape \u003CART-id>]               # alias for --landscape-artifact\n  [--allow-degraded]                   # include models whose availability\n                                       # is not \"operational\"\n  [--security-critical]                # promotes developer archetype to heavy\n  [--dry-run]                          # print plan; write nothing\n```\n\nFull step-by-step process (8 steps: resolve landscape → query models →\nscore+classify → load archetype-catalog mapping + map archetypes →\nend prior `role-slot-fill` Bindings + close prior RoleSlots → open\nnew RoleSlots and fill them → write roster → write chartering\nDecisionRecord) lives in `commands\u002Fpk-team-create.md`. Read that file\nbefore changing the sequence; the order of (a) eager mapping-file\nvalidation before archetype mapping, (b)\n`binding-management.end_binding` before\n`team-manager.close_role_slot`, and (c) DecisionRecord written\nLAST so its ID can be embedded in roster.md is load-bearing.\n\n### CLI contract — `pk-team-review`\n\n```\npk-team-review\n  [--landscape-artifact \u003CART-id>]      # default: same 3-level resolution\n                                       # as pk-team-create\n  [--threshold \u003Cfloat>]                # tier-shift sensitivity, default 0.05\n```\n\nRead-only. Re-scores the current team's models against the latest\nlandscape snapshot, diffs each TierScore against the value stored in\nthe governing chartering DecisionRecord's\n`spec.inputs_snapshot.tier_scores` block, and prints a tier-shift\ntable to stdout. No entities written; no DecisionRecord amended.\n\n### CLI contract — `pk-team-rebalance`\n\n```\npk-team-rebalance\n  --roles \u003Clist|\"all\">                 # comma-separated archetype names\n  --confirm                            # required; no-op without it\n  --reason \u003Cstring>                    # free-text rationale; persisted\n  [--landscape-artifact \u003CART-id>]\n  [--weight-overrides \u003Cjson>]\n  [--threshold-overrides \u003Cjson>]\n```\n\nFor `--roles all`, full `pk-team-create` logic re-runs and a new\nchartering DecisionRecord supersedes the current one. For named\narchetypes, the matching RoleSlot's fill is rotated (end old\n`role-slot-fill` Binding; fill the slot with the new TeamMember via\n`team-manager.fill_role_slot`) and the governing DecisionRecord's\n`progress_notes` are amended with the `--reason` string and the new\ntier-score for each rotated archetype.\n\n### Skill composition map\n\n| Phase | MCP \u002F skill call | Source skill |\n|---|---|---|\n| Step 2 | `check_availability`, `query_models`, `get_pricing` | model-recommender |\n| Step 5 (a) | `end_binding` (per prior `role-slot-fill` Binding) | binding-management |\n| Step 5 (b) | `close_role_slot` (per prior RoleSlot in the rotating archetype) | team-manager |\n| Step 6 (RoleSlot) | `create_role_slot` (one per parallelism unit; rank 1..N) | team-manager |\n| Step 6 (Fill) | `fill_role_slot` (places a TeamMember into the open slot) | team-manager |\n| Step 8 | `record_decision` (chartering DEC) | decision-record |\n| Rebalance read | `get_decision` (governing DEC for stored weights) | decision-record |\n\n`team-creator` itself ships **no MCP server**; every write goes via the\nupstream skills above. This is what keeps `provides.primitives: []`\nand `provides.mcp_tools: []` in the frontmatter honest.\n\n### 4-layer override model (data sources)\n\n| Layer | What | Where it lives | Audit field in chartering DEC |\n|---|---|---|---|\n| 1 — landscape | The candidate model set | ART-*-LandscapeSnapshot artifact (tagged `landscape-summary` or `landscape-summary-project`) | `landscape_artifact`, `landscape_artifact_source`, `landscape_artifact_date` |\n| 2 — weights | `{C, K, L, G}` for the TierScore formula | DEC-*-TeamWeights (tag `team-weights-override`) `spec.weight_overrides` | `weights`, `weights_source` |\n| 3 — thresholds | `{heavy_min, medium_min}` | Same DEC-*-TeamWeights `spec.tier_thresholds` (causally coupled to layer 2) | `tier_thresholds`, `tier_thresholds_source` |\n| 4 — archetype pins | Role → tier mapping overrides | `context\u002Fteam\u002Frole-archetypes.yaml` (delta or replace mode) | `archetype_override_file`, `archetype_override_semantics`, `archetype_overrides` |\n\nCLI flags ALWAYS win over DEC-stored values, which always win over\nskill defaults. Eager validation for layer 4 fires BEFORE archetype\nmapping; layers 2\u002F3 validation is invoked from\n`references\u002Fteam-weights-decision-schema.md`. Validation failures at\nany layer are hard errors — the run aborts before any entity write.\n\n### Tiering formula — canonical definition\n\n```\nnorm(x)        = clamp((x - min) \u002F (max - min), 0.01, 1.00)\nTierScore(m)   = C·norm(C_raw(m))\n               + K·norm(K_raw(m))\n               + L·norm(L_raw(m))\n               + G·norm(G_raw(m))\n\nC_raw(m)       = (swe_bench_verified + swe_bench_pro + community_rating) \u002F 3\nK_raw(m)       = 1 \u002F (output_price_per_1M × quota_burn_vs_flagship)\nL_raw(m)       = output_tokens_per_sec\nG_raw(m)       = G_score \u002F 5             # normalise 0-5 → 0-1\n\nDefaults       C=0.60  K=0.20  L=0.10  G=0.10   (sum = 1.0 ± 0.001)\nTier cuts      heavy ≥ 0.70   medium ≥ 0.40   light \u003C 0.40\n```\n\nWorked example and edge cases in `references\u002Ftiering-formula.md`.\n\n### Role archetype pin table (kit defaults)\n\n| Archetype | Catalog Role | Seniority | Tier pin | Slots opened | Override-when |\n|---|---|---|---|---|---|\n| project-manager | ROLE-product-manager | senior | heavy | 1 (rank=1, primary contact) | Never (PM is immutable; always exactly one slot) |\n| senior-architect | ROLE-solutions-architect | senior | heavy | up to `--parallelism-cap` | Medium only if no heavy clears G-floor + owner approval |\n| senior-researcher | ROLE-research-scientist | senior | heavy | up to `--parallelism-cap` | Same as senior-architect |\n| junior-architect | ROLE-solutions-architect | specialist | medium | up to `--parallelism-cap` | Heavy if capability gap > 15pp on SWE-bench |\n| developer | ROLE-software-engineer | senior | medium | up to `--parallelism-cap` | Heavy if `--security-critical` flag set |\n| junior-researcher | ROLE-research-scientist | specialist | medium | up to `--parallelism-cap` | No override |\n| junior-developer | ROLE-software-engineer | junior | light | up to `--parallelism-cap` | Medium if no light model accessible |\n| assistant | ROLE-assistant | specialist | light | up to `--parallelism-cap` | No override; shares junior-developer model if no light available |\n\nThe `(role, seniority)` pairs above come from\n`assets\u002Farchetype-catalog-mapping.yaml` (the kit default) and may be\noverridden per-project at `context\u002Fteam\u002Farchetype-catalog-mapping.yaml`.\nThe \"Slots opened\" column is the v2 replacement for v1's `clone_cap`\nfield — v0.19.0 removed `clone_cap`\u002F`cap_escalation`\u002F`primary_contact`\nfrom the Role schema and `is_template`\u002F`templated_from` from the\nTeamMember schema; the count of RoleSlots under the chartering Scope\nis the canonical capacity record. See\n`references\u002Frole-archetypes.md` for the full responsibilities lists.\n\n### chartering DecisionRecord — `inputs_snapshot` schema\n\nThe DecisionRecord schema (`SCHEMA-decisionrecord` v1.0.0) declares\n`inputs_snapshot` with `additionalProperties: true`, so v2 augments\nthe block with two catalog-mapping audit fields without a schema bump:\n\n```yaml\nspec:\n  inputs_snapshot:\n    subscription: \u003Cprovider>:\u003Ctier>\n    governance_floor: \u003C0-5>\n    parallelism_cap: \u003Cint>\n    weights:                  {C: \u003Cfloat>, K: \u003Cfloat>, L: \u003Cfloat>, G: \u003Cfloat>}\n    weights_source:           cli | dec-team-weights | skill-default\n    tier_thresholds:          {heavy_min: \u003Cfloat>, medium_min: \u003Cfloat>}\n    tier_thresholds_source:   cli | dec-team-weights | skill-default\n    landscape_artifact:       ART-\u003Cid>\n    landscape_artifact_date:  \u003CISO date>\n    landscape_artifact_source: explicit | project-tag | kit-default\n    tier_scores:              {\u003Cmodel-id>: \u003Cfloat>, ...}\n    weight_overrides_applied: \u003Cbool>\n    archetype_catalog_mapping_file: kit-default | project | cli   # v2\n    archetype_catalog_overrides:                                   # v2\n      - {archetype, field, kit_default, project_value}\n    archetype_override_file:  present | absent\n    archetype_override_semantics: delta | replace | null\n    archetype_overrides:      [{role, kit_default_pin, override_pin, rationale}]\n    chartering_scope:         SCOPE-\u003Cid>     # v2 — required for RoleSlot writes\n    role_slots:                              # v2 — provenance back-pointer\n      - {archetype, slot_id, role, seniority, rank}\n```\n\n`archetype_catalog_mapping_file` records which layer of the\nmapping-file precedence chain was applied\n(`cli` > `project` > `kit-default`).\n`archetype_catalog_overrides` lists each per-archetype-per-field\ndelta when the project file modifies the kit default; an empty list\nmeans the kit default was used verbatim.\n\n`pk-team-rebalance` and `pk-team-review` both read this block via\n`decision-record.get_decision`. It is the single source of truth for a\nteam's configuration — there is no skill-local config file for\nweights, thresholds, or pins. `inputs_snapshot.tier_scores` is what\n`pk-team-review`'s diff is computed against.\n\n### Referenced source files\n\n| Path | Purpose |\n|---|---|\n| `commands\u002Fpk-team-create.md` | Step-by-step command process (8 steps) |\n| `commands\u002Fpk-team-review.md` | Read-only diff process |\n| `commands\u002Fpk-team-rebalance.md` | Targeted rotation process |\n| `references\u002Flandscape-resolution.md` | 3-level landscape discovery rules |\n| `references\u002Ftiering-formula.md` | Normalisation, thresholds, worked example |\n| `references\u002Frole-archetypes.md` | Kit-default pins + responsibilities |\n| `references\u002Frole-archetypes-override.md` | YAML schema + validation invariants |\n| `references\u002Fteam-weights-decision-schema.md` | DEC-*-TeamWeights schema + threshold validation rules |\n\n### Extension points\n\n- **New role archetype.** Add an entry to\n  `assets\u002Farchetype-catalog-mapping.yaml` (or a project override at\n  `context\u002Fteam\u002Farchetype-catalog-mapping.yaml`) keyed by archetype\n  name with `role: ROLE-\u003Cid>` + `seniority: \u003Cenum>`. Update\n  `references\u002Frole-archetypes.md` with the responsibilities one-liner\n  and add a row to the pin table above. The PM-immutability invariant\n  remains in force (`project-manager.role` must remain\n  `ROLE-product-manager` and the slot count must remain 1). v2\n  archetypes are mapping keys, not Role entities — no schema change\n  is required.\n- **New scoring dimension.** Extend the weight set (currently\n  `{C, K, L, G}`); update `weights` schema in `inputs_snapshot`,\n  the worked example in `references\u002Ftiering-formula.md`, and the\n  validation rule that weights sum to 1.0 ± 0.001.\n- **New override layer.** Add a layer-N row to the team-creator override layers table,\n  define an audit field in `inputs_snapshot`, and document the\n  precedence rule (CLI > DEC > defaults) for the new layer.\n\n### Corner cases\n\n- **Tier collapse (\u003C 3 distinct tiers).** Promote the two\n  highest-scoring light models to medium. Never abort — degrade\n  gracefully. Recorded in DEC `inputs_snapshot.notes`.\n- **Snapshot staleness > 90 days.** Warn and continue; surface the\n  artifact date in the DecisionRecord rather than hiding it.\n- **PM single-slot rule.** `--parallelism-cap` is silently overridden\n  to 1 for `project-manager` regardless of CLI \u002F archetype overrides\n  (DEC-20260414_0900). Layer-4 overrides cannot raise it; the\n  project-manager archetype always opens exactly one RoleSlot at\n  rank=1.\n- **Slot continuity across rebalances.** A targeted rebalance\n  (`pk-team-rebalance --roles \u003Clist>`) re-fills the existing RoleSlot\n  rather than closing and re-opening it; SLOT-* IDs are stable\n  across model rotations and only change on `--roles all`\n  (full re-charter).\n- **Empty preferred-providers tie-break.** Two models within 0.05\n  TierScore and no preferred provider supplied: pick the higher raw\n  Capability score, then alphabetical model-id as final tie-break.\n- **Provider neutrality.** No model name, provider name, or tier\n  label may be hardcoded anywhere in this skill — all identifiers\n  flow in from `model-recommender`. Hardcoding is caught by\n  release-audit's `skill_structure` check on the next release.\n",{"name":5,"metadata":49,"description":86},{"processkit":50},{"id":51,"uses":52,"layer":65,"created":66,"version":67,"category":68,"commands":69,"provides":82,"apiVersion":85},"SKILL-team-creator",[53,56,59,62],{"skill":54,"purpose":55},"model-recommender","Query, score, and filter accessible models via query_models, get_pricing, check_availability.\n",{"skill":57,"purpose":58},"team-manager","Open RoleSlot entities (create_role_slot) inside the chartering Scope and fill them via fill_role_slot. Replaces v1's archetype Role + Actor + role-assignment writes.\n",{"skill":60,"purpose":61},"binding-management","End superseded role-slot-fill Bindings via end_binding when re-running the charter.\n",{"skill":63,"purpose":64},"decision-record","Write the chartering DecisionRecord; read stored formula weights on rebalance via get_decision.\n",3,1776211200000,"2.0.0","processkit",[70,74,78],{"args":71,"name":72,"description":73},"--subscription \u003Cprovider>:\u003Ctier> --providers \u003Clist|any> --parallelism-cap \u003Cint> --governance-floor \u003C0-5>","pk-team-create","Derive a full team from scratch: roles, actors, bindings, roster, and chartering DecisionRecord",{"args":75,"name":76,"description":77},"[--landscape-artifact \u003CART-id>] [--threshold \u003Cfloat>]","pk-team-review","Read-only team health-check against the latest landscape snapshot",{"args":79,"name":80,"description":81},"--roles \u003Clist|all> --confirm --reason \u003Cstring>","pk-team-rebalance","Apply a pk-team-review recommendation: targeted re-tiering of one or more roles",{"mcp_tools":83,"primitives":84},[],[],"processkit.projectious.work\u002Fv2","Compose a provider-neutral AI team by tiering accessible models on\ncost-efficiency, capability, latency, and governance, then mapping\nthe 8 processkit role archetypes onto catalog Roles + RoleSlots\ninside a chartering Scope. Use when bootstrapping a new project\nteam, rotating after a provider change, or quarterly rebalancing.\nTriggers: \"create my AI team\", \"compose a team\", \"rebalance the\nteam\", \"review the team\".\n","main","4876a92620ee792aac2ac9a1a806322d8a572367","archive\u002Fprocesskit-install-20261101\u002Fcontext\u002Fskills\u002Fprocesskit\u002Fteam-creator","https:\u002F\u002Fgithub.com\u002Fprojectious-work\u002Fprocesskit","https:\u002F\u002Fprojectious-work.github.io\u002Fprocesskit\u002F","https:\u002F\u002Fgithub.com\u002Fprojectious-work","2026-11-11 23:24:18",{"source":8,"skillName":5,"commands":95,"prompt":105,"zipAvailable":106},[96,99,102],{"tool":97,"command":98},"npx","npx skills add projectious-work\u002Fprocesskit --skill team-creator",{"tool":100,"command":101},"bunx","bunx skills add projectious-work\u002Fprocesskit --skill team-creator",{"tool":103,"command":104},"pnpm","pnpm dlx skills add projectious-work\u002Fprocesskit --skill team-creator","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fprojectious-work\u002Fprocesskit\u002Fblob\u002Fmain\u002Farchive\u002Fprocesskit-install-20261101\u002Fcontext\u002Fskills\u002Fprocesskit\u002Fteam-creator\u002FSKILL.md",true,[108,114,120,124,128,132,136,140,144,148],{"path":109,"resourceType":110,"resourceTypeDesc":111,"sizeBytes":112,"sourceHtmlUrl":113},"assets\u002Farchetype-catalog-mapping.yaml","ASSET","资产文件",1319,"https:\u002F\u002Fgithub.com\u002Fprojectious-work\u002Fprocesskit\u002Fblob\u002Fmain\u002Farchive\u002Fprocesskit-install-20261101\u002Fcontext\u002Fskills\u002Fprocesskit\u002Fteam-creator\u002Fassets\u002Farchetype-catalog-mapping.yaml",{"path":115,"resourceType":116,"resourceTypeDesc":117,"sizeBytes":118,"sourceHtmlUrl":119},"commands\u002Fpk-team-create.md","REFERENCE","参考文档",16898,"https:\u002F\u002Fgithub.com\u002Fprojectious-work\u002Fprocesskit\u002Fblob\u002Fmain\u002Farchive\u002Fprocesskit-install-20261101\u002Fcontext\u002Fskills\u002Fprocesskit\u002Fteam-creator\u002Fcommands\u002Fpk-team-create.md",{"path":121,"resourceType":116,"resourceTypeDesc":117,"sizeBytes":122,"sourceHtmlUrl":123},"commands\u002Fpk-team-rebalance.md",6705,"https:\u002F\u002Fgithub.com\u002Fprojectious-work\u002Fprocesskit\u002Fblob\u002Fmain\u002Farchive\u002Fprocesskit-install-20261101\u002Fcontext\u002Fskills\u002Fprocesskit\u002Fteam-creator\u002Fcommands\u002Fpk-team-rebalance.md",{"path":125,"resourceType":116,"resourceTypeDesc":117,"sizeBytes":126,"sourceHtmlUrl":127},"commands\u002Fpk-team-review.md",8049,"https:\u002F\u002Fgithub.com\u002Fprojectious-work\u002Fprocesskit\u002Fblob\u002Fmain\u002Farchive\u002Fprocesskit-install-20261101\u002Fcontext\u002Fskills\u002Fprocesskit\u002Fteam-creator\u002Fcommands\u002Fpk-team-review.md",{"path":129,"resourceType":116,"resourceTypeDesc":117,"sizeBytes":130,"sourceHtmlUrl":131},"references\u002Flandscape-resolution.md",2103,"https:\u002F\u002Fgithub.com\u002Fprojectious-work\u002Fprocesskit\u002Fblob\u002Fmain\u002Farchive\u002Fprocesskit-install-20261101\u002Fcontext\u002Fskills\u002Fprocesskit\u002Fteam-creator\u002Freferences\u002Flandscape-resolution.md",{"path":133,"resourceType":116,"resourceTypeDesc":117,"sizeBytes":134,"sourceHtmlUrl":135},"references\u002Frole-archetypes-override.md",5346,"https:\u002F\u002Fgithub.com\u002Fprojectious-work\u002Fprocesskit\u002Fblob\u002Fmain\u002Farchive\u002Fprocesskit-install-20261101\u002Fcontext\u002Fskills\u002Fprocesskit\u002Fteam-creator\u002Freferences\u002Frole-archetypes-override.md",{"path":137,"resourceType":116,"resourceTypeDesc":117,"sizeBytes":138,"sourceHtmlUrl":139},"references\u002Frole-archetypes.md",7714,"https:\u002F\u002Fgithub.com\u002Fprojectious-work\u002Fprocesskit\u002Fblob\u002Fmain\u002Farchive\u002Fprocesskit-install-20261101\u002Fcontext\u002Fskills\u002Fprocesskit\u002Fteam-creator\u002Freferences\u002Frole-archetypes.md",{"path":141,"resourceType":116,"resourceTypeDesc":117,"sizeBytes":142,"sourceHtmlUrl":143},"references\u002Fteam-weights-decision-schema.md",4997,"https:\u002F\u002Fgithub.com\u002Fprojectious-work\u002Fprocesskit\u002Fblob\u002Fmain\u002Farchive\u002Fprocesskit-install-20261101\u002Fcontext\u002Fskills\u002Fprocesskit\u002Fteam-creator\u002Freferences\u002Fteam-weights-decision-schema.md",{"path":145,"resourceType":116,"resourceTypeDesc":117,"sizeBytes":146,"sourceHtmlUrl":147},"references\u002Ftiering-formula.md",5739,"https:\u002F\u002Fgithub.com\u002Fprojectious-work\u002Fprocesskit\u002Fblob\u002Fmain\u002Farchive\u002Fprocesskit-install-20261101\u002Fcontext\u002Fskills\u002Fprocesskit\u002Fteam-creator\u002Freferences\u002Ftiering-formula.md",{"path":149,"resourceType":150,"resourceTypeDesc":151,"sizeBytes":152,"sourceHtmlUrl":153},"scripts\u002Fteam_creator_lib.py","SCRIPT","脚本",20130,"https:\u002F\u002Fgithub.com\u002Fprojectious-work\u002Fprocesskit\u002Fblob\u002Fmain\u002Farchive\u002Fprocesskit-install-20261101\u002Fcontext\u002Fskills\u002Fprocesskit\u002Fteam-creator\u002Fscripts\u002Fteam_creator_lib.py",[155,162,169,175,197,217],{"skillNo":156,"name":157,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":158,"categories":159,"keywords":160,"publishedAt":161},"01M7665G2ED3624R3X93304265","standard-ui-design","https:\u002F\u002Fgithub.com\u002Fprojectious-work\u002Fprocesskit\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fstandard-ui-design\u002FSKILL.md",[],[],"2026-11-12 13:55:43",{"skillNo":163,"name":164,"nameZh":6,"description":165,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":166,"categories":167,"keywords":168,"publishedAt":161},"01M76651QTC6W0HJ4AFW2MMR3V","standard-agent-use","Company standard for working with AI agents. Use when deciding what to delegate to agents, capturing open work, keeping agent memory or knowledge notes, improving an agent workflow, or introducing agent work in a team or for a client.","https:\u002F\u002Fgithub.com\u002Fprojectious-work\u002Fprocesskit\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fstandard-agent-use\u002FSKILL.md",[],[],{"skillNo":170,"name":171,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":172,"categories":173,"keywords":174,"publishedAt":161},"01M76650NN4T8P241021NBR64S","standard-agent-building","https:\u002F\u002Fgithub.com\u002Fprojectious-work\u002Fprocesskit\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fstandard-agent-building\u002FSKILL.md",[],[],{"skillNo":176,"name":177,"nameZh":6,"description":178,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":179,"categories":180,"keywords":182,"publishedAt":44},"01M6X5MTC89B4ZGXW3JVSQCPF8","skill-management","Manage Skill package manifests as v1 ontology entities.","https:\u002F\u002Fgithub.com\u002Fprojectious-work\u002Fprocesskit\u002Fblob\u002Fmain\u002Fsrc\u002Fcontext\u002Fskills\u002Fprocesskit\u002Fskill-management\u002FSKILL.md",[181],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[183,184,185,186,43,187,188,189,190,191,192,193,177,39,194,195,196],"management","skill management","ontology","v1","as","work","transition","get","manage","update","alpha","package","skill package","manifests",{"skillNo":198,"name":199,"nameZh":6,"description":200,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":201,"categories":202,"keywords":204,"publishedAt":44},"01M6X5MCV74NHW5MEDNHZRF2C8","schema-management","Manage generated processkit schema contracts through deterministic MCP rebuild and inspection workflows.","https:\u002F\u002Fgithub.com\u002Fprojectious-work\u002Fprocesskit\u002Fblob\u002Fmain\u002Fsrc\u002Fcontext\u002Fskills\u002Fprocesskit\u002Fschema-management\u002FSKILL.md",[203],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[205,206,183,207,208,209,210,211,212,213,214,215,188,190,191,193,216],"schema","schema management","contract","rebuild","contracts","workflows","wed","generated","MCP","validation","deterministic","mode",{"skillNo":218,"name":219,"nameZh":6,"description":220,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":221,"categories":222,"keywords":223,"publishedAt":44},"01M6X5M5G6YJ96AMZGSCZJ1D13","proposition-management","Record claims, risks, beliefs, world facts, WSJF estimates, and assumptions through the Proposition interface.","https:\u002F\u002Fgithub.com\u002Fprojectious-work\u002Fprocesskit\u002Fblob\u002Fmain\u002Fsrc\u002Fcontext\u002Fskills\u002Fprocesskit\u002Fproposition-management\u002FSKILL.md",[],[224,183,225,226,43,227,228,229,188,190,230,231,192,232,193,233,234,235,236,237],"proposition management","proposition","interface","claims","record","world","creation","event","WSJF","index","updates","query","facts","log"]