/vibe:cl-splitfrom vibe
Splits a high-complexity ClosedLoop feature ticket (FEA-*) into smaller executable child tickets when safe. Enforces one split level only and does not implement code.
Ships in vibe. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Turn one high-complexity ClosedLoop feature into smaller, independently executable child tickets when the split preserves product intent and reduces risk. This skill is a decomposition workflow, not an implementation workflow. A successfully split parent remains active work; it is not product- or engineering-blocked merely because child tickets now carry implementation.
Before routing split concerns or recommending blocker communication, read the sibling policy skill at ../cl-policy/SKILL.md and follow its Required Reference resolution order. Use ../cl-policy/references/local-policy.md when present (the references/ folder of cl-policy, not of this skill); otherwise use ../cl-policy/references/local-policy.example.md only to understand the required shape, then require a populated $HOME/.closedloop-ai/local-policy.md before routing. Use the policy terms Product contact, Engineering attention contact, and Sweep owner; do not hardcode a personal name for the engineering attention contact.
$cl-execute from this skill.$cl-split invocation is approval for that narrow decomposition action.CHILD_EXECUTION_ONLY when the child should be analyzed/executed directly, or SPLIT_REPAIR_REQUIRED only when the child is not execution-sized because the original split shape is defective.BLOCKED. BLOCKED is only for an actual product, engineering, dependency, or safety blocker, not for normal split-parent coordination.DONE until all implementation child tickets are done and the parent acceptance criteria are covered.EXTREME risk work. Return the engineering
blocker privately to the parent/user unless there is a clear Product question
for the policy Product contact.SPLIT_CREATED unless every child ticket is assigned to the sweep user or otherwise visible to the sweep, and is in an actionable status the sweep will pick up.DIRECT_EXECUTION_RECOMMENDED without creating tickets. Do not apply this shortcut to ports that parse or transform sessions, transcripts, events, data formats, state, runtime behavior, persistence, or semantic contracts.$workflow-orchestrator, $workflow-execute, or any orchestrator-run ticket execution workflow.closedloop-graph MCP proactively under cl-policy
host-capability rules
before proposing, repairing, or creating a split. Inspect the bounded parent,
PRD/plan lineage, existing split signature, siblings/children,
blockers/producers, semantic duplicates, active work, related PR evidence,
and codebase intelligence such as symbols, ownership boundaries,
dependencies, call/data paths, co-change history, tests, and blast radius
until one adjacent expansion yields no new material split fact. Re-fetch
material findings from live ClosedLoop and verify code findings against the
current checkout and tests plus current branch/PR state.
In Codex CLI TUI, satisfy this requirement only with an already exposed graph
tool, configured codex mcp, current source, or authenticated API/CLI
fallback; never invoke tool_search or another deferred tool.
Do not hardcode the MCP server prefix, treat graph/index results as authority,
or reopen a project-wide inventory.A high-complexity ticket is splittable only when all of these are true:
$cl-sweep may later place
compatible ready children in one merge batch when their implementation,
review, validation, rollback, and merge policies align.Do not split when the ticket is mostly ambiguous requirements, a single atomic migration, a security/billing/permission change needing architecture review, or a broad rewrite without a safe intermediate milestone.
FEA-* slug.closedloop-graph under cl-policy host-capability rules to validate the bounded lineage, dependency, duplicate, active-work, related-PR, and codebase architecture set, including ownership, call/data paths, tests, co-change evidence, and blast radius. In Codex CLI TUI, use an already exposed graph tool or the documented CLI/source fallback and never emit a dynamic tool call. Verify code findings against the current checkout. Treat the input as a split child only when split-specific evidence exists: split signature, $cl-split child text, parent split comment, or a PRODUCES relationship showing the ticket was produced by a split. A generic parent link alone is not enough; classify lineage as unknown and investigate before refusing top-level splitting. If the input is a split child, identify the original top-level parent when possible and do not create tickets.$cl-analyze result in the thread if present. If missing or stale, inspect enough ticket/repo context to classify split feasibility.HIGH classification. Separate files likely to change from context/dependencies that only need inspection or preservation. If one coherent referential harness registration, wrapper, link, manifest, or dispatch-only adapter plus its focused tests and documentation satisfies the ticket without translating behavior or contracts, stop without creating tickets and return DIRECT_EXECUTION_RECOMMENDED. Ports involving semantic or data-flow transformation must still be classified from their actual implementation boundaries.CHILD_EXECUTION_ONLY unless the current $cl-analyze result or fresh inspection proves SPLIT_REPAIR_REQUIRED.SPLIT_CREATED with the existing child URLs instead of creating duplicates. If matching children already exist but one or more are not execution-sized, continue to the repair step instead of treating the existing split as successful.SPLIT_CREATED: Child tickets were created or updated in ClosedLoop and linked/commented back to the parent.DIRECT_EXECUTION_RECOMMENDED: The top-level input is execution-sized after separating actual implementation mutations from contextual/dependency surfaces. No child tickets were created; the parent coordinator must rerun $cl-analyze with the corrected scope before execution.CHILD_EXECUTION_ONLY: The input is already a split child that must not be split again and should be returned to $cl-analyze/$cl-execute as a direct execution candidate.SPLIT_PROPOSED: A safe split exists, but child ticket creation was unavailable or explicitly needs human creation.PRODUCT_DECISION_REQUIRED: Product input is needed before child tickets can be valid.SPLIT_REPAIR_REQUIRED: The input is already a split child that is not execution-sized because the original split shape is defective, and the parent orchestrator must switch context back to the original parent split. Do not create grandchildren.ENGINEERING_REVIEW_REQUIRED: The engineering attention contact must review architecture/risk before splitting or executing.NOT_SPLITTABLE: The parent should remain blocked for manual review.SPLIT_REPAIR_REQUIRED. Before repairing, inspect sibling child statuses, workflow memory records, active Codex threads, branches, and PRs. Do not supersede or rewrite active child work automatically. Preserve active children and repair around them by creating or updating non-overlapping sibling tickets when safe; if active work makes safe repair impossible or human product/architecture input is required, keep the engineering details private and surface the decision to the user, using a Product comment only for an independently actionable Product question. Update or replace only inactive/obsolete one-level child tickets under the same parent and split signature. Do not create grandchildren. Do not leave overlapping or obsolete children actionable; use relationships and the project's supported non-actionable status rather than public recordkeeping comments. Return SPLIT_CREATED after a successful repair with the updated child set.FEA-* tickets in the same project with TODO status by default, assigned to the policy Sweep owner unless project conventions require a different assignee. Use BACKLOG only when the project convention treats BACKLOG as sweep-actionable. Do not create children in TRIAGE, IN_PROGRESS, IN_REVIEW, or BLOCKED. If a child cannot be assigned to the sweep user, cannot be put in TODO or sweep-actionable BACKLOG, or cannot be made visible in the sweep queue, return SPLIT_PROPOSED or ENGINEERING_REVIEW_REQUIRED instead of SPLIT_CREATED.SPLIT_PROPOSED; do not publish an engineering comment or DM without exact user authorization.SPLIT_CREATED, preserve child links and split signature through first-class relationships, ticket fields/statuses, and private workflow memory; do not add parent recordkeeping comments. Mark the parent IN_PROGRESS when child implementation work exists or will be picked up by the sweep. If the parent is already BLOCKED only because of an older split-parent convention, correct it to IN_PROGRESS. Leave the parent unchanged only when status mutation is unavailable, and record why privately in the result. Reserve BLOCKED for SPLIT_PROPOSED, PRODUCT_DECISION_REQUIRED, ENGINEERING_REVIEW_REQUIRED, NOT_SPLITTABLE, invisible/unassigned children, or a real blocker unrelated to the successful split itself.Each child ticket must include:
TODO, or BACKLOG only when documented as sweep-actionable for the project.$cl-analyze result before batching.Human UI plan approval required before plan approval, feature status mutation, branch creation, code changes, PR work, or merge work when missing.Prefer two to five child tickets based on genuine implementation boundaries,
not desired PR count. If more than five are needed, mark
ENGINEERING_REVIEW_REQUIRED unless the parent is obviously an epic and project
conventions support that many children. A successful split does not force the
sweep to serialize one PR through the merge queue for every child.
SPLIT_CREATED: No blocker comment or DM is required. $cl-sweep should record the parent as split and then re-query assigned tickets so the new children can be analyzed normally.DIRECT_EXECUTION_RECOMMENDED: No blocker comment or DM is required. $cl-sweep should rerun $cl-analyze for the top-level ticket with the corrected expected-touched-surface scope and must not create child tickets from the rejected split.CHILD_EXECUTION_ONLY: No blocker comment or DM is required. $cl-sweep should re-run $cl-analyze for the child as a direct execution candidate and must not call $cl-split on that child again.SPLIT_REPAIR_REQUIRED: No blocker or recordkeeping comment is required. $cl-sweep should repair the original parent split through relationships/statuses and private durable artifacts, then re-query assigned tickets.SPLIT_PROPOSED: Keep the child drafts and failure reason in the private result/memory and surface them to the user. Do not post a ticket comment or DM without exact user authorization.PRODUCT_DECISION_REQUIRED: Add a first-person ClosedLoop comment tagging the policy Product contact with the parent ticket, the product decision needed, and the proposed split if useful. Do not use Slack.ENGINEERING_REVIEW_REQUIRED or NOT_SPLITTABLE: Keep risk/evidence private and surface it to the invoking user. ClosedLoop comment target is none unless the user explicitly requests the exact comment.When invoked by $cl-sweep, the parent owns Product-decision comments and private workflow-memory recording. Engineering/operational comments and DMs remain forbidden unless the user explicitly authorized the exact communication.
When a parent task id was supplied, send the parent the completed
CL Split Result before ending the turn. On Desktop, use the statically
available send_message_to_thread. In a cwd-bound CLI worker, emit the matching
current-generation CL_SWEEP_EVENT v1 as the final line for the managed App
Server runner to persist and deliver; never dynamically invoke parent messaging
from TUI. The callback is required for every outcome and must
include the input/parent ticket, this task id when available, outcome, child
set or blocker, and exact next parent action. Do not rely on a child final
response or parent polling to communicate completion. Retry one failed callback
once, then include the exact callback failure in the result.
End with this structure:
## CL Split Result
Input ticket: <FEA slug and URL>
Parent ticket: <FEA slug and URL>
Original split parent: <top-level parent FEA/url when input is a split child, or same as Parent ticket>
Project: <ClosedLoop project slug/name and URL>
Repo: <repo name or unknown>
Split lineage: <top_level | split_child | unknown>
Outcome: <SPLIT_CREATED | DIRECT_EXECUTION_RECOMMENDED | CHILD_EXECUTION_ONLY | SPLIT_PROPOSED | SPLIT_REPAIR_REQUIRED | PRODUCT_DECISION_REQUIRED | ENGINEERING_REVIEW_REQUIRED | NOT_SPLITTABLE>
Confidence: <LOW | MEDIUM | HIGH>
Parent status recommendation: <IN_PROGRESS | leave unchanged | ask engineering attention contact | BLOCKED only for real blocker>
Split signature: <stable signature from parent and child fields>
Summary:
- <one to three bullets>
Split rationale:
- <why this split does or does not preserve product intent and reduce risk>
Child tickets:
- <created, reused, updated, superseded, or draft FEA/url/title>: <assignee, status, objective, acceptance criteria summary, dependencies, validation, ui_design_source: not_applicable | design | screenshot | prototype | missing, human_ui_plan_approval: not_required | required>
Existing related work:
- <duplicates, active PRs, existing child tickets, or none>
Parent update:
- <comment/link result, parent status result, legacy BLOCKED correction if any, or reason parent was left unchanged>
Communication:
- ClosedLoop comment target: <none | product contact>
- Engineering attention DM: <not_required | explicitly_user_authorized>
- Recommended ClosedLoop comment: <ready-to-post concise first-person comment, or none>
- Recommended engineering attention DM: <ready-to-send only when explicitly user-authorized, otherwise none>
Persistence:
- Parent memory state: <SPLIT_CREATED | DIRECT_EXECUTION_RECOMMENDED | CHILD_EXECUTION_ONLY | SPLIT_PROPOSED | SPLIT_REPAIR_REQUIRED | SPLIT_BLOCKED>
- Parent memory key: cl_sweep_ticket_state <project_slug_or_url> <parent FEA-slug>
- Child ticket slugs/URLs: <created or reused child tickets, assignees, statuses>
- Child memory keys: <cl_sweep_ticket_state entries to query next, or none>
- Recheck when: <specific parent/product/engineering change that should trigger re-analysis, or none>
Next parent action:
- <re-query assigned tickets | re-analyze top-level ticket for direct execution | re-analyze child for execution | repair original parent split | add ClosedLoop comment tagging product contact | surface engineering blocker privately to user | manual intervention>
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub closedloop-ai/claude-plugins --plugin vibe17 skills in this plugin
/cl-analyzeAnalyze one ClosedLoop feature ticket from a URL or FEA slug before execution. Use when asked to assess ticket complexity, feasibility, readiness, applicable requirements PRDs and missing PRD links, UI design guidance, human UI plan approval needs, blockers, legacy split lineage, merge-batch compatibility, nonsensical or obsolete scope, product versus engineering routing, or whether a ticket can safely be worked before invoking $cl-execute. Keep engineering and operational concerns private; recommend a company-visible ticket comment only for a genuine Product decision under cl-policy or when the user explicitly requests the exact comment. Keep every issue as its single ticket; do not recommend $cl-split. Do not implement the ticket./cl-executeDraft and upload ClosedLoop implementation plans with Mermaid scope flowcharts, then execute one ClosedLoop feature ticket or a parent-approved coherent multi-ticket feature end to end on Codex Desktop or as a leased Codex CLI ticket worker after all readiness, legacy split-lineage, complexity, risk, requirements, batch, and UI guidance gates. Plan, implement, run the required two-pass coordinated review sequence, validate, open and remediate the feature's single PR, maintain the author-owned feature manual-QA plan and evidence, hand passive monitoring to $cl-sweep or a detached standalone monitor, use protected-queue or human UI merge policy, and reconcile every included ticket. In CLI sweeps, the ticket worker may directly manage bounded read-only support lanes and returns compact CL_SWEEP_EVENT v1/CL_SWEEP_RESULT v1 routing summaries./cl-find-related-ticketsInspect the relevant code first to map the implementation blast area, then find ClosedLoop issue tickets related to a product area, behavior, requirement, incident, ticket, or pull request and give a brief evidence-based reason for each match. Use when auditing scope, finding potentially conflicting or missing work across projects and assignees, checking whether a freeze covers every relevant ticket, comparing discoveries with an approved ticket set, or looking for direct changes, dependencies, shared contracts, tests, and open-PR collisions. This is a read-only discovery skill and does not update tickets, comments, statuses, code, or pull requests./cl-policyShared ClosedLoop access and routing policy for local ClosedLoop automation skills. Use when cl-analyze, cl-split, cl-sweep, or cl-execute needs to discover ClosedLoop tools, select a safe MCP/CLI/API access fallback, resolve product contacts or engineering attention contacts, apply comment tagging and first-person communication rules, load local overrides, or interpret legacy personal-name memory fields./cl-sweepReport or coordinate ClosedLoop work assigned to the user in one project. Use read-only report mode for a complete project-wide inventory grouped into product-feature context with dependency and reassignment guidance. For execution, recover active work first, then run each selected complete page or capability as one owner, branch, plan, PR, and manual-QA unit while preserving every ticket's independent readiness and acceptance gates. Supports Codex Desktop and a fail-closed CLI root with durable state, private leases, callbacks, and passive PR monitoring./cl-work-reportProduce a private, read-only HTML report of all ClosedLoop work assigned to the authenticated user in one project, grouped into evidence-backed page or capability feature units with verified dependencies and minimal reassignment recommendations. Use for project work inventories, feature-unit reports, blocker ownership, or reassignment advice; do not use it to execute, reassign, or update tickets.2 plugins in one repository ship this exact skill · first indexed Oct 15, 2026
Other plugins' skills for the same job