Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

developing-genkit-dart

Skill by google

Provides guidance for building AI-powered applications with the Genkit Dart SDK, version 1.0. It is for Dart and Flutter developers who want to build AI agents, use Genkit flows, or integrate LLMs.

  • Score 94
  • 25k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install developing-genkit-dart

Built from the published package, never by AI.

git clone --depth 1 https://github.com/google/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/cloud/developing-genkit-dart ~/.claude/skills/developing-genkit-dart

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install developing-genkit-dart in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The developing-genkit-dart skill gives an AI assistant guidance for building AI-powered applications with the Genkit Dart SDK, targeting version 1.0. It covers core APIs such as Genkit(), ai.generate, ai.defineTool, ai.defineFlow and ai.embed, along with Dotprompt files, agents, A2UI generative UI and the Genkit CLI. It also points to plugin references for Google Gemini, Vertex AI, Anthropic, OpenAI, MCP and Chrome.

The skill includes a migration guide for pre-1.0 API names that no longer compile. It explains how to run Dart programs under genkit start to capture traces, and how to use flow:run for one-off checks. It is intended for Dart and Flutter developers who want to build AI agents or integrate LLMs. It is not meant for Genkit in JavaScript, TypeScript, Go or Python.

Written from the project's SKILL.md and checked against it.

What it can do

  • Core framework APIsCovers Genkit(), generation, tools, flows, embeddings, streaming and remote flow endpoints.
  • 1.0 migration guidanceLists renamed and removed pre-1.0 APIs and their current replacements.
  • Dotprompt supportExplains .prompt files, promptDir, variants, partials and named schemas.
  • AgentsCovers sessions, interrupts, branching, background runs, state, artifacts and multi-agent delegation.
  • A2UI generative UIDescribes streaming interactive UI surfaces from an agent to a Flutter client.
  • Genkit CLI workflowsExplains running programs with genkit start, inspecting traces and using flow:run.
  • Plugin referencesLinks to references for Google GenAI, Vertex AI, Anthropic, OpenAI, middleware, MCP and Chrome.

What you need

  • Dart SDK with genkit ^1.0.0
  • Genkit CLI, installed with curl, npm or npx (optional)

Try asking

  • Build a Genkit flow in Dart that summarizes text with Gemini.
  • Set up a Genkit agent in Dart with sessions and human approval.
  • Run my Dart flow with genkit flow:run and show the trace.

Good to know

  • Agent, session and snapshot APIs are experimental.
  • No artifacts() middleware yet, so artifact tools must be defined directly.
  • Top-level final declarations are lazy, so flows must be referenced from main().
  • Not for Genkit in JavaScript, TypeScript, Go or Python.

Security check

C
  • Downloads a script from the internet and runs itIn skills/cloud/developing-genkit-dart/SKILL.md: curl -sL cli.genkit.dev | bash

Checked automatically: skills/cloud/developing-genkit-dart/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md14 KB
  • references/a2ui.md15 KB
  • references/agents-artifacts.md6 KB
  • references/agents-background.md4 KB
  • references/agents-branching.md4 KB
Show all 24 files
  • references/agents-custom.md7 KB
  • references/agents-deployment.md4 KB
  • references/agents-human-in-the-loop.md8 KB
  • references/agents-multi-agent.md6 KB
  • references/agents-sessions.md7 KB
  • references/agents-state.md7 KB
  • references/agents.md15 KB
  • references/dotprompt.md8 KB
  • references/genkit.md17 KB
  • references/genkit_anthropic.md2 KB
  • references/genkit_chrome.md543 B
  • references/genkit_firebase_ai.md588 B
  • references/genkit_google_genai.md4 KB
  • references/genkit_mcp.md5 KB
  • references/genkit_middleware.md5 KB
  • references/genkit_openai.md3 KB
  • references/genkit_shelf.md5 KB
  • references/genkit_vertexai.md3 KB
  • references/schemantic.md5 KB

Alternatives to developing-genkit-dart

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

developing-genkit-dart: common questions

Does this skill work with Genkit for JavaScript or Python?

No. The source says not to use it for Genkit in JavaScript, TypeScript, Go, or Python.

Why does my flow:run fail with Process exited before runtime was ready?

The source says top-level final flow or agent declarations register only when first evaluated. Referencing the symbols from main() or importing a module that does fixes this.

Can genkit start be used in automated scripts?

The source says not to use genkit start as a blocking step in automated or non-interactive contexts. Use flow:run for that, with the --non-interactive flag.

How do I install developing-genkit-dart?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is developing-genkit-dart free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is developing-genkit-dart safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.

What are alternatives to developing-genkit-dart?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

developing-genkit-dart Install

Add to stack

Loading.