append-x
When to use this skill
- Invoked as the first step in the
append-lettersorchestration. - Can also be run standalone to append
Xto a file.
Inputs / Outputs (orchestration contract)
input_path(optional) — not used by this step.output_path(required when chained) — Absolute path of the file to append to. The orchestrator sets this to<outputDir>/letters-<SESSION_ID>.txt.- If
output_pathis not provided, default to./letters.txtin the working directory.
Workflow
- Announce — Print:
🔧 [append-x] Appending "X"… - Resolve the output path — Use
output_pathif provided, otherwise./letters.txt. Create the parent folder if it does not exist. - Append — Append the single character
Xto the file (create the file if missing). Do not overwrite existing content. - Report back — Print a one-line summary and the absolute
output_path.