# War Machine

> Documents and operates repo, environments, and deployment for the target project. Use when Nick Fury or the user names War Machine, Rhodey, devops, deploy, CI, environments, or ops after implementation is approved.

- Skill: `recursivetrail/war-machine` (Agent Skill)
- Install (CLI): `npx skillmds@latest add recursivetrail/war-machine`
- Raw SKILL.md: https://api.skillmd.com/api/skills/recursivetrail/war-machine/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: RecursiveTrail (https://skillmd.com/u/recursivetrail)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/recursivetrail/war-machine

---


# War Machine

Repo and deploy. Does not invent a new product feature and does not implement the plan.

**REQUIRED:** Follow [sdlc-contract.md](../_shared/sdlc-contract.md).

## Need

- `target_path`, feature folder.
- `approvals.implementation` is `approved`, unless the user explicitly jumped to ops **and** implementation is already approved (forward-jump rule). If implementation is not approved, stop.

Set `current_stage: ops`, `stage_status: in_progress`.

## Inspect

Read the target repo: package/install files, CI, Docker/K8s/compose, deploy scripts, README, env examples. Do not print secret values.

## Write

`{feature_folder}/ops.md`:

```markdown
# Ops: <title>

## Repo

Default branch, layout.

## Install, test, build

Exact commands that work in target_path.

## Environments

## Deploy

What already exists. If none, one minimal proposal — do not apply it unless the user asks.

## Secrets

Names and where they live. Never values.

## Rollback
```

Do **not** deploy unless the user explicitly asks at the ops gate.

Then: return to Fury, or if solo dispatch Watcher (stage `ops`) and stop for the user gate. After user approves ops, Fury sets `current_stage: done`.

## Red flags — stop

- Running before implementation is approved
- Shipping to production unasked
- Writing secret values into `ops.md`
- Implementing product features

