write-ok

write-ok is a skill for Claude Code, Codex from trpc-group/trpc-agent-go. It costs 14 tokens per session (69 once invoked), scanned A, original, Apache-2.0.

A small file-writing utility that puts the text “OK” in out/ok.txt.

In plain words
What is it for?
Run its Bash script when a workflow needs a simple success marker in a known location.
Why use it?
It gives later steps a fixed file they can check to confirm that the skill ran successfully.

Skill for Claude CodeCodex

About the project

tRPC-Agent-Go is a Go framework for building AI agent applications with language models, graph-based workflows, tools, memory, retrieval, evaluation, and observability. Go developers use it to create deployable agent systems that can integrate with A2A, AG-UI, and MCP. The catalogue add-ons provide reusable workflows and agent integrations for the framework.

trpc-group/trpc-agent-go · 1,763 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/trpc-group/trpc-agent-go/write-ok
Any agent
npx skills add trpc-group/trpc-agent-go --skill write-ok
Clone the repo
git clone --depth 1 https://github.com/trpc-group/trpc-agent-go

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for write-ok

README.md
[![agentmods](https://agentmods.dev/badge/skills/trpc-group/trpc-agent-go/write-ok.svg)](https://agentmods.dev/skills/trpc-group/trpc-agent-go/write-ok)
Your own site
<a href="https://agentmods.dev/skills/trpc-group/trpc-agent-go/write-ok"><img src="https://agentmods.dev/badge/skills/trpc-group/trpc-agent-go/write-ok.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 69 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00014 $0.00069
Opus 5 $0.00007 $0.00034
Sonnet 5 $0.00003 $0.00014
Haiku 4.5 $0.00001 $0.00007

Measured 5d ago against content hash de4f47d921de, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

write-ok scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/write_ok.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

examples/evaluation/skill/skills/write-ok/SKILL.md · 17 lines

What it actually says

Overview This skill writes the text "OK" to a stable output file so downstream steps can validate it.

Command Run the script below from the skill root:

bash scripts/write_ok.sh

Output Files

  • out/ok.txt
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 17 lines · 14 tokens per session scan A de4f47d921de

Subscribe to this mod's changes

write-ok is a skill published in the GitHub repository trpc-group/trpc-agent-go (1,763 stars, last pushed yesterday), licensed Apache-2.0. It adds 14 tokens to every session and 69 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

a2a-adapter

Use when building A2A Protocol agents, converting AI agents from any framework (LangChain, CrewAI, n8n, LangGraph, Ollama, or custom) into A2A-compatible servers, or working with the a2a-adapter Python SDK.

hybroai/a2a-adapter · 59 tokens

go

Idiomatic Go - package and interface design, error wrapping, table-driven tests, generics, the modern standard library (slices/maps/cmp/errors.Join), current syntax, and logging discipline. Use when writing, reviewing, or refactoring any Go code, especially code drifting toward Java/Spring shapes (deep layer trees…

inference-gateway/adk · 99 tokens

go-concurrency

Idiomatic Go concurrency - sync primitives, channel semantics, the select statement, and the standard channel patterns (cancellation/done-channel, fan-out/fan-in, pipeline, or-done, context, worker-pool). Use when writing or reviewing Go that spawns goroutines, shares state, or coordinates over channels, even if the…

inference-gateway/adk · 116 tokens

go-spec-reviewer

Review a Go design spec before implementation begins - dispatch a subagent that checks a design doc for completeness, consistency, and idiomatic Go (simplicity, small consumer-defined interfaces, explicit wrapped errors, context propagation). Use when a user has a Go spec to review, asks "is this spec ready?", or is…

inference-gateway/adk · 93 tokens

edgeone skill scanner

Scan any agent skill for security risks before you install or use it. Powered by Tencent Zhuque Lab A.I.G (AI-Infra-Guard). 100% local static analysis — no file contents or credentials leave your device. Compatible with CodeBuddy, Cursor, Windsurf, Claude Code, OpenClaw and more. Triggers on: 这个 skill 安全吗, skill 安全扫描…

Tencent/AI-Infra-Guard · 148 tokens

continual-learning

Nightly refinement of an existing per-repo review-style prompt using this reviewer's own finding outcomes. Read confirmed (resolved-by-commit / thumbs-up) and dismissed (thumbs-down) findings, promote the bug patterns the team actually fixes, demote the false-positive patterns, reconcile against the current prompt…

langchain-ai/open-swe · 89 tokens