How the agent must perform writes so they actually persist under the hosted foreground run budget and long-running background handoffs. Use whenever you create, update, delete, or batch-write app data — especially "do this for many items" loops, or any task where the user expects N things to end up saved.
77
96%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Make a change in one atomic call when the action supports it, then verify the persisted end state and report concrete proof (counts/ids). Never drive a multi-step change by looping many small writes, and never report success from a tool ✓ alone.
Hosted foreground agent runs have a short soft budget so they can hand off cleanly under synchronous serverless walls. Durable background runs get a much longer budget, but they still should not rely on loops of many small writes: continuations can retry the same intent and leave partial state if each item is committed separately. One atomic call commits or fails as a unit; verification turns a hopeful ✓ into a fact.
actions skill) rather than papering
over it with a loop.for each item: write(item) for a large set in a single hosted
turn.actions — define or extend a batch/atomic action when only per-item writes
exist.storing-data — where app data lives and how reads/writes are scoped.performance — avoid query waterfalls when verifying end state.packages/core/docs/design/durable-agent-runs.md — the real
ceiling fix (checkpointed and durable runs); this skill is the agent-facing
mitigation that reduces how often the ceiling is hit.c1ee18b
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.