home / skills / trpc-group / trpc-agent-go / hello

hello skill

/openclaw/skills/hello

This skill writes a hello file to the workspace output directory, enabling quick validation of file I/O in Go workflows.

npx playbooks add skill trpc-group/trpc-agent-go --skill hello

Review the files below or copy the command above to add this skill to your agents.

Files (2)
SKILL.md
227 B
---
name: hello
description: Write a hello file to the workspace output directory.
---

Overview

This skill writes a small hello file under `out/`.

Command

bash scripts/hello.sh out/hello.txt

Output Files

- out/hello.txt

Overview

This skill writes a simple hello file into the workspace output directory. It creates out/hello.txt with a brief greeting so downstream steps or users can verify the agent produced output. Use it to confirm workspace write permissions and basic pipeline connectivity.

How this skill works

The skill runs a small script that generates a text file at out/hello.txt. It ensures the out/ directory exists, writes a concise hello message, and exits with a success status so callers can detect completion. The produced file is intended as a lightweight artifact for tests, CI checks, or handoff to other tools.

When to use it

  • Verify workspace write access and output plumbing
  • Smoke-test agent execution or CI pipelines
  • Provide a predictable artifact for integration tests
  • Demonstrate basic file creation in examples or tutorials
  • Seed a pipeline that expects an initial output file

Best practices

  • Run the skill early in CI to confirm environment readiness before expensive steps
  • Ensure the out/ directory is included in any artifact collection or mounted volumes
  • Treat the file as ephemeral: overwrite or remove it in cleanup steps
  • Use the file’s presence and exit code as simple health checks in scripts
  • Keep the hello content minimal to avoid side effects for downstream processors

Example use cases

  • CI pipeline step that confirms agents can write to the workspace before running full tests
  • Documentation example showing how to produce and retrieve an output artifact
  • Local development smoke test to validate file I/O and permission settings
  • Integration scenario where a follow-up tool consumes out/hello.txt to continue processing

FAQ

What file is created and where?

The skill creates out/hello.txt in the workspace output directory.

How do I run it?

Execute the provided script: bash scripts/hello.sh out/hello.txt; the script creates the out/ directory as needed and writes the message.