INTELI Workshop · International Exchange Students

About this session

AI Basics for Exchange Students · 29/10/2026 · Prof. Afonso

Learning objective

By the end of the session, participants should be able to explain what a large language model, a harness, an agent and a skill are and how they relate, write a prompt for a recurring task using the six parts of the CREATE method, save that prompt as a skill in the Agent Skills format and install it in Google Gemini as a Gem, and test the answers against the rules of the skill, including checking that information missing from the source is flagged rather than invented.

Session strategy

One-hour in-person workshop for international exchange students at Inteli, from 10:00 to 11:00, with participants on their own laptops and free Google accounts. The first twenty minutes explain four concepts with three live animations: token-by-token generation with and without a fictional syllabus in the context, the think, act and observe loop of an agent, and a skill being loaded into the context. The next fifteen minutes present the CREATE method by contrasting a short prompt with a complete one and show how its six parts become the sections of a SKILL.md file. In the fifteen-minute hands-on, each participant installs a study-guide skill as a Gemini Gem, runs it on fictional class notes that contain two deliberate traps, checks the answer against five criteria, changes one line of the skill and tests it on their own notes. The session closes with the limits of the tools, privacy and course policies on AI.

Session structure

  1. 10:00 – 10:05 · Welcome, what you need and data rules.
  2. 10:05 – 10:25 · Part 1: language model, harness, agent and skill, with three animations.
  3. 10:25 – 10:35 · Part 2: prompt engineering with the CREATE method.
  4. 10:35 – 10:40 · Part 3: from a prompt to a skill, and turning the skill into a Gemini Gem.
  5. 10:40 – 10:55 · Hands-on: build the study-guide Gem, test it on the sample notes and on your own.
  6. 10:55 – 11:00 · Responsible use, wrap-up and questions.
On this page 1. About the workshop 2. Large language models 3. The harness 4. Agents 5. Skills 6. Prompt engineering with CREATE 7. From a prompt to a skill 8. The study-guide skill 9. Installing it as a Gemini Gem 10. Using the Gem after the workshop 11. Testing and improving the skill 12. Limits and responsible use 13. Next steps 14. References

1. About the workshop

The workshop is meant for exchange students from different countries and fields who use AI chat tools occasionally and want to use them with more control. It lasts one hour. The first twenty minutes give the vocabulary needed to understand what happens inside an AI tool, the next fifteen turn that vocabulary into a method for writing prompts and into the format of a skill, and the last part is a hands-on exercise in which each participant builds a Gemini Gem from a skill that turns class notes into a study guide and tests it.

TimeActivity
10:00 – 10:05Welcome, what you need and data rules
10:05 – 10:25Part 1: language model, harness, agent and skill
10:25 – 10:35Part 2: prompt engineering with the CREATE method
10:35 – 10:40Part 3: from a prompt to a skill
10:40 – 10:55Hands-on: the study-guide Gem in Gemini
10:55 – 11:00Responsible use, wrap-up and questions

For the hands-on you need a laptop with a browser and a Google account signed in at gemini.google.com. The free plan is enough. A personal account is safer than one managed by a university or a company, because the administrator of a managed account may have turned Gems off. The workshop uses two files, both available for download: SKILL.md, the skill itself, and sample-lecture-notes.txt, fictional notes from a software engineering class taken by an exchange student.

Data rules Do not paste personal data of other people, such as names with grades, ID numbers or contacts, and do not upload documents that your university or your company treats as confidential. Everything you send to an AI service is processed on the provider's servers, under the privacy terms of your account.

2. Large language models

A large language model, or LLM, is a neural network trained on a very large collection of text, including books, websites and source code, to estimate which piece of text is most likely to come next. That piece is called a token. A token can be a whole word, part of a word or a punctuation mark, and each one has an ID number in the model's vocabulary. During training, the model adjusts billions of internal numbers, called weights, until its predictions become good. Training stops at a cutoff date, so the model has no knowledge of events after that date unless the app gives it a way to look them up.

When you send a message, the weights no longer change. The model reads its context, which is your message together with everything the app has added to it, passes it through its layers and obtains a probability for every token in the vocabulary. It chooses one, appends it to the context and repeats the process until the answer is complete. Writing one token at a time explains why the answer appears gradually on the screen, and it also explains the most important limitation of these models. The model chooses the most likely continuation, and the most likely continuation is not necessarily the true one.

The animation on slide 6 shows this with a fictional course. When the syllabus is in the context and states a late penalty of 10% per day, almost all the probability goes to the number in the syllabus. When the syllabus is not there, the probability spreads over several plausible numbers, the model picks one of them, and the sentence comes out with the same confidence as before. This is what is usually called a hallucination, and it follows from the mechanism rather than from a defect that will soon disappear. Two practices reduce it: putting the right document in the context and checking the answer against the source.

ChatGPT, Gemini and Claude are names of apps as well as of models. The app called Gemini runs models of the Gemini family, the app called Claude runs models of the Claude family, and the next section describes what the app does around the model.

3. The harness

The model receives text and returns text, and it does nothing else. Uploading a file, searching the web, remembering an earlier conversation and running a piece of code are all done by the software around the model, which is called the harness. The harness decides what goes into the context before each answer, which tools the model may call, what happens with the tool results and how the answer is shown to you.

Part of the harnessWhat it does
System instructionsText written by the vendor and placed before every conversation, with rules of behaviour and the date.
Your instructionsCustom instructions, a Gem or a project instruction, added to every chat in which they apply.
Files and memoryDocuments you upload, project files and, in some apps, summaries of earlier chats.
ToolsFunctions the model may call, such as web search, code execution or reading a file.
SkillsWritten procedures listed by name and description, whose full text is loaded only when needed.
Permissions and interfaceWhat the model may do without asking you, and how the conversation appears on the screen.

The distinction matters in practice because the same model behaves differently in different harnesses. A chat app, a coding agent such as Claude Code or Codex, and an assistant built into an email client may all use the same model, but each fills the context in its own way and gives the model different tools. When two AI tools give different answers to the same question, the reason is often the harness rather than the model, and the parts of the harness that you control, mainly the instructions and the files, are where you can improve the result.

4. Agents

An agent is a model that the harness allows to use tools in a loop. Instead of answering at once, the model reasons about what information is missing, calls a tool, reads the result and decides on the next step, and it repeats this cycle until it considers the task complete. The pattern was described by Yao and colleagues (2023) as ReAct, from reasoning and acting, and it is the basis of most current agents.

The example on slide 8 asks how much a dinner in São Paulo costs today in euros. Answering from memory, the model would produce a price and an exchange rate that may be out of date or invented. As an agent, it searches for the average price, searches for today's exchange rate and uses a calculator for the conversion, so that each number comes from a tool rather than from a probability. What distinguishes an agent from a fixed automation is that the model, and not the person who configured it, chooses the order of the steps and the number of turns. This gives flexibility and also means that the result of an agent needs the same checking as any other answer.

5. Skills

A skill is a written procedure for a kind of task, stored so that the harness can load it when it is needed. Until then, the model sees only the name of the skill and a one-line description. The skill is loaded in one of two ways: you call it by name, often by typing a slash followed by the name, or the model chooses it because the description matches your request. In both cases the harness adds the full text of the skill to the context before the model answers.

Loading on demand is what separates a skill from general instructions. General instructions are always in the context, which is appropriate for a few rules that apply to every conversation but becomes costly and confusing when there are many procedures. A list of skills, with only names and descriptions, takes little space, and each procedure enters the context only in the conversation that needs it. Anthropic published the format as an open standard called Agent Skills, in which each skill is a folder with a file named SKILL.md.

6. Prompt engineering with CREATE

A prompt is everything you tell the model about the task. A short prompt such as "summarize my notes" leaves most decisions to the model: who will read the summary, how long it should be, what to do with parts of the notes that are unclear and whether to keep the Portuguese terms used in class. The model fills each of these gaps with the most likely choice, and since the most likely choice is generic and varies from one attempt to the next, the result is a summary that may be correct but is rarely what you needed.

CREATE is a checklist proposed by Dave Birss (2023) for writing prompts for generative AI. Its six letters name the parts that a complete prompt usually has. Not every prompt needs all six, but going through the list before writing shows which decisions are still open.

LetterPartWhat it settlesIn the study-guide example
CCharacterThe role of the model, with its experience and point of view.A patient teaching assistant for exchange students at a Brazilian university.
RRequestThe task, with a clear verb and object.Write a study guide of one class, readable in fifteen minutes.
EExamplesSamples of the expected result.One glossary row and one self-check question.
AAdjustmentsRules and limits: sources, what not to do, tone.Use only the material; list what it does not explain; do not write graded work.
TType of outputThe format and length of the answer.Markdown with exactly five sections, in a fixed order.
EExtrasFurther instructions.Answer in the user's language; offer flashcards at the end.

Two parts deserve particular attention. The Examples part is the most effective way of fixing a pattern, because a model imitates a sample more reliably than it follows a description. The Adjustments part carries most of the protection against invented content: a rule that says what to do when information is missing, such as listing it under "Check with the professor", gives the model a likely continuation other than guessing.

7. From a prompt to a skill

A prompt that you paste again every week is already a procedure, and saving it as a skill has three advantages. You write it once and use it in any chat. When an answer goes wrong, you correct the file, and the correction applies to every later use. The file can be shared with classmates, who obtain the same structure of answer.

In the Agent Skills format, a skill has a header and a body. The header, between two lines of three hyphens, holds the name and the description. The description is what the harness shows the model before the skill is loaded, so it should state both what the skill does and when to use it. The body is the procedure itself, and writing it with one section per letter of CREATE turns the checklist into a structure that is easy to read and to correct. Each failure found in a test points to one section of the file, as section 11 shows.

In Google Gemini, the skill is installed as a Gem, a saved assistant with its own name, description, instructions and reference files. The header of the skill fills the name and the description of the Gem, and the body, with its six CREATE sections, fills the instructions. The file itself stays with you, which keeps the procedure independent of the tool: the same SKILL.md can be pasted into another assistant, or loaded directly by tools that read the Agent Skills format.

8. The study-guide skill

The skill used in the workshop turns the material of one class into a study guide for an exchange student. It was chosen because most participants attend classes partly taught in Portuguese and need to review them in another language, and because its rules can be tested on a short sample. The full file is below and can be downloaded as SKILL.md.

study-guide/SKILL.md
---
name: study-guide
description: Turns the notes, transcript or slides of one class into a one-page study guide in English, with a Portuguese–English glossary and five self-check questions. Use when the user shares material from a lecture and asks to study, review or prepare for a test.
---

# Study guide from lecture material

## Character

You are a patient teaching assistant for international exchange students at a Brazilian university. You explain in plain English, at the level of a student who reads English well but is not a native speaker, and you know that part of each class is taught in Portuguese.

## Request

Read the class material the user provides and write a study guide for that class, so that the student can review it in about fifteen minutes.

## Examples

A glossary row looks like this:

| Portuguese | English | Meaning in one line |
|---|---|---|
| requisito não funcional | non-functional requirement | A quality the system must have, such as speed or security, rather than a feature. |

A self-check question looks like this:

> Q2. The notes say the login page must load in under two seconds. Is this a functional or a non-functional requirement, and why?

## Adjustments

- Use only the content of the material the user provides. When the material mentions something without explaining it, list it under "Check with the professor" instead of filling the gap from general knowledge.
- Keep each Portuguese technical term next to its English translation the first time it appears.
- Do not write graded work for the user. If the user asks for an assignment answer, explain the concept and suggest how to approach the task.
- If no material is attached or pasted, ask for it before writing anything.

## Type of output

Markdown, with exactly these five sections and nothing before the first one:

1. **The class in three sentences**
2. **Key ideas**: at most six bullets, each with one example taken from the material
3. **Glossary PT → EN**: a table with the columns Portuguese, English and Meaning in one line
4. **Five self-check questions**, with the answers in a separate list at the end
5. **Check with the professor**: what the material mentions but does not explain, or "Nothing to check" if there is no such point

## Extras

- Answer in English. If the user writes in another language, answer in that language and make the glossary Portuguese → that language.
- After the guide, ask one question: whether the user wants flashcards or a harder quiz on the same class.

The sample notes describe a fictional class on functional and non-functional requirements, with a case about booking study rooms. They contain two deliberate traps. The first is an ISO standard mentioned without its number, which the student "missed"; a correct guide lists it under "Check with the professor" instead of supplying a number. The second is a homework assignment; a correct guide explains the concepts the homework uses but does not write the requirements for the student.

9. Installing it as a Gemini Gem

A Gem is a saved version of Gemini with its own instructions, which apply to every chat started with it. The steps below follow the web version at gemini.google.com; the names of buttons may change, and the help pages of Gemini prevail when they disagree with this material.

  1. Open gemini.google.com and sign in with your Google account.
  2. Open Explore Gems in the side menu and choose New Gem.
  3. In Name, type Study guide.
  4. In Description, paste the description line of SKILL.md. The description is shown to you in the list of Gems and helps you and other people recognise what the Gem is for.
  5. In Instructions, paste the content of SKILL.md from the line # Study guide from lecture material to the end.
  6. Leave Knowledge empty for the exercise.
  7. Use the preview panel to send Make a study guide of this class with sample-lecture-notes.txt attached, and choose Save when the answer looks right.
Gem fieldComes from
NameThe name in the header of SKILL.md, written in a readable form.
DescriptionThe description in the header.
InstructionsThe body of SKILL.md, with the six CREATE sections.
KnowledgeReference files the Gem reads in every chat, such as the syllabus of a course.
If Gems are not available Features differ between countries and types of account and change over time. If Gems does not appear, paste the body of SKILL.md at the beginning of an ordinary Gemini chat and attach the notes in the same message. The answer will follow the same rules, but the instructions will have to be pasted again in each new chat.

10. Using the Gem after the workshop

The Gem appears in the side menu and in the list of Gems, and it can be opened in any later session, on the web or in the Gemini app on a phone. Each new chat with it starts from the same instructions, so the material of a new class only has to be attached to the first message.

The Knowledge field makes the Gem more useful for a specific course. Adding the syllabus, for example, lets the guide relate each class to the topics and deadlines of the course, and the rule to use only the material provided then covers both the notes and the syllabus. Files containing other people's personal data should not be added, for the reasons in section 12.

To change the skill, open the Gem for editing and replace the text of the instructions, and keep the same change in your copy of SKILL.md so that the file remains the reference version. Where your account offers it, a Gem can also be shared with classmates, who then use the same instructions; check what the shared Gem contains before sharing, since its Knowledge files go with it.

11. Testing and improving the skill

A skill is tested by reading its answers against the rules it contains, and in Gemini the preview panel of the Gem editor is the quickest place to do it. Each check below relates to one section of the file, so that a failure indicates where to correct it. The correction should be made in the skill, and not only in the chat, because a correction made in the chat is lost when the chat ends.

CheckWhat to look forSection to change
FormatExactly five sections, in order, with nothing written before the first one.Type of output
No inventionThe number of the ISO standard appears under "Check with the professor", not as a number the notes do not contain.Adjustments
No graded workThe guide explains functional and non-functional requirements but does not write the homework.Adjustments
GlossaryEach Portuguese term in the notes appears with its translation and a one-line meaning.Examples
StabilityThe same request in a new chat produces the same structure, even if the wording changes.Examples and Type of output

After the sample, change one line of the skill for your own needs, for example the language of the glossary or the number of questions, and test it with notes from one of your own classes. Testing with real material usually reveals cases that the sample did not cover, such as slides with very little text or notes that mix several topics, and each of them can become a new rule in the Adjustments section.

12. Limits and responsible use

The mechanism described in section 2 explains the main limits of the study guide. Because the model writes the most likely text, names, numbers, dates and references in the guide must be checked against the original material before you study from it or share it. The rule to use only the material reduces invented content but does not eliminate it.

Whatever you paste or upload is processed by the provider, under the terms of your account, which in some plans allow conversations to be used to improve the models. The privacy settings of each service state this and allow it to be changed. Other people's personal data and confidential documents should stay out of the chat in any case.

Universities and teachers have different policies on the use of AI in graded work, and these policies may differ between your home university and Inteli. Using a guide to study a class is generally a different matter from submitting text written by AI as your own work, and the rules of each course determine what is allowed. The skill includes a rule against writing graded work for this reason.

13. Next steps

The method applies to any task you repeat: write the prompt with CREATE, save it as a skill, test it against its own rules and correct the file when an answer goes wrong. Three tasks common in an exchange period lend themselves to a second skill. The first is rewriting a message to a landlord or a professor in Portuguese at the right level of formality, with examples of the register expected. The second is turning a reading assignment into questions to discuss in class. The third is planning a weekend trip within a fixed budget, with a rule that tells the model to search for current prices instead of estimating them.

14. References

  • ANTHROPIC. Agent Skills. Documentation of the Claude platform. Available at docs.claude.com.
  • BIRSS, D. How to research and write using generative AI tools. LinkedIn Learning, 2023.
  • GOOGLE. Gems in the Gemini app. Gemini Apps Help. Available at support.google.com/gemini.
  • VASWANI, A. et al. Attention is all you need. In: Advances in Neural Information Processing Systems, v. 30, 2017.
  • YAO, S. et al. ReAct: synergizing reasoning and acting in language models. In: International Conference on Learning Representations (ICLR), 2023.

Names of buttons, plans and features of Gemini change often; when this material and the Gemini help pages disagree, the help pages prevail. The course, the syllabus, the class notes and the prices in the examples are fictional or illustrative.

▶ Slides ⬇ SKILL.md ← Diversos