Token导航 LogoToken导航TokenDH.com
前端设计敏感数据github未标认证来源可访问许可证需确认审计提醒

geminiGemini 助手

Agent Skill

gemini 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

396

周安装

16

GitHub Stars

4

下载量

124
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

用于接入 Google Gemini API 实现多模态交互和大上下文处理。

  • 适合长文本生成、图文混合输入及函数调用集成任务。
  • 支持高达 100 万 token 的上下文窗口和代码执行扩展功能。
  • 使用需配置 API 密钥并遵守 Google AI 内容政策与使用条款。
  • 涉及敏感信息时应注意数据脱敏和输出过滤机制设置。

SKILL.md

gemini

Purpose

This skill interfaces with the Google Gemini API to enable advanced AI interactions, focusing on multimodal inputs, extended context handling, and integrated features like function calling and code execution. Use it to extend OpenClaw's capabilities for complex tasks requiring large-scale context or multimedia processing.

When to Use

Use this skill for tasks involving long-form conversations (up to 1M tokens), multimodal data (e.g., text + images), or dynamic function calls. Ideal for code generation, data grounding, or API-based workflows in applications like chatbots, content analysis, or automated scripting. Avoid it for simple text-only tasks where lighter models suffice.

Key Capabilities

  • Multimodal support: Process text, images, and audio via the Gemini API; e.g., send an image URL with text for analysis.
  • Long context: Handle up to 1M tokens for extended conversations; specify context in requests to maintain state.
  • Function calling: Define and call external functions dynamically; use the API's tools parameter to specify functions.
  • Grounding: Integrate real-time data fetching for accurate responses; enable via the grounding config in requests.
  • Code execution: Generate and execute code snippets; ensure safe execution by wrapping in try-catch blocks.
  • API endpoints: Primary endpoint is https://generativelanguage.googleapis.com/v1beta/models/gemini-pro:generateContent for text generation.

Usage Patterns

To use this skill, first set the API key via environment variable (export GEMINI_API_KEY=your_key). Then, invoke it in OpenClaw by referencing the skill ID ("gemini") in your agent prompt. For API calls, structure requests as JSON payloads with authentication in the header. Pattern: Load the skill, prepare input data (e.g., multimodal array), send the request, and parse the response. Always check for rate limits by monitoring API responses. For repeated use, cache responses or use streaming for long contexts.

Common Commands/API

  • API Request: Use HTTP POST to https://generativelanguage.googleapis.com/v1beta/models/gemini-pro:generateContent with header Authorization: Bearer $GEMINI_API_KEY.
  • Example CLI via curl: curl -X POST -H "Authorization: Bearer $GEMINI_API_KEY" -H "Content-Type: application/json" -d '{"contents": [{"parts": [{"text": "Hello"}]}]}' https://generativelanguage.googleapis.com/v1beta/models/gemini-pro:generateContent
  • Function Calling: In payload, add "tools": [{"functionDeclarations": [...]}] to define functions; call with "parts": [{"functionCall": {"name": "functionName", "args": {}}}].
  • Code Snippet for Python integration: import requests response = requests.post('https://generativelanguage.googleapis.com/v1beta/models/gemini-pro:generateContent', headers={'Authorization': f'Bearer {os.environ["GEMINI_API_KEY"]}'}, json={'contents': [{'parts': [{'text': 'Generate code for a simple server'}]}]}) print(response.json())
  • Config Format: Use JSON for requests, e.g., {"contents": [{"parts": [{"text": "Prompt"}, {"inlineData": {"mimeType": "image/jpeg", "data": "base64encodedimage"}}]}] for multimodal.

Integration Notes

Integrate by loading the skill in OpenClaw with skill load gemini. Authentication requires setting $GEMINI_API_KEY as an environment variable; do not hardcode keys. For cluster integration (e.g., "community"), reference via OpenClaw's graph: skill link gemini to other_skill. Handle multimodal inputs by encoding files (e.g., base64 for images) and including in the "parts" array. Test locally with the Google AI SDK if available, but use direct API calls for production. Ensure your OpenClaw agent has network access for outbound requests.

Error Handling

Check HTTP status codes: 401 for auth issues (verify $GEMINI_API_KEY), 429 for rate limits (add retry logic with exponential backoff). Parse API errors from the response body, e.g., if "code" is 4, handle invalid input by validating prompts before sending. In code, wrap calls like:

try:
    response = requests.post(...)  # API call
    if response.status_code != 200:
        raise Exception(response.json()['error']['message'])
except Exception as e:
    print(f"Error: {e} - Retrying in 5 seconds")
    time.sleep(5)

Always log errors with context (e.g., prompt details) for debugging. For Gemini-specific errors, refer to Google's API docs for codes like "INVALID_ARGUMENT".

Graph Relationships

  • Related to: "google" (shares API ecosystem), "ai" (common AI capabilities), "multimodal" (overlaps with vision/image skills).
  • Connected via: "community" cluster (links to other community skills like openai for comparative use).
  • Dependencies: Requires external API access; no direct skill dependencies in OpenClaw graph.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.22%
按下载量换算45

Claude

28.67%
按下载量换算36

Cursor

16.74%
按下载量换算21

Gemini CLI

8.61%
按下载量换算11

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills