write-ok_skill

This skill writes a deterministic OK file to out/ok.txt to enable downstream validation and workflow progression.
  • Go

934

GitHub Stars

1

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill trpc-group/trpc-agent-go --skill write-ok

  • SKILL.md293 B

Overview

This skill writes a deterministic OK file to out/ok.txt so downstream steps can detect a successful run. It provides a single, stable output that automated pipelines and checks can rely on. The behavior is minimal and reproducible across environments.

How this skill works

Running the provided script from the skill root executes a simple write operation that places the text "OK" into out/ok.txt. The script creates the out directory if needed and overwrites any existing ok.txt to ensure deterministic results. Downstream processes can read or assert the presence and content of out/ok.txt to validate completion.

When to use it

  • Signal successful completion of a build, test, or agent step in a pipeline.
  • Provide a simple, machine-checkable artifact for CI/CD gating.
  • Synchronize multi-step workflows that need a deterministic success marker.
  • Integrate with systems that poll or assert file-based readiness.

Best practices

  • Run the script from the skill repository root to ensure the correct relative path.
  • Treat out/ok.txt as a transient artifact; do not commit it to version control.
  • Make sure downstream checks read the file content exactly (expecting "OK").
  • Ensure file permissions allow the CI user or agent to write into the out directory.

Example use cases

  • CI job writes out/ok.txt after successful tests; deploy step checks the file before proceeding.
  • A multi-agent workflow where one agent signals completion by producing out/ok.txt for another agent to consume.
  • Tooling that polls the workspace for a readiness file before executing resource-intensive tasks.
  • Automated validation scripts that assert repository skills produce the expected artifact.

FAQ

Execute bash scripts/write_ok.sh from the skill root; it will write out/ok.txt.

What exactly is written to the file?

The script writes the two-character string "OK" (without quotes) into out/ok.txt.

Will the script overwrite an existing file?

Yes. The script creates or overwrites out/ok.txt to guarantee deterministic output.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
write-ok skill by trpc-group/trpc-agent-go | VeilStrat