Skip to content
QDNALearn AI
FR

Lesson 16 · Advanced · 15 min

Create a custom Gem: team assistant and persistent rules

Build custom Gems in Gemini: lock in permanent system instructions, attach reference guidelines, and distribute specialized assistants to your team.

Goal
You will configure, test, and harden custom Gems to automate recurring business tasks using your organization's persistent directives.
Skills
Steer
Step-by-step screenshot of Google Gems Manager: (1) Gem authoring screen, (2) GDPR system instructions, (3) interactive preview testing pane.
Illustration generated by AI
In brief.

Gems are customized versions of Gemini configured for recurring business assignments across enterprise teams. By combining a fixed persona, persistent system instructions, and authoritative uploaded reference files, you create a specialized workplace assistant without writing code, ready for immediate collaborative deployment across your entire organization.

  1. 1Persistent assistants: eliminating repetitive prompt copy-pasting

    Persistent assistants eliminate repetitive prompt copy-pasting for recurring enterprise tasks. Storing methodological rules and domain constraints inside a custom Gem ensures every team member receives consistent outputs aligned with organizational standards.

    In standard chat sessions, users must repeatedly paste their role, business context, and formatting constraints. A custom Gem preserves these specifications within its immutable system instructions. You can also attach authoritative reference files (brand guidelines, enterprise glossaries, pricing models) that the assistant checks first. Enterprise-grade Gems guarantee dependable outputs regardless of which colleague initiates the prompt.

    Gem element Operational role Workplace sales example
    Name & Description Establishes role and audience « Proposal Auditor: validates quotation accuracy »
    System instructions Enforces tone, logic, and negative guardrails « Act as a rigorous financial controller inspecting margins »
    Reference documents Grounded document repository Corporate pricing schedules, Master Service Agreements
    Diagram 'Custom Gem architecture': 1. Name and expert persona; 2. Persistent system instructions; 3. Attached reference files (guidelines, standards); 4. Specialized, reusable assistant ready for team deployment.Diagram 'Custom Gem architecture': 1. Name and expert persona; 2. Persistent system instructions; 3. Attached reference files (guidelines, standards); 4. Specialized, reusable assistant ready for team deployment.
    Diagram 'Custom Gem architecture'Diagram generated by AI and reviewed
  2. 2Configuring a 'GDPR Compliance Auditor' Gem for cross-functional teams

    Configuring a 'GDPR Compliance Auditor' Gem for cross-functional teams illustrates how dedicated assistants scale specialized compliance reviews without overloading internal legal counsel with routine checks.

    A corporate data protection officer wants to equip product teams to evaluate consumer intake forms independently.

    Weak prompt.

    You are a Gem that checks GDPR compliance. Be strict and help our teams.
    

    The instructions lack measurable bounds: the Gem returns generic legal definitions without conducting structured procedural checks.

    Strong prompt.

    You are our company official GDPR Compliance Auditor. For every submitted form, systematically assess: 1) explicit purpose of processing ; 2) legal basis for collection ; 3) mandatory retention disclosure. Respond in a 3-column table: Checked Item, Status (Compliant, Warning, Blocker), and Suggested Remediation. Refuse non-GDPR legal interpretations.
    

    The difference. The Gem operates under an explicit audit mandate and an enforced reporting schema, generating consistent compliance reviews on every run.

  3. 3Build your first specialized editorial Gem across four structured steps

    Build your first specialized editorial Gem across four structured steps to learn how to formalize workplace requirements into an automated assistant for team workflows.

    To test the configuration without drafting an entire style handbook from scratch, here is a corporate editorial excerpt (fictional company NovaTech Ltd), ready to use:

    [Corporate Editorial Charter - NovaTech Ltd (Training Sample)]
    - Tone & Stance: Professional, factual, restrained. Avoid unproven superlatives ("market leader", "miraculous technology").
    - Mandatory Format: Short sentences under 20 words, 2-column comparative tables for revisions.
    - Strict Refusals: The assistant refuses to approve external messaging citing unverified performance metrics or unvetted contractual warranties.
    

    The "Load exercise" button in the composer pre-fills the objective with the weak starting instructions:

    "You review team communications before publication."

    From this starting point, complete the prompt with the composer to configure your Gem. Define the quality reviewer persona for NovaTech Ltd, embed the reference charter's style rules, specify explicit refusal criteria (unsourced claims, unvetted warranties), and mandate human-in-the-loop sign-off before releasing content to clients.

    Self-evaluation rubric: (a) persona and negative constraints are saved in system instructions; (b) the 20-word sentence ceiling applies consistently; (c) the Gem remains accessible in your sidebar for future work.

    Open the prompt composer

  4. 4Drafting conflicting or ambiguous guidelines within system setup fields

    Drafting conflicting or ambiguous guidelines within system setup fields creates an erratic corporate assistant that produces inconsistent, rambling responses across user sessions.

    Entering instructions like 'Be highly creative yet strictly factual, be exhaustive yet very concise' traps the language model in contradictory trade-offs. The Gem oscillates between conflicting styles depending on subtle variations in user prompts.

    Fix: establish clear operational hierarchies ('Brevity always supersedes detail; whenever an instruction conflicts, ask clarifying questions').

    Rule to remember: crisp, prioritized rules produce a dependable Gem; contradictory adjectives create confusion.

  5. 5Quiz

    Three questions, instant feedback. Each option comes with an explanation.

    1. What primary business value does building custom Gems deliver to a team?

    2. What three core pillars form robust instructions within a Gem?

    3. How should you validate a newly constructed Gem before rollout?

  6. 6Proof of mastery

    Build a custom workplace Gem: provide the full text of its persistent system instructions alongside results from a verification test run.

    Advanced badgeThis lesson counts towards the Advanced badgeSee the four badges

    Criteria

Going further

Examine glossary entries for Gem, system instructions, and alignment. The next lesson, Chain complex tasks, explains multi-step orchestration. To manage assistants across your organization, see the Gemini prompt library.

Frequently asked questions

What distinguishes a standard prompt from a custom Gem?

A standard prompt must be pasted anew every session. A Gem durably locks in persona, tonal directives, formatting rules, and reference files permanently.

Can you distribute a custom Gem across workplace teams?

Yes, within Google Workspace corporate tenants, Gems can be shared with designated colleagues or published across your corporate domain.

How extensive can system instructions be inside a Gem?

Gem instructions support thousands of characters, accommodating extensive editorial guidelines, review rubrics, or operational procedures.

Sources