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 Looker. These skills can be used with various AI agents, including Gemini CLI, Claude Code, and Codex, to explore data, manage dashboards, and develop LookML using natural language prompts.
Important
We Want Your Feedback! Please share your thoughts with us by filling out our feedback form. Your input is invaluable and helps us improve the project for everyone.
- Why Use Looker Agent Skills?
- Prerequisites
- Getting Started
- Usage Examples
- Supported Skills
- Troubleshooting
- Seamless Workflow: Integrates seamlessly into your AI agent's environment. No need to constantly switch contexts for common Looker tasks.
- Natural Language Queries: Stop wrestling with complex UI or LookML. Explore data and create content by describing what you want in plain English.
- Full Lifecycle Control: Manage your Looker environment, from exploring models to creating dashboards and authoring LookML.
- Accelerate Development: Speed up LookML development by asking your agent to generate or update files based on your requirements.
Before you begin, ensure you have the following:
- One of these AI agents installed
- Gemini CLI version v0.6.0 or higher
- Claude Code version v2.1.94 or higher
- Codex v0.117.0 or higher
- Antigravity v1.14.2 or higher
- A Looker instance and API credentials (Client ID and Client Secret).
Please keep these env vars handy during the installation process:
LOOKER_BASE_URL: The base URL of your Looker instance.LOOKER_CLIENT_ID: The Looker API client ID.LOOKER_CLIENT_SECRET: The Looker API client secret.LOOKER_VERIFY_SSL: (Optional) Whether to verify SSL certificates. Defaults totrue.LOOKER_SHOW_HIDDEN_MODELS: (Optional) Whether to show models that are hidden in the UI. Defaults totrue.LOOKER_SHOW_HIDDEN_EXPLORES: (Optional) Whether to show explores that are hidden in the UI. Defaults totrue.LOOKER_SHOW_HIDDEN_FIELDS: (Optional) Whether to show fields that are hidden in the UI. Defaults totrue.
To start interacting with Looker, 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.
Gemini CLI
1. Install the extension:
gemini extensions install https://github.com/gemini-cli-extensions/lookerDuring the installation, enter your environment vars as described in the configuration section.
2. (Optional) Manage Configuration: To view or update your configuration in Gemini CLI:
- Terminal:
gemini extensions config looker [setting name] [--scope <scope>] - Gemini CLI:
/extensions list
3. Start the agent:
gemini(Tip: Run /extensions list to verify your configuration and active extensions.)
Claude Code
1. Set env vars: In your terminal, set your environment vars as described in the configuration section.
2. Start the agent:
claude3. Add the marketplace:
/plugin marketplace add https://github.com/gemini-cli-extensions/looker.git#0.3.24. Install the plugin:
/plugin install looker@looker-marketplace(Tip: Run /plugin list inside Claude Code to verify the plugin is active, or /reload-plugins if you just installed it.)
Codex
1. Clone the Repo:
git clone --branch 0.3.2 git@github.com:gemini-cli-extensions/looker.git2. Install the plugin:
mkdir -p ~/.codex/plugins
cp -R /absolute/path/to/looker ~/.codex/plugins/looker3. Set env vars: Enter your environment vars as described in the configuration section.
4. Create or update marketplace.json:
~/.agents/plugins/marketplace.json
{
"name": "my-data-cloud-google-marketplace",
"interface": {
"displayName": "Google Data Cloud Skills"
},
"plugins": [
{
"name": "looker",
"source": {
"source": "local",
"path": "./plugins/looker"
},
"policy": {
"installation": "AVAILABLE",
"authentication": "ON_INSTALL"
},
"category": "Data Analytics"
}
]
}(Tip: Run codex plugin list or use the /plugins interactive menu to verify your installed plugins.)
Antigravity
1. Clone the Repo:
git clone --branch 0.3.2 https://github.com/gemini-cli-extensions/looker.git2. 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 looker/skills/* ~/.gemini/antigravity/skills/3. Set env vars: Set your environment vars as described in the configuration section.
(Tip: Antigravity automatically discovers skills in these directories at the start of a session.)
Interact with Looker using natural language:
- Explore Data:
- "Show me the top 10 products by sales in the last month."
- "What is the average order value by region?"
- Manage Content:
- "Create a new dashboard titled 'Executive Overview' with tiles for revenue and user growth."
- "Find all dashboards related to 'Marketing' and list their tiles."
- Develop LookML:
- "Create a new view for the 'users' table in the 'e-commerce' project."
- "Add a new measure 'total_revenue' to the 'orders' view."
The following skills are available in this repository:
- Looker - These skills are designed for data discovery and business intelligence.
- Looker Development - These skills are built for LookML developers, data engineers, and administrators who manage the backbone of Looker.
Use the debug mode of your agent (e.g., gemini --debug) to enable debugging.
Common issues:
- "✖ 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 /Users/USER/.gemini/extensions/cloud-sql-sqlserver/toolbox ENOENT": The Toolbox binary did not download correctly. Ensure you are using Gemini CLI v0.6.0+.
- "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.