@google/gemini-cli 0.56.0-nightly.20260819.g571851b10 → 0.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/builtin/antigravity-support/SKILL.md +18 -55
- package/bundle/builtin/skill-creator/SKILL.md +84 -221
- package/bundle/{chunk-DHNIDOMO.js → chunk-3KYPKZPU.js} +1 -1
- package/bundle/{chunk-A6OBTLES.js → chunk-3YGHKCB7.js} +1 -1
- package/bundle/{chunk-YRG55GQP.js → chunk-435NYDJB.js} +1 -1
- package/bundle/{chunk-DDFGDZVA.js → chunk-7IXYIWSX.js} +9 -10
- package/bundle/{chunk-I77EOOMC.js → chunk-BIPFNROE.js} +1 -1
- package/bundle/{chunk-ZJFBCVP5.js → chunk-C5FHWCAU.js} +1 -1
- package/bundle/{chunk-BYJTPLJS.js → chunk-CNSLGANE.js} +9 -10
- package/bundle/{chunk-LHIEWFVI.js → chunk-DGFXNTHD.js} +1 -1
- package/bundle/{chunk-4Y7XUQJF.js → chunk-HAZMOWRC.js} +1 -1
- package/bundle/{chunk-AYDX2F4U.js → chunk-IG5K7R25.js} +1 -1
- package/bundle/{chunk-L3WPSCG5.js → chunk-ISEPPPFO.js} +2 -2
- package/bundle/{chunk-NNKV7KBA.js → chunk-JFVPVDW6.js} +8 -9
- package/bundle/{chunk-2CM2ISGG.js → chunk-KUIZDCN6.js} +5 -8
- package/bundle/{chunk-KWHYY6HA.js → chunk-LZUWGCRJ.js} +1323 -1577
- package/bundle/{chunk-EGQJ6N5I.js → chunk-M6D6BI7B.js} +2 -2
- package/bundle/{chunk-DGTEAGBE.js → chunk-MKKOABMJ.js} +3 -3
- package/bundle/{chunk-O7AINLFV.js → chunk-MYCBWRZE.js} +1341 -1621
- package/bundle/{chunk-VWQNVVR2.js → chunk-NUVMJEWM.js} +15560 -9166
- package/bundle/{chunk-BYQV4UCZ.js → chunk-R34LMPUE.js} +56 -70
- package/bundle/{chunk-EJSX75WM.js → chunk-TV27OEQP.js} +2 -2
- package/bundle/{chunk-2ANW6PCI.js → chunk-VBIDFL63.js} +1 -1
- package/bundle/{chunk-BHBJ5Q4I.js → chunk-Y3KSGWY2.js} +3 -3
- package/bundle/{chunk-PBTMCKM4.js → chunk-Y734TK7O.js} +1 -1
- package/bundle/{chunk-MQUHR2JY.js → chunk-ZXYNNAXR.js} +3 -3
- package/bundle/{cleanup-OMWBC7XL.js → cleanup-IZHI7N6V.js} +2 -2
- package/bundle/{cleanup-QX2Y63NU.js → cleanup-JZLQPF2L.js} +2 -2
- package/bundle/{cleanup-S43XTKYZ.js → cleanup-LJAAR5DT.js} +2 -2
- package/bundle/{core-QWXEWNPX.js → core-BQJQAXVF.js} +1 -3
- package/bundle/{dist-EAJSSGD5.js → core-TJ2XBV6Y.js} +1 -3
- package/bundle/{devtoolsService-3JRKD7LU.js → devtoolsService-BFW3BN3D.js} +2 -2
- package/bundle/{devtoolsService-ITQ63DVH.js → devtoolsService-KFURCXJN.js} +2 -2
- package/bundle/{devtoolsService-H627QMFP.js → devtoolsService-NWA77XKC.js} +3 -4
- package/bundle/{dist-EV32B5IV.js → dist-7KO3HJ4C.js} +1 -3
- package/bundle/docs/changelogs/latest.md +3 -224
- package/bundle/docs/get-started/authentication.mdx +1 -1
- package/bundle/docs/reference/commands.md +5 -7
- package/bundle/{gemini-KB2EF6VV.js → gemini-2RHAL2LS.js} +16 -19
- package/bundle/{gemini-R5XWLUX3.js → gemini-54R2PJOR.js} +200 -219
- package/bundle/{gemini-IKDSP3D5.js → gemini-KK7AERSF.js} +16 -19
- package/bundle/gemini.js +7 -7
- package/bundle/{interactiveCli-RC5UM37I.js → interactiveCli-BAGEJ4VO.js} +20 -28
- package/bundle/{interactiveCli-OKZ4UZOL.js → interactiveCli-F5YXG24U.js} +308 -335
- package/bundle/{interactiveCli-XBPMARXN.js → interactiveCli-QBZRIN4M.js} +20 -28
- package/bundle/{liteRtServerManager-7NKIYJOK.js → liteRtServerManager-7LTDMYKI.js} +4 -4
- package/bundle/{liteRtServerManager-SPRDKN4Y.js → liteRtServerManager-CYBHL4LH.js} +4 -4
- package/bundle/{liteRtServerManager-ZINDZCH6.js → liteRtServerManager-DMTHAOJH.js} +4 -4
- package/bundle/{oauth2-provider-O4B2WU5Y.js → oauth2-provider-HNMIIJDH.js} +1 -1
- package/bundle/{oauth2-provider-CU7LKJ2Q.js → oauth2-provider-NOSS4GIR.js} +72 -38
- package/bundle/{oauth2-provider-5SSPDCDC.js → oauth2-provider-S2564L6K.js} +1 -1
- package/bundle/{start-AGQMU23N.js → start-5F3JQ7EX.js} +6 -6
- package/bundle/{start-KZHMN7UC.js → start-L2WLGVI3.js} +6 -6
- package/bundle/{start-QFZMGQ64.js → start-UGLCJG5Y.js} +6 -6
- package/package.json +1 -1
- package/bundle/chunk-52VDCOQH.js +0 -397499
- package/bundle/chunk-CADW3MOS.js +0 -17332
- package/bundle/chunk-CDDWP42F.js +0 -118
- package/bundle/chunk-KAYTIG2K.js +0 -398
- package/bundle/chunk-MJAQOBRA.js +0 -102506
- package/bundle/chunk-UAOUJ2HZ.js +0 -154
- package/bundle/chunk-VXQKANW6.js +0 -512
- package/bundle/chunk-WUY2DIBC.js +0 -1571
- package/bundle/cleanup-WML4DF7R.js +0 -32
- package/bundle/devtoolsService-KDUNOMOF.js +0 -4359
- package/bundle/dist-YTLAO36T.js +0 -2174
- package/bundle/gemini-I3ZGYDPR.js +0 -17091
- package/bundle/interactiveCli-YIHK3KBK.js +0 -34962
- package/bundle/liteRtServerManager-ZLSLZHAA.js +0 -65
- package/bundle/oauth2-provider-L4BCNPEN.js +0 -235
- package/bundle/start-R5TSQKIP.js +0 -18
|
@@ -1,53 +1,34 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: antigravity-support
|
|
3
|
-
description:
|
|
4
|
-
Use when the user asks questions, seeks help, or requests instructions related
|
|
5
|
-
to installing, setting up, or migrating to Antigravity CLI. This skill
|
|
6
|
-
provides the latest up to date details, requirements, and commands sourced
|
|
7
|
-
from the official Antigravity CLI documentation.
|
|
3
|
+
description: Use when the user asks questions, seeks help, or requests instructions related to installing, setting up, or migrating to Antigravity CLI. This skill provides the latest up to date details, requirements, and commands sourced from the official Antigravity CLI documentation.
|
|
8
4
|
---
|
|
9
5
|
|
|
10
6
|
# Antigravity CLI Support
|
|
11
7
|
|
|
12
|
-
This skill provides up-to-date information on how to install, configure, use,
|
|
13
|
-
and migrate to Antigravity CLI, sourced from the official documentation at
|
|
14
|
-
https://antigravity.google/docs/cli-getting-started.
|
|
8
|
+
This skill provides up-to-date information on how to install, configure, use, and migrate to Antigravity CLI, sourced from the official documentation at https://antigravity.google/docs/cli-getting-started.
|
|
15
9
|
|
|
16
10
|
## What is Antigravity CLI?
|
|
17
11
|
|
|
18
|
-
Antigravity CLI is a next-generation terminal interface for collaborating with
|
|
19
|
-
autonomous agents on local codebases. It is designed to be highly interactive
|
|
20
|
-
and agent-driven, launching a Terminal User Interface (TUI) to coordinate code
|
|
21
|
-
generation, reasoning, and workspace tasks.
|
|
12
|
+
Antigravity CLI is a next-generation terminal interface for collaborating with autonomous agents on local codebases. It is designed to be highly interactive and agent-driven, launching a Terminal User Interface (TUI) to coordinate code generation, reasoning, and workspace tasks.
|
|
22
13
|
|
|
23
14
|
Key Features:
|
|
24
|
-
|
|
25
|
-
- **
|
|
26
|
-
|
|
27
|
-
- **Interactive TUI:** A full terminal user interface designed for agent
|
|
28
|
-
workflows.
|
|
29
|
-
- **Workspace Integration:** Deep understanding of your local workspace
|
|
30
|
-
structure and context.
|
|
15
|
+
- **Autonomous Agent Collaboration:** Work directly with agents within your terminal.
|
|
16
|
+
- **Interactive TUI:** A full terminal user interface designed for agent workflows.
|
|
17
|
+
- **Workspace Integration:** Deep understanding of your local workspace structure and context.
|
|
31
18
|
|
|
32
19
|
## Installation
|
|
33
20
|
|
|
34
21
|
To install the Antigravity CLI on your machine:
|
|
35
22
|
|
|
36
23
|
### macOS / Linux (Fast-Path Script)
|
|
37
|
-
|
|
38
24
|
Run the following standard curl command in your terminal:
|
|
39
|
-
|
|
40
25
|
```bash
|
|
41
26
|
curl -fsSL https://antigravity.google/cli/install.sh | bash
|
|
42
27
|
```
|
|
43
|
-
|
|
44
|
-
This script downloads, verifies, and installs the latest version of Antigravity,
|
|
45
|
-
and automatically registers the `agy` binary in your PATH.
|
|
28
|
+
This script downloads, verifies, and installs the latest version of Antigravity, and automatically registers the `agy` binary in your PATH.
|
|
46
29
|
|
|
47
30
|
### Windows (PowerShell)
|
|
48
|
-
|
|
49
31
|
For Windows environments, install via the official PowerShell setup command:
|
|
50
|
-
|
|
51
32
|
```powershell
|
|
52
33
|
irm https://antigravity.google/cli/install.ps1 | iex
|
|
53
34
|
```
|
|
@@ -55,41 +36,23 @@ irm https://antigravity.google/cli/install.ps1 | iex
|
|
|
55
36
|
## Initial Setup & Configuration
|
|
56
37
|
|
|
57
38
|
Once installed, navigate to any project or workspace directory and run:
|
|
58
|
-
|
|
59
39
|
```bash
|
|
60
40
|
agy
|
|
61
41
|
```
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
interactive
|
|
65
|
-
|
|
66
|
-
1. **Workspace Trust Verification:** Confirming trust for the workspace folder
|
|
67
|
-
to allow secure local command execution and file edits.
|
|
68
|
-
2. **Visual Theme Configuration:** Setting up your preferred interactive
|
|
69
|
-
terminal aesthetic and layout.
|
|
70
|
-
3. **Rendering Modes:** Tailoring TUI performance and drawing behaviors to your
|
|
71
|
-
terminal capabilities.
|
|
42
|
+
This command starts the Antigravity CLI. The first time you launch it, the interactive TUI will guide you through:
|
|
43
|
+
1. **Workspace Trust Verification:** Confirming trust for the workspace folder to allow secure local command execution and file edits.
|
|
44
|
+
2. **Visual Theme Configuration:** Setting up your preferred interactive terminal aesthetic and layout.
|
|
45
|
+
3. **Rendering Modes:** Tailoring TUI performance and drawing behaviors to your terminal capabilities.
|
|
72
46
|
|
|
73
47
|
## How to Migrate to Antigravity CLI
|
|
74
48
|
|
|
75
|
-
If you are transitioning or migrating from another tool (such as Gemini CLI) to
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
operating system (macOS, Linux, or Windows).
|
|
81
|
-
2. **Install Antigravity:** Run the installation script above to make the `agy`
|
|
82
|
-
command globally available.
|
|
83
|
-
3. **Verify Installation:** Test the installation by running `agy --version` or
|
|
84
|
-
launching `agy` in an empty or sample directory.
|
|
85
|
-
4. **Transition Workspaces:** Run `agy` directly inside your project workspace
|
|
86
|
-
root. The initial setup assistant will guide you to import or configure trust
|
|
87
|
-
policies, similar to those you might have used previously.
|
|
49
|
+
If you are transitioning or migrating from another tool (such as Gemini CLI) to Antigravity CLI, follow these steps:
|
|
50
|
+
1. **Check Requirements:** Ensure your local environment meets standard requirements (e.g., node, git, shell access) and is running a compatible operating system (macOS, Linux, or Windows).
|
|
51
|
+
2. **Install Antigravity:** Run the installation script above to make the `agy` command globally available.
|
|
52
|
+
3. **Verify Installation:** Test the installation by running `agy --version` or launching `agy` in an empty or sample directory.
|
|
53
|
+
4. **Transition Workspaces:** Run `agy` directly inside your project workspace root. The initial setup assistant will guide you to import or configure trust policies, similar to those you might have used previously.
|
|
88
54
|
|
|
89
55
|
## Official Resources and Learning More
|
|
90
56
|
|
|
91
|
-
If you need more details or have advanced configuration/migration needs, please
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
- **Official Documentation:**
|
|
95
|
-
https://antigravity.google/docs/cli-getting-started
|
|
57
|
+
If you need more details or have advanced configuration/migration needs, please visit the official documentation:
|
|
58
|
+
- **Official Documentation:** https://antigravity.google/docs/cli-getting-started
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: skill-creator
|
|
3
|
-
description:
|
|
4
|
-
Guide for creating effective skills. This skill should be used when users want
|
|
5
|
-
to create a new skill (or update an existing skill) that extends Gemini CLI's
|
|
6
|
-
capabilities with specialized knowledge, workflows, or tool integrations.
|
|
3
|
+
description: Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Gemini CLI's capabilities with specialized knowledge, workflows, or tool integrations.
|
|
7
4
|
---
|
|
8
5
|
|
|
9
6
|
# Skill Creator
|
|
@@ -12,33 +9,22 @@ This skill provides guidance for creating effective skills.
|
|
|
12
9
|
|
|
13
10
|
## About Skills
|
|
14
11
|
|
|
15
|
-
Skills are modular, self-contained packages that extend Gemini CLI's
|
|
16
|
-
capabilities by providing specialized knowledge, workflows, and tools. Think of
|
|
17
|
-
them as "onboarding guides" for specific domains or tasks—they transform Gemini
|
|
18
|
-
CLI from a general-purpose agent into a specialized agent equipped with
|
|
19
|
-
procedural knowledge that no model can fully possess.
|
|
12
|
+
Skills are modular, self-contained packages that extend Gemini CLI's capabilities by providing specialized knowledge, workflows, and tools. Think of them as "onboarding guides" for specific domains or tasks—they transform Gemini CLI from a general-purpose agent into a specialized agent equipped with procedural knowledge that no model can fully possess.
|
|
20
13
|
|
|
21
14
|
### What Skills Provide
|
|
22
15
|
|
|
23
16
|
1. Specialized workflows - Multi-step procedures for specific domains
|
|
24
|
-
2. Tool integrations - Instructions for working with specific file formats or
|
|
25
|
-
APIs
|
|
17
|
+
2. Tool integrations - Instructions for working with specific file formats or APIs
|
|
26
18
|
3. Domain expertise - Company-specific knowledge, schemas, business logic
|
|
27
|
-
4. Bundled resources - Scripts, references, and assets for complex and
|
|
28
|
-
repetitive tasks
|
|
19
|
+
4. Bundled resources - Scripts, references, and assets for complex and repetitive tasks
|
|
29
20
|
|
|
30
21
|
## Core Principles
|
|
31
22
|
|
|
32
23
|
### Concise is Key
|
|
33
24
|
|
|
34
|
-
The context window is a public good. Skills share the context window with
|
|
35
|
-
everything else Gemini CLI needs: system prompt, conversation history, other
|
|
36
|
-
Skills' metadata, and the actual user request.
|
|
25
|
+
The context window is a public good. Skills share the context window with everything else Gemini CLI needs: system prompt, conversation history, other Skills' metadata, and the actual user request.
|
|
37
26
|
|
|
38
|
-
**Default assumption: Gemini CLI is already very smart.** Only add context
|
|
39
|
-
Gemini CLI doesn't already have. Challenge each piece of information: "Does
|
|
40
|
-
Gemini CLI really need this explanation?" and "Does this paragraph justify its
|
|
41
|
-
token cost?"
|
|
27
|
+
**Default assumption: Gemini CLI is already very smart.** Only add context Gemini CLI doesn't already have. Challenge each piece of information: "Does Gemini CLI really need this explanation?" and "Does this paragraph justify its token cost?"
|
|
42
28
|
|
|
43
29
|
Prefer concise examples over verbose explanations.
|
|
44
30
|
|
|
@@ -46,19 +32,13 @@ Prefer concise examples over verbose explanations.
|
|
|
46
32
|
|
|
47
33
|
Match the level of specificity to the task's fragility and variability:
|
|
48
34
|
|
|
49
|
-
**High freedom (text-based instructions)**: Use when multiple approaches are
|
|
50
|
-
valid, decisions depend on context, or heuristics guide the approach.
|
|
35
|
+
**High freedom (text-based instructions)**: Use when multiple approaches are valid, decisions depend on context, or heuristics guide the approach.
|
|
51
36
|
|
|
52
|
-
**Medium freedom (pseudocode or scripts with parameters)**: Use when a preferred
|
|
53
|
-
pattern exists, some variation is acceptable, or configuration affects behavior.
|
|
37
|
+
**Medium freedom (pseudocode or scripts with parameters)**: Use when a preferred pattern exists, some variation is acceptable, or configuration affects behavior.
|
|
54
38
|
|
|
55
|
-
**Low freedom (specific scripts, few parameters)**: Use when operations are
|
|
56
|
-
fragile and error-prone, consistency is critical, or a specific sequence must be
|
|
57
|
-
followed.
|
|
39
|
+
**Low freedom (specific scripts, few parameters)**: Use when operations are fragile and error-prone, consistency is critical, or a specific sequence must be followed.
|
|
58
40
|
|
|
59
|
-
Think of Gemini CLI as exploring a path: a narrow bridge with cliffs needs
|
|
60
|
-
specific guardrails (low freedom), while an open field allows many routes (high
|
|
61
|
-
freedom).
|
|
41
|
+
Think of Gemini CLI as exploring a path: a narrow bridge with cliffs needs specific guardrails (low freedom), while an open field allows many routes (high freedom).
|
|
62
42
|
|
|
63
43
|
### Anatomy of a Skill
|
|
64
44
|
|
|
@@ -81,75 +61,45 @@ skill-name/
|
|
|
81
61
|
|
|
82
62
|
Every SKILL.md consists of:
|
|
83
63
|
|
|
84
|
-
- **Frontmatter** (YAML): Contains `name` and `description` fields. These are
|
|
85
|
-
|
|
86
|
-
thus it is very important to be clear and comprehensive in describing what the
|
|
87
|
-
skill is, and when it should be used.
|
|
88
|
-
- **Body** (Markdown): Instructions and guidance for using the skill. Only
|
|
89
|
-
loaded AFTER the skill triggers (if at all).
|
|
64
|
+
- **Frontmatter** (YAML): Contains `name` and `description` fields. These are the only fields that Gemini CLI reads to determine when the skill gets used, thus it is very important to be clear and comprehensive in describing what the skill is, and when it should be used.
|
|
65
|
+
- **Body** (Markdown): Instructions and guidance for using the skill. Only loaded AFTER the skill triggers (if at all).
|
|
90
66
|
|
|
91
67
|
#### Bundled Resources (optional)
|
|
92
68
|
|
|
93
69
|
##### Scripts (`scripts/`)
|
|
94
70
|
|
|
95
|
-
Executable code (Node.js/Python/Bash/etc.) for tasks that require deterministic
|
|
96
|
-
reliability or are repeatedly rewritten.
|
|
71
|
+
Executable code (Node.js/Python/Bash/etc.) for tasks that require deterministic reliability or are repeatedly rewritten.
|
|
97
72
|
|
|
98
|
-
- **When to include**: When the same code is being rewritten repeatedly or
|
|
99
|
-
deterministic reliability is needed
|
|
73
|
+
- **When to include**: When the same code is being rewritten repeatedly or deterministic reliability is needed
|
|
100
74
|
- **Example**: `scripts/rotate_pdf.cjs` for PDF rotation tasks
|
|
101
|
-
- **Benefits**: Token efficient, deterministic, may be executed without loading
|
|
102
|
-
|
|
103
|
-
- **
|
|
104
|
-
standard tracebacks. Output clear, concise success/failure messages, and
|
|
105
|
-
paginate or truncate outputs (e.g., "Success: First 50 lines of processed
|
|
106
|
-
file...") to prevent context window overflow.
|
|
107
|
-
- **Note**: Scripts may still need to be read by Gemini CLI for patching or
|
|
108
|
-
environment-specific adjustments
|
|
75
|
+
- **Benefits**: Token efficient, deterministic, may be executed without loading into context
|
|
76
|
+
- **Agentic Ergonomics**: Scripts must output LLM-friendly stdout. Suppress standard tracebacks. Output clear, concise success/failure messages, and paginate or truncate outputs (e.g., "Success: First 50 lines of processed file...") to prevent context window overflow.
|
|
77
|
+
- **Note**: Scripts may still need to be read by Gemini CLI for patching or environment-specific adjustments
|
|
109
78
|
|
|
110
79
|
##### References (`references/`)
|
|
111
80
|
|
|
112
|
-
Documentation and reference material intended to be loaded as needed into
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
- **
|
|
116
|
-
|
|
117
|
-
- **
|
|
118
|
-
|
|
119
|
-
company policies, `references/api_docs.md` for API specifications
|
|
120
|
-
- **Use cases**: Database schemas, API documentation, domain knowledge, company
|
|
121
|
-
policies, detailed workflow guides
|
|
122
|
-
- **Benefits**: Keeps SKILL.md lean, loaded only when Gemini CLI determines it's
|
|
123
|
-
needed
|
|
124
|
-
- **Best practice**: If files are large (>10k words), include grep search
|
|
125
|
-
patterns in SKILL.md
|
|
81
|
+
Documentation and reference material intended to be loaded as needed into context to inform Gemini CLI's process and thinking.
|
|
82
|
+
|
|
83
|
+
- **When to include**: For documentation that Gemini CLI should reference while working
|
|
84
|
+
- **Examples**: `references/finance.md` for financial schemas, `references/mnda.md` for company NDA template, `references/policies.md` for company policies, `references/api_docs.md` for API specifications
|
|
85
|
+
- **Use cases**: Database schemas, API documentation, domain knowledge, company policies, detailed workflow guides
|
|
86
|
+
- **Benefits**: Keeps SKILL.md lean, loaded only when Gemini CLI determines it's needed
|
|
87
|
+
- **Best practice**: If files are large (>10k words), include grep search patterns in SKILL.md
|
|
126
88
|
- **Avoid duplication**: Information should live in either SKILL.md or
|
|
127
|
-
references files, not both. Prefer references files for detailed information
|
|
128
|
-
unless it's truly core to the skill—this keeps SKILL.md lean while making
|
|
129
|
-
information discoverable without hogging the context window. Keep only
|
|
130
|
-
essential procedural instructions and workflow guidance in SKILL.md; move
|
|
131
|
-
detailed reference material, schemas, and examples to references files.
|
|
89
|
+
references files, not both. Prefer references files for detailed information unless it's truly core to the skill—this keeps SKILL.md lean while making information discoverable without hogging the context window. Keep only essential procedural instructions and workflow guidance in SKILL.md; move detailed reference material, schemas, and examples to references files.
|
|
132
90
|
|
|
133
91
|
##### Assets (`assets/`)
|
|
134
92
|
|
|
135
|
-
Files not intended to be loaded into context, but rather used within the output
|
|
136
|
-
Gemini CLI produces.
|
|
93
|
+
Files not intended to be loaded into context, but rather used within the output Gemini CLI produces.
|
|
137
94
|
|
|
138
|
-
- **When to include**: When the skill needs files that will be used in the final
|
|
139
|
-
|
|
140
|
-
- **
|
|
141
|
-
|
|
142
|
-
`assets/font.ttf` for typography
|
|
143
|
-
- **Use cases**: Templates, images, icons, boilerplate code, fonts, sample
|
|
144
|
-
documents that get copied or modified
|
|
145
|
-
- **Benefits**: Separates output resources from documentation, enables Gemini
|
|
146
|
-
CLI to use files without loading them into context
|
|
95
|
+
- **When to include**: When the skill needs files that will be used in the final output
|
|
96
|
+
- **Examples**: `assets/logo.png` for brand assets, `assets/slides.pptx` for PowerPoint templates, `assets/frontend-template/` for HTML/React boilerplate, `assets/font.ttf` for typography
|
|
97
|
+
- **Use cases**: Templates, images, icons, boilerplate code, fonts, sample documents that get copied or modified
|
|
98
|
+
- **Benefits**: Separates output resources from documentation, enables Gemini CLI to use files without loading them into context
|
|
147
99
|
|
|
148
100
|
#### What to Not Include in a Skill
|
|
149
101
|
|
|
150
|
-
A skill should only contain essential files that directly support its
|
|
151
|
-
functionality. Do NOT create extraneous documentation or auxiliary files,
|
|
152
|
-
including:
|
|
102
|
+
A skill should only contain essential files that directly support its functionality. Do NOT create extraneous documentation or auxiliary files, including:
|
|
153
103
|
|
|
154
104
|
- README.md
|
|
155
105
|
- INSTALLATION_GUIDE.md
|
|
@@ -157,10 +107,7 @@ including:
|
|
|
157
107
|
- CHANGELOG.md
|
|
158
108
|
- etc.
|
|
159
109
|
|
|
160
|
-
The skill should only contain the information needed for an AI agent to do the
|
|
161
|
-
job at hand. It should not contain auxiliary context about the process that went
|
|
162
|
-
into creating it, setup and testing procedures, user-facing documentation, etc.
|
|
163
|
-
Creating additional documentation files just adds clutter and confusion.
|
|
110
|
+
The skill should only contain the information needed for an AI agent to do the job at hand. It should not contain auxiliary context about the process that went into creating it, setup and testing procedures, user-facing documentation, etc. Creating additional documentation files just adds clutter and confusion.
|
|
164
111
|
|
|
165
112
|
### Progressive Disclosure Design Principle
|
|
166
113
|
|
|
@@ -168,21 +115,13 @@ Skills use a three-level loading system to manage context efficiently:
|
|
|
168
115
|
|
|
169
116
|
1. **Metadata (name + description)** - Always in context (~100 words)
|
|
170
117
|
2. **SKILL.md body** - When skill triggers (<5k words)
|
|
171
|
-
3. **Bundled resources** - As needed by Gemini CLI (Unlimited because scripts
|
|
172
|
-
can be executed without reading into context window)
|
|
118
|
+
3. **Bundled resources** - As needed by Gemini CLI (Unlimited because scripts can be executed without reading into context window)
|
|
173
119
|
|
|
174
120
|
#### Progressive Disclosure Patterns
|
|
175
121
|
|
|
176
|
-
Keep SKILL.md body to the essentials and under 500 lines to minimize context
|
|
177
|
-
bloat. Split content into separate files when approaching this limit. When
|
|
178
|
-
splitting out content into other files, it is very important to reference them
|
|
179
|
-
from SKILL.md and describe clearly when to read them, to ensure the reader of
|
|
180
|
-
the skill knows they exist and when to use them.
|
|
122
|
+
Keep SKILL.md body to the essentials and under 500 lines to minimize context bloat. Split content into separate files when approaching this limit. When splitting out content into other files, it is very important to reference them from SKILL.md and describe clearly when to read them, to ensure the reader of the skill knows they exist and when to use them.
|
|
181
123
|
|
|
182
|
-
**Key principle:** When a skill supports multiple variations, frameworks, or
|
|
183
|
-
options, keep only the core workflow and selection guidance in SKILL.md. Move
|
|
184
|
-
variant-specific details (patterns, examples, configuration) into separate
|
|
185
|
-
reference files.
|
|
124
|
+
**Key principle:** When a skill supports multiple variations, frameworks, or options, keep only the core workflow and selection guidance in SKILL.md. Move variant-specific details (patterns, examples, configuration) into separate reference files.
|
|
186
125
|
|
|
187
126
|
**Pattern 1: High-level guide with references**
|
|
188
127
|
|
|
@@ -204,8 +143,7 @@ Gemini CLI loads FORMS.md, REFERENCE.md, or EXAMPLES.md only when needed.
|
|
|
204
143
|
|
|
205
144
|
**Pattern 2: Domain-specific organization**
|
|
206
145
|
|
|
207
|
-
For Skills with multiple domains, organize content by domain to avoid loading
|
|
208
|
-
irrelevant context:
|
|
146
|
+
For Skills with multiple domains, organize content by domain to avoid loading irrelevant context:
|
|
209
147
|
|
|
210
148
|
```
|
|
211
149
|
bigquery-skill/
|
|
@@ -219,8 +157,7 @@ bigquery-skill/
|
|
|
219
157
|
|
|
220
158
|
When a user asks about sales metrics, Gemini CLI only reads sales.md.
|
|
221
159
|
|
|
222
|
-
Similarly, for skills supporting multiple frameworks or variants, organize by
|
|
223
|
-
variant:
|
|
160
|
+
Similarly, for skills supporting multiple frameworks or variants, organize by variant:
|
|
224
161
|
|
|
225
162
|
```
|
|
226
163
|
cloud-deploy/
|
|
@@ -246,20 +183,15 @@ Use pandas for loading and basic queries. See [PANDAS.md](PANDAS.md).
|
|
|
246
183
|
|
|
247
184
|
## Advanced Operations
|
|
248
185
|
|
|
249
|
-
For massive files that exceed memory, see [STREAMING.md](STREAMING.md). For
|
|
250
|
-
timestamp normalization, see [TIMESTAMPS.md](TIMESTAMPS.md).
|
|
186
|
+
For massive files that exceed memory, see [STREAMING.md](STREAMING.md). For timestamp normalization, see [TIMESTAMPS.md](TIMESTAMPS.md).
|
|
251
187
|
|
|
252
|
-
Gemini CLI reads REDLINING.md or OOXML.md only when the user needs those
|
|
253
|
-
features.
|
|
188
|
+
Gemini CLI reads REDLINING.md or OOXML.md only when the user needs those features.
|
|
254
189
|
```
|
|
255
190
|
|
|
256
191
|
**Important guidelines:**
|
|
257
192
|
|
|
258
|
-
- **Avoid deeply nested references** - Keep references one level deep from
|
|
259
|
-
|
|
260
|
-
- **Structure longer reference files** - For files longer than 100 lines,
|
|
261
|
-
include a table of contents at the top so Gemini CLI can see the full scope
|
|
262
|
-
when previewing.
|
|
193
|
+
- **Avoid deeply nested references** - Keep references one level deep from SKILL.md. All reference files should link directly from SKILL.md.
|
|
194
|
+
- **Structure longer reference files** - For files longer than 100 lines, include a table of contents at the top so Gemini CLI can see the full scope when previewing.
|
|
263
195
|
|
|
264
196
|
## Skill Creation Process
|
|
265
197
|
|
|
@@ -273,93 +205,66 @@ Skill creation involves these steps:
|
|
|
273
205
|
6. Install and reload the skill
|
|
274
206
|
7. Iterate based on real usage
|
|
275
207
|
|
|
276
|
-
Follow these steps in order, skipping only if there is a clear reason why they
|
|
277
|
-
are not applicable.
|
|
208
|
+
Follow these steps in order, skipping only if there is a clear reason why they are not applicable.
|
|
278
209
|
|
|
279
210
|
### Skill Naming
|
|
280
211
|
|
|
281
|
-
- Use lowercase letters, digits, and hyphens only; normalize user-provided
|
|
282
|
-
|
|
283
|
-
- When generating names, generate a name under 64 characters (letters, digits,
|
|
284
|
-
hyphens).
|
|
212
|
+
- Use lowercase letters, digits, and hyphens only; normalize user-provided titles to hyphen-case (e.g., "Plan Mode" -> `plan-mode`).
|
|
213
|
+
- When generating names, generate a name under 64 characters (letters, digits, hyphens).
|
|
285
214
|
- Prefer short, verb-led phrases that describe the action.
|
|
286
|
-
- Namespace by tool when it improves clarity or triggering (e.g.,
|
|
287
|
-
`gh-address-comments`, `linear-address-issue`).
|
|
215
|
+
- Namespace by tool when it improves clarity or triggering (e.g., `gh-address-comments`, `linear-address-issue`).
|
|
288
216
|
- Name the skill folder exactly after the skill name.
|
|
289
217
|
|
|
290
218
|
### Step 1: Understanding the Skill with Concrete Examples
|
|
291
219
|
|
|
292
|
-
Skip this step only when the skill's usage patterns are already clearly
|
|
293
|
-
understood. It remains valuable even when working with an existing skill.
|
|
220
|
+
Skip this step only when the skill's usage patterns are already clearly understood. It remains valuable even when working with an existing skill.
|
|
294
221
|
|
|
295
|
-
To create an effective skill, clearly understand concrete examples of how the
|
|
296
|
-
skill will be used. This understanding can come from either direct user examples
|
|
297
|
-
or generated examples that are validated with user feedback.
|
|
222
|
+
To create an effective skill, clearly understand concrete examples of how the skill will be used. This understanding can come from either direct user examples or generated examples that are validated with user feedback.
|
|
298
223
|
|
|
299
224
|
For example, when building an image-editor skill, relevant questions include:
|
|
300
225
|
|
|
301
|
-
- "What functionality should the image-editor skill support? Editing, rotating,
|
|
302
|
-
anything else?"
|
|
226
|
+
- "What functionality should the image-editor skill support? Editing, rotating, anything else?"
|
|
303
227
|
- "Can you give some examples of how this skill would be used?"
|
|
304
|
-
- "I can imagine users asking for things like 'Remove the red-eye from this
|
|
305
|
-
image' or 'Rotate this image'. Are there other ways you imagine this skill
|
|
306
|
-
being used?"
|
|
228
|
+
- "I can imagine users asking for things like 'Remove the red-eye from this image' or 'Rotate this image'. Are there other ways you imagine this skill being used?"
|
|
307
229
|
- "What would a user say that should trigger this skill?"
|
|
308
230
|
|
|
309
|
-
**Avoid interrogation loops:** Do not ask more than one or two clarifying
|
|
310
|
-
questions at a time. Bias toward action: propose a concrete list of features or
|
|
311
|
-
examples based on your initial understanding, and ask the user to refine them.
|
|
231
|
+
**Avoid interrogation loops:** Do not ask more than one or two clarifying questions at a time. Bias toward action: propose a concrete list of features or examples based on your initial understanding, and ask the user to refine them.
|
|
312
232
|
|
|
313
|
-
Conclude this step when there is a clear sense of the functionality the skill
|
|
314
|
-
should support.
|
|
233
|
+
Conclude this step when there is a clear sense of the functionality the skill should support.
|
|
315
234
|
|
|
316
235
|
### Step 2: Planning the Reusable Skill Contents
|
|
317
236
|
|
|
318
237
|
To turn concrete examples into an effective skill, analyze each example by:
|
|
319
238
|
|
|
320
239
|
1. Considering how to execute on the example from scratch
|
|
321
|
-
2. Identifying what scripts, references, and assets would be helpful when
|
|
322
|
-
executing these workflows repeatedly
|
|
240
|
+
2. Identifying what scripts, references, and assets would be helpful when executing these workflows repeatedly
|
|
323
241
|
|
|
324
|
-
Example: When building a `pdf-editor` skill to handle queries like "Help me
|
|
325
|
-
rotate this PDF," the analysis shows:
|
|
242
|
+
Example: When building a `pdf-editor` skill to handle queries like "Help me rotate this PDF," the analysis shows:
|
|
326
243
|
|
|
327
244
|
1. Rotating a PDF requires re-writing the same code each time
|
|
328
245
|
2. A `scripts/rotate_pdf.cjs` script would be helpful to store in the skill
|
|
329
246
|
|
|
330
|
-
Example: When designing a `frontend-webapp-builder` skill for queries like
|
|
331
|
-
"Build me a todo app" or "Build me a dashboard to track my steps," the analysis
|
|
332
|
-
shows:
|
|
247
|
+
Example: When designing a `frontend-webapp-builder` skill for queries like "Build me a todo app" or "Build me a dashboard to track my steps," the analysis shows:
|
|
333
248
|
|
|
334
249
|
1. Writing a frontend webapp requires the same boilerplate HTML/React each time
|
|
335
|
-
2. An `assets/hello-world/` template containing the boilerplate HTML/React
|
|
336
|
-
project files would be helpful to store in the skill
|
|
250
|
+
2. An `assets/hello-world/` template containing the boilerplate HTML/React project files would be helpful to store in the skill
|
|
337
251
|
|
|
338
|
-
Example: When building a `big-query` skill to handle queries like "How many
|
|
339
|
-
users have logged in today?" the analysis shows:
|
|
252
|
+
Example: When building a `big-query` skill to handle queries like "How many users have logged in today?" the analysis shows:
|
|
340
253
|
|
|
341
|
-
1. Querying BigQuery requires re-discovering the table schemas and relationships
|
|
342
|
-
|
|
343
|
-
2. A `references/schema.md` file documenting the table schemas would be helpful
|
|
344
|
-
to store in the skill
|
|
254
|
+
1. Querying BigQuery requires re-discovering the table schemas and relationships each time
|
|
255
|
+
2. A `references/schema.md` file documenting the table schemas would be helpful to store in the skill
|
|
345
256
|
|
|
346
|
-
To establish the skill's contents, analyze each concrete example to create a
|
|
347
|
-
list of the reusable resources to include: scripts, references, and assets.
|
|
257
|
+
To establish the skill's contents, analyze each concrete example to create a list of the reusable resources to include: scripts, references, and assets.
|
|
348
258
|
|
|
349
259
|
### Step 3: Initializing the Skill
|
|
350
260
|
|
|
351
261
|
At this point, it is time to actually create the skill.
|
|
352
262
|
|
|
353
|
-
Skip this step only if the skill being developed already exists, and iteration
|
|
354
|
-
or packaging is needed. In this case, continue to the next step.
|
|
263
|
+
Skip this step only if the skill being developed already exists, and iteration or packaging is needed. In this case, continue to the next step.
|
|
355
264
|
|
|
356
|
-
When creating a new skill from scratch, always run the `init_skill.cjs` script.
|
|
357
|
-
The script conveniently generates a new template skill directory that
|
|
358
|
-
automatically includes everything a skill requires, making the skill creation
|
|
359
|
-
process much more efficient and reliable.
|
|
265
|
+
When creating a new skill from scratch, always run the `init_skill.cjs` script. The script conveniently generates a new template skill directory that automatically includes everything a skill requires, making the skill creation process much more efficient and reliable.
|
|
360
266
|
|
|
361
|
-
**Note:** Use the absolute path to the script as provided in the
|
|
362
|
-
`available_resources` section.
|
|
267
|
+
**Note:** Use the absolute path to the script as provided in the `available_resources` section.
|
|
363
268
|
|
|
364
269
|
Usage:
|
|
365
270
|
|
|
@@ -372,48 +277,30 @@ The script:
|
|
|
372
277
|
- Creates the skill directory at the specified path
|
|
373
278
|
- Generates a SKILL.md template with proper frontmatter and TODO placeholders
|
|
374
279
|
- Creates example resource directories: `scripts/`, `references/`, and `assets/`
|
|
375
|
-
- Adds example files (`scripts/example_script.cjs`,
|
|
376
|
-
`references/example_reference.md`, `assets/example_asset.txt`) that can be
|
|
377
|
-
customized or deleted
|
|
280
|
+
- Adds example files (`scripts/example_script.cjs`, `references/example_reference.md`, `assets/example_asset.txt`) that can be customized or deleted
|
|
378
281
|
|
|
379
|
-
After initialization, customize or remove the generated SKILL.md and example
|
|
380
|
-
files as needed.
|
|
282
|
+
After initialization, customize or remove the generated SKILL.md and example files as needed.
|
|
381
283
|
|
|
382
284
|
### Step 4: Edit the Skill
|
|
383
285
|
|
|
384
|
-
When editing the (newly-generated or existing) skill, remember that the skill is
|
|
385
|
-
being created for another instance of Gemini CLI to use. Include information
|
|
386
|
-
that would be beneficial and non-obvious to Gemini CLI. Consider what procedural
|
|
387
|
-
knowledge, domain-specific details, or reusable assets would help another Gemini
|
|
388
|
-
CLI instance execute these tasks more effectively.
|
|
286
|
+
When editing the (newly-generated or existing) skill, remember that the skill is being created for another instance of Gemini CLI to use. Include information that would be beneficial and non-obvious to Gemini CLI. Consider what procedural knowledge, domain-specific details, or reusable assets would help another Gemini CLI instance execute these tasks more effectively.
|
|
389
287
|
|
|
390
288
|
#### Learn Proven Design Patterns
|
|
391
289
|
|
|
392
290
|
Consult these helpful guides based on your skill's needs:
|
|
393
291
|
|
|
394
|
-
- **Multi-step processes**: See references/workflows.md for sequential workflows
|
|
395
|
-
|
|
396
|
-
- **Specific output formats or quality standards**: See
|
|
397
|
-
references/output-patterns.md for template and example patterns
|
|
292
|
+
- **Multi-step processes**: See references/workflows.md for sequential workflows and conditional logic
|
|
293
|
+
- **Specific output formats or quality standards**: See references/output-patterns.md for template and example patterns
|
|
398
294
|
|
|
399
295
|
These files contain established best practices for effective skill design.
|
|
400
296
|
|
|
401
297
|
#### Start with Reusable Skill Contents
|
|
402
298
|
|
|
403
|
-
To begin implementation, start with the reusable resources identified above:
|
|
404
|
-
`scripts/`, `references/`, and `assets/` files. Note that this step may require
|
|
405
|
-
user input. For example, when implementing a `brand-guidelines` skill, the user
|
|
406
|
-
may need to provide brand assets or templates to store in `assets/`, or
|
|
407
|
-
documentation to store in `references/`.
|
|
299
|
+
To begin implementation, start with the reusable resources identified above: `scripts/`, `references/`, and `assets/` files. Note that this step may require user input. For example, when implementing a `brand-guidelines` skill, the user may need to provide brand assets or templates to store in `assets/`, or documentation to store in `references/`.
|
|
408
300
|
|
|
409
|
-
Added scripts must be tested by actually running them to ensure there are no
|
|
410
|
-
bugs and that the output matches what is expected. If there are many similar
|
|
411
|
-
scripts, only a representative sample needs to be tested to ensure confidence
|
|
412
|
-
that they all work while balancing time to completion.
|
|
301
|
+
Added scripts must be tested by actually running them to ensure there are no bugs and that the output matches what is expected. If there are many similar scripts, only a representative sample needs to be tested to ensure confidence that they all work while balancing time to completion.
|
|
413
302
|
|
|
414
|
-
Any example files and directories not needed for the skill should be deleted.
|
|
415
|
-
The initialization script creates example files in `scripts/`, `references/`,
|
|
416
|
-
and `assets/` to demonstrate structure, but most skills won't need all of them.
|
|
303
|
+
Any example files and directories not needed for the skill should be deleted. The initialization script creates example files in `scripts/`, `references/`, and `assets/` to demonstrate structure, but most skills won't need all of them.
|
|
417
304
|
|
|
418
305
|
#### Update SKILL.md
|
|
419
306
|
|
|
@@ -424,17 +311,11 @@ and `assets/` to demonstrate structure, but most skills won't need all of them.
|
|
|
424
311
|
Write the YAML frontmatter with `name` and `description`:
|
|
425
312
|
|
|
426
313
|
- `name`: The skill name
|
|
427
|
-
- `description`: This is the primary triggering mechanism for your skill, and
|
|
428
|
-
|
|
429
|
-
-
|
|
430
|
-
|
|
431
|
-
-
|
|
432
|
-
Quotes are optional.
|
|
433
|
-
- Include all "when to use" information here - Not in the body. The body is
|
|
434
|
-
only loaded after triggering, so "When to Use This Skill" sections in the
|
|
435
|
-
body are not helpful to Gemini CLI.
|
|
436
|
-
- Example:
|
|
437
|
-
`description: Data ingestion, cleaning, and transformation for tabular data. Use when Gemini CLI needs to work with CSV/TSV files to analyze large datasets, normalize schemas, or merge sources.`
|
|
314
|
+
- `description`: This is the primary triggering mechanism for your skill, and helps Gemini CLI understand when to use the skill.
|
|
315
|
+
- Include both what the Skill does and specific triggers/contexts for when to use it.
|
|
316
|
+
- **Must be a single-line string** (e.g., `description: Data ingestion...`). Quotes are optional.
|
|
317
|
+
- Include all "when to use" information here - Not in the body. The body is only loaded after triggering, so "When to Use This Skill" sections in the body are not helpful to Gemini CLI.
|
|
318
|
+
- Example: `description: Data ingestion, cleaning, and transformation for tabular data. Use when Gemini CLI needs to work with CSV/TSV files to analyze large datasets, normalize schemas, or merge sources.`
|
|
438
319
|
|
|
439
320
|
Do not include any other fields in YAML frontmatter.
|
|
440
321
|
|
|
@@ -444,13 +325,9 @@ Write instructions for using the skill and its bundled resources.
|
|
|
444
325
|
|
|
445
326
|
### Step 5: Packaging a Skill
|
|
446
327
|
|
|
447
|
-
Once development of the skill is complete, it must be packaged into a
|
|
448
|
-
distributable .skill file that gets shared with the user. The packaging process
|
|
449
|
-
automatically validates the skill first (checking YAML and ensuring no TODOs
|
|
450
|
-
remain) to ensure it meets all requirements:
|
|
328
|
+
Once development of the skill is complete, it must be packaged into a distributable .skill file that gets shared with the user. The packaging process automatically validates the skill first (checking YAML and ensuring no TODOs remain) to ensure it meets all requirements:
|
|
451
329
|
|
|
452
|
-
**Note:** Use the absolute path to the script as provided in the
|
|
453
|
-
`available_resources` section.
|
|
330
|
+
**Note:** Use the absolute path to the script as provided in the `available_resources` section.
|
|
454
331
|
|
|
455
332
|
```bash
|
|
456
333
|
node <path-to-skill-creator>/scripts/package_skill.cjs <path/to/skill-folder>
|
|
@@ -465,28 +342,20 @@ node <path-to-skill-creator>/scripts/package_skill.cjs <path/to/skill-folder> ./
|
|
|
465
342
|
The packaging script will:
|
|
466
343
|
|
|
467
344
|
1. **Validate** the skill automatically, checking:
|
|
468
|
-
|
|
469
345
|
- YAML frontmatter format and required fields
|
|
470
346
|
- Skill naming conventions and directory structure
|
|
471
347
|
- Description completeness and quality
|
|
472
348
|
- File organization and resource references
|
|
473
349
|
|
|
474
|
-
2. **Package** the skill if validation passes, creating a .skill file named
|
|
475
|
-
after the skill (e.g., `my-skill.skill`) that includes all files and
|
|
476
|
-
maintains the proper directory structure for distribution. The .skill file is
|
|
477
|
-
a zip file with a .skill extension.
|
|
350
|
+
2. **Package** the skill if validation passes, creating a .skill file named after the skill (e.g., `my-skill.skill`) that includes all files and maintains the proper directory structure for distribution. The .skill file is a zip file with a .skill extension.
|
|
478
351
|
|
|
479
|
-
If validation fails, the script will report the errors and exit without creating
|
|
480
|
-
a package. Fix any validation errors and run the packaging command again.
|
|
352
|
+
If validation fails, the script will report the errors and exit without creating a package. Fix any validation errors and run the packaging command again.
|
|
481
353
|
|
|
482
354
|
### Step 6: Installing and Reloading a Skill
|
|
483
355
|
|
|
484
|
-
Once the skill is packaged into a `.skill` file, offer to install it for the
|
|
485
|
-
user. Ask whether they would like to install it locally in the current folder
|
|
486
|
-
(workspace scope) or at the user level (user scope).
|
|
356
|
+
Once the skill is packaged into a `.skill` file, offer to install it for the user. Ask whether they would like to install it locally in the current folder (workspace scope) or at the user level (user scope).
|
|
487
357
|
|
|
488
|
-
If the user agrees to an installation, perform it immediately using the
|
|
489
|
-
`run_shell_command` tool:
|
|
358
|
+
If the user agrees to an installation, perform it immediately using the `run_shell_command` tool:
|
|
490
359
|
|
|
491
360
|
- **Locally (workspace scope)**:
|
|
492
361
|
```bash
|
|
@@ -497,19 +366,13 @@ If the user agrees to an installation, perform it immediately using the
|
|
|
497
366
|
gemini skills install <path/to/skill-name.skill> --scope user
|
|
498
367
|
```
|
|
499
368
|
|
|
500
|
-
**Important:** After the installation is complete, notify the user that they
|
|
501
|
-
MUST manually execute the `/skills reload` command in their interactive Gemini
|
|
502
|
-
CLI session to enable the new skill. They can then verify the installation by
|
|
503
|
-
running `/skills list`.
|
|
369
|
+
**Important:** After the installation is complete, notify the user that they MUST manually execute the `/skills reload` command in their interactive Gemini CLI session to enable the new skill. They can then verify the installation by running `/skills list`.
|
|
504
370
|
|
|
505
|
-
Note: You (the agent) cannot execute the `/skills reload` command yourself; it
|
|
506
|
-
must be done by the user in an interactive instance of Gemini CLI. Do not
|
|
507
|
-
attempt to run it on their behalf.
|
|
371
|
+
Note: You (the agent) cannot execute the `/skills reload` command yourself; it must be done by the user in an interactive instance of Gemini CLI. Do not attempt to run it on their behalf.
|
|
508
372
|
|
|
509
373
|
### Step 7: Iterate
|
|
510
374
|
|
|
511
|
-
After testing the skill, users may request improvements. Often this happens
|
|
512
|
-
right after using the skill, with fresh context of how the skill performed.
|
|
375
|
+
After testing the skill, users may request improvements. Often this happens right after using the skill, with fresh context of how the skill performed.
|
|
513
376
|
|
|
514
377
|
**Iteration workflow:**
|
|
515
378
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require = (await import('node:module')).createRequire(import.meta.url); const __chunk_filename = (await import('node:url')).fileURLToPath(import.meta.url); const __chunk_dirname = (await import('node:path')).dirname(__chunk_filename);
|
|
2
2
|
import {
|
|
3
3
|
runExitCleanup
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HAZMOWRC.js";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__require
|