Agent skill

Go CLI Process Control

by hashgraph-online in hashgraph-online/awesome-codex-plugins

Execute and supervise external programs safely from Go CLIs with explicit arguments, typed failure classification, working directories, environments, bounded streams, deadlock-safe pipes, contexts…

MITAuto-check passed

Install Go CLI Process Control

skills CLI
$ npx skills add hashgraph-online/awesome-codex-plugins --skill go-cli-process-control -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install hashgraph-online/awesome-codex-plugins go-cli-process-control --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/hashgraph-online/awesome-codex-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/LVTD-LLC/skills/skills/go-cli-process-control .claude/skills/go-cli-process-control && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
go-cli-process-control
GitHub stars
1.2k
Token cost
~856 tokens
SKILL.md length
301 words
Files
9 (incl. references)
Skills in repo
686
Repo updated
First seen
Licence
MIT

At a glance

Execute and supervise external programs safely from Go CLIs with explicit arguments, typed failure classification, working directories, environments, bounded streams, deadlock-safe pipes, contexts…

  • Works in 7 steps: Define the child executable, argv,… → Use an explicit shell only when shell… → Inject a runner boundary and propagate… → …
  • Wrapping a command
  • SKILL.md covers Core Workflow, Read Next, Guardrails and Source Notes
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Go CLI Process Control is an agent skill from hashgraph-online/awesome-codex-plugins. Execute and supervise external programs safely from Go CLIs with explicit arguments, typed failure classification, working directories, environments, bounded streams, deadlock-safe pipes, contexts, timeouts, signals, platform adapters, descendant cleanup, runner seams, and lifecycle tests. Use when wrapping a command, diagnosing start or exit failures, hangs, deadlocks, or orphan processes, or implementing cancellable cross-platform CLI workflows.

Its SKILL.md is about 860 tokens, which your agent loads only when the skill is triggered. The skill folder holds 12 other files, including reference files (for example `agents/openai.yaml`, `guidelines.md` and `references/process-control/checklist.md`). Compatibility notes: Codex, Claude Code, and other Agent Skills-compatible clients.

The repository describes itself as: A curated list of awesome OpenAI Codex / ChatGPT plugins, skills, and resources. The 1 Codex Marketplace. See live plugins at: https://hol.org/plugins/best-codex-plugins. The licence is MIT.

When your agent uses it

  • Wrapping a command
  • Diagnosing start
  • Orphan processes
  • Implementing cancellable cross-platform CLI workflows

Example prompts

  • “/go-cli-process-control”

Requirements

  • Compatibility (from SKILL.md): Codex, Claude Code, and other Agent Skills-compatible clients.

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Define the child executable, argv, environment, directory, streams, and success contract.
  2. Use an explicit shell only when shell semantics are actually required.
  3. Inject a runner boundary and propagate the caller's context.
  4. Observe startup and completion; preserve status and useful redacted stderr.
  5. Bound captured output, cancellation, and shutdown time.
  6. Account for descendants and wait for every pipeline stage.
  7. Test missing tools, bad exits, malformed output, cancellation, signals, and cleanup.

What it can do on your machine

Read from SKILL.md and the folder at commit 78497e5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • pkg.go.dev
    • pragprog.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Codex, Claude Code, and other Agent Skills-compatible clients.

    From compatibility in the SKILL.md frontmatter.

Context cost

Go CLI Process Control loads about 856 tokens when it runs, and up to ~8k if it reads all its reference files. Until then it costs about 119 tokens; SKILL.md has 301 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~119
When it runs · the whole SKILL.md, loaded when a task matches
~856
With references · SKILL.md plus every file in references/, read only if the agent opens them
~8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from hashgraph-online/awesome-codex-plugins at commit 78497e5, republished under its MIT licence (© hashgraph-online). 301 words, ~856 tokens.

Download SKILL.mdSave it as .claude/skills/go-cli-process-control/SKILL.md (or your agent's skills folder). This skill also uses 8 other files; get the full folder from GitHub.
name
go-cli-process-control
description
Execute and supervise external programs safely from Go CLIs with explicit arguments, typed failure classification, working directories, environments, bounded streams, deadlock-safe pipes, contexts, timeouts, signals, platform adapters, descendant cleanup, runner seams, and lifecycle tests. Use when wrapping a command, diagnosing start or exit failures, hangs, deadlocks, or orphan processes, or implementing cancellable cross-platform CLI workflows.
compatibility
Codex, Claude Code, and other Agent Skills-compatible clients.
license
MIT
metadata.version
0.3.0
metadata.displayName
Go CLI Process Control
metadata.category
Go
metadata.tags
go,golang,cli,os-exec,subprocess,signals,cancellation

Go CLI Process Control

Treat child-process lifecycle as correctness. Observe the terminal result, propagate cancellation, and clean up every process, pipe, and temporary resource.

Core Workflow

  1. Define the child executable, argv, environment, directory, streams, and success contract.
  2. Use an explicit shell only when shell semantics are actually required.
  3. Inject a runner boundary and propagate the caller's context.
  4. Observe startup and completion; preserve status and useful redacted stderr.
  5. Bound captured output, cancellation, and shutdown time.
  6. Account for descendants and wait for every pipeline stage.
  7. Test missing tools, bad exits, malformed output, cancellation, signals, and cleanup.
TaskLoad
Implement or repair process supervisionguidelines.md, workflows/supervise-external-command.md
Apply modern execution and cancellation rulesreferences/process-control/rules.md
Use runner, pipeline, signal, or cleanup patternsreferences/process-control/patterns.md
Start from focused code examplesreferences/process-control/examples.md
Review a subprocess boundaryreferences/process-control/checklist.md
Understand lifecycle and shell semanticsreferences/process-control/knowledge.md

Guardrails

  • Pass executable arguments separately; never assume exec.Command invokes a shell.
  • Do not treat Start as success; inspect the terminal result.
  • Do not assume context cancellation terminates an entire process tree.
  • Close owned pipes and wait for every started process.
  • Distinguish lookup, start, exit, timeout, cancellation, and cleanup failures.
  • Treat Cmd.String() as diagnostic text, never shell-safe replay or secret-safe output.
  • Avoid mutable package-level command hooks in concurrent tests.

Source Notes

Guidance is transformed and paraphrased from Ricardo Gerardi, Powerful Command-Line Applications in Go (Pragmatic Bookshelf, 2021), especially Chapter 6. Examples are original adaptations.

Book: https://pragprog.com/titles/rggo/powerful-command-line-applications-in-go/

Verify current behavior against https://pkg.go.dev/os/exec and https://pkg.go.dev/os/signal, including Cmd.Cancel, WaitDelay, and signal.NotifyContext.

Failure taxonomy, pipe ordering, and platform-adapter guidance also incorporates transformed material from Marian Montagnino, Building Modern CLI Applications in Go (Packt, 2023), especially Chapter 6.

In-process cancellation boundary guidance also incorporates transformed material from Inanc Gumus, Go by Example: Programmer's Guide to Idiomatic and Testable Programs (Manning, 2025), Chapters 6-7.

© hashgraph-online, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 8 other files (references) in plugins/LVTD-LLC/skills/skills/go-cli-process-control of hashgraph-online/awesome-codex-plugins.

  • SKILL.md
  • agents/openai.yaml
  • guidelines.md
  • references/process-control/checklist.md
  • references/process-control/examples.md
  • references/process-control/knowledge.md
  • references/process-control/patterns.md
  • references/process-control/rules.md
  • workflows/supervise-external-command.md

Open the folder on GitHubat commit 78497e5

Compare with similar skills

Go CLI Process Control next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Go CLI Process Control compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Go CLI Process Control this skillhashgraph-online/awesome-codex-plugins1.2k—~856Automated safety check: PassMIT
Safe SQL Executionsupabase/supabase111k—~4.2kAutomated safety check: PassApache-2.0
Safe Script ExecutionHKUDS/OpenSpace7.7k—~830Automated safety check: PassMIT
Executealirezarezvani/claude-skills28k—~831Automated safety check: PassMIT
Debugging Executionsn8n-io/n8n207k—~2.6kAutomated safety check: PassCustom licence
External Linksthedaviddias/Front-End-Checklist74k—~773Automated safety check: PassMIT

Similar skills

  • Safe SQL Execution

    supabase/supabase

    Official

    A skill your agent uses whenever code will build, return, fetch, or execute SQL that runs against a user's real Postgres database — even when the request reads like an ordinary feature or bug fix…

    111k GitHub stars~4.2k tokensUpdated today
    DatabasesAuto-check passed
  • Safe Script Execution

    HKUDS/OpenSpace

    Fallback workflow for code execution when automated tools fail, using shell heredoc with verification

    7.7k GitHub stars~830 tokensUpdated 1 mo ago
    Auto-check passed
  • Execute

    alirezarezvani/claude-skills

    /cs:execute <decision — Generate a 90-day execution plan with weekly milestones, DRIs, and check-in cadence from an approved decision.

    28k GitHub stars~831 tokensUpdated 1 mo ago
    Product & Project ManagementAuto-check passed
  • Official

    Debug failed or wrong-output workflow executions using executions tools.

    207k GitHub stars~2.6k tokensUpdated today
    DevelopmentAuto-check passed
  • External Links

    thedaviddias/Front-End-Checklist

    A skill your agent uses when auditing content pages for citation quality, suggesting authoritative sources to link for factual claims, or reviewing whether a page's external link attributes…

    74k GitHub stars~773 tokensUpdated yesterday
    Research & ScienceAuto-check passed
  • Ulw Execute

    code-yeongyu/oh-my-openagent

    Executes a written ulw-plan work plan with Boulder state, evidence ledger, worktree discipline, and parallel subagents.

    70k GitHub stars~6.3k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from hashgraph-online/awesome-codex-plugins

All 686 skills in this repo
  • Anime Reaction Gif

    hashgraph-online/awesome-codex-plugins

    Create original anime-style reaction stickers as looping GIFs and MP4 previews, using generated character pose sheets and timed key poses.

    1.2k GitHub stars~922 tokensUpdated today
    Auto-check passed
  • Calibredb

    hashgraph-online/awesome-codex-plugins

    Manage and query Calibre libraries with the calibredb CLI (local paths or Calibre Content server URLs).

    1.2k GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Rust API Test Harness

    hashgraph-online/awesome-codex-plugins

    A skill your agent uses when adding, changing, testing, or debugging Rust HTTP APIs and services, especially when Codex needs black-box integration tests, random-port app startup, real database test…

    1.2k GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Art

    hashgraph-online/awesome-codex-plugins

    Make a studio's game look like something at build time — a cover from a real frame of the game (free), painted covers, backdrops, textures and character plates from image models through the…

    1.2k GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Game Balance Economy

    hashgraph-online/awesome-codex-plugins

    Balance game difficulty, resources, rewards, probability, progression, economies, and dominant strategies.

    1.2k GitHub stars~618 tokensUpdated today
    Auto-check passed
  • Manuscript Engagement Analytics

    hashgraph-online/awesome-codex-plugins

    Analyze nonfiction manuscripts for reader engagement signals, including heading-level word counts, slow starts, long slogs, weak takeaway titles, value pacing, beta-reader comment dropoff, and…

    1.2k GitHub stars~875 tokensUpdated today
    Auto-check passed

Questions about Go CLI Process Control

What does Go CLI Process Control do?

Execute and supervise external programs safely from Go CLIs with explicit arguments, typed failure classification, working directories, environments, bounded streams, deadlock-safe pipes, contexts…. Go CLI Process Control is an agent skill from hashgraph-online/awesome-codex-plugins. Execute and supervise external programs safely from Go CLIs with explicit arguments, typed failure classification, working directories, environments, bounded streams, deadlock-safe pipes, contexts, timeouts, signals, platform adapters, descendant cleanup, runner seams, and lifecycle tests.

When should I use Go CLI Process Control?

Go CLI Process Control fits situations like: wrapping a command; diagnosing start; orphan processes; implementing cancellable cross-platform CLI workflows.

How do I install Go CLI Process Control in Claude Code?

Run `npx skills add hashgraph-online/awesome-codex-plugins --skill go-cli-process-control -a claude-code`. Or copy the skill folder (plugins/LVTD-LLC/skills/skills/go-cli-process-control in hashgraph-online/awesome-codex-plugins) into .claude/skills/go-cli-process-control in your project. Claude Code loads it when a task matches its description.

How do I install Go CLI Process Control in Codex?

Run `npx skills add hashgraph-online/awesome-codex-plugins --skill go-cli-process-control -a codex`. Or copy the skill folder (plugins/LVTD-LLC/skills/skills/go-cli-process-control in hashgraph-online/awesome-codex-plugins) into .agents/skills/go-cli-process-control in your project. Codex loads it when a task matches its description.

Can I use Go CLI Process Control in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add hashgraph-online/awesome-codex-plugins --skill go-cli-process-control -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/go-cli-process-control, .gemini/skills/go-cli-process-control, .github/skills/go-cli-process-control and .opencode/skills/go-cli-process-control in your project.

What does Go CLI Process Control need to run?

SKILL.md names no scripts, command-line tools or credentials: Go CLI Process Control is instructions for the agent only. Compatibility (from SKILL.md): Codex, Claude Code, and other Agent Skills-compatible clients..

Does Go CLI Process Control access the network?

SKILL.md names 2 domains. As links in the text: pkg.go.dev and pragprog.com. This is read from the text; nothing was executed.

Is Go CLI Process Control safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Go CLI Process Control use?

Go CLI Process Control is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Go CLI Process Control use?

About 856 tokens (SKILL.md is roughly 3.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 7.1k tokens, read only when the agent opens those files.

What are the alternatives to Go CLI Process Control?

Skills that share tags, products or a category with Go CLI Process Control: Safe SQL Execution (supabase/supabase, 111k stars), Safe Script Execution (HKUDS/OpenSpace, 7.7k stars), Execute (alirezarezvani/claude-skills, 28k stars) and Debugging Executions (n8n-io/n8n, 207k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Go CLI Process Control?

hashgraph-online (a GitHub organization) maintains it in hashgraph-online/awesome-codex-plugins, which has 1,242 GitHub stars. The repository holds 686 skills in this directory. The repository was last updated on October 8, 2026.

Source: hashgraph-online/awesome-codex-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.