Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计通过

google-aiGoogle AI 搜索

Agent Skill

google-ai 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

367

周安装

15

GitHub Stars

4

下载量

118
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:google-ai(Google AI 搜索)
来源仓库:https://github.com/alphaonedev/openclaw-graph
仓库路径:skills/google-ai
安装命令:
npx skills add https://github.com/alphaonedev/openclaw-graph --skill google-ai
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/alphaonedev/openclaw-graph --skill google-ai

简介

google-ai 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 适用于关键词搜索、任务场景匹配或来源线索梳理等研究检索需求。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装并使用。
  • 安装前需确认权限范围、维护状态,以及是否会触发联网或文件操作。
  • google-ai 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

google-ai

Purpose

This skill enables interaction with Google's Gemini API, allowing access to Pro, Flash, and Ultra models for tasks like text generation, chat, and embedding with up to 1M token context. It's designed for integrating advanced AI capabilities into applications via RESTful endpoints.

When to Use

Use this skill when you need large-context AI processing, such as summarizing long documents, generating code from detailed specs, or handling multi-turn conversations. Apply it in scenarios requiring Google-specific models, like when OpenAI alternatives are insufficient or when integrating with Google Cloud ecosystems.

Key Capabilities

  • Access Gemini Pro for general tasks, Flash for faster inference, and Ultra for complex reasoning.
  • Handle contexts up to 1M tokens, ideal for processing books or codebases.
  • Support multimodal inputs (text, images) via specific endpoints.
  • Embeddings generation for semantic search, using models like text-embedding-004.
  • Rate limiting and quotas managed per API key, with up to 1,000 requests per minute.

Usage Patterns

Always initialize with authentication via the $GOOGLE_API_KEY environment variable. For OpenClaw, invoke this skill by prefixing commands with the skill ID, e.g., google-ai generate. Use JSON payloads for requests and handle responses as JSON objects. Pattern: Set up a request with model selection, then send via HTTP POST; parse the response for output. For repeated use, cache API responses to avoid rate limits.

Common Commands/API

The primary endpoint is https://generativelanguage.googleapis.com/v1beta/models/{model}:generateContent. Use HTTP POST requests with a JSON body. For example:

{
  "contents": [{"parts": [{"text": "Write a function for sorting arrays"}]}]
}

CLI example: Run curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer $GOOGLE_API_KEY" -d '{"contents": [{"parts": [{"text": "Hello"}]}]}' https://generativelanguage.googleapis.com/v1beta/models/gemini-pro:generateContent. Common flags: --model gemini-pro for model selection, or --max-tokens 1024 to limit output. For embeddings, use https://generativelanguage.googleapis.com/v1beta/models/{model}:embedContent with payload like:

{
  "model": "models/text-embedding-004",
  "content": "Embed this text"
}

In OpenClaw, execute via google-ai embed --text "Sample text" --model text-embedding-004.

Integration Notes

Set the $GOOGLE_API_KEY as an environment variable before use, e.g., export GOOGLE_API_KEY=your_api_key. In OpenClaw configs, add under [skills] section: google-ai = {api_key = "$GOOGLE_API_KEY", default_model = "gemini-pro"}. Ensure your project is enabled in Google Cloud Console under AI Studio. For asynchronous operations, use webhooks or polling; integrate with other skills by chaining outputs, e.g., pipe google-ai results to a search skill. Handle retries with exponential backoff for transient errors.

Error Handling

Check HTTP status codes: 401 for invalid API key (re-authenticate using $GOOGLE_API_KEY), 429 for rate limits (wait and retry with a delay). Parse JSON errors for details, e.g., if "code": "INVALID_ARGUMENT", validate your request body. In OpenClaw, wrap commands in try-catch blocks: e.g., try {execute "google-ai generate"} catch {log error and retry after 5 seconds}. Always validate inputs to avoid 400 errors, such as ensuring model names match exactly (e.g., "gemini-1.0-pro").

Concrete Usage Examples

  1. Generate code: To create a Python function, use google-ai generate --model gemini-pro --prompt "Write a function to merge two sorted lists". This sends a POST to the endpoint and returns the code snippet.
  2. Embed text for search: For semantic similarity, run google-ai embed --model text-embedding-004 --text "Example query", then compare embeddings in your application using cosine similarity.

Graph Relationships

  • Cluster: Connected to "ai-apis" for shared AI endpoint handling.
  • Tags: Linked to "ai-apis" and "api" for discoverability in API-related skills.
  • Related Skills: Integrates with "openai" for model comparisons; depends on "google-cloud" for authentication flows.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.98%
按下载量换算41

Claude

31.78%
按下载量换算38

Cursor

19.23%
按下载量换算23

Gemini CLI

9.84%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills