Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here
firestore-native logo

firestore-native

claude-plugins-official

databaseClaude Codeby Google LLC

Summary

Connect and interact with Firestore databases, collections, and documents.

Install to Claude Code

/plugin install firestore-native@claude-plugins-official

Run in Claude Code. Add the marketplace first with /plugin marketplace add anthropics/claude-plugins-official if you haven't already.

README.md

Firestore Native Agent Skills

> [!NOTE] > Currently in beta (pre-v1.0), and may see breaking changes until the first stable release (v1.0).

This repository provides a set of agent skills to interact with Firestore databases. These skills can be used with various AI agents, including Antigravity, Claude Code and Codex, to manage your databases, collections, and documents using natural language prompts.

> [!IMPORTANT] > We Want Your Feedback! > Please share your thoughts with us by filling out our feedback [form][form]. > Your input is invaluable and helps us improve the project for everyone.

[form]: https://docs.google.com/forms/d/e/1FAIpQLSfEGmLR46iipyNTgwTmIDJqzkAwDPXxbocpXpUbHXydiN1RTw/viewform?usp=pp_url&entry.157487=firestore-native

Table of Contents

Why Use Firestore Native Agent Skills?

  • Seamless Workflow: Integrates seamlessly into your AI agent's environment. No need to constantly switch contexts for common database tasks.
  • Natural Language Queries: Stop wrestling with complex commands. Explore schemas and query data by describing what you want in plain English.
  • Data Management: Manage your Firestore data directly from your agent.
  • Code Generation: Accelerate development by asking your agent to generate data classes and other code snippets based on your document structures.

📺 Video Walkthrough

Follow this step-by-step video walkthrough to setup and use the Firestore Native Extension. <p align="center"> <a href="https://youtu.be/mQGIANnQnCI"><img src="https://github.com/user-attachments/assets/feb798ad-8963-47c0-abf2-f34b4b847bca" alt="Video Tutorial" width="50%" /></a> </p>

Prerequisites

Before you begin, ensure you have the following:

  • One of these AI agents installed
  • Antigravity
  • Antigravity CLI version v1.6.0 or higher
  • Antigravity 2.0 version v2.0.0 or higher.
  • Claude Code version v2.1.94 or higher.
  • Codex v0.117.0 or higher.
  • A Google Cloud project with the Firestore API enabled.
  • Ensure Application Default Credentials are available in your environment.
  • IAM Permissions:
  • Cloud Datastore User (roles/datastore.user)
  • Firebase Rules Viewer (roles/firebaserules.viewer)

Getting Started

Configuration

Please keep these env vars handy during the installation process:

  • FIRESTORE_PROJECT: The GCP project ID.
  • FIRESTORE_DATABASE: (Optional) The Firestore database ID. Defaults to (default).

> [!NOTE] > > - Ensure Application Default Credentials are available in your environment.

Installation & Usage

To start interacting with your database, install the skills for your preferred AI agent, then launch the agent and use natural language to ask questions or perform tasks.

For the latest version, check the [releases page][releases].

[releases]: https://github.com/gemini-cli-extensions/firestore-native/releases

<!-- {x-release-please-start-version} -->

<details open> <summary id="antigravity">Antigravity</summary>

You can use either of these two agents for Antigravity:

<blockquote> 💡 <strong>Tip — Migrating from Gemini CLI?</strong><br> If you previously installed this extension with <code>gemini extensions install</code>, you can convert it to an Antigravity plugin instead of reinstalling from scratch: <ul> <li><strong>On first launch of Antigravity CLI</strong>, accept the Migration Options prompt to automatically convert your installed Gemini CLI extensions to Antigravity plugins.</li> <li><strong>Or, from your terminal</strong>, run: <pre><code class="language-bash">agy plugin import gemini</code></pre> </li> </ul> See <a href="https://antigravity.google/docs/gcli-migration">Migrating from Gemini CLI</a> for details on plugins, context files (<code>GEMINI.md</code> / <code>AGENTS.md</code>), and MCP server config differences. </blockquote>

Antigravity 2.0 (IDE)

1. Clone the Repo:

git clone --branch 0.3.4 https://github.com/gemini-cli-extensions/firestore-native.git

2. Install the skills:

Choose a location for the skills:

  • Global (all workspaces): ~/.gemini/antigravity/skills/
  • Workspace-specific: <workspace-root>/.agents/skills/

Copy the skill folders from the cloned repository's skills/ directory to your chosen location:

cp -R firestore-native/skills/* ~/.gemini/antigravity/skills/

3. Set env vars: Set your environment vars as described in the configuration section.

_(Tip: Antigravity 2.0 automatically discovers skills in these directories at the start of a session. You can verify they are active by running the /skills command in your active session.)_

Antigravity CLI

You can install plugins directly from a remote GitHub repository.

1. Install the plugin:

agy plugin install https://github.com/gemini-cli-extensions/firestore-native

2. Set env vars: Set your environment vars as described in the configuration section.

</details>

<details> <summary id="claude-code">Claude Code</summary>

1. Set env vars: In your terminal, set your environment vars as described in the configuration section.

2. Start the agent:

claude

3. Add the marketplace:

/plugin marketplace add https://github.com/gemini-cli-extensions/firestore-native.git#0.3.4

4. Install the plugin:

/plugin install firestore-native@firestore-native-marketplace

_(Tip: Run /plugin list inside Claude Code to verify the plugin is active, or /reload-plugins if you just installed it.)_

</details>

<details> <summary id="codex">Codex</summary>

1. Install marketplace:

codex plugin marketplace add GoogleCloudPlatform/data-agent-kit

2. Install the plugin:

codex plugin add firestore-native@data-agent-kit

3. Set env vars: Enter your environment vars as described in the configuration section.

4. (Optional) Update the marketplace:

codex plugin marketplace upgrade data-agent-kit

</details>

Installing using open agent skills tool

You can install skills using the npx skills command.

Run the following command in your terminal to automatically download and register the skills:

npx skills add https://github.com/gemini-cli-extensions/firestore-native/tree/0.3.4

For detailed info check out the Skills npm package.

2. Set env vars: Set your environment vars as described in the configuration section.

<!-- {x-release-please-end} -->

Usage Examples

Interact with Firestore using natural language:

  • Document and Data Retrieval:
  • "Show me the Firestore data for the test users qa_user_123 and qa_user_456 from the users-staging collection."
  • "Find all users in the users-staging collection whose wishlist contains product-glasses."
  • Document Updates and Cleanup:
  • "For all 20 test users you just found, please remove product-glasses(inactive) from their wishlist."
  • "Update the document with ID order-987 in the orders collection to set the status to 'Shipped'."

Supported Skills

The following skills are available in this repository:

  • Firestore Data - Handles NoSQL document operations and collection hierarchy exploration. Use for CRUD tasks and data retrieval. Provides flexible document manipulation and structured querying.

Additional Agent Skills

Find additional skills to support your entire software development lifecycle at github.com/gemini-cli-extensions.

Troubleshooting

Use the debug mode of your agent (e.g., gemini --debug) to enable debugging.

Common issues:

  • "failed to find default credentials: google: could not find default credentials.": Ensure Application Default Credentials are available in your environment. See Set up Application Default Credentials for more information.
  • "✖ Error during discovery for server: MCP error -32000: Connection closed": The database connection has not been established. Ensure your configuration is set via environment variables.
  • "✖ MCP ERROR: Error: spawn .../toolbox ENOENT": The Toolbox binary did not download correctly. Ensure you are using the latest version of your agent.
  • "cannot execute binary file": The Toolbox binary did not download correctly. Ensure the correct binary for your OS/Architecture has been downloaded. See Installing the server for more information.

Related plugins

Browse all →