/shared:launchplanefrom shared
Operates Launchplane-managed product/runtime state, secrets, config, deployments, rollout direction, ownership boundaries, merge-train flow, and audited admin mutations.
Ships in shared. 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; scripts run unread.
The repository-scoped exceptions in this skill's
prefer-launchplane-helpers-over-global-cli policy name the commands that may run through
uv run [--extra dev] launchplane in a verified cbusillo/launchplane
checkout or linked worktree, including frontend contract generation.
ci postgres-integration may run there too when the command itself names a
loopback database through --database-url or a leading
LAUNCHPLANE_TEST_POSTGRES_URL=. Use the session's working directory or a
single literal absolute cd <checkout> && prefix; on Codex, an exec workdir
is not visible to the hook, so use the cd prefix. Other shell
directory/project overrides retain the block. Consumers without
repository-exception support keep the original block; do not bypass it through
an alternate entry point. The local gates support chained checks and output
redirection. A leading UV_PROJECT_ENVIRONMENT= may place the project's
environment outside the checkout when uv syncs it; --no-sync and UV_NO_SYNC
in the hook's inherited environment retain the block with that selector.
For the Director-approved testing local-consumer path (Q921), read the
custody contract
before running uv run launchplane local-consumer prepare, deliver or
receive from a verified Launchplane checkout. For real transfers, use a clean
primary/runtime installation at a merged default-branch commit; task worktrees
use fake isolated fixtures. These commands use existing
exact-testing-lane authority; the service enforces the credential and caller
boundary. Keep recipient files outside repositories and task evidence; never
inspect or emit their key or token values. Every other live/admin CLI command retains its helper
route below. This routing exception creates no access or grant.
Use this skill to inspect product/runtime state and perform safe, authenticated mutations via the Launchplane service API.
Use docs-lookup first when a task is discovering the source of truth or access
path for external/private infrastructure and it is not already clear that
Launchplane manages that resource.
Checked-in files are not runtime authority for Launchplane-managed state. Code may own schemas, validators, generic behavior, helper routing, fake examples, and fail-closed defaults. Launchplane service records or explicit scoped admin input own real product, tenant, repository, branch, domain, lane, provider-target, runtime-environment, authz, admin identity, route, health-check, and other mutable runtime values.
This applies even when values are not secrets. Non-secret topology can still steer production behavior. Treat repo metadata, workflow variables, checked-in examples, and archived workstation files as hints for which Launchplane helper, service record, or admin surface to use; never use them as evidence of the current live value. If the needed live value is only visible in checked-in or workstation files, stop and obtain Launchplane context or explicit admin input instead of inferring it.
Favor service-backed audit trails over local ad hoc fallbacks. Use the deployed
service/API or admin UI first for current product state; direct database
access requires an explicitly approved host-side context. Archived files under
~/.config/launchplane/, including service.env, dokploy.env, and
runtime-environments.toml, are historical clues only.
When a repo has .github/github.json, inspect its launchplane block before
looking in sibling repos, archived workstation files, or workflow variables. The
repo block is public-safe routing metadata only: it may name helper paths,
environment variable names for service URLs, local config examples,
and GitHub Actions workflow entrypoints. Merge-train enrollment, base branches
and enqueue labels come only from the active service policy read; point docs
at the train procedure rather than storing a
launchplane.mergeTrain block. It must not
contain tokens, secret values, cookies, concrete Launchplane service URLs,
private credential paths, provider payloads, product/runtime endpoints, or
plaintext runtime configuration. Treat Launchplane-managed product, app,
preview, deploy, provider, lane, tenant, and health-check coordinates as service
records, not checked-in repo metadata; if repo metadata and Launchplane service
state disagree, service/admin state wins and the metadata is stale routing
context to fix deliberately.
Read the producer contract and caller bindings before changing helper routes or choosing an operation surface.
For a prepared access-policy, merge-train policy or backup-policy proposal, read
the proposal helper contract
and use launchplane-write-action.py privileged-policy-propose --payload-file <private-envelope>. Access/merge-train proposals require an explicit managed
proposer grant for the configured local_operator; the Director approves it
separately through the Access policy card. Backup proposals reuse existing
exact-lane backup planning authority and open the product's production Actions
card. Submit no proposal until the service supports its descriptor and the caller
has the required authority. Source delivery grants no access. To add or remove
one trusted automation id on named enrolled repositories, use
merge-train-trusted-automation-propose; to enroll repository branches, use
merge-train-enrollment-propose. Never hand-build a merge-train record; both
keep the active record in memory only.
Creation is pending and inert. Director questions and handoffs that send the
Director to a page include a full clickable URL, never a bare UI path. Use the
helper's review_url for proposal review, following
talking with the Director.
Keep private URLs in destinations allowed to know them. Approval
stays in the signed-in UI and the proposer can never approve or apply. Reuse the
private envelope's stable source event when a response is uncertain. This path
uses private local_operator config, independent of terminal-agent credentials.
For lifecycle retirement, managed authorization reconciliation, and stable-lane
repair, resolve the requested operation from the producer contract before
choosing a surface. Use the operation's modes, idempotency, reviewed-evidence
requirements, and supported surfaces as the boundary. When the selected surface
is protected_workflow, resolve exactly one protected-workflow binding whose
route matches the operation path, then delegate dispatch and watching to the
github skill and github_workflow_babysit.py. Never open-code workflow
authentication, dispatch, polling, retry, or reconciliation in this skill.
Fail closed when the contract does not contain one unambiguous operation and, when required, one unambiguous workflow binding. Report the scenario as an unsupported capability gap and track focused follow-up coverage; do not route it through a nearby helper, workflow, or endpoint. Plan or dry-run first, and do not apply without every contract-required reviewed-evidence field and an apply-eligible result. For approval and standing authority, follow task scope and the direction files loaded under Rollout Plan Alignment below. Detached application retirement must preserve zero authority writes and is complete only when candidate absence is proved.
For Launchplane rollout, runtime, product-boundary, merge-train, or admin work, do not continue from the latest operational finding alone. Before the next slice, state how it fits the active Launchplane plan, issue graph, rollout sequence, or product ownership boundary.
Before Launchplane operational work, including apply, mutate, repair,
retirement, policy changes, workflow design or grant proposals, read the
Director's overall direction and cbusillo/launchplane's DIRECTION.md at
origin/main. Do this even when working from a product repository.
If an operational finding changes the plan, update the owning GitHub plan issue or PR before treating the new path as canonical. Prefer explicit blocker, sub-issue, or related-issue edges over burying direction changes in chat.
When Launchplane work turns into GitHub issue, PR, Actions, review, comment,
commit, or push work, delegate that surface to github or github-plan before
running commands. Launchplane owns runtime/admin authority; the GitHub skills
own helper-backed GitHub identity, body handling, planning state, and PR
lifecycle behavior.
For lane health, use uv run scripts/launchplane-write-action.py product-status-read. It returns the service-computed Product
Ops sidebar tones and reasons for every recorded lane, plus product warnings. It reads the whole caller-visible inventory in one request.
Do not reconstruct colors from diagnostic reads or run frontend source locally.
Use the context helper to identify product mapping, deploy evidence, and readiness.
uv run scripts/launchplane-context.py --repo OWNER/REPOreferences/context.available.example.json for schema.references/context-helper-contract.md for config,
fallback, and redaction behavior.Use uv run scripts/launchplane-owner-review.py --repo OWNER/REPO --pr NUMBER
to retrieve the complete saved Client reason; add --decision-id ID for a
historical decision. This narrow read uses the existing private admin config
and the product's product_profile.read permission. It is a bounded local
extension of /v1/product-review, separate from the public-safe context output.
The output contains Client prose: unless its publication is authorized, keep
it only where task artifacts
go, the session scratchpad or the host's named task-evidence location. A failed read means unavailable, not no feedback.
The PR watcher uses this reader to verify its GitHub projection and receipt.
Before preparing or repairing an application-target deployment, read
stable deploy identity. Publish both an
immutable digest and immutable SHA tag before deployment; never use a floating
tag. Resolve the target category from Launchplane context or the admin
surface. Repair missing references through the product repository's build/deploy
workflow and delegate protected workflow dispatch and watching to github.
When diagnosing a Launchplane operation, first read its service logs with
scripts/launchplane-service-logs.py --config <private-log-target.json> --since <RFC3339> --until <RFC3339> [--operation-id <id>] [--trace-id <id>].
Read the service-log reader contract before
using it. It reuses an existing SSH read path, emits bounded redacted JSON and
changes no service state. Removed containers and rotated logs remain unknown;
an empty filtered tail never proves that an operation did not run.
Mutate runtime environments, managed secrets, and product config.
references/operator-contract.md.references/write-action-helper-contract.md for
bounded helper entrypoints, exit behavior, and redacted output shape..github/github.override.json
for Launchplane credentials.scripts/launchplane-write-action.py operator-config-diagnostic. Treat
launchplane-context availability and local admin readiness as separate
checks: context can be unavailable while the write helper is usable, and the
write helper can be blocked only by missing local admin config. If the
diagnostic reports missing_service_url, token material was found but no
write-capable Launchplane service URL source was found; configure
LAUNCHPLANE_OPERATOR_URL in the private local admin env file or pass
--url before the subcommand, then rerun the diagnostic. If the active shell
has a service URL under LAUNCHPLANE_PUBLIC_URL but not
LAUNCHPLANE_OPERATOR_URL, treat it as an ambiguous URL source: obtain the
correct admin URL and pass it with --url before the subcommand, or copy
the sanctioned value into private admin config. Do not use public URL
variables as write authority.live-target-runtime-sync-dry-run / -apply. Sync does not restart
containers. A denial stays with that identity; it does not authorize recovery,
deployment or another credential.launchplane binary or by poking provider config directly..github/github.json; Launchplane DB/service records remain authority.missing_service_url, fix local admin routing
first. This is a workstation setup problem, not PR readiness, merge-train
admission, or scheduler state.scripts/launchplane-write-action.py product-config-preflight when agent-side authorization or managed-secret
binding evidence is useful.POST /v1/product-config/apply only in
an approved admin surface. The generic caller submits dry-run/apply from a
private local payload file, never from chat, CLI plaintext secret args, or
committed examples.next_actions in the saved private response and complete required follow-up actions;
product-config apply can update Launchplane records before the live target
runtime has been synced.Agents may guide the admin, prepare request shape, summarize redacted dry-run evidence, and report trace IDs/status. Agents must not collect plaintext secret values in chat, issues, PRs, docs, logs, or helper output, and must not bypass Launchplane by editing provider configuration directly.
Apply the refusal rules in the direction files read under Rollout Plan
Alignment. Keep the actual refused operation stopped and preserve its trace, source URL and any uncertain-effect
evidence. Those sources own the distinction between a wrong refusal and one
that correctly protects a stop boundary, and the required response to each.
Use github-plan to track a required repair and any native dependency on it.
Reconcile uncertain effects before reexecution.
A Launchplane-owned reconciliation entrypoint may run under GitHub Actions OIDC. That path executes authority Launchplane already granted; it never creates authority merely because another identity was denied. Use it only when every condition holds:
Delegate dispatch and watching to the github skill. If any condition fails,
stop and escalate architecturally. Bootstrap and break-glass are
admin-initiated exceptions with an audit trail; they are never the routine
answer to authorization_denied.
Read enrollment with uv run scripts/launchplane-write-action.py merge-train-policy-read --repo OWNER/REPO. Launchplane's active policy owns
whether a repository is enrolled, its base branches and enqueue labels;
.github/github.json only carries routing hints. The bounded read uses the
existing private admin configuration and standing merge_train.policy_targets
permission. It emits only that repository's targets and policy revision evidence.
For a Director with Launchplane configured, missing settings, unavailable access
or an invalid service response leave enrollment unknown. Never infer a direct
merge path from missing metadata or a failed read. A Director without Launchplane
uses the GitHub skill's Merging procedure, which
establishes configuration absence locally and skips this skill and train steps.
Before diagnosing a train, read merge-train execution for phase, stack, retry, and terminal evidence requirements. Label every PR in a stack that is ready to land, and never hand-collapse stacks.
babysit-pr --once or the PR's train comment.scripts/launchplane-write-action.py merge-train-controller-run-once (POST /v1/work-graph/merge-train/controller/run-once)
instead of open-coding the route. Mutating calls require an idempotency key.uv run <github-skill-dir>/scripts/gh-pr.py --repo OWNER/REPO ready <pr>
instead of writing the ready comment; the train admits a current-head Ready
without a label. Add --waiting-for-client until a required Client
acceptance covers the current head. Read the GitHub
ready handoff contract
for checks and stale-head handling. A held PR or stack child gets the
waiting form, stays unlabeled or draft, and that stops the stack.merge-train-policy-read. For scheduler changes, use the producer's
operational policy path
with its reviewed baseline and standing lane authority. Approval follows the direction files loaded under
Rollout Plan Alignment and
Q297.github with the merged PR's mergeCommitOid
and an explicit source worktree belonging to the landed repository. Never
substitute a PR head, candidate, admission, observation, landing-plan, queued,
or other intermediate SHA, and never use an unrelated working directory as the
source worktree. That handoff uses the landed repo-local reconciler for a runtime-bound
checkout and safely fast-forwards a unique clean non-runtime default checkout,
or reports the stale-checkout hint when local state is unsafe. Preserve
Launchplane landing success independently when local reconciliation is blocked
or fails, and block only claims that installed runtime behavior or the local
default checkout is current.This skill combines inspection and mutation. You must explicitly announce when you are transitioning from Inspecting Context to Executing Admin Actions. Before a mutation, follow its producer contract's dry-run or reviewed-inspect procedure and verify the situation.
Use the generic caller for product-config. Use scripts/launchplane-write-action.py --help for the remaining installed commands.
Before selecting an operation, read its section of the
write-action helper contract,
which owns request fields, reviewed evidence, idempotency, output bounds and
readback requirements. For a new lane, follow
the setup order and lane-record step.
For stale preview comments, read
preview feedback remediation.
The producer contract remains the operation authority under
Agent/Admin Contract.
Use scripts/launchplane-context.py for optional structural context,
scripts/launchplane-owner-review.py for saved Client feedback and
scripts/launchplane-service-logs.py for bounded redacted service logs, under
their procedures above. scripts/check-agent-operator-contract.py validates
installed caller bindings offline; it does not prove deployed compatibility.
references/agent-operator-contract.md (opens in a new tab)references/candidate-custody-evidence.schema.json (opens in a new tab)references/context-helper-contract.md (opens in a new tab)references/context.available.example.json (opens in a new tab)references/context.no-context.example.json (opens in a new tab)references/deploy-identity.md (opens in a new tab)references/launchplane-context.local.example.json (opens in a new tab)references/launchplane-operator.local.example.json (opens in a new tab)references/merge-train-controller-reply.schema.json (opens in a new tab)references/merge-train.md (opens in a new tab)references/operator-contract.md (opens in a new tab)references/public-safety.md (opens in a new tab)references/service-log-reader.md (opens in a new tab)references/write-action-helper-contract.md (opens in a new tab)scripts/check-agent-operator-contract.py (opens in a new tab)scripts/check-read-response-fields.py (opens in a new tab)scripts/fixtures/candidate-custody-evidence.json (opens in a new tab)scripts/fixtures/integration-allowances-removal-response.json (opens in a new tab)scripts/fixtures/odoo-recovery-operation-response.json (opens in a new tab)scripts/launchplane-call.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
launchplane, deployment, secrets-management, rollout, merge-train
27 skills in this plugin
/babysit-prBabysit a GitHub pull request by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep watching open PRs so fresh review feedback is surfaced promptly. Use when the user asks to monitor a PR, watch CI, handle review comments, keep an eye on failures/feedback, or when PR diagnosis, update/rebase/rerun work, safe-to-exit checks, or merge confirmation turns into ongoing CI/review/merge follow-through./directionUse when the Director starts a direction session, asks for a north star, dead reckoning, a daily or weekly direction check, a direction audit, or milestone proposals; when a repository's DIRECTION.md must be created or changed; or when an executing agent holds a reviewer finding that would change an agreed outcome, in either direction, and must escalate it instead of acting. The Director decides, the direction agent drafts and argues with evidence. Not for planning work inside a milestone (github-plan) or for running a reviewer (model-review).Other plugins' skills for the same job
/docs-lookupUse when the answer depends on external docs, environment-specific operational context, or facts about the user's own setup, including devices, radios, networks, accounts, or what is installed where. Look up setup facts in the user's docs or reachable systems before asking the user. Includes discovering source-of-truth docs and access paths for private operations such as DNS or Cloudflare records, and finding where a credential, API token, or secret is stored, but not performing infrastructure actions or mutations.Generated from the plugin's indexed repository (cbusillo/codex-skills) — no native marketplace selected
npx claudepluginhub p/cbusillo-shared