go-tcp-server-reliability

go-tcp-server-reliability is a skill for Claude Code from sayeed1999/agent-skills. It costs 52 tokens per session (1,656 once invoked), scanned A, original, MIT.

A checklist for checking the reliability of Go TCP servers. TCP is the network protocol used for connections, and the checklist covers connection handling, concurrent work, shutdown, limits, and failure recovery.

In plain words
What is it for?
Use it while building, changing, or reviewing Go TCP server infrastructure. It requires each item to be marked pass, fail, or not applicable with evidence or an explanation.
Why use it?
It provides a fixed set of checks for problems such as leaked connections, unhandled crashes, unsafe concurrent work, and incomplete shutdowns.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the agent-skills plugin — 3 skills shipped together

Good fit Use it while building, changing, or reviewing Go TCP server infrastructure. It requires each item to be marked pass, fail, or not applicable with evidence or an explanation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sayeed1999/agent-skills/go-tcp-server-reliability
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.

Any agent
npx skills add sayeed1999/agent-skills --skill go-tcp-server-reliability
Clone the repo
git clone --depth 1 https://github.com/sayeed1999/agent-skills

Made for: Claude Code.

Or install agent-skills, the plugin that ships this one along with the rest of its 3 skills.

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 go-tcp-server-reliability

README.md
[![agentmods](https://agentmods.dev/badge/skills/sayeed1999/agent-skills/go-tcp-server-reliability/github.svg)](https://agentmods.dev/skills/sayeed1999/agent-skills/go-tcp-server-reliability)
Your own site
<a href="https://agentmods.dev/skills/sayeed1999/agent-skills/go-tcp-server-reliability"><img src="https://agentmods.dev/badge/skills/sayeed1999/agent-skills/go-tcp-server-reliability/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for go-tcp-server-reliability

Your own site · 80×15
<a href="https://agentmods.dev/skills/sayeed1999/agent-skills/go-tcp-server-reliability"><img src="https://agentmods.dev/badge/skills/sayeed1999/agent-skills/go-tcp-server-reliability.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,656 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00052 $0.01656
Opus 5.5 $0.00021 $0.00662
Sonnet 5.5 $0.00010 $0.00331
Haiku 4.5 $0.00005 $0.00166

Measured 27d ago against content hash d2a4d474f11d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

go-tcp-server-reliability 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 27d ago.

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.

skills/go-tcp-server-reliability/SKILL.md · 108 lines

How it starts

The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Go TCP Server Reliability Checklist

Validate TCP server infrastructure against every item below. Scope is infrastructure only (accept loop, connections, framing, lifecycle, shutdown). Do not evaluate business logic or protocol business rules.

Context

  • recover() only catches panics in its own goroutine. Every goroutine that needs isolation needs its own recovery boundary.
  • SIGKILL cannot be caught. Graceful shutdown applies to SIGINT and SIGTERM.

How to Run

  1. Read the whole server package before answering (for example the TCP server, handler, and decoder/encoder code).
  2. Answer every item. Do not skip or merge items.
  3. Mark each item PASS, FAIL, or N/A.
  4. PASS needs evidence: the function, type, or config field name that satisfies it. No note.
  5. N/A needs a reason. FAIL needs what is missing and where it should be fixed.
  6. If evidence cannot be found, mark FAIL. Do not assume.
  7. When building or modifying code, treat this checklist as the definition of done.

Report Format

ID    | Result | Checklist Item                                                         | Evidence / Note
GS-1  | PASS   | Does each per-connection goroutine have its own deferred recover()? | serve: deferred recover()
GS-2  | FAIL   | Does a recovered panic log the panic value and debug.Stack()?       | Missing stack trace logging in serve()

End with a summary: counts of PASS / FAIL / N/A, and the list of FAIL IDs. Any FAIL means the review fails.

Checklist

GS - Goroutine Safety

  • GS-1: Does each per-connection goroutine have its own deferred recover()?
  • GS-2: Does a recovered panic log the panic value and runtime/debug.Stack()?
  • GS-3: After a recovered panic, is the connection closed and its resources released (tracking entry removed, slot freed)?
  • GS-4: Does long-lived goroutines (background loops, workers) that require fault isolation have their own recover() to prevent unexpected panics from crashing the entire app?
  • GS-5: Does every goroutine have a defined termination condition (context canceled, closed channel, or a closed connection)?
  • GS-6: Is every started goroutine tracked (for example sync.WaitGroup) so none can be orphaned?

Read the full file on GitHub · 108 lines

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. 27d ago First seen · 108 lines · 52 tokens per session scan A d2a4d474f11d

Subscribe to this mod's changes

go-tcp-server-reliability is a skill published in the GitHub repository sayeed1999/agent-skills (7 stars, last pushed 25d ago), licensed MIT. It adds 52 tokens to every session and 1,656 once invoked, about $0.0002 per session on Opus 5.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-11-09.

Related

go-tcp-server-reliability compared with skills from other repositories

go-tcp-server-reliability next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
go-tcp-server-reliabilitysayeed1999/agent-skillsSkill725d agoMITA52Claude Code
gonimadorostkar/Claude-Skills-collectionSkill426d agoMITA90Claude Code
test-gosergeyklay/.agentsSkill63d agoApache-2.0A109Claude Code, Codex
integrate-arcjet-guard-agent-framework-goarcjet/skillsSkill64d agoApache-2.0A119Claude Code, Codex
go-clean-architecturemuratmirgun/gophersSkill93mo agoMITA70Claude Code
go-code-reviewmuratmirgun/gophersSkill93mo agoMITA85Claude Code
go-code-stylemuratmirgun/gophersSkill93mo agoMITA94Claude Code