genkit-go-flows

genkit-go-flows is a skill for Claude Code from shennawardana23/skillme. It costs 76 tokens per session (1,655 once invoked), scanned A, original, Apache-2.0.

A guide to using Genkit for Go, a Google and Firebase framework for adding AI features such as text generation, structured output, tool calls, retrieval, and evaluations.

In plain words
What is it for?
Defining Go flows, writing prompts, generating structured data, adding tools and middleware, using retrieval-augmented generation, and inspecting traces.
Why use it?
It helps organize AI operations as named, traceable flows and distinguishes Genkit's application framework from tools specifically built for autonomous agents.

Skill for Claude Code

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

Part of the skillme plugin — 137 skills, 2 commands shipped together

Good fit Defining Go flows, writing prompts, generating structured data, adding tools and middleware, using retrieval-augmented generation, and inspecting traces.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shennawardana23/skillme/genkit-go-flows
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 shennawardana23/skillme --skill genkit-go-flows
Clone the repo
git clone --depth 1 https://github.com/shennawardana23/skillme

Made for: Claude Code.

Or install skillme, the plugin that ships this one along with the rest of its 137 skills, 2 commands.

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 genkit-go-flows

README.md
[![agentmods](https://agentmods.dev/badge/skills/shennawardana23/skillme/genkit-go-flows/github.svg)](https://agentmods.dev/skills/shennawardana23/skillme/genkit-go-flows)
Your own site
<a href="https://agentmods.dev/skills/shennawardana23/skillme/genkit-go-flows"><img src="https://agentmods.dev/badge/skills/shennawardana23/skillme/genkit-go-flows/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 genkit-go-flows

Your own site · 80×15
<a href="https://agentmods.dev/skills/shennawardana23/skillme/genkit-go-flows"><img src="https://agentmods.dev/badge/skills/shennawardana23/skillme/genkit-go-flows.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,655 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.00076 $0.01655
Opus 5 $0.00038 $0.00827
Sonnet 5 $0.00015 $0.00331
Haiku 4.5 $0.00008 $0.00166

Measured 8d ago against content hash a873f36e7c42, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

genkit-go-flows 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 8d 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/genkit-go-flows/SKILL.md · 158 lines

How it starts

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

Genkit for Go: Flows, Prompts, and Tools

Genkit (github.com/firebase/genkit/go) is Google/Firebase's application framework for building AI features — flows, prompt management, structured generation, tool calling, RAG, and evals — with first-class Go support alongside JS/TS. It is not the same tool as adk-go-agent-builder's Agent Development Kit: Genkit is the broader app-framework layer (any AI feature, not just autonomous agents), while ADK is specifically for building orchestrated, tool-using agents. A service can reasonably use both — Genkit for its prompt/generation plumbing and observability, ADK for the parts that are genuinely agentic.

Defining a flow

A flow is Genkit's typed, traceable unit of AI-feature logic — register it against a *genkit.Genkit instance rather than calling generation functions ad hoc, so it shows up in traces and can be run standalone via the CLI:

g := genkit.Init(ctx)

flow := genkit.DefineFlow(g, "summarizeReservation", func(ctx context.Context, input ReservationInput) (string, error) {
    resp, err := genkit.Generate(ctx, g,
        ai.WithPrompt("Summarize this reservation in one sentence: %+v", input),
    )
    if err != nil {
        return "", fmt.Errorf("generate summary: %w", err)
    }
    return resp.Text(), nil
})

Pass g (the *Genkit instance) explicitly into every call that needs it — it is Genkit's central action registry (flows, prompts, tools all register against it). Storing it as a package-level global instead of threading it through breaks the documented pattern and makes a service harder to test with an isolated registry per test.

Running with traces (the dev loop that actually works)

genkit start -- go run .              # traced, with Dev UI
genkit flow:run summarizeReservation '{"hotelId":"h1"}' -- go run .   # traced, non-interactive

go run . on its own does not capture Genkit dev traces — only running under genkit start (or the equivalent genkit flow:run for a single, self-terminating invocation) wires up the trace collector. Debugging a flow by running the binary directly is debugging blind: no trace, no Dev UI inspection of the actual prompt/response the model saw.

Read the full file on GitHub · 158 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 158 lines · 76 tokens per session scan A a873f36e7c42

Subscribe to this mod's changes

genkit-go-flows is a skill published in the GitHub repository shennawardana23/skillme (2 stars, last pushed 14d ago), licensed Apache-2.0. It adds 76 tokens to every session and 1,655 once invoked, about $0.0004 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 skills, from other repositories

ai-engineering

Reviews and guides LLM/AI application engineering: prompt design, prompt caching, multimodal inputs, RAG, agent loops and tool design, resilience (rate limits, retries, fallbacks), memory, model migration, evals, testing, prompt-injection defence, and observability. Synthesises practices from Anthropic, OpenAI…

mthines/agent-skills · 161 tokens

ai-llm-skills-guide

Guide for AI Agents and LLM development skills including RAG, multi-agent systems, prompt engineering, memory systems, and context engineering.

gmh5225/awesome-skills · 35 tokens

flockion_engineering_ai

Forces the simplest, shortest, safest AI solution that actually works. Lazy senior-engineer pragmatism for LLM features, agents, RAG, tool-calling, and prompts. Use a prompt before a chain, retrieval before fine-tuning, deterministic code before an agent, and one tool before a tool framework. Keep critical business…

error505/Flockion_AI_Engineering · 187 tokens

performant-ai

Strategies for high-performance AI/LLM systems (Context Management, Prompt Engineering, RAG, Inference Tuning).

andreibesleaga/GABBE · 28 tokens

ai-product

Every product will be AI-powered. The question is whether you'll build it right or ship a demo that falls apart in production. This skill covers LLM integration patterns, RAG architecture, prompt engineering that scales, AI UX that users trust, and cost optimization that doesn't bankrupt you. Use when "keywords…

omer-metin/skills-for-antigravity · 74 tokens

ai-engineering-toolkit

6 production-ready AI engineering workflows: prompt evaluation (8-dimension scoring), context budget planning, RAG pipeline design, agent security audit (65-point checklist), eval harness building, an.

ranbot-ai/awesome-skills · 0 tokens