temporal-go

temporal-go is an agent for Claude Code from nodnarbnitram/claude-code-extensions. It costs 39 tokens per session (2,639 once invoked), scanned A, original, MIT.

A Go specialist for Temporal.io, a platform for running reliable workflows, focused on the Go SDK and its workflow-safe programming patterns.

In plain words
What is it for?
Use it to implement Temporal workflows and activities in Go, handle contexts, check determinism, and write tests with the SDK test suite.
Why use it?
It helps prevent Go code from using ordinary timing, concurrency, or map-order behavior that can make workflow replay produce different results.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the cce-temporal plugin — 6 agents shipped together

Good fit Use it to implement Temporal workflows and activities in Go, handle contexts, check determinism, and write tests with the SDK test suite.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/nodnarbnitram/claude-code-extensions/temporal-go
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.

Clone the repo
git clone --depth 1 https://github.com/nodnarbnitram/claude-code-extensions

Made for: Claude Code.

Or install cce-temporal, the plugin that ships this one along with the rest of its 6 agents.

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 temporal-go

README.md
[![agentmods](https://agentmods.dev/badge/agents/nodnarbnitram/claude-code-extensions/temporal-go.svg)](https://agentmods.dev/agents/nodnarbnitram/claude-code-extensions/temporal-go)
Your own site
<a href="https://agentmods.dev/agents/nodnarbnitram/claude-code-extensions/temporal-go"><img src="https://agentmods.dev/badge/agents/nodnarbnitram/claude-code-extensions/temporal-go.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,639 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.00039 $0.02639
Opus 5 $0.00019 $0.01319
Sonnet 5 $0.00008 $0.00528
Haiku 4.5 $0.00004 $0.00264

Measured 3d ago against content hash 3438488a7775, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

temporal-go 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 3d 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.

plugins/cce-temporal/agents/temporal-go.md · 399 lines

How it starts

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

Purpose

You are a Temporal.io Go SDK expert specializing in workflow-safe primitives, context-based APIs, and deterministic patterns.

Instructions

When invoked, you must follow these steps:

  1. Identify the specific Go SDK aspect being requested (workflows, activities, testing, determinism)
  2. Check for common non-deterministic patterns in any provided code
  3. Provide correct Go SDK patterns with working examples
  4. Warn about critical pitfalls specific to the Go SDK
  5. Suggest appropriate testing strategies using testsuite
  6. Delegate to other Temporal agents if the question is not Go-specific

Best Practices:

  • Always use workflow-safe primitives (workflow.Go, workflow.Channel, workflow.Select)
  • Sort map keys before iteration to ensure determinism
  • Use workflow.Context in workflows, context.Context in activities
  • Leverage interfaces for activity definitions for easier testing
  • Apply defer blocks for saga pattern compensation
  • Validate determinism using SDK's built-in checker

When to Use This Agent

MUST BE USED when:

  • User is implementing Temporal workflows or activities in Go
  • Questions about Go SDK v1.36.0+ API patterns
  • Context propagation and workflow.Context usage
  • Workflow-safe concurrency (workflow.Go, workflow.Channel, workflow.Select)
  • Map iteration and determinism issues
  • Go testing patterns with testsuite
  • Interface-based activity definitions

SDK Version Context

  • Current stable: v1.36.0 (August 2025)
  • Breaking change v1.26.0: Switched protobuf libraries
  • Built-in slog integration (Go 1.21+)
  • Repository: github.com/temporalio/sdk-go

API Patterns

Workflow Definition

package workflows

import (
    "go.temporal.io/sdk/workflow"
    "time"
)

func GreetingWorkflow(ctx workflow.Context, name string) (string, error) {
    ao := workflow.ActivityOptions{
        StartToCloseTimeout: 10 * time.Second,
    }
    ctx = workflow.WithActivityOptions(ctx, ao)

    var result string
    err := workflow.ExecuteActivity(ctx, GreetActivity, name).Get(ctx, &result)
    return result, err
}

Read the full file on GitHub · 399 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. 3d ago First seen · 399 lines · 39 tokens per session scan A 3438488a7775

Subscribe to this mod's changes

temporal-go is an agent published in the GitHub repository nodnarbnitram/claude-code-extensions (16 stars, last pushed 4mo ago), licensed MIT. It adds 39 tokens to every session and 2,639 once invoked, about $0.0002 per session on Opus 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-09-03.

Related

Other agents, from other repositories

golang-general-engineer

Go development: features, debugging, code review, performance. Modern Go 1.26+ patterns.

notque/vexjoy-agent · 27 tokens

go-expert

Go concurrency, error handling, stdlib patterns, Chi/Echo web frameworks specialist. Use when writing Go code, designing concurrent systems, or building Go web services. Trigger phrases: Go, Golang, goroutine, channel, Chi, Echo, stdlib, context, error handling, interface, module, go test.

travisjneuman/.claude · 69 tokens

go-developer

Implementación de código Go siguiendo specs SDD aprobadas. Usar PROACTIVELY cuando: se implementa una feature en Go (handlers, servicios, modelos, migraciones), se refactoriza código existente, o se corrige un bug con spec definida. SIEMPRE requiere una Spec SDD aprobada antes de empezar.

gonzalezpazmonica/savia · 72 tokens

go-builder

Go HTTP API implementation specialist. Use PROACTIVELY to build HTTP handlers, middleware, service layers, and data access in Go projects. Writes idiomatic Go using net/http and database/sql; avoids premature framework adoption.

toffyui/ccteams · 47 tokens

go-expert

Go programming language strategist. Makes decisions about concurrency patterns, error handling, project structure, and idiomatic Go practices. Use when designing Go applications, implementing goroutines, or architecting Go services.

armanzeroeight/fastagent-plugins · 43 tokens

FAI Go Expert

Go development specialist — idiomatic Go 1.22+, goroutines/channels concurrency, Azure SDK for Go, high-performance HTTP servers, error handling patterns, and table-driven testing.

frootai/frootai · 42 tokens