# Google gemini API knowledge patch

> Google gemini API knowledge patch is an open-source agent skill for ai models and llm tooling. Build against the Gemini API with current SDK, Interactions and quota rules. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/Nevaberry/nevaberry-plugins/tree/main/plugins/knowledge-patch/patches-claude/google-gemini-api-knowledge-patch
- **Repository:** https://github.com/nevaberry/nevaberry-plugins
- **GitHub stars:** 25
- **License:** MIT
- **Skill name:** google-gemini-api-knowledge-patch
- **Collection:** https://github.com/Nevaberry/nevaberry-plugins
- **Categories:** [AI models and LLM tooling](https://ai-powered.com/categories/ai-and-llm), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-21

## About

A knowledge patch for building or reviewing applications that call the Gemini API, migrate to the Google Gen AI SDK, use Interactions, manage function calls or structured output, choose endpoints, or diagnose quota and billing. It tells the agent to prefer project manifests, runtime responses and tests where they disagree with the guidance, and to pin concrete endpoint IDs for reproducible workloads.

It flags that current Interactions responses expose typed steps rather than a flat outputs array. Reference files cover function calling and thought signatures, SDK migration, the Interactions API, limits and billing, models and lifecycle, and structured outputs.

## When your agent uses it

> Google Gemini API

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/Nevaberry/nevaberry-plugins/tree/HEAD/plugins/knowledge-patch/patches-claude/google-gemini-api-knowledge-patch)
- [License: MIT](https://github.com/Nevaberry/nevaberry-plugins/tree/HEAD/plugins/knowledge-patch/patches-claude/google-gemini-api-knowledge-patch)

## Features

- **Function calling:** Thought signature round trips, call ordering and streamed arguments.
- **SDK migration:** Package replacement, centralized clients and response shapes.
- **Interactions API:** Typed steps, continuation, SSE lifecycle and background agents.
- **Limits and billing:** Billing tiers, quotas, spend rate and batch pools.
- **Structured outputs:** Recursive schemas and supported schema subset.

## Good for

- Migrate to the Google Gen AI SDK
- Handle function-call signatures
- Diagnose a quota error
- Pin model endpoints for a workload

## Install

### Claude Code

This skill ships in the `knowledge-patch` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add Nevaberry/nevaberry-plugins
/plugin install knowledge-patch@nevaberry
```

Or copy only this skill to `~/.claude/skills/google-gemini-api-knowledge-patch`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Nevaberry/nevaberry-plugins.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/google-gemini-api-knowledge-patch &&
cp -R "$tmp/plugins/knowledge-patch/patches-claude/google-gemini-api-knowledge-patch" ~/.claude/skills/google-gemini-api-knowledge-patch &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/google-gemini-api-knowledge-patch` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/google-gemini-api-knowledge-patch` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Nevaberry/nevaberry-plugins.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/google-gemini-api-knowledge-patch &&
cp -R "$tmp/plugins/knowledge-patch/patches-claude/google-gemini-api-knowledge-patch" ~/.agents/skills/google-gemini-api-knowledge-patch &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/google-gemini-api-knowledge-patch` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/google-gemini-api-knowledge-patch` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Nevaberry/nevaberry-plugins.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/google-gemini-api-knowledge-patch &&
cp -R "$tmp/plugins/knowledge-patch/patches-claude/google-gemini-api-knowledge-patch" ~/.cursor/skills/google-gemini-api-knowledge-patch &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/google-gemini-api-knowledge-patch` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/Nevaberry/nevaberry-plugins.git --path plugins/knowledge-patch/patches-claude/google-gemini-api-knowledge-patch
```

Or copy the folder to `~/.gemini/skills/google-gemini-api-knowledge-patch` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/google-gemini-api-knowledge-patch`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Nevaberry/nevaberry-plugins.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/google-gemini-api-knowledge-patch &&
cp -R "$tmp/plugins/knowledge-patch/patches-claude/google-gemini-api-knowledge-patch" ~/.copilot/skills/google-gemini-api-knowledge-patch &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/google-gemini-api-knowledge-patch` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/Nevaberry/nevaberry-plugins.git
```

Then copy `nevaberry-plugins/plugins/knowledge-patch/patches-claude/google-gemini-api-knowledge-patch` into your agent's skills folder as `google-gemini-api-knowledge-patch`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What changed in Interactions responses?

They expose typed steps instead of a flat outputs array.

### What if the guidance disagrees with my project?

It says to prefer manifests, runtime responses and tests.

### Does Google gemini API knowledge patch cover billing?

Yes, including tiers, caps and quotas.

### How do I install Google gemini API knowledge patch in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/google-gemini-api-knowledge-patch to use it in all your projects, or to .claude/skills/google-gemini-api-knowledge-patch in one project. Or install the knowledge-patch plugin, which includes it: /plugin marketplace add Nevaberry/nevaberry-plugins, then /plugin install knowledge-patch@nevaberry.

### Does Google gemini API knowledge patch run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Google gemini API knowledge patch?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Google gemini API knowledge patch?

The closest alternatives to Google gemini API knowledge patch are Gemini interactions API, Gemini API, Agent platform inference, Gemini API dev and Agent platform migrate from AI studio.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Gemini interactions API](https://ai-powered.com/skills/gemini-interactions-api): Gemini interactions API is an open-source agent skill for ai models and llm tooling.
- [Gemini API](https://ai-powered.com/skills/gemini-api): Gemini API is an open-source agent skill for ai models and llm tooling.
- [Agent platform inference](https://ai-powered.com/skills/agent-platform-inference): Agent platform inference is an open-source agent skill for ai models and llm tooling.
- [Gemini API dev](https://ai-powered.com/skills/gemini-api-dev): Gemini API dev is an open-source agent skill for design and media.
- [Agent platform migrate from AI studio](https://ai-powered.com/skills/agent-platform-migrate-from-ai-studio): Agent platform migrate from AI studio is an open-source agent skill for cloud and infrastructure.
- [Gemini agents API](https://ai-powered.com/skills/gemini-agents-api): Gemini agents API is an open-source agent skill for ai models and llm tooling.
- [Gemini API CLI](https://ai-powered.com/skills/gemini-api-cli): Gemini API CLI is an open-source agent skill for design and media.
- [Gemini live API dev](https://ai-powered.com/skills/gemini-live-api-dev): Gemini live API dev is an open-source agent skill for design and media.

---
Source: https://ai-powered.com/skills/google-gemini-api-knowledge-patch
