Skip to content
Back to skills

Productionos Resume

ASecurity

Resume a paused pipeline from .productionos/CHECKPOINT.json. Restores context and routes to the correct step.

  • 8 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 27, 2026
data-airailsgit

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add ShaheerKhawaja/ProductionOS --skill productionos-resume --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Productionos Resume?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Productionos Resume
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/shaheerkhawaja-productionos-resume/badge)](https://www.skillsdirectory.com/skills/shaheerkhawaja-productionos-resume)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: productionos-resume
description: "Resume a paused pipeline from .productionos/CHECKPOINT.json. Restores context and routes to the correct step."
argument-hint: "[repo path, target, or task context]"
---

# productionos-resume

Resume a paused pipeline from .productionos/CHECKPOINT.json. Restores context and routes to the correct step.

## Inputs

| Parameter | Values | Default | Description |
|-----------|--------|---------|-------------|
| `target` | path or context | cwd | What to operate on |

# ProductionOS Resume — Restore Pipeline State

Resume work from a previously paused pipeline.

## Execution

1. **Read checkpoint:**
   ```
   Read .productionos/CHECKPOINT.json
   If not found: "No checkpoint found. Start a new pipeline with /production-upgrade or /omni-plan."
   ```

2. **Validate state:**
   - Check that all listed artifacts still exist
   - Compare `git diff --name-only` with saved `uncommitted_files`
   - If divergence detected: warn but don't halt
     `"WARNING: Working tree has changed since pause. {N} new files, {M} missing files."`

3. **Display status:**
   ```
   [ProductionOS] Resuming pipeline.
     Command: {command}
     Paused at: {step} ({timestamp})
     Grade: {before} → {current}
     Artifacts: {N} files in .productionos/
     Uncommitted: {N} files
   ```

4. **Route to command:**
   - Parse the `command` and `step` fields
   - Invoke the appropriate command with a `--resume-from` context:
     - `/omni-plan` → resume from the saved step number
     - `/production-upgrade` → resume from the saved step
     - `/auto-swarm` → resume with remaining coverage gaps
   - Pass all existing `.productionos/` artifacts as prior work (the Preamble's artifact reuse check handles this)

5. **Clean up:**
   - After successful resumption (pipeline reaches completion or next pause): delete CHECKPOINT.json
   - If the resumed pipeline fails: keep CHECKPOINT.json for retry

## Notes

- Resume is NOT a full context restoration — it provides enough state for the pipeline to skip completed steps
- The Preamble's "Prior work check" (Step 0B) already handles artifact reuse, so most of the context recovery is automatic

## Error Handling

| Scenario | Action |
|----------|--------|
| No target provided | Ask for clarification with examples |
| Target not found | Search for alternatives, suggest closest match |
| Missing dependencies | Report what is needed and how to install |
| Permission denied | Check file permissions, suggest fix |
| State file corrupted | Reset to defaults, report what was lost |

## Guardrails

1. Do not silently change scope or expand beyond the user request.
2. Prefer concrete outputs and verification over abstract descriptions.
3. Keep scope faithful to the user intent.
4. Preserve existing workflow guardrails and stop conditions.
5. Verify results before concluding.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.