Aller au contenu

Leçon 6 · Prompting Gemini

Instructions, Memory and Skills

Personalize Gemini with standing instructions and memory, understand the move from Gems to skills, and write a reusable skill with a clear description.

If you keep typing the same background ("I am a nurse, use metric units, keep it brief"), Gemini can hold it for you. There are several layers: standing instructions, memory and skills. Each has a different job.

Facts here are as of December 2026. These features are changing quickly.

Three kinds of reuse

Instructions How to answer, every chat
Memory Facts Gemini keeps about you
Skills Steps for one type of task
1 / 2

Instructions for Gemini

In the app, Instructions for Gemini (under a personalization area that Google calls Personal Intelligence) lets you write standing preferences about format, tone or style. Gemini applies them to your chats, and you can edit, turn off or delete them. Google's help page lists requirements such as an age limit, a Google AI plan and a personal account, and some memory functions are limited by country. You may not see every option.

Good instructions are short and general:

TEXT
- I read English as a second language. Use common words.
- Give the answer first, then the explanation.
- Use metric units.
- If a question is unclear, ask one question before answering.

Avoid rules that fit only one task, such as "always write 200 words". They will hurt other chats.

Memory

Memory lets Gemini keep facts about you, and some forms of personalization draw on earlier chats or connected Google apps. Treat this as a data decision:

  • Check what is stored, and delete what you do not want.
  • Do not store health, financial or other sensitive details unless you truly need to and you understand the settings.
  • Google's help page says that instructions to forget a topic are not always reliable. Deleting the related chats and stored items is more dependable.

A temporary chat does not use personalization, which is useful when you want an answer with no stored context.

Gems are becoming skills

Gemini has had Gems: saved assistants with their own instructions and files. Google has announced that Gems are being replaced by skills:

Account type What Google's help page says
Personal (18+) Gems turned into skills and became read-only on November 17, 2026, and are removed on December 17, 2026
Under 18 The change comes later, with no date announced
Workspace business, enterprise and non-profit March 2027
Workspace education June 2027

If you have Gems, save any files you need before the removal date that applies to you. Gems move to skills automatically, but some file types, such as audio, video, GitHub files, legacy Office formats and archives, do not carry over.

What a skill is

A skill is a reusable set of instructions, optionally with supporting files, for one kind of task. In a chat or task you can call it from a shortcut menu (typing /, or @ where the newer shortcut applies), and Gemini can also use an active skill on its own when it seems relevant. You can create one from a chat or task, with Gemini's help, from a template, from a blank page, or by uploading a SKILL.md file, folder or .zip. Skills have rules: for example, you must be 18 or older, uploads have size limits (100 MB in total at the time of writing), and some features do not work with skills yet.

Writing a good skill

Google's guidance suggests:

  • A short name in lowercase with hyphens, starting with a verb, such as plan-weekly-meals. Google's skill transfer guide gives a maximum of 64 characters.
  • A description of up to 1,024 characters that says what the skill does, then "Use when..." with specific situations. This helps Gemini decide when to use it.
  • Instructions with quick steps, an output template and common mistakes.
  • Optional supporting files, such as templates or a style guide.

Here is our own example in the SKILL.md style. Check Google's current format rules before uploading.

TEXT
---
name: write-meeting-recap
description: Writes a short recap from rough meeting notes. Use when the user
  pastes notes and asks for a recap, summary or follow-up message.
---

Steps:
1. Read all notes before writing.
2. List decisions, then actions with owner and date.
3. If an owner or date is missing, write "not stated". Do not guess.

Output:
## Decisions
## Actions (owner, date)
## Open questions

Common mistakes: inventing owners; adding opinions not in the notes.

Build a skill when you repeat a task and keep fixing the same things. Skip it for one-off jobs, tasks Gemini already does well and tasks whose rules change every week.

Python Check a skill name and description

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Test and review skills

Try a new skill on several different inputs, including one with missing information. Review skills that someone else shared before you use them, especially attached files or scripts. A skill is a set of instructions that Gemini follows, so treat an unknown one with the care you would give unknown software.

Choosing the right layer

Ask how often the text applies. If it is true for nearly every chat, such as your preferred units, it belongs in instructions. If it is a fact about you that sometimes matters, memory may hold it, and you should check it now and then. If it is a procedure for one kind of work, make it a skill. If it matters only today, type it into the chat.

Conflicts can happen. A standing instruction to be very brief may fight a request for a detailed study guide. State the exception in your message, such as "Ignore my usual length preference for this answer", and check the result. If odd behavior keeps appearing, look through your instructions, stored memories and active skills for the cause. A temporary chat gives you a useful comparison without personalization.

Move a Gem by hand

If you recreate an old Gem as a skill, copy its instructions first. Rewrite the description so it says when to use the skill, turn long advice into steps, and attach only the files the task needs. Then run the same two or three requests you used before and compare the results. Do not assume that a converted skill behaves exactly like the Gem did.

Common mistake: putting secrets into instructions or skill files, such as passwords or customer lists. Anything you store may be included in prompts, and skill content may travel with a shared skill.

Check your understanding

Quick check · 3 questions

of 3 answered You scored / 3 · perfect!

  1. 1. Which belongs in standing instructions?

    Standing instructions are for general preferences, never secrets or one-off material.
  2. 2. What did Google announce about Gems?

    Personal accounts move first, and Workspace accounts follow in 2027.
  3. 3. Why does a skill description say when to use it?

    Gemini can use active skills automatically when they fit the request.

Summary

  • Instructions shape every chat, memory keeps facts and skills package task steps.
  • Review stored information, and do not rely on "forget this" alone.
  • Gems are moving to skills, so save files you need before your removal date.
  • A good skill has a clear name, a "Use when" description and rules for missing information.

Next: Long Documents and Files

Votre progression est enregistrée dans ce navigateur. Aucun compte nécessaire.