mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-13 05:12:55 -07:00
Add information about the agent skills lifecycle and clarify docs-writer skill metadata. (#18234)
Co-authored-by: Jenna Inouye <jinouye@google.com>
This commit is contained in:
@@ -2,8 +2,7 @@
|
|||||||
name: docs-writer
|
name: docs-writer
|
||||||
description:
|
description:
|
||||||
Always use this skill when the task involves writing, reviewing, or editing
|
Always use this skill when the task involves writing, reviewing, or editing
|
||||||
documentation, specifically for any files in the `/docs` directory or any
|
files in the `/docs` directory or any `.md` files in the repository.
|
||||||
`.md` files in the repository.
|
|
||||||
---
|
---
|
||||||
|
|
||||||
# `docs-writer` skill instructions
|
# `docs-writer` skill instructions
|
||||||
|
|||||||
+8
-1
@@ -89,7 +89,7 @@ gemini skills enable my-expertise
|
|||||||
gemini skills disable my-expertise --scope workspace
|
gemini skills disable my-expertise --scope workspace
|
||||||
```
|
```
|
||||||
|
|
||||||
## How it Works (Security & Privacy)
|
## How it Works
|
||||||
|
|
||||||
1. **Discovery**: At the start of a session, Gemini CLI scans the discovery
|
1. **Discovery**: At the start of a session, Gemini CLI scans the discovery
|
||||||
tiers and injects the name and description of all enabled skills into the
|
tiers and injects the name and description of all enabled skills into the
|
||||||
@@ -106,6 +106,13 @@ gemini skills disable my-expertise --scope workspace
|
|||||||
5. **Execution**: The model proceeds with the specialized expertise active. It
|
5. **Execution**: The model proceeds with the specialized expertise active. It
|
||||||
is instructed to prioritize the skill's procedural guidance within reason.
|
is instructed to prioritize the skill's procedural guidance within reason.
|
||||||
|
|
||||||
|
### Skill activation
|
||||||
|
|
||||||
|
Once a skill is activated (typically by Gemini identifying a task that matches
|
||||||
|
the skill's description and your approval), its specialized instructions and
|
||||||
|
resources are loaded into the agent's context. A skill remains active and its
|
||||||
|
guidance is prioritized for the duration of the session.
|
||||||
|
|
||||||
## Creating your own skills
|
## Creating your own skills
|
||||||
|
|
||||||
To create your own skills, see the [Create Agent Skills](./creating-skills.md)
|
To create your own skills, see the [Create Agent Skills](./creating-skills.md)
|
||||||
|
|||||||
Reference in New Issue
Block a user