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.
npx skills add car12o/claude-workflows --skill go-concurrencygit clone --depth 1 https://github.com/car12o/claude-workflowsWrote 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.
[](https://agentmods.dev/skills/car12o/claude-workflows/go-concurrency)<a href="https://agentmods.dev/skills/car12o/claude-workflows/go-concurrency"><img src="https://agentmods.dev/badge/skills/car12o/claude-workflows/go-concurrency/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.
<a href="https://agentmods.dev/skills/car12o/claude-workflows/go-concurrency"><img src="https://agentmods.dev/badge/skills/car12o/claude-workflows/go-concurrency.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00036 | $0.01043 |
| Opus 5.5 | $0.00014 | $0.00417 |
| Sonnet 5.5 | $0.00007 | $0.00209 |
| Haiku 4.5 | $0.00004 | $0.00104 |
Grade A, and why
go-concurrency scanned grade A with 1 finding 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 3mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
data, err := fetch(ctx, id) How it starts
The opening of the file, as written. The whole thing — 168 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Go Concurrency Patterns
Context Propagation
// Every I/O function: context as first param
func (s *Service) Process(ctx context.Context, id string) error {
data, err := s.repo.Get(ctx, id)
if err != nil { return fmt.Errorf("getting data: %w", err) }
if err := ctx.Err(); err != nil { return err } // check before expensive ops
return s.handle(ctx, data)
}
// Timeout
ctx, cancel := context.WithTimeout(ctx, 5*time.Second)
defer cancel()
// Values (sparingly, use unexported key types)
type contextKey string
const reqIDKey contextKey = "requestID"
func WithReqID(ctx context.Context, id string) context.Context {
return context.WithValue(ctx, reqIDKey, id)
}
errgroup
import "golang.org/x/sync/errgroup"
// Basic — concurrent fetch
g, ctx := errgroup.WithContext(ctx)
results := make([]Data, len(ids))
for i, id := range ids {
g.Go(func() error {
data, err := fetch(ctx, id)
if err != nil { return fmt.Errorf("fetching %s: %w", id, err) }
results[i] = data
return nil
})
}
if err := g.Wait(); err != nil { return nil, err }
// With concurrency limit
g.SetLimit(10)
for _, item := range items {
g.Go(func() error { return process(ctx, item) })
}
Goroutine Lifecycle
func (w *Worker) Start(ctx context.Context) error {
g, ctx := errgroup.WithContext(ctx)
for range w.numWorkers {
g.Go(func() error {
for {
select {
case <-ctx.Done():
return ctx.Err()
case job, ok := <-w.jobs:
if !ok { return nil }
if err := w.process(ctx, job); err != nil { return err }
}
}
})
}
return g.Wait()
}
Channel Patterns
// Pipeline
func Pipeline(ctx context.Context, in <-chan int) <-chan int {
out := make(chan int)
go func() {
defer close(out)
for { select {
case <-ctx.Done(): return
case v, ok := <-in:
if !ok { return }
select { case out <- transform(v): case <-ctx.Done(): return }
}}
}()
return out
}
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.
- 3mo ago First seen · 168 lines · 36 tokens per session scan A 0824bf16c8fd
go-concurrency is a skill published in the GitHub repository car12o/claude-workflows (2 stars, last pushed 9mo ago), licensed MIT. It adds 36 tokens to every session and 1,043 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
go-concurrency compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| go-concurrencycar12o/claude-workflows | Skill | 2 | 9mo ago | MIT | A | 36 | Claude Code |
| golang-proJeffallan/claude-skills | Skill | 13k | 2d ago | MIT | A | 95 | Claude Code |
| golang-graphqlsamber/cc-skills-golang | Skill | 4.0k | 2d ago | MIT | A | 77 | Claude Code |
| platform-constrained-handlerclidey/whodb | Skill | 5.1k | yesterday | Apache-2.0 | A | 26 | Claude Code, Codex |
| golang-grpcsamber/cc-skills-golang | Skill | 4.0k | 2d ago | MIT | A | 72 | Claude Code |
| golang-swaggersamber/cc-skills-golang | Skill | 4.0k | 2d ago | MIT | A | 146 | Claude Code |
| printing-pressmvanhorn/cli-printing-press | Skill | 5.1k | today | MIT | A | 86 | Claude Code |