# Sum Writer

> Compute a sum of integers and write only the total to result.txt in the workspace root.

- Skill: `damionrashford/sum-writer` (Agent Skill)
- Install (CLI): `npx skillmds@latest add damionrashford/sum-writer`
- Raw SKILL.md: https://api.skillmd.com/api/skills/damionrashford/sum-writer/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: damionrashford (https://skillmd.com/u/damionrashford)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/damionrashford/sum-writer

---


# Sum Writer

When asked to record a sum:
1. Compute the total (e.g. `awk '{s+=$1} END{print s}' data/numbers.txt`).
2. Use the shell (`exec_command`) to write the number into `result.txt` in the workspace root, e.g. `printf '%s' 59 > result.txt`.
3. The file must contain ONLY the integer — no extra text or trailing newline.

