[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MCB9ARHE0SXEMKFD9EX9V9":3,"skill-same:01M6MCB9ARHE0SXEMKFD9EX9V9":114},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":45,"linkOnly":46,"markdownContent":47,"markdownBody":48,"frontMatter":49,"refName":56,"commitSha":57,"skillDirectory":58,"forksCount":59,"repositoryHtmlUrl":60,"repositoryHomepageUrl":61,"ownerHtmlUrl":62,"ownerBlogUrl":63,"ownerDescription":64,"updatedAt":65,"install":66,"resources":79},"01M6MCB9ARHE0SXEMKFD9EX9V9","go-cli-process-control",null,"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.","hashgraph-online\u002Fawesome-codex-plugins","hashgraph-online","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160371962?v=4","01M6CNB6NRJVNNGN14TR01Q6D3","HOL (Hashgraph Online)","01M6JT1HSKKG9V68KQAQGBA7XP",1575,"MIT","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-process-control\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],"go","go cli process control","process","process control","cli","control","signals","when","implementing","subprocess","directories","streams","os","orphan","runner","command","start","code","cleanup","workflows","safe","2026-11-10 10:12:30",false,"---\nname: go-cli-process-control\ndescription: 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.\nlicense: MIT\ncompatibility: Codex, Claude Code, and other Agent Skills-compatible clients.\nmetadata:\n  version: \"0.3.0\"\n  displayName: Go CLI Process Control\n  category: Go\n  tags: go,golang,cli,os-exec,subprocess,signals,cancellation\n---\n\n# Go CLI Process Control\n\nTreat child-process lifecycle as correctness. Observe the terminal result,\npropagate cancellation, and clean up every process, pipe, and temporary resource.\n\n## Core Workflow\n\n1. Define the child executable, argv, environment, directory, streams, and success contract.\n2. Use an explicit shell only when shell semantics are actually required.\n3. Inject a runner boundary and propagate the caller's context.\n4. Observe startup and completion; preserve status and useful redacted stderr.\n5. Bound captured output, cancellation, and shutdown time.\n6. Account for descendants and wait for every pipeline stage.\n7. Test missing tools, bad exits, malformed output, cancellation, signals, and cleanup.\n\n## Read Next\n\n| Task | Load |\n|---|---|\n| Implement or repair process supervision | `guidelines.md`, `workflows\u002Fsupervise-external-command.md` |\n| Apply modern execution and cancellation rules | `references\u002Fprocess-control\u002Frules.md` |\n| Use runner, pipeline, signal, or cleanup patterns | `references\u002Fprocess-control\u002Fpatterns.md` |\n| Start from focused code examples | `references\u002Fprocess-control\u002Fexamples.md` |\n| Review a subprocess boundary | `references\u002Fprocess-control\u002Fchecklist.md` |\n| Understand lifecycle and shell semantics | `references\u002Fprocess-control\u002Fknowledge.md` |\n\n## Guardrails\n\n- Pass executable arguments separately; never assume `exec.Command` invokes a shell.\n- Do not treat `Start` as success; inspect the terminal result.\n- Do not assume context cancellation terminates an entire process tree.\n- Close owned pipes and wait for every started process.\n- Distinguish lookup, start, exit, timeout, cancellation, and cleanup failures.\n- Treat `Cmd.String()` as diagnostic text, never shell-safe replay or secret-safe output.\n- Avoid mutable package-level command hooks in concurrent tests.\n\n## Source Notes\n\nGuidance is transformed and paraphrased from Ricardo Gerardi,\n*Powerful Command-Line Applications in Go* (Pragmatic Bookshelf, 2021),\nespecially Chapter 6. Examples are original adaptations.\n\nBook: https:\u002F\u002Fpragprog.com\u002Ftitles\u002Frggo\u002Fpowerful-command-line-applications-in-go\u002F\n\nVerify current behavior against https:\u002F\u002Fpkg.go.dev\u002Fos\u002Fexec and\nhttps:\u002F\u002Fpkg.go.dev\u002Fos\u002Fsignal, including `Cmd.Cancel`, `WaitDelay`, and\n`signal.NotifyContext`.\n\nFailure taxonomy, pipe ordering, and platform-adapter guidance also incorporates\ntransformed material from Marian Montagnino, *Building Modern CLI Applications\nin Go* (Packt, 2023), especially Chapter 6.\n\nIn-process cancellation boundary guidance also incorporates transformed\nmaterial from Inanc Gumus, *Go by Example: Programmer's Guide to Idiomatic and\nTestable Programs* (Manning, 2025), Chapters 6-7.\n","# Go CLI Process Control\n\nTreat child-process lifecycle as correctness. Observe the terminal result,\npropagate cancellation, and clean up every process, pipe, and temporary resource.\n\n## Core Workflow\n\n1. Define the child executable, argv, environment, directory, streams, and success contract.\n2. Use an explicit shell only when shell semantics are actually required.\n3. Inject a runner boundary and propagate the caller's context.\n4. Observe startup and completion; preserve status and useful redacted stderr.\n5. Bound captured output, cancellation, and shutdown time.\n6. Account for descendants and wait for every pipeline stage.\n7. Test missing tools, bad exits, malformed output, cancellation, signals, and cleanup.\n\n## Read Next\n\n| Task | Load |\n|---|---|\n| Implement or repair process supervision | `guidelines.md`, `workflows\u002Fsupervise-external-command.md` |\n| Apply modern execution and cancellation rules | `references\u002Fprocess-control\u002Frules.md` |\n| Use runner, pipeline, signal, or cleanup patterns | `references\u002Fprocess-control\u002Fpatterns.md` |\n| Start from focused code examples | `references\u002Fprocess-control\u002Fexamples.md` |\n| Review a subprocess boundary | `references\u002Fprocess-control\u002Fchecklist.md` |\n| Understand lifecycle and shell semantics | `references\u002Fprocess-control\u002Fknowledge.md` |\n\n## Guardrails\n\n- Pass executable arguments separately; never assume `exec.Command` invokes a shell.\n- Do not treat `Start` as success; inspect the terminal result.\n- Do not assume context cancellation terminates an entire process tree.\n- Close owned pipes and wait for every started process.\n- Distinguish lookup, start, exit, timeout, cancellation, and cleanup failures.\n- Treat `Cmd.String()` as diagnostic text, never shell-safe replay or secret-safe output.\n- Avoid mutable package-level command hooks in concurrent tests.\n\n## Source Notes\n\nGuidance is transformed and paraphrased from Ricardo Gerardi,\n*Powerful Command-Line Applications in Go* (Pragmatic Bookshelf, 2021),\nespecially Chapter 6. Examples are original adaptations.\n\nBook: https:\u002F\u002Fpragprog.com\u002Ftitles\u002Frggo\u002Fpowerful-command-line-applications-in-go\u002F\n\nVerify current behavior against https:\u002F\u002Fpkg.go.dev\u002Fos\u002Fexec and\nhttps:\u002F\u002Fpkg.go.dev\u002Fos\u002Fsignal, including `Cmd.Cancel`, `WaitDelay`, and\n`signal.NotifyContext`.\n\nFailure taxonomy, pipe ordering, and platform-adapter guidance also incorporates\ntransformed material from Marian Montagnino, *Building Modern CLI Applications\nin Go* (Packt, 2023), especially Chapter 6.\n\nIn-process cancellation boundary guidance also incorporates transformed\nmaterial from Inanc Gumus, *Go by Example: Programmer's Guide to Idiomatic and\nTestable Programs* (Manning, 2025), Chapters 6-7.\n",{"name":5,"license":15,"metadata":50,"description":7,"compatibility":55},{"tags":51,"version":52,"category":53,"displayName":54},"go,golang,cli,os-exec,subprocess,signals,cancellation","0.3.0","Go","Go CLI Process Control","Codex, Claude Code, and other Agent Skills-compatible clients.","main","2b63f856ce19c2a797929cacabd9e0fc936812fa","plugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-process-control",491,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins","https:\u002F\u002Fhol.org\u002Fplugins\u002Fbest-codex-plugins","https:\u002F\u002Fgithub.com\u002Fhashgraph-online","https:\u002F\u002Fhol.org","Open-source standards and developer tools for interoperable AI agents: discovery, identity, communication, payments, privacy and security.","2026-11-14 14:06:13",{"source":8,"skillName":5,"commands":67,"prompt":77,"zipAvailable":78},[68,71,74],{"tool":69,"command":70},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill go-cli-process-control",{"tool":72,"command":73},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill go-cli-process-control",{"tool":75,"command":76},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill go-cli-process-control","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-process-control\u002FSKILL.md",true,[80,86,90,94,98,102,106,110],{"path":81,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":84,"sourceHtmlUrl":85},"agents\u002Fopenai.yaml","REFERENCE","参考文档",230,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-process-control\u002Fagents\u002Fopenai.yaml",{"path":87,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":88,"sourceHtmlUrl":89},"guidelines.md",3192,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-process-control\u002Fguidelines.md",{"path":91,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":92,"sourceHtmlUrl":93},"references\u002Fprocess-control\u002Fchecklist.md",5420,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-process-control\u002Freferences\u002Fprocess-control\u002Fchecklist.md",{"path":95,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":96,"sourceHtmlUrl":97},"references\u002Fprocess-control\u002Fexamples.md",4336,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-process-control\u002Freferences\u002Fprocess-control\u002Fexamples.md",{"path":99,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":100,"sourceHtmlUrl":101},"references\u002Fprocess-control\u002Fknowledge.md",6564,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-process-control\u002Freferences\u002Fprocess-control\u002Fknowledge.md",{"path":103,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":104,"sourceHtmlUrl":105},"references\u002Fprocess-control\u002Fpatterns.md",5543,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-process-control\u002Freferences\u002Fprocess-control\u002Fpatterns.md",{"path":107,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":108,"sourceHtmlUrl":109},"references\u002Fprocess-control\u002Frules.md",6637,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-process-control\u002Freferences\u002Fprocess-control\u002Frules.md",{"path":111,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":112,"sourceHtmlUrl":113},"workflows\u002Fsupervise-external-command.md",4387,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgo-cli-process-control\u002Fworkflows\u002Fsupervise-external-command.md",[115,124,132,140,148,156],{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":119,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":123},"01M7DV332YQMGD8WTRJ9DZQXTB","worktable-review-with-annotations","Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":128,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":123},"01M7DV2YGHCZVBEB1AHYB6CGHE","worktable-find-and-synthesize-context","Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FSKILL.md",[],[],{"skillNo":133,"name":134,"nameZh":6,"description":135,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":136,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":123},"01M7DV2TQN1H11ME2SAF9MXN7V","worktable-create-or-update-docs","Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FSKILL.md",[],[],{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":144,"sourceHtmlUrl":145,"categories":146,"keywords":147,"publishedAt":123},"01M7DV2NE452NEA8TXATKSNAJH","worktable-create-or-manage-records","Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FSKILL.md",[],[],{"skillNo":149,"name":150,"nameZh":6,"description":151,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":152,"sourceHtmlUrl":153,"categories":154,"keywords":155,"publishedAt":123},"01M7DV2HENRBR2KSCVM064WH0Y","worktable-create-or-manage-interactive-html","Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FSKILL.md",[],[],{"skillNo":157,"name":158,"nameZh":6,"description":159,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":160,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":123},"01M7DV2CADR5R7RQFFYPNAGR9Y","worktable-collaborate-threads","Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FSKILL.md",[],[]]