factory-deploy

factory-deploy is a skill for Claude Code, Codex from tikalk/adlc-team-skills. It costs 67 tokens per session (1,991 once invoked), scanned A, original, MIT.

A gated release workflow that takes an approved code change to production through an exact commit merge, staged canary rollout, and versioned release.

In plain words
What is it for?
Use it after review to merge the approved commit, roll it out in stages, create a SemVer release with notes, and hand monitoring to the responsible team.
Why use it?
It prevents the wrong code from being merged or released and stops or rolls back rollout when measured thresholds are not met.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it after review to merge the approved commit, roll it out in stages, create a SemVer release with notes, and hand monitoring to the responsible team.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tikalk/adlc-team-skills/factory-deploy
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add tikalk/adlc-team-skills --skill factory-deploy
Clone the repo
git clone --depth 1 https://github.com/tikalk/adlc-team-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for factory-deploy

README.md
[![agentmods](https://agentmods.dev/badge/skills/tikalk/adlc-team-skills/factory-deploy/github.svg)](https://agentmods.dev/skills/tikalk/adlc-team-skills/factory-deploy)
Your own site
<a href="https://agentmods.dev/skills/tikalk/adlc-team-skills/factory-deploy"><img src="https://agentmods.dev/badge/skills/tikalk/adlc-team-skills/factory-deploy/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for factory-deploy

Your own site · 80×15
<a href="https://agentmods.dev/skills/tikalk/adlc-team-skills/factory-deploy"><img src="https://agentmods.dev/badge/skills/tikalk/adlc-team-skills/factory-deploy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,991 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00067 $0.01991
Opus 5.5 $0.00027 $0.00796
Sonnet 5.5 $0.00013 $0.00398
Haiku 4.5 $0.00007 $0.00199

Measured today against content hash 3fe67a5acc75, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

factory-deploy scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/factory/factory-deploy/SKILL.md · 135 lines

How it starts

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

factory-deploy

Post-merge release orchestrator that closes the factory loop: approved head → gated merge → staged rollout with threshold verdicts → SemVer-tagged, noted release with a monitor handoff, plus a change record on non-obvious rationale only.

Overview

factory-deploy takes a human-approved head and carries it to production without inventing new authority: merge happens only when both gates green on the same SHA at the exact-head under review, rollout advances on measured threshold verdicts (green advances, yellow holds, red rolls back), and the release is cut merge → tag → changelog with a dry-run preview and a handoff packet. There is no auto-approve tier — never auto-approve, never auto-merge past a human gate.

The 10-step program (workflow.yml) is the single source of truth; this prose never overrides it. Heavy detail lives in references/.

When to Use / When NOT Use

Use when:

  • A reviewed PR has an approved head and needs merging at that exact head.
  • A merged head needs staging, canary rollout, expansion, and a terminal verdict.
  • A release must be cut: SemVer tag, impact-grouped notes, monitor handoff.

When NOT Use:

  • Continuous monitoring or incident response — that is factory-monitor scope; this skill ships a release-scoped watch only, then hands off.
  • Review depth or approval policy — that is the Merge Gate owner's review depth call, not this run.
  • Infra provisioning, environment locks, or outcome-metric dashboards — out of scope.
  • Per-merge history entries — change records mint on non-obvious rationale only, never per merge.

Core Process

The 10 steps run in order; gates halt, never warn.

  1. verify — Halt-first entry checks. Confirm the approved head SHA, the rollback plan requirement (a rollback plan must exist before stage completes or halt), the short-path rule as recorded here, blackout windows for this repo, and the error-budget source binding. Anything missing halts.
  2. gate-merge — Deploy Gate checkpoint 3 (human): both the review-owned Merge Gate and Deploy Gate checkpoint 3 must be green on the same SHA with the approver identity recorded (one approval per gate: verdict_merge authorizes only this gate). Re-read the head at execution time — on head-moved, discard all gate evidence and re-verify from step 1.
  3. merge — Gated exact-head merge executor. Execute the merge when both gates are green on the exact reviewed head SHA. --no-merge path: when the head is already merged, skip the mutation but still verify exact-head identity.
  4. stage — Staging rollout. Dry-run preview first, then roll to staging.
  5. gate-canary-expand — Deploy Gate checkpoint 1 (human): staging green, rollback plan exists, baseline frozen (or a waiver granted with a recorded approver). Approving starts the 5% production canary (verdict_canary authorizes only this gate, never reused from another gate).
  6. canary — 5% canary under the armed evaluator: green / yellow / red threshold verdicts against frozen baselines with unified budget reads. See references/threshold-verdicts.md.
  7. gate-full-expand — Deploy Gate checkpoint 2 (human): canary verdicts green (or a hold resolved). Approving starts terminal expansion (verdict_full authorizes only this gate, never reused from another gate).
  8. expand — Auto-advance on green, hold-and-investigate on yellow, mechanical rollback on signal red. Budget-burn red (error budget exhausted) freezes the deploy instead of rolling back — advance past a freeze only on an explicit human order recorded as an override annotation (invariant 8).
  9. full — Terminal verdict on the expanded rollout.
  10. publish — Release cut in merge → tag → changelog order with a dry-run preview, then the monitor handoff packet and the conditional change record. See references/release-cut.md and references/release-chdr.md.

Read the full file on GitHub · 135 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 135 lines · 67 tokens per session scan A 3fe67a5acc75

Subscribe to this mod's changes

factory-deploy is a skill published in the GitHub repository tikalk/adlc-team-skills (143 stars, last pushed today), licensed MIT. It adds 67 tokens to every session and 1,991 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-26.