[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BVCASSN4HKGP1AXKWWW7DP":3,"skill-same:01M7BVCASSN4HKGP1AXKWWW7DP":51},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7BVCASSN4HKGP1AXKWWW7DP","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 API. This skill covers the Interactions API, the recommended way to use Gemini models and agents in Python and TypeScript.","nguyenhungtran18\u002Fskill-and-tool-tracker","nguyenhungtran18","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F297063550?v=4","01M7BV0BFPRRFP84F2ME0FYZ9D","01M7BV0BG83FA5P22NJV0GR0A5",1,"MIT","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\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 API. This skill covers the Interactions API, the recommended way to use Gemini models and agents in Python and TypeScript.\n---\n\n# Gemini Interactions API Skill\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.7-flash`: 1M tokens, fast, balanced performance for agentic and multimodal tasks\n- `gemini-3.5-flash-lite`: 1M tokens, fastest, lowest-cost 3.5 model for high-throughput execution\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.7-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.7 Flash or Gemini 3.5 Flash-Lite**: 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.7-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.7-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.7-flash\",\n    input=\"Hi, my name is Phil.\"\n)\n# Second turn — server remembers context\ninteraction2 = client.interactions.create(\n    model=\"gemini-3.7-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.7-flash\",\n    input: \"Hi, my name is Phil.\",\n});\nconst interaction2 = await client.interactions.create({\n    model: \"gemini-3.7-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.7-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.7-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- [Latest Models (3.7 Flash & 3.5 Flash-Lite)](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Flatest-model.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","# Gemini Interactions API Skill\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.7-flash`: 1M tokens, fast, balanced performance for agentic and multimodal tasks\n- `gemini-3.5-flash-lite`: 1M tokens, fastest, lowest-cost 3.5 model for high-throughput execution\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.7-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.7 Flash or Gemini 3.5 Flash-Lite**: 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.7-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.7-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.7-flash\",\n    input=\"Hi, my name is Phil.\"\n)\n# Second turn — server remembers context\ninteraction2 = client.interactions.create(\n    model=\"gemini-3.7-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.7-flash\",\n    input: \"Hi, my name is Phil.\",\n});\nconst interaction2 = await client.interactions.create({\n    model: \"gemini-3.7-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.7-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.7-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- [Latest Models (3.7 Flash & 3.5 Flash-Lite)](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Flatest-model.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",{"name":5,"description":7},"main","900ea3c9eb045fd5b0317dc1103777ecf3ea4aeb","skills\u002Fgemini-interactions-api",0,"https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker","https:\u002F\u002Fnguyenhungtran18.github.io\u002Fskill-and-tool-tracker\u002F","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18","2026-08-31 18:36:09",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add nguyenhungtran18\u002Fskill-and-tool-tracker --skill gemini-interactions-api",{"tool":37,"command":38},"bunx","bunx skills add nguyenhungtran18\u002Fskill-and-tool-tracker --skill gemini-interactions-api",{"tool":40,"command":41},"pnpm","pnpm dlx skills add nguyenhungtran18\u002Fskill-and-tool-tracker --skill gemini-interactions-api","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fgemini-interactions-api\u002FSKILL.md",true,[45],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"references\u002Fmigration.md","REFERENCE","参考文档",7858,"https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fgemini-interactions-api\u002Freferences\u002Fmigration.md",[52,59,66,73,80,87],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":18},"01M7BVP4P83TK60JZ4P8RP9VP7","xcode-project-setup","Safely modifies Xcode projects (.pbxproj) to add Swift Packages and link files. Use this skill whenever an iOS project needs dependencies installed (e.g. Firebase, Alamofire).","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fxcode_project_setup\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":18},"01M7BVP01K4CSJJ8G90FT8S2D5","writing-skills","Use when creating new skills, editing existing skills, or verifying skills work before deployment","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-skills\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":18},"01M7BVNY22GXD871GYTSH599F1","writing-plans","Use when you have a spec or requirements for a multi-step task, before touching code","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M7BVNQWF24RNKA8A4KM2HJ3T","workflow-skill-creator","Distills a completed user workflow or interaction into a reusable agent skill. Use when the user asks to turn their workflow, interaction, or multi-step process into a skill, or when they say \"make this a skill\", \"create a skill from what we just did\", \"package this workflow\" or similar. Do not use for creating skills from scratch without an existing workflow (use a generic skill-creator for that).","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow_skill_creator\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":18},"01M7BVNNY67XPCQAQHY3FBKDGC","verify-and-stop","Prove existing work meets acceptance conditions without expanding scope. Use for validation-only tasks, completion checks, focused gate runs, and last-mile proof.","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fverify-and-stop\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":18},"01M7BVNKB4Z7SZT85B73ZZ90Y6","verification-before-completion","Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fverification-before-completion\u002FSKILL.md",[],[]]