Safely parse and apply `## ARTIFACTS` blocks from planning outputs into repository files with strict path validation and atomic writes. Use when a workflow response contains artifact payloads (for PRD/PSD/master plan/feature plan/PR plan/change-review outputs) that must be written exactly as provided.
Apply planning artifacts deterministically and report exactly what changed.
## ARTIFACTS section with one or more ### <relative/path> headers.scripts/apply_artifacts.py against the target repository root.python3 "$HOME/.codex/skills/apply-artifacts/scripts/apply_artifacts.py" \
--input /tmp/artifacts-input.md \
--root /path/to/repo
Use --check to validate without writing files.
## ARTIFACTS.../, ..\\), home shortcuts (~/), absolute paths, URL-like paths, and duplicate artifact targets.Expect Markdown sections:
Applied ArtifactsDirectories CreatedWarningsNotesreferences/artifact-format.md