[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A5EA7KYY03CFWA3WX3NS79":3,"skill-same:01M7A5EA7KYY03CFWA3WX3NS79":59},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":6,"ownerHtmlUrl":35,"ownerBlogUrl":36,"ownerDescription":37,"updatedAt":38,"install":39,"resources":52},"01M7A5EA7KYY03CFWA3WX3NS79","gemini-interactions-api",null,"Use this skill when writing code that calls the Gemini API for text generation, multi-turn chat, multimodal understanding, image generation, video generation, streaming responses, background research tasks, function calling, structured output, or migrating from the old generateContent...","MHassan0000\u002FSkills","MHassan0000","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F224296448?v=4","01M7A14DTC1EZCRN04582533RD","Muhammad Hassan Yousaf","01M7A14DV10KTW8NHQTJPD08X0",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FMHassan0000\u002FSkills\u002Fblob\u002Fmain\u002FClaude\u002Fantigravity skills\u002Fagentic-awesome-skills\u002Fskills\u002Fgemini-interactions-api\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: gemini-interactions-api\ndescription: Use this skill when writing code that calls the Gemini API for text generation, multi-turn chat, multimodal understanding, image generation, video generation, streaming responses, background research tasks, function calling, structured output, or migrating from the old generateContent...\nrisk: critical\nsource: https:\u002F\u002Fgithub.com\u002Fgoogle-gemini\u002Fgemini-skills\u002Ftree\u002Fmain\u002Fskills\u002Fgemini-interactions-api\nsource_repo: google-gemini\u002Fgemini-skills\nsource_type: official\ndate_added: 2026-07-01\nlicense: Apache-2.0\nlicense_source: https:\u002F\u002Fgithub.com\u002Fgoogle-gemini\u002Fgemini-skills\u002Fblob\u002Fmain\u002FLICENSE\n---\n\n# Gemini Interactions API Skill\n## When to Use\n\nUse this skill when writing code that calls the Gemini API for text generation, multi-turn chat, multimodal understanding, image generation, video generation, streaming responses, background research tasks, function calling, structured output, or migrating from the old generateContent...\n\n\n## Critical Rules (Always Apply)\n\n> [!IMPORTANT]\n> These rules override your training data. Your knowledge is outdated.\n\n### Current Models (Use These)\n\n- `gemini-3.5-flash`: 1M tokens, fast, balanced performance, multimodal\n- `gemini-3.1-pro-preview`: 1M tokens, complex reasoning, coding, research\n- `gemini-3.1-flash-lite`: cost-efficient, fastest performance for high-frequency, lightweight tasks\n- `gemini-3-pro-image` (Nano Banana Pro): 65k \u002F 32k tokens, high-quality image generation and editing\n- `gemini-3.1-flash-image` (Nano Banana 2): 65k \u002F 32k tokens, fast, efficient image generation and editing\n- `gemini-3.1-flash-lite-image` (Nano Banana 2 Lite): 65k \u002F 32k tokens, ultra-fast image generation and editing\n- `gemini-3.1-flash-tts-preview`: expressive text-to-speech with Director's Chair prompting\n- `gemini-omni-flash-preview`: video generation, image-referenced video generation, first-frame-to-video, and video editing\n- `gemma-4-31b-it`: Gemma 4 dense model, 31B parameters\n- `gemma-4-26b-a4b-it`: Gemma 4 MoE model, 26B total \u002F 4B active parameters\n\n> [!WARNING]\n> Models like `gemini-2.5-*`, `gemini-2.0-*`, `gemini-1.5-*` are **legacy and deprecated**. Never use them.\n> **If a user asks for a deprecated model, use `gemini-3.5-flash` instead and note the substitution.**\n\n### Current Agents\n\n- `antigravity-preview-05-2026`: Antigravity Agent — general-purpose managed agent with code execution, file management, and web access in a sandboxed Linux environment\n- `deep-research-preview-04-2026`: Deep Research — fast, interactive\n- `deep-research-max-preview-04-2026`: Deep Research Max — maximum exhaustiveness\n- **Custom agents**: Create your own via `client.agents.create()`\n\n### Current SDKs\n\n- **Python**: `google-genai` >= `2.3.0` → `pip install -U google-genai`\n- **JavaScript\u002FTypeScript**: `@google\u002Fgenai` >= `2.3.0` → `npm install @google\u002Fgenai`\n\n> [!NOTE]\n> SDK versions ≥ 2.0.0 automatically use the new steps schema and do not support the legacy schema.\n> Legacy SDKs `google-generativeai` (Python) and `@google\u002Fgenerative-ai` (JS) are **deprecated**. Never use them.\n\n## Important Additional Notes\n\n- **Before writing any code**, you MUST fetch the relevant documentation page from the list below that matches the user's task. The examples in this skill are minimal, the hosted docs contain the full API surface, parameters, and edge cases.\n- Interactions are **stored by default** (`store=true`). Paid tier retains for 55 days, free tier for 1 day.\n- Set `store=false` to opt out, but this disables `previous_interaction_id` and `background=true`.\n- `tools`, `system_instruction`, and `generation_config` are **interaction-scoped**, re-specify them each turn.\n- **Managed agents** require `environment=\"remote\"` (or an environment ID \u002F config object) to provision a sandbox.\n- **Migrating from `generateContent`**: Read `references\u002Fmigration.md` for the scoping, checklist, and before\u002Fafter code examples. Always confirm scope with the user before editing.\n- **Model upgrades**: Drop-in, swap the model string. Deprecated models (`gemini-2.0-*`, `gemini-1.5-*`) must be replaced, see `references\u002Fmigration.md`.\n- **Migrating to Gemini 3.5 Flash**: Read `references\u002Fmigration.md` for the scoping and checklist.\n\n## Quick Start\n\n### Python\n```python\nfrom google import genai\n\nclient = genai.Client()\n\ninteraction = client.interactions.create(\n    model=\"gemini-3.5-flash\",\n    input=\"Tell me a short joke about programming.\"\n)\nprint(interaction.output_text)\n```\n\n### JavaScript\u002FTypeScript\n```typescript\nimport { GoogleGenAI } from \"@google\u002Fgenai\";\n\nconst client = new GoogleGenAI({});\n\nconst interaction = await client.interactions.create({\n    model: \"gemini-3.5-flash\",\n    input: \"Tell me a short joke about programming.\",\n});\nconsole.log(interaction.output_text);\n```\n\n## Response Helpers\n\nThe SDK provides convenience properties on the `Interaction` response object to simplify common access patterns:\n\n| Property | Type | Description |\n|---|---|---|\n| `output_text` | `string \\| null` | The last consecutive run of text from the trailing `model_output` steps. Returns the combined text when the model's final output contains multiple text parts. |\n| `output_image` | `Image \\| null` | The last image generated by the model in the current response. Returns an object with `data` (base64) and `mime_type`. |\n| `output_audio` | `Audio \\| null` | The last audio generated by the model in the current response. Returns an object with `data` (base64) and `mime_type`. |\n\n## Stateful Conversation\n\n### Python\n```python\ninteraction1 = client.interactions.create(\n    model=\"gemini-3.5-flash\",\n    input=\"Hi, my name is Phil.\"\n)\n# Second turn — server remembers context\ninteraction2 = client.interactions.create(\n    model=\"gemini-3.5-flash\",\n    input=\"What is my name?\",\n    previous_interaction_id=interaction1.id\n)\nprint(interaction2.output_text)\n```\n\n### JavaScript\u002FTypeScript\n```typescript\nconst interaction1 = await client.interactions.create({\n    model: \"gemini-3.5-flash\",\n    input: \"Hi, my name is Phil.\",\n});\nconst interaction2 = await client.interactions.create({\n    model: \"gemini-3.5-flash\",\n    input: \"What is my name?\",\n    previous_interaction_id: interaction1.id,\n});\nconsole.log(interaction2.output_text);\n```\n\n## Deep Research Agent\n\nUse `deep-research-preview-04-2026` for fast research or `deep-research-max-preview-04-2026` for maximum exhaustiveness. Agents require `background=True`.\n\n### Python\n```python\nimport time\n\ninteraction = client.interactions.create(\n    agent=\"deep-research-preview-04-2026\",\n    input=\"Research the history of Google TPUs.\",\n    background=True\n)\nwhile True:\n    interaction = client.interactions.get(interaction.id)\n    if interaction.status == \"completed\":\n        print(interaction.output_text)\n        break\n    elif interaction.status == \"failed\":\n        print(f\"Failed: {interaction.error}\")\n        break\n    time.sleep(10)\n```\n\n### JavaScript\u002FTypeScript\n```typescript\nimport { GoogleGenAI } from \"@google\u002Fgenai\";\n\nconst client = new GoogleGenAI({});\n\n\u002F\u002F Start background research\nconst initialInteraction = await client.interactions.create({\n    agent: \"deep-research-preview-04-2026\",\n    input: \"Research the history of Google TPUs.\",\n    background: true,\n});\n\n\u002F\u002F Poll for results\nwhile (true) {\n    const interaction = await client.interactions.get(initialInteraction.id);\n    if (interaction.status === \"completed\") {\n        console.log(interaction.output_text);\n        break;\n    } else if ([\"failed\", \"cancelled\"].includes(interaction.status)) {\n        console.log(`Failed: ${interaction.status}`);\n        break;\n    }\n    await new Promise(resolve => setTimeout(resolve, 10000));\n}\n```\n\nAdvanced features: collaborative planning, native visualization, MCP integration, file search, multimodal inputs. See [Deep Research docs](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fdeep-research.md.txt).\n\n## Managed Agents\n\nManaged agents run inside a sandboxed Linux environment hosted by Google. Fetch the [Managed Agents Quickstart](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fmanaged-agents-quickstart.md.txt) before writing agent code.\n\n### Antigravity Agent\n\nThe Antigravity agent (`antigravity-preview-05-2026`) is the general-purpose managed agent. It can execute code (Bash, Python, Node.js), manage files, browse the web, and use Google Search. See [Antigravity Agent docs](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fantigravity-agent.md.txt) for capabilities, tools, multimodal input, and pricing.\n\n#### Python\n```python\nfrom google import genai\n\nclient = genai.Client()\n\ninteraction = client.interactions.create(\n    agent=\"antigravity-preview-05-2026\",\n    input=\"Write a Python script that generates the first 20 Fibonacci numbers and saves them to fibonacci.txt. Then read the file and print its contents.\",\n    environment=\"remote\",\n)\n\nprint(f\"Environment ID: {interaction.environment_id}\")\nprint(interaction.output_text)\n```\n\n#### JavaScript\u002FTypeScript\n```typescript\nimport { GoogleGenAI } from \"@google\u002Fgenai\";\n\nconst client = new GoogleGenAI({});\n\nconst interaction = await client.interactions.create({\n    agent: \"antigravity-preview-05-2026\",\n    input: \"Write a Python script that generates the first 20 Fibonacci numbers and saves them to fibonacci.txt. Then read the file and print its contents.\",\n    environment: \"remote\",\n});\n\nconsole.log(`Environment ID: {interaction.environment_id}`);\nconsole.log(interaction.output_text);\n```\n\n### Custom Agents\n\nSee [Building Custom Agents docs](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fcustom-agents.md.txt).\n\n#### Python\n```python\nagent = client.agents.create(\n    id=\"code-reviewer\",\n    base_agent=\"antigravity-preview-05-2026\",\n    system_instruction=\"You are a senior code reviewer. Check every file for bugs, style issues, and security vulnerabilities.\",\n    base_environment={\n        \"type\": \"remote\",\n        \"sources\": [\n            {\n                \"type\": \"repository\",\n                \"source\": \"https:\u002F\u002Fgithub.com\u002Fmy-org\u002Fbackend\",\n                \"target\": \"\u002Fworkspace\u002Frepo\",\n            }\n        ],\n    },\n)\n\n# Invoke — each call forks the base environment\nresult = client.interactions.create(\n    agent=\"code-reviewer\",\n    input=\"Review the latest changes in \u002Fworkspace\u002Frepo\u002Fsrc.\",\n    environment=\"remote\",\n)\nprint(result.output_text)\n```\n\n#### JavaScript\u002FTypeScript\n```typescript\nconst agent = await client.agents.create({\n    id: \"code-reviewer\",\n    base_agent=\"antigravity-preview-05-2026\",\n    system_instruction: \"You are a senior code reviewer. Check every file for bugs, style issues, and security vulnerabilities.\",\n    base_environment: {\n        type: \"remote\",\n        sources: [\n            {\n                type: \"repository\",\n                source: \"https:\u002F\u002Fgithub.com\u002Fmy-org\u002Fbackend\",\n                target: \"\u002Fworkspace\u002Frepo\",\n            }\n        ],\n    },\n});\n\nconst result = await client.interactions.create({\n    agent: \"code-reviewer\",\n    input: \"Review the latest changes in \u002Fworkspace\u002Frepo\u002Fsrc.\",\n    environment: \"remote\",\n});\nconsole.log(result.output_text);\n```\n\nManage agents with `client.agents.list()`, `client.agents.get(id=...)`, and `client.agents.delete(id=...)`.\n\n## Streaming\n\nSet `stream=True` to receive incremental server-sent events. Each stream follows: `interaction.created` → (`step.start` → `step.delta`(s) → `step.stop`)+ → `interaction.completed`.\n\n### Python\n```python\nfor event in client.interactions.create(\n    model=\"gemini-3.5-flash\",\n    input=\"Explain quantum entanglement in simple terms.\",\n    stream=True,\n):\n    if event.event_type == \"step.delta\":\n        if event.delta.type == \"text\":\n            print(event.delta.text, end=\"\", flush=True)\n    elif event.event_type == \"interaction.completed\":\n        print(f\"\\n\\nTotal Tokens: {event.interaction.usage.total_tokens}\")\n```\n\n### JavaScript\u002FTypeScript\n```typescript\nconst stream = await client.interactions.create({\n    model: \"gemini-3.5-flash\",\n    input: \"Explain quantum entanglement in simple terms.\",\n    stream: true,\n});\nfor await (const event of stream) {\n    if (event.event_type === \"step.delta\") {\n        if (event.delta.type === \"text\") {\n            process.stdout.write(event.delta.text);\n        }\n    } else if (event.event_type === \"interaction.completed\") {\n        console.log(`\\n\\nTotal Tokens: ${event.interaction.usage.total_tokens}`);\n    }\n}\n```\n\nFor streaming with tools, thinking, agents, and image generation see the full [Streaming guide](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fstreaming.md.txt).\n\n\n\n## Documentation Pages\n\n**You MUST fetch the matching page below before writing code.** These hosted docs are the source of truth for parameters, types, and edge cases — do not rely solely on the examples above.\n\n**Core Documentation:**\n- [Interactions API Overview](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions.md.txt)\n- [Quickstart](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fquickstart.md.txt)\n- [Text Generation](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Ftext-generation.md.txt)\n- [Streaming](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fstreaming.md.txt)\n- [Tokens](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Ftokens.md.txt)\n- [API Keys](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fapi-key.md.txt)\n\n**Tools & Function Calling:**\n- [Function Calling](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Ffunction-calling.md.txt)\n- [Google Search](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fgoogle-search.md.txt)\n- [Code Execution](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fcode-execution.md.txt)\n- [URL Context](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Furl-context.md.txt)\n- [File Search](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Ffile-search.md.txt)\n- [Tool Combination](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Ftool-combination.md.txt)\n- [Computer Use](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fcomputer-use.md.txt)\n- [Maps Grounding](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fmaps-grounding.md.txt)\n\n**Generation & Output:**\n- [Structured Output](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fstructured-output.md.txt)\n- [Thinking](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fthinking.md.txt)\n- [Thought Signatures](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fthought-signatures.md.txt)\n- [Image Generation](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fimage-generation.md.txt)\n- [Image Understanding](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fimage-understanding.md.txt)\n- [Speech Generation](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fspeech-generation.md.txt)\n- [Music Generation](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fmusic-generation.md.txt)\n\n**Multimodal Understanding:**\n- [Audio](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Faudio.md.txt)\n- [Video Understanding](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fvideo-understanding.md.txt)\n- [Document Processing](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fdocument-processing.md.txt)\n\n**Files & Context:**\n- [Files](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Ffiles.md.txt)\n- [File Input Methods](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Ffile-input-methods.md.txt)\n- [Caching](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fcaching.md.txt)\n- [Media Resolution](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fmedia-resolution.md.txt)\n\n**Agents:**\n- [Agents Overview](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fagents.md.txt)\n- [Managed Agents Quickstart](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fmanaged-agents-quickstart.md.txt)\n- [Antigravity Agent](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fantigravity-agent.md.txt)\n- [Agent Environments](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fagent-environment.md.txt)\n- [Building Custom Agents](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fcustom-agents.md.txt)\n- [Deep Research](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fdeep-research.md.txt)\n\n**Advanced Features:**\n- [Gemini 3.5](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fwhats-new-gemini-3.5.md.txt)\n- [Gemini 3](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fgemini-3.md.txt)\n- [Flex Inference](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fflex-inference.md.txt)\n- [Priority Inference](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fpriority-inference.md.txt)\n\n**API Reference:**\n- [API Reference](https:\u002F\u002Fai.google.dev\u002Fstatic\u002Fapi\u002Finteractions.md.txt)\n- [OpenAPI Spec](https:\u002F\u002Fai.google.dev\u002Fstatic\u002Fapi\u002Finteractions.openapi.json)\n- [May 2026 Breaking Changes Migration Guide](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions-breaking-changes-may-2026.md.txt)\n\n## Data Model\n\nAn `Interaction` response contains `steps`, an array of typed step objects representing a structured timeline of the interaction turn.\n\n### Step Types\n\n**User steps:**\n- `user_input`: User input (text, audio, multimodal). Contains `content` array.\n\n**Model\u002Fserver steps:**\n- `model_output`: Final model generation. Contains `content` array with `text`, `image`, `audio`, etc.\n- `thought`: Model reasoning\u002FChain of Thought. Has `signature` field (required) and optional `summary`.\n- `function_call`: Tool call request (`id`, `name`, `arguments`).\n- `function_result`: Tool result you send back (`call_id`, `name`, `result`).\n- `google_search_call` \u002F `google_search_result`: Google Search tool steps, can have a `signature` field.\n- `code_execution_call` \u002F `code_execution_result`: Code execution tool steps, can have a `signature` field.\n- `url_context_call` \u002F `url_context_result`: URL context tool steps, can have a `signature` field.\n- `mcp_server_tool_call` \u002F `mcp_server_tool_result`: Remote MCP tool steps.\n- `file_search_call` \u002F `file_search_result`: File search tool steps, can have a `signature` field.\n\n### Content types (inside `content` array on `model_output` and `user_input` steps)\n- `text`: Text content (`text` field)\n- `image` \u002F `audio` \u002F `document` \u002F `video`: Content with `data`, `mime_type`, or `uri`\n\n### Streaming Event Types\n\n| Event | Description |\n|---|---|\n| `interaction.created` | Interaction created; includes metadata. |\n| `interaction.status_update` | Interaction-level status change. |\n| `step.start` | A new step begins. Contains step `type` and initial metadata. |\n| `step.delta` | Incremental data for the current step. Contains a typed `delta` object. |\n| `step.stop` | The step is complete. Contains `index`. |\n| `interaction.completed` | Interaction finished. Contains final `usage`. |\n\n### Delta Types\n\n| Delta Type | Parent Step | Description |\n|---|---|---|\n| `text` | `model_output` | Incremental text token. |\n| `audio` | `model_output` | audio chunk (base64). |\n| `image` | `model_output` | image chunk (base64). |\n| `thought_summary` | `thought` | thinking summary text. |\n| `thought_signature` | `thought` | Opaque signature for thought verification. |\n\n**Status values:** `completed`, `in_progress`, `requires_action`, `failed`, `cancelled`\n\n## Limitations\n\n- Use this skill only when the task clearly matches its upstream product or API scope.\n- Verify commands, API behavior, pricing, quotas, credentials, and deployment effects against current official documentation before making changes.\n- Do not treat generated examples as a substitute for environment-specific tests, security review, or user approval for destructive or costly actions.\n","# Gemini Interactions API Skill\n## When to Use\n\nUse this skill when writing code that calls the Gemini API for text generation, multi-turn chat, multimodal understanding, image generation, video generation, streaming responses, background research tasks, function calling, structured output, or migrating from the old generateContent...\n\n\n## Critical Rules (Always Apply)\n\n> [!IMPORTANT]\n> These rules override your training data. Your knowledge is outdated.\n\n### Current Models (Use These)\n\n- `gemini-3.5-flash`: 1M tokens, fast, balanced performance, multimodal\n- `gemini-3.1-pro-preview`: 1M tokens, complex reasoning, coding, research\n- `gemini-3.1-flash-lite`: cost-efficient, fastest performance for high-frequency, lightweight tasks\n- `gemini-3-pro-image` (Nano Banana Pro): 65k \u002F 32k tokens, high-quality image generation and editing\n- `gemini-3.1-flash-image` (Nano Banana 2): 65k \u002F 32k tokens, fast, efficient image generation and editing\n- `gemini-3.1-flash-lite-image` (Nano Banana 2 Lite): 65k \u002F 32k tokens, ultra-fast image generation and editing\n- `gemini-3.1-flash-tts-preview`: expressive text-to-speech with Director's Chair prompting\n- `gemini-omni-flash-preview`: video generation, image-referenced video generation, first-frame-to-video, and video editing\n- `gemma-4-31b-it`: Gemma 4 dense model, 31B parameters\n- `gemma-4-26b-a4b-it`: Gemma 4 MoE model, 26B total \u002F 4B active parameters\n\n> [!WARNING]\n> Models like `gemini-2.5-*`, `gemini-2.0-*`, `gemini-1.5-*` are **legacy and deprecated**. Never use them.\n> **If a user asks for a deprecated model, use `gemini-3.5-flash` instead and note the substitution.**\n\n### Current Agents\n\n- `antigravity-preview-05-2026`: Antigravity Agent — general-purpose managed agent with code execution, file management, and web access in a sandboxed Linux environment\n- `deep-research-preview-04-2026`: Deep Research — fast, interactive\n- `deep-research-max-preview-04-2026`: Deep Research Max — maximum exhaustiveness\n- **Custom agents**: Create your own via `client.agents.create()`\n\n### Current SDKs\n\n- **Python**: `google-genai` >= `2.3.0` → `pip install -U google-genai`\n- **JavaScript\u002FTypeScript**: `@google\u002Fgenai` >= `2.3.0` → `npm install @google\u002Fgenai`\n\n> [!NOTE]\n> SDK versions ≥ 2.0.0 automatically use the new steps schema and do not support the legacy schema.\n> Legacy SDKs `google-generativeai` (Python) and `@google\u002Fgenerative-ai` (JS) are **deprecated**. Never use them.\n\n## Important Additional Notes\n\n- **Before writing any code**, you MUST fetch the relevant documentation page from the list below that matches the user's task. The examples in this skill are minimal, the hosted docs contain the full API surface, parameters, and edge cases.\n- Interactions are **stored by default** (`store=true`). Paid tier retains for 55 days, free tier for 1 day.\n- Set `store=false` to opt out, but this disables `previous_interaction_id` and `background=true`.\n- `tools`, `system_instruction`, and `generation_config` are **interaction-scoped**, re-specify them each turn.\n- **Managed agents** require `environment=\"remote\"` (or an environment ID \u002F config object) to provision a sandbox.\n- **Migrating from `generateContent`**: Read `references\u002Fmigration.md` for the scoping, checklist, and before\u002Fafter code examples. Always confirm scope with the user before editing.\n- **Model upgrades**: Drop-in, swap the model string. Deprecated models (`gemini-2.0-*`, `gemini-1.5-*`) must be replaced, see `references\u002Fmigration.md`.\n- **Migrating to Gemini 3.5 Flash**: Read `references\u002Fmigration.md` for the scoping and checklist.\n\n## Quick Start\n\n### Python\n```python\nfrom google import genai\n\nclient = genai.Client()\n\ninteraction = client.interactions.create(\n    model=\"gemini-3.5-flash\",\n    input=\"Tell me a short joke about programming.\"\n)\nprint(interaction.output_text)\n```\n\n### JavaScript\u002FTypeScript\n```typescript\nimport { GoogleGenAI } from \"@google\u002Fgenai\";\n\nconst client = new GoogleGenAI({});\n\nconst interaction = await client.interactions.create({\n    model: \"gemini-3.5-flash\",\n    input: \"Tell me a short joke about programming.\",\n});\nconsole.log(interaction.output_text);\n```\n\n## Response Helpers\n\nThe SDK provides convenience properties on the `Interaction` response object to simplify common access patterns:\n\n| Property | Type | Description |\n|---|---|---|\n| `output_text` | `string \\| null` | The last consecutive run of text from the trailing `model_output` steps. Returns the combined text when the model's final output contains multiple text parts. |\n| `output_image` | `Image \\| null` | The last image generated by the model in the current response. Returns an object with `data` (base64) and `mime_type`. |\n| `output_audio` | `Audio \\| null` | The last audio generated by the model in the current response. Returns an object with `data` (base64) and `mime_type`. |\n\n## Stateful Conversation\n\n### Python\n```python\ninteraction1 = client.interactions.create(\n    model=\"gemini-3.5-flash\",\n    input=\"Hi, my name is Phil.\"\n)\n# Second turn — server remembers context\ninteraction2 = client.interactions.create(\n    model=\"gemini-3.5-flash\",\n    input=\"What is my name?\",\n    previous_interaction_id=interaction1.id\n)\nprint(interaction2.output_text)\n```\n\n### JavaScript\u002FTypeScript\n```typescript\nconst interaction1 = await client.interactions.create({\n    model: \"gemini-3.5-flash\",\n    input: \"Hi, my name is Phil.\",\n});\nconst interaction2 = await client.interactions.create({\n    model: \"gemini-3.5-flash\",\n    input: \"What is my name?\",\n    previous_interaction_id: interaction1.id,\n});\nconsole.log(interaction2.output_text);\n```\n\n## Deep Research Agent\n\nUse `deep-research-preview-04-2026` for fast research or `deep-research-max-preview-04-2026` for maximum exhaustiveness. Agents require `background=True`.\n\n### Python\n```python\nimport time\n\ninteraction = client.interactions.create(\n    agent=\"deep-research-preview-04-2026\",\n    input=\"Research the history of Google TPUs.\",\n    background=True\n)\nwhile True:\n    interaction = client.interactions.get(interaction.id)\n    if interaction.status == \"completed\":\n        print(interaction.output_text)\n        break\n    elif interaction.status == \"failed\":\n        print(f\"Failed: {interaction.error}\")\n        break\n    time.sleep(10)\n```\n\n### JavaScript\u002FTypeScript\n```typescript\nimport { GoogleGenAI } from \"@google\u002Fgenai\";\n\nconst client = new GoogleGenAI({});\n\n\u002F\u002F Start background research\nconst initialInteraction = await client.interactions.create({\n    agent: \"deep-research-preview-04-2026\",\n    input: \"Research the history of Google TPUs.\",\n    background: true,\n});\n\n\u002F\u002F Poll for results\nwhile (true) {\n    const interaction = await client.interactions.get(initialInteraction.id);\n    if (interaction.status === \"completed\") {\n        console.log(interaction.output_text);\n        break;\n    } else if ([\"failed\", \"cancelled\"].includes(interaction.status)) {\n        console.log(`Failed: ${interaction.status}`);\n        break;\n    }\n    await new Promise(resolve => setTimeout(resolve, 10000));\n}\n```\n\nAdvanced features: collaborative planning, native visualization, MCP integration, file search, multimodal inputs. See [Deep Research docs](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fdeep-research.md.txt).\n\n## Managed Agents\n\nManaged agents run inside a sandboxed Linux environment hosted by Google. Fetch the [Managed Agents Quickstart](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fmanaged-agents-quickstart.md.txt) before writing agent code.\n\n### Antigravity Agent\n\nThe Antigravity agent (`antigravity-preview-05-2026`) is the general-purpose managed agent. It can execute code (Bash, Python, Node.js), manage files, browse the web, and use Google Search. See [Antigravity Agent docs](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fantigravity-agent.md.txt) for capabilities, tools, multimodal input, and pricing.\n\n#### Python\n```python\nfrom google import genai\n\nclient = genai.Client()\n\ninteraction = client.interactions.create(\n    agent=\"antigravity-preview-05-2026\",\n    input=\"Write a Python script that generates the first 20 Fibonacci numbers and saves them to fibonacci.txt. Then read the file and print its contents.\",\n    environment=\"remote\",\n)\n\nprint(f\"Environment ID: {interaction.environment_id}\")\nprint(interaction.output_text)\n```\n\n#### JavaScript\u002FTypeScript\n```typescript\nimport { GoogleGenAI } from \"@google\u002Fgenai\";\n\nconst client = new GoogleGenAI({});\n\nconst interaction = await client.interactions.create({\n    agent: \"antigravity-preview-05-2026\",\n    input: \"Write a Python script that generates the first 20 Fibonacci numbers and saves them to fibonacci.txt. Then read the file and print its contents.\",\n    environment: \"remote\",\n});\n\nconsole.log(`Environment ID: {interaction.environment_id}`);\nconsole.log(interaction.output_text);\n```\n\n### Custom Agents\n\nSee [Building Custom Agents docs](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fcustom-agents.md.txt).\n\n#### Python\n```python\nagent = client.agents.create(\n    id=\"code-reviewer\",\n    base_agent=\"antigravity-preview-05-2026\",\n    system_instruction=\"You are a senior code reviewer. Check every file for bugs, style issues, and security vulnerabilities.\",\n    base_environment={\n        \"type\": \"remote\",\n        \"sources\": [\n            {\n                \"type\": \"repository\",\n                \"source\": \"https:\u002F\u002Fgithub.com\u002Fmy-org\u002Fbackend\",\n                \"target\": \"\u002Fworkspace\u002Frepo\",\n            }\n        ],\n    },\n)\n\n# Invoke — each call forks the base environment\nresult = client.interactions.create(\n    agent=\"code-reviewer\",\n    input=\"Review the latest changes in \u002Fworkspace\u002Frepo\u002Fsrc.\",\n    environment=\"remote\",\n)\nprint(result.output_text)\n```\n\n#### JavaScript\u002FTypeScript\n```typescript\nconst agent = await client.agents.create({\n    id: \"code-reviewer\",\n    base_agent=\"antigravity-preview-05-2026\",\n    system_instruction: \"You are a senior code reviewer. Check every file for bugs, style issues, and security vulnerabilities.\",\n    base_environment: {\n        type: \"remote\",\n        sources: [\n            {\n                type: \"repository\",\n                source: \"https:\u002F\u002Fgithub.com\u002Fmy-org\u002Fbackend\",\n                target: \"\u002Fworkspace\u002Frepo\",\n            }\n        ],\n    },\n});\n\nconst result = await client.interactions.create({\n    agent: \"code-reviewer\",\n    input: \"Review the latest changes in \u002Fworkspace\u002Frepo\u002Fsrc.\",\n    environment: \"remote\",\n});\nconsole.log(result.output_text);\n```\n\nManage agents with `client.agents.list()`, `client.agents.get(id=...)`, and `client.agents.delete(id=...)`.\n\n## Streaming\n\nSet `stream=True` to receive incremental server-sent events. Each stream follows: `interaction.created` → (`step.start` → `step.delta`(s) → `step.stop`)+ → `interaction.completed`.\n\n### Python\n```python\nfor event in client.interactions.create(\n    model=\"gemini-3.5-flash\",\n    input=\"Explain quantum entanglement in simple terms.\",\n    stream=True,\n):\n    if event.event_type == \"step.delta\":\n        if event.delta.type == \"text\":\n            print(event.delta.text, end=\"\", flush=True)\n    elif event.event_type == \"interaction.completed\":\n        print(f\"\\n\\nTotal Tokens: {event.interaction.usage.total_tokens}\")\n```\n\n### JavaScript\u002FTypeScript\n```typescript\nconst stream = await client.interactions.create({\n    model: \"gemini-3.5-flash\",\n    input: \"Explain quantum entanglement in simple terms.\",\n    stream: true,\n});\nfor await (const event of stream) {\n    if (event.event_type === \"step.delta\") {\n        if (event.delta.type === \"text\") {\n            process.stdout.write(event.delta.text);\n        }\n    } else if (event.event_type === \"interaction.completed\") {\n        console.log(`\\n\\nTotal Tokens: ${event.interaction.usage.total_tokens}`);\n    }\n}\n```\n\nFor streaming with tools, thinking, agents, and image generation see the full [Streaming guide](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fstreaming.md.txt).\n\n\n\n## Documentation Pages\n\n**You MUST fetch the matching page below before writing code.** These hosted docs are the source of truth for parameters, types, and edge cases — do not rely solely on the examples above.\n\n**Core Documentation:**\n- [Interactions API Overview](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions.md.txt)\n- [Quickstart](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fquickstart.md.txt)\n- [Text Generation](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Ftext-generation.md.txt)\n- [Streaming](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fstreaming.md.txt)\n- [Tokens](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Ftokens.md.txt)\n- [API Keys](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fapi-key.md.txt)\n\n**Tools & Function Calling:**\n- [Function Calling](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Ffunction-calling.md.txt)\n- [Google Search](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fgoogle-search.md.txt)\n- [Code Execution](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fcode-execution.md.txt)\n- [URL Context](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Furl-context.md.txt)\n- [File Search](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Ffile-search.md.txt)\n- [Tool Combination](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Ftool-combination.md.txt)\n- [Computer Use](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fcomputer-use.md.txt)\n- [Maps Grounding](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fmaps-grounding.md.txt)\n\n**Generation & Output:**\n- [Structured Output](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fstructured-output.md.txt)\n- [Thinking](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fthinking.md.txt)\n- [Thought Signatures](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fthought-signatures.md.txt)\n- [Image Generation](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fimage-generation.md.txt)\n- [Image Understanding](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fimage-understanding.md.txt)\n- [Speech Generation](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fspeech-generation.md.txt)\n- [Music Generation](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fmusic-generation.md.txt)\n\n**Multimodal Understanding:**\n- [Audio](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Faudio.md.txt)\n- [Video Understanding](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fvideo-understanding.md.txt)\n- [Document Processing](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fdocument-processing.md.txt)\n\n**Files & Context:**\n- [Files](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Ffiles.md.txt)\n- [File Input Methods](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Ffile-input-methods.md.txt)\n- [Caching](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fcaching.md.txt)\n- [Media Resolution](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fmedia-resolution.md.txt)\n\n**Agents:**\n- [Agents Overview](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fagents.md.txt)\n- [Managed Agents Quickstart](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fmanaged-agents-quickstart.md.txt)\n- [Antigravity Agent](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fantigravity-agent.md.txt)\n- [Agent Environments](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fagent-environment.md.txt)\n- [Building Custom Agents](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fcustom-agents.md.txt)\n- [Deep Research](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fdeep-research.md.txt)\n\n**Advanced Features:**\n- [Gemini 3.5](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fwhats-new-gemini-3.5.md.txt)\n- [Gemini 3](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fgemini-3.md.txt)\n- [Flex Inference](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fflex-inference.md.txt)\n- [Priority Inference](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fpriority-inference.md.txt)\n\n**API Reference:**\n- [API Reference](https:\u002F\u002Fai.google.dev\u002Fstatic\u002Fapi\u002Finteractions.md.txt)\n- [OpenAPI Spec](https:\u002F\u002Fai.google.dev\u002Fstatic\u002Fapi\u002Finteractions.openapi.json)\n- [May 2026 Breaking Changes Migration Guide](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions-breaking-changes-may-2026.md.txt)\n\n## Data Model\n\nAn `Interaction` response contains `steps`, an array of typed step objects representing a structured timeline of the interaction turn.\n\n### Step Types\n\n**User steps:**\n- `user_input`: User input (text, audio, multimodal). Contains `content` array.\n\n**Model\u002Fserver steps:**\n- `model_output`: Final model generation. Contains `content` array with `text`, `image`, `audio`, etc.\n- `thought`: Model reasoning\u002FChain of Thought. Has `signature` field (required) and optional `summary`.\n- `function_call`: Tool call request (`id`, `name`, `arguments`).\n- `function_result`: Tool result you send back (`call_id`, `name`, `result`).\n- `google_search_call` \u002F `google_search_result`: Google Search tool steps, can have a `signature` field.\n- `code_execution_call` \u002F `code_execution_result`: Code execution tool steps, can have a `signature` field.\n- `url_context_call` \u002F `url_context_result`: URL context tool steps, can have a `signature` field.\n- `mcp_server_tool_call` \u002F `mcp_server_tool_result`: Remote MCP tool steps.\n- `file_search_call` \u002F `file_search_result`: File search tool steps, can have a `signature` field.\n\n### Content types (inside `content` array on `model_output` and `user_input` steps)\n- `text`: Text content (`text` field)\n- `image` \u002F `audio` \u002F `document` \u002F `video`: Content with `data`, `mime_type`, or `uri`\n\n### Streaming Event Types\n\n| Event | Description |\n|---|---|\n| `interaction.created` | Interaction created; includes metadata. |\n| `interaction.status_update` | Interaction-level status change. |\n| `step.start` | A new step begins. Contains step `type` and initial metadata. |\n| `step.delta` | Incremental data for the current step. Contains a typed `delta` object. |\n| `step.stop` | The step is complete. Contains `index`. |\n| `interaction.completed` | Interaction finished. Contains final `usage`. |\n\n### Delta Types\n\n| Delta Type | Parent Step | Description |\n|---|---|---|\n| `text` | `model_output` | Incremental text token. |\n| `audio` | `model_output` | audio chunk (base64). |\n| `image` | `model_output` | image chunk (base64). |\n| `thought_summary` | `thought` | thinking summary text. |\n| `thought_signature` | `thought` | Opaque signature for thought verification. |\n\n**Status values:** `completed`, `in_progress`, `requires_action`, `failed`, `cancelled`\n\n## Limitations\n\n- Use this skill only when the task clearly matches its upstream product or API scope.\n- Verify commands, API behavior, pricing, quotas, credentials, and deployment effects against current official documentation before making changes.\n- Do not treat generated examples as a substitute for environment-specific tests, security review, or user approval for destructive or costly actions.\n",{"name":5,"risk":24,"source":25,"license":15,"date_added":26,"description":7,"source_repo":27,"source_type":28,"license_source":29},"critical","https:\u002F\u002Fgithub.com\u002Fgoogle-gemini\u002Fgemini-skills\u002Ftree\u002Fmain\u002Fskills\u002Fgemini-interactions-api",1782864000000,"google-gemini\u002Fgemini-skills","official","https:\u002F\u002Fgithub.com\u002Fgoogle-gemini\u002Fgemini-skills\u002Fblob\u002Fmain\u002FLICENSE","main","a4404a75dc81d6b7e58c5906b6aaffbcb5e84747","Claude\u002Fantigravity skills\u002Fagentic-awesome-skills\u002Fskills\u002Fgemini-interactions-api",0,"https:\u002F\u002Fgithub.com\u002FMHassan0000\u002FSkills","https:\u002F\u002Fgithub.com\u002FMHassan0000","https:\u002F\u002Fhassanyousaf.vercel.app","Full Stack Developer building web apps, SaaS, AI systems, and automations. Passionate about clean code, UI\u002FUX, backend systems, and turning ideas into products.","2026-08-07 20:42:05",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add MHassan0000\u002FSkills --skill gemini-interactions-api",{"tool":45,"command":46},"bunx","bunx skills add MHassan0000\u002FSkills --skill gemini-interactions-api",{"tool":48,"command":49},"pnpm","pnpm dlx skills add MHassan0000\u002FSkills --skill gemini-interactions-api","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMHassan0000\u002FSkills\u002Fblob\u002Fmain\u002FClaude\u002Fantigravity skills\u002Fagentic-awesome-skills\u002Fskills\u002Fgemini-interactions-api\u002FSKILL.md",true,[53],{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fmigration.md","REFERENCE","参考文档",7224,"https:\u002F\u002Fgithub.com\u002FMHassan0000\u002FSkills\u002Fblob\u002Fmain\u002FClaude\u002Fantigravity skills\u002Fagentic-awesome-skills\u002Fskills\u002Fgemini-interactions-api\u002Freferences\u002Fmigration.md",[60,68,75,82,90,98],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":64,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7AGBX58S04DX8DKKME8N311","vercel-react-best-practices","React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React\u002FNext.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.","MIT","https:\u002F\u002Fgithub.com\u002FMHassan0000\u002FSkills\u002Fblob\u002Fmain\u002FClaude\u002Fskills boraztunc github\u002Fvercel-react-best-practices\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":64,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7AGBREE890608Z7YDMAKH27","stop-slop","Remove AI writing patterns from prose. Use when drafting, editing, or reviewing text to eliminate predictable AI tells and produce more human-like writing.","https:\u002F\u002Fgithub.com\u002FMHassan0000\u002FSkills\u002Fblob\u002Fmain\u002FClaude\u002Fskills boraztunc github\u002Fstop-slop\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":64,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7AGAS972A2AN7Q5EW8HEAXK","ogilvy-copywriting","Apply David Ogilvy's advertising principles when writing or reviewing copy, headlines, product descriptions, landing pages, ads, emails, or any persuasive text. Use when the goal is copy that sells, not copy that wins awards. Covers positioning, headlines, promises, brand voice, long-form copy, and visual logic. Source: How to Create Advertising That Sells (1972) + Ogilvy on Advertising.","https:\u002F\u002Fgithub.com\u002FMHassan0000\u002FSkills\u002Fblob\u002Fmain\u002FClaude\u002Fskills boraztunc github\u002Fogilvy\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":86,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7AGAF12803G5JPVMK79AYJB","frontend-design","Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML\u002FCSS layouts, or when styling\u002Fbeautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.","https:\u002F\u002Fgithub.com\u002FMHassan0000\u002FSkills\u002Fblob\u002Fmain\u002FClaude\u002Fskills boraztunc github\u002Ffrontend-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FMHassan0000\u002FSkills\u002Fblob\u002Fmain\u002FClaude\u002Fskills boraztunc github\u002Ffrontend-design\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":94,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M7AG88WWVWCGJY9WA9CH7EY4","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002FMHassan0000\u002FSkills\u002Fblob\u002Fmain\u002FClaude\u002Fobra superpower skills\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FMHassan0000\u002FSkills\u002Fblob\u002Fmain\u002FClaude\u002Fobra superpower skills\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":102,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":19},"01M7AG7ZTNV7XQCWDQ9674FBYB","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","https:\u002F\u002Fgithub.com\u002FMHassan0000\u002FSkills\u002Fblob\u002Fmain\u002FClaude\u002Fobra superpower skills\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FMHassan0000\u002FSkills\u002Fblob\u002Fmain\u002FClaude\u002Fobra superpower skills\u002Fweb-artifacts-builder\u002FSKILL.md",[],[]]