genkit: Skill for Claude Code

.agents/skills/genkit-tools-cli/SKILL.md

genkit-tools-cli is a skill for Claude Code, Codex from genkit-ai/genkit. It costs 47 tokens per session (643 once invoked), scanned A, original, Apache-2.0.

A repository guide for creating and reviewing Genkit command-line commands and MCP server tools. A command-line interface lets users operate software from a terminal; an MCP server exposes tools that an AI system can call.

In plain words
What is it for?
Use it when changing commands under the CLI command directory or tools under the MCP directory, including tools that inspect projects or interact with a running Genkit runtime.
Why use it?
It standardises command and tool names, runtime handling, logging, registration, and output options so new additions follow the repository's existing structure.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is genkit-ai/genkit's own configuration. It tells Claude Code and Codex how to work on genkit itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything genkit configures →

About the project

Genkit is an open-source framework for building AI-powered applications with JavaScript, Go, Python, and Dart. Developers use it to connect language models and other AI providers while implementing chatbots, automations, recommendations, multimodal features, structured outputs, tools, and agent workflows. The catalogue skills support development with Genkit.

genkit-ai/genkit · 6,653 stars · on GitHub · genkit.dev

Reuse

Borrowing it

Nothing to install: this file belongs to genkit-ai/genkit. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/genkit-ai/genkit/main/.agents/skills/genkit-tools-cli/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/genkit-ai/genkit

Made for: Claude Code, Codex.

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-tools-cli

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/genkit-ai/genkit/genkit-tools-cli"><img src="https://agentmods.dev/badge/skills/genkit-ai/genkit/genkit-tools-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 643 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.00047 $0.00643
Opus 5.5 $0.00019 $0.00257
Sonnet 5.5 $0.00009 $0.00129
Haiku 4.5 $0.00005 $0.00064

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

Security

Grade A, and why

genkit-tools-cli 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 today.

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.

.agents/skills/genkit-tools-cli/SKILL.md · 25 lines

How it starts

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

Genkit Tools CLI & MCP Guide

1. CLI Commands (cli/src/commands/)

  • Naming: Use noun:verb or category:action in kebab-case (e.g. flow:run, eval:run, trace:get). Use camelCase for code arguments and <argName> in help text.
  • Runtime lifecycle: Use runWithManager(projectRoot, async (manager) => ...) from ../utils/manager-utils.js (with findProjectRoot() from @genkit-ai/tools-common/utils) for commands that interact with a project runtime (see cli/src/commands/flow-run.ts).
  • Output channels: Use writeStdout (primary command payload; no ANSI color on machine-readable output) and writeStderr (human-facing hints, labels, empty states) from ../utils/output.js, and logger.* from @genkit-ai/tools-common/utils strictly for diagnostic/server logs. Gate interactive prompts on isInteractive() and TTY-only notices on isStderrTTY().
  • Flags: Support --output (file/JSON output) and --stream where appropriate.
  • Registration: Register new commands in the commands array in cli/src/cli.ts.

2. MCP Tools (cli/src/mcp/)

  • Naming: Use verb_noun in snake_case (e.g. list_flows, run_flow, get_trace).
  • Static vs. runtime tools:
    • Static tools (e.g. defineDocsTool(server, projectRoot?) in cli/src/mcp/docs.ts): Require no running Genkit runtime.
    • Runtime tools (defineFlowTools, defineTraceTools, defineRuntimeTools taking (server, options: McpToolOptions)): Interact with a project runtime via options.manager.getManager(rootOrError).
  • Schema & project root: Always wrap tool inputs with getCommonSchema(options.explicitProjectRoot, { ... }) and resolve the root with resolveProjectRoot(options.explicitProjectRoot, opts, options.projectRoot) before accessing options.manager (see cli/src/mcp/flows.ts).
  • Analytics & errors: Record invocations with record(new McpRunToolEvent('<tool_name>')). Catch errors and return `{ isError: true, content: [{ type: 'text', text: `Error: ${formatMcpError(e)}` }] }` instead of throwing.
  • Registration: Wire new tool groups into startMcpServer() (and update server instructions if user-facing) in cli/src/mcp/server.ts.

Read the full file on GitHub · 25 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. today Changed · +1 lines ece0162cc493
  2. 7d ago First seen · 24 lines · 47 tokens per session scan A ea7c3163b111

Subscribe to this mod's changes

genkit-tools-cli is a skill published in the GitHub repository genkit-ai/genkit (6,653 stars, last pushed today), licensed Apache-2.0. It adds 47 tokens to every session and 643 once invoked, about $0.0002 per session on Opus 5.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-11-24.

Related

genkit-tools-cli compared with skills from other repositories

genkit-tools-cli next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
genkit-tools-cligenkit-ai/genkitSkill6.7ktodayApache-2.0A47Claude Code, Codex
emulate-seedyonatangross/orchestkitSkill312todayMITA47Claude Code
api-designyonatangross/orchestkitSkill312todayMITA47Claude Code
architecture-patternsyonatangross/orchestkitSkill312todayMITA37Claude Code
distributed-systemsyonatangross/orchestkitSkill312todayMITA48Claude Code
performanceyonatangross/orchestkitSkill312todayMITA40Claude Code
python-backendyonatangross/orchestkitSkill312todayMITA47Claude Code