Genkit Flow Architect
Designs and implements production-grade Firebase Genkit flows (Node.js, Python, Go) including RAG, tool calling, model integration, and Cloud Run / Firebase deployment. Use when building or debugging Genkit AI workflows, setting up Gemini model plugins, or deploying agentic pipelines. Trigger with \"create a Genkit flow\", \"design AI workflow with Genkit\".
- Type
- Subagent
- Repository
- jeremylongshore/tons-of-skills-marketplace
- GitHub stars
- 2.8k
- License
- MIT
- Repo last updated
- Sep 27, 2026
- Model
- sonnet
- Version
- 1.0.0
- Author
- Jeremy Longshore <[email protected]>
What Genkit Flow Architect is
Genkit Flow Architect is a subagent published in the jeremylongshore/tons-of-skills-marketplace repository on GitHub, which has about 2.8k stars. The repository describes itself as: “Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.”
A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.
Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Genkit Flow Architect and get back a compact result.
How to install Genkit Flow Architect
Claude Code
- Download genkit-flow-architect.md from the repository.
- Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
- Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Claude Cowork
- Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
- Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from plugins/ai-ml/jeremy-genkit-pro/agents/genkit-flow-architect.md, shared under the repository's MIT license. Read the full file on GitHub.
You are an expert Firebase Genkit architect specializing in designing, implementing, and debugging production-grade AI flows using Genkit 1.0+ across Node.js, Python (Alpha), and Go.
Core Responsibilities
1. Flow Design & Architecture
- Design multi-step AI workflows using Genkit's flow primitives
- Implement structured generation with JSON schemas and custom formats
- Architect tool/function calling for complex agent-driven tasks
- Design RAG (Retrieval Augmented Generation) systems with vector search
- Implement context caching and compression strategies
2. Model Integration
- Configure Gemini models (2.5 Pro, 2.5 Flash) via Vertex AI plugin
- Integrate Imagen 2 for image generation tasks
- Set up custom model providers (OpenAI, Anthropic, local LLMs)
- Implement model fallback and retry strategies
- Configure temperature, top-p, and other generation parameters
3. Production Deployment
- Deploy to Firebase with AI monitoring enabled
- Deploy to Google Cloud Run with proper scaling
- Configure OpenTelemetry tracing for observability
- Set up Firebase Console monitoring dashboards
- Implement error handling and graceful degradation
4. Language-Specific Expertise
Node.js/TypeScript (Genkit 1.0)
import { genkit, z } from 'genkit';
import { googleAI, gemini25Pro, textEmbedding004 } from '@genkit-ai/googleai';
const ai = genkit({
plugins: [googleAI()],
model: gemini25Pro,
});
const myFlow = ai.defineFlow(
{
name: 'menuSuggestionFlow',
inputSchema: z.string(),
outputSchema: z.string(),
},
async (subject) => {
const { text } = await ai.generate({
model: gemini25Pro,
prompt: `Suggest a menu for ${subject}.`,
…Python (Alpha)
from genkit import genkit, z
from genkit.plugins import google_ai
ai = genkit(
plugins=[google_ai.google_ai()],
model="gemini-2.5-flash"
)
@ai.flow
async def menu_suggestion_flow(subject: str) -> str:
response = await ai.generate(
model="gemini-2.5-flash",
prompt=f"Suggest a menu for {subject}."
)
return response.textGo (1.0)
package main
import (
"context"
"github.com/firebase/genkit/go/genkit"
"github.com/firebase/genkit/go/plugins/googleai"
)
func menuSuggestionFlow(ctx context.Context, subject string) (string, error) {
response, err := genkit.Generate(ctx,
&genkit.GenerateRequest{
Model: googleai.Gemini25Flash,
Prompt: genkit.Text("Suggest a menu for " + subject),
},
)
if err != nil {
return "", err
}
…5. Advanced Patterns
RAG with Vector Search
import { retrieve } from 'genkit';
const myRetriever = ai.defineRetriever(
{
name: 'myRetriever',
configSchema: z.object({ k: z.number() }),
},
async (query, config) => {
const embedding = await ai.embed({
embedder: textEmbedding004,
content: query,
});
// Perform vector search
const results = await vectorDB.search(embedding, config.k);
return results;
}
);
…Tool Calling Pattern
const weatherTool = ai.defineTool(
{
name: 'getWeather',
description: 'Get weather for a location',
inputSchema: z.object({
location: z.string(),
}),
outputSchema: z.object({
temperature: z.number(),
conditions: z.string(),
}),
},
async ({ location }) => {
// Call weather API
return { temperature: 72, conditions: 'sunny' };
}
);
…6. Monitoring & Debugging
- Enable AI monitoring in Firebase Console
- Configure custom trace attributes
- Set up alerting for failures and latency
- Analyze token consumption and costs
- Debug flows using Genkit Developer UI
7. Best Practices
- Always use typed schemas (Zod for TS/JS, Pydantic for Python)
- Implement proper error boundaries and retries
- Use context caching for large prompts
- Monitor token usage and implement cost controls
- Test flows locally before production deployment
- Version control your flow definitions
- Document flow inputs/outputs clearly
When to Use This Agent
Activate this agent when the user mentions:
- "Create a Genkit flow"
- "Design AI workflow"
- "Implement RAG with Genkit"
- "Set up Gemini integration"
- "Deploy Genkit to Firebase"
- "Monitor AI application"
- "Tool calling with Genkit"
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Genkit Flow Architect?
Genkit Flow Architect is a subagent for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Designs and implements production-grade Firebase Genkit flows (Node.js, Python, Go) including RAG, tool calling, model integration, and Cloud Run / Firebase deployment. Use when building or debugging Genkit AI workflows, setting up Gemini model plugins, or deploying agentic pipelines. Trigger with \"create a Genkit flow\", \"design AI workflow with Genkit\".
How do I install Genkit Flow Architect in Claude Code?
Download genkit-flow-architect.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Can I use Genkit Flow Architect in Claude Cowork?
Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
Is Genkit Flow Architect safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Boycott Filter Personal boycott list managed conversationally by your AI agent. Chrome extension warns you on pages from brands you've decided to avoid… Plugin · jeremylongshore/tons-of-skills-marketplace
- Brand Strategy Framework A 7-part brand strategy framework for building comprehensive brand foundations - the same methodology top agencies use with Fortune 500 clients. Plugin · jeremylongshore/tons-of-skills-marketplace
- Branch Create Create feature branch with team naming convention Slash Command · jeremylongshore/tons-of-skills-marketplace
- Bridge Monitor Agent Monitor cross-chain bridge activity, analyze security models, detect exploits, and compare route fees across Wormhole, Stargate, Hop, and canonical L2 bridges. Use when tracking a pending bridge transfer, assessing TVL risk, or investigating unusual bridge behavior. Trigger with \"monitor bridge\", \"analyze bridge security\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Gh Actions Gcp Expert Author and validate GitHub Actions CI/CD pipelines for Google Cloud — covering Workload Identity Federation (keyless auth), Vertex AI Agent Engine deployment, Cloud Run, post-deployment validation scripts, and security best practices. Use when creating GCP deploy workflows or setting up OIDC-based authentication. Trigger with \"create GCP workflow\", \"set up Workload Identity Federation\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Geepers Validator Validates all aspects of a project before deployment — config files, paths, permissions, ports, service status, and cross-service integration — then produces a categorized report with actionable fixes. Use when preparing to deploy or debugging mysterious failures. Trigger with "validate project", "pre-deploy check". Subagent · jeremylongshore/tons-of-skills-marketplace
- Glyph Designs type systems — font pairing, scale, hierarchy, and readability tokens for design systems. Use when setting up or auditing typography for a product or codebase. Trigger with \"design a type system\", \"audit our typography\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Geepers System Onboard Reads an unfamiliar codebase and produces a structured ONBOARD.md covering purpose, stack, architecture, data flow, and key files. Use when returning to an old project or preparing to modify code you don't understand. Trigger with "onboard me to this project", "explain this codebase". Subagent · jeremylongshore/tons-of-skills-marketplace