write-ok

Write a deterministic OK marker to out/ok.txt via a shell script.

1.6k|289|Updated May 14, 2025
One-click install
npx skills add https://github.com/trpc-group/trpc-agent-go --skill write-ok
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: write-ok
Source: https://github.com/trpc-group/trpc-agent-go/tree/main/examples/evaluation/skill/skills/write-ok
Command: npx skills add https://github.com/trpc-group/trpc-agent-go --skill write-ok

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates a tiny, deterministic signal for pipeline validation by producing a stable out/ok.txt file containing "OK".

Core Features & Use Cases

  • Deterministic output: writes "OK" to out/ok.txt to provide a reliable success marker for downstream steps.
  • Lightweight and portable: a simple shell script that runs in any environment with bash.
  • Use cases: CI pipelines, test harnesses, and automation workflows that require a consistent success signal.

Quick Start

Run the script from the skill root to generate the marker: bash scripts/write_ok.sh

Frequently Asked Questions about write-ok

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a deterministic success marker for CI/CD pipeline validation?

To generate a deterministic success marker for CI/CD pipeline validation, run a shell script that creates an output directory and writes a stable text file containing the string OK. This provides a reliable success signal for downstream automated workflow steps.

What is an OK file used for in automated workflows?

An OK file in automated workflows is used as a deterministic success signal for pipeline validation. It provides a simple, readable indicator of task completion that downstream steps can check to verify previous processes finished successfully.

How do I write a simple completion signal file using a shell script?

To write a simple completion signal file using a shell script, execute the provided bash script which automatically generates an output directory and writes the text OK into a text file. This creates a portable success marker for your automation pipeline.

Do I need any special dependencies to create a deterministic pipeline output file?

No special dependencies are needed to create a deterministic pipeline output file beyond a standard bash environment. The shell script runs in any environment with bash, making it lightweight and portable for CI pipelines and test harnesses.

When should I use a simple text file instead of other pipeline validation methods?

You should use a simple text file for pipeline validation when your CI/CD pipelines or test harnesses require a lightweight, deterministic success signal. It is ideal for automated workflows needing a consistent, readable indicator of task completion without complex validation logic.