developing-genkit-python

developing-genkit-python is a skill for Claude Code from pleaseai/claude-code-plugins. It costs 96 tokens per session (2,763 once invoked), scanned A, a copy of developing-genkit-python, MIT.

A Python guide for Genkit, an SDK for building features that call AI models, generate structured results, stream responses, use tools, and run multi-turn agents.

In plain words
What is it for?
Use it to build Genkit flows, AI features, tools, and multi-turn agents in Python.
Why use it?
It avoids having to infer the Python setup and APIs from general documentation. It also covers agent sessions, state, human approval, and common import or API problems.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: installed under .agents/ (shared by several agents).

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is genkit start -- uv run src/main.py.

Part of the genkit plugin — 4 skills shipped together

Good fit Use it to build Genkit flows, AI features, tools, and multi-turn agents in Python.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/pleaseai/claude-code-plugins
agentmods
npx agentmods add skills/pleaseai/claude-code-plugins/developing-genkit-python

Made for: Claude Code.

Or install genkit, the plugin that ships this one along with the rest of its 4 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 developing-genkit-python

README.md
[![agentmods](https://agentmods.dev/badge/skills/pleaseai/claude-code-plugins/developing-genkit-python/github.svg)](https://agentmods.dev/skills/pleaseai/claude-code-plugins/developing-genkit-python)
Your own site
<a href="https://agentmods.dev/skills/pleaseai/claude-code-plugins/developing-genkit-python"><img src="https://agentmods.dev/badge/skills/pleaseai/claude-code-plugins/developing-genkit-python/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 developing-genkit-python

Your own site · 80×15
<a href="https://agentmods.dev/skills/pleaseai/claude-code-plugins/developing-genkit-python"><img src="https://agentmods.dev/badge/skills/pleaseai/claude-code-plugins/developing-genkit-python.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,763 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 100% copy Near-identical to another mod 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.00096 $0.02763
Opus 5.5 $0.00038 $0.01105
Sonnet 5.5 $0.00019 $0.00553
Haiku 4.5 $0.00010 $0.00276

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

Security

Grade A, and why

developing-genkit-python 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 13d 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.

Origin

This is a copy

100% identical to developing-genkit-python — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/genkit/.agents/skills/developing-genkit-python/SKILL.md · 236 lines

How it starts

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

Genkit Python

Build AI features in Python — generation, structured output, streaming, tools, flows, and multi-turn agents — with Genkit Python 0.13.

Prerequisites

  • Python 3.10+ and uv (install)
  • Genkit CLI: npm install -g genkit-cli if genkit --version is missing

Hello World

from genkit import Genkit
from genkit_google_genai import GoogleAI

ai = Genkit(
    plugins=[GoogleAI()],
    model=GoogleAI.gemini('gemini-flash-latest'),
)


async def main() -> None:
    response = await ai.generate(prompt='Suggest one seasonal pasta dish.')
    if response.error:
        raise RuntimeError(response.error.message)
    print(response.text)
    # => Lemony tagliatelle with asparagus, sweet peas, and herb ricotta


if __name__ == '__main__':
    ai.run_main(main())

ai.generate does not raise when the provider rejects or fails a call (INVALID_ARGUMENT, UNAVAILABLE, rate limits). It returns response.error (Failure with .status and .message), finish_reason == 'failed', and empty text. Problems caught before the call raise: GoogleAI() raises ValueError without GEMINI_API_KEY; an unknown model, invalid key, or unknown config field raises GenkitError. See Common Errors.

Agents (Experimental)

Multi-turn chats with history, typed state, human approval, branching, and background work live under genkit.exp and genkit.exp.agent. Start here: Agents.

from genkit.exp import Genkit
from genkit.exp.agent import InMemorySessionStore
from genkit_google_genai import GoogleAI

ai = Genkit(plugins=[GoogleAI()], model=GoogleAI.gemini('gemini-flash-latest'))
agent = ai.define_agent(
    name='concierge',
    system='You are a concise hotel concierge.',
    store=InMemorySessionStore(),
)

chat = agent.chat()
res = await chat.send('Recommend a quiet dinner spot.')  # AgentResponse
print(res.text)
# => Try Osteria Lume on 5th; it has booths and low music.

turn = chat.send_stream('Is it open past 10pm?')  # AgentTurn
async for chunk in turn.stream:
    if chunk.text:
        print(chunk.text, end='')
final = await turn.response  # AgentResponse

Read the full file on GitHub · 236 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. 13d ago Changed · +69 lines c73956d29cd9
  2. 17d ago Changed · +42 lines · +47 tokens per session 987311b604d2
  3. 1mo ago Changed · +1 lines f1628ab48245
  4. 2mo ago First seen · 124 lines · 49 tokens per session scan A f1a55ed194fd

Subscribe to this mod's changes

developing-genkit-python is a skill published in the GitHub repository pleaseai/claude-code-plugins (17 stars, last pushed yesterday), licensed MIT. It adds 96 tokens to every session and 2,763 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to developing-genkit-python, differing in 0 lines, and is treated as a copy.

Related

developing-genkit-python compared with skills from other repositories

developing-genkit-python next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
developing-genkit-pythonpleaseai/claude-code-pluginsSkill17yesterdayMITA96Claude Code
agent-platform-model-registrygoogle/skillsSkill25ktodayApache-2.0A60Claude Code, Codex
llm-evaluationsickn33/agentic-awesome-skillsSkill51ktodayMITA25Claude Code
google-cloud-solution-agentic-analytics-spark-knowledge-cataloggoogle/skillsSkill25ktodayApache-2.0A132Claude Code, Codex
training-checkwanshuiyin/Auto-claude-code-research-in-sleepSkill20kyesterdayMITA35Claude Code
tao-run-inference-serviceNVIDIA/skillsSkill4.2ktodayApache-2.0A92Claude Code
nemo-automodel-launcher-configNVIDIA/skillsSkill4.2ktodayApache-2.0A30Claude Code