Skip to content
Tutorial emka
Menu
  • Home
  • Debian Linux
  • Ubuntu Linux
  • Red Hat Linux
Menu

How to Create Gemini CLI Agent Skills

Posted on March 4, 2026

Hello class! Have you ever wished your AI assistant knew exactly how you liked to work without you having to remind it every single time? Today, we are going to explore the world of Gemini CLI Agent Skills. It is like giving your digital assistant a specific instruction manual for all your favorite projects!

Imagine you are using a tool to build a website or a game. Usually, you have to explain your rules over and over. However, with Agent Skills, you can package those instructions into a special format that the AI understands automatically. In a recent discussion at Google Cloud Live, experts Joe Hanley and Luke Schlangen showed us exactly how this works. Let’s break down the technical parts so you can start building your own skills today.

What Exactly Are Agent Skills?

To understand Agent Skills, we first need to look at how AI agents interact with tools. You might have heard of the Model Context Protocol (MCP). Joe Hanley uses a great analogy for this: if an MCP server is a shovel (a tool to do a job), then an Agent Skill is the book on the shelf titled “How to Dig a Hole.”

One gives the agent the ability to do something, while the other gives it the specific instructions and best practices on how to use those tools correctly. Skills are essentially packaged instructions and scripts that extend what an agent can do. They are written in a mix of technical formats like YAML and Markdown, which are very easy to read once you get the hang of it.

Why Should We Use Skills Instead of Just Searching?

A common question is: “Why can’t I just let the AI search Google for the answers?” While searching is great, it often brings back too much information. This uses up something called “tokens.” You can think of tokens like the energy an AI uses to think. If you give the AI 100,000 tokens of documentation at once, it might get confused or become very slow.

Agent Skills use a clever method called “progressive disclosure.” This means the agent only looks at the specific information it needs at that exact moment. For example, if you are working on a login screen, the agent will only activate the “Authentication Skill” and ignore everything else. This makes the agent faster, more accurate, and much cheaper to run.

How to Install and Use Existing Skills

Before you build your own, you should know how to use the ones already made by the community. Google has released a set of skills specifically for Firebase, which is a platform for building apps.

To install these, you use a command-line interface (CLI). In your terminal, you would type:
npx skills add firebase/skills

This command lets you choose which skills you want, such as “app-hosting” or “firestore-basics.” You can install these globally on your computer or just for one specific project. Once installed, when you start your Gemini CLI session, the agent will see these skills and wait for the right moment to use them.

Building Your Very Own Custom Skill

Now for the fun part: making your own! A skill is made up of a few different parts stored in a folder inside a hidden directory called .agents/skills/.

  1. The Front Matter (YAML): This is at the very top of your SKILL.md file. it tells the agent the name of the skill and a short description. The description is very important because that is how the AI knows when to “wake up” the skill.
  2. The Markdown Body: This is where you write your instructions. You can use standard Markdown headers and bullet points to explain your coding standards, your favorite tools, or even your personal project preferences.
  3. References and Scripts: If your skill is very large, you can split it into multiple files. You can also include Python or JavaScript scripts that the agent can actually run to perform tasks for you.

For example, if your team has a specific way of naming variables, you can put that in a skill. When the agent starts writing code and sees it is in your project, it will automatically follow those rules without you ever asking.

Conclusion

The biggest difference between a “custom prompt” and an “Agent Skill” is how they start. You have to manually type a prompt every time. However, a skill is “agent-invoked.” The Gemini CLI is smart enough to monitor the conversation. If it detects that you are asking about a topic covered by one of your skills, it will ask for permission to activate it. Once you say yes, it loads that specific context and becomes an expert in that area instantly.

As you start your journey into AI development, remember that these tools are evolving very fast. The best way to learn is to experiment. Try taking your class notes or a project style guide and turning it into a Gemini CLI Skill. You will be surprised at how much more helpful your AI becomes when it finally understands your “instruction manual.” I recommend checking out the official Google Cloud GitHub repositories to see more examples of how professional developers are structuring their skills. Happy coding, class!

Leave a Reply Cancel reply

You must be logged in to post a comment.

Recent Posts

  • Meet the Huawei NetEngine 8000: The Router Powering the Next Generation of AI-Driven Networks!
  • LLM Settings That Every AI Developer Must Know
  • Is Your Second Monitor a Mess? Kubuntu 26.04 Resolute Raccoon Finally Fixes Multi-Display Woes!
  • How to Run Massive AI Models on Your Mac: Unlocking Your Hidden VRAM Secrets
  • How to Create Gemini CLI Agent Skills
  • WTF? Ubuntu Planning Mandatory Age Verification
  • Why This Retro PC is Actually a Modern Beast: Maingear Retro98
  •  Windows 11 Taskbar Update: How to Move and Resize Your Taskbar Again
  • Does KDE Plasma Require Systemd? Debunking the Mandatory Dependency Myths
  •  How to Fix ‘docs.google.com Refused to Connect’ Error in Windows 10/11
  • Aerynos Feb 2026 Update: Faster Desktops and Moss Performance Boost
  • Pangolin 1.16 Adds SSH Auth Daemon: What You Need to Know
  •  How to Fix Windows Audio Endpoint Builder Service Not Starting Errors
  • What’s New in elementary OS 8.1.1 with Linux Kernel 6.17?
  • Microsoft Tests AI Feature to Monitor Open Apps on Windows 11 Taskbar
  • Is Google Chrome Secretly Downloading AI Models? Everything You Need to Know
  • Shotcut 2.6.2 Fixes Timeline & HEVC Crashes: What You Need to Know
  • Hyprland Desktop 0.54 Released: Adds Per-Workspace Layouts
  • What’s New in Grafana 12.4: Dynamic Dashboards and Enhanced Observability
  • What are the Microsoft Outlook Steam Account Ads? Here is a Breakdown of the Policy Violation
  • Open Source Endowment Launches to Support FLOSS Infrastructure
  • What is Microsoft Teams Wi-Fi Tracking? This is the Privacy Issue You Should Know
  • Windows Server Finally Supports Boot REFs After 14 Years
  • LXD 6.7 Released: Powerful Container and VM Manager Upgrades
  • Ubuntu 26.04 LTS Snapshot 4 Release Notes and Download Guide
  • Belum Tahu? Inilah Cara Mudah Membuat Akun dan Login EMIS GTK IMP 2026 yang Benar!
  • Cara Dapat Kode Kartu Hadiah Netflix Gratis Tanpa Ribet
  • Inilah Caranya Dapet Bukti Setor Zakat Resmi dari NU-Care LazisNU Buat Potong Pajak di Coretax!
  • Inilah 10 Jurusan Terfavorit di Universitas Brawijaya Buat SNBT 2026, Saingannya Ketat Banget!
  • Inilah Cara Terbaru Login dan Ubah Password Akun PTK di EMIS GTK IMP 2026
  • Prompt AI Menyusun Script Pola Suara Karakter agar Brand Jadi Ikonik
  • Prompt AI untuk Merancang Karakter Brand yang Ikonik
  • Prompt AI Audit Konten Sesuai Karakter Brand
  • Prompt AI Merubah Postingan LinkedIn Jadi Ladang Diskusi dengan ChatGPT
  • Prompt AI: Paksa Algoritma LinkedIn Promosikan Konten Kalian
  • Apa itu Spear-Phishing via npm? Ini Pengertian dan Cara Kerjanya yang Makin Licin
  • Apa Itu Predator Spyware? Ini Pengertian dan Kontroversi Penghapusan Sanksinya
  • Mengenal Apa itu TONESHELL: Backdoor Berbahaya dari Kelompok Mustang Panda
  • Siapa itu Kelompok Hacker Silver Fox?
  • Apa itu CVE-2025-52691 SmarterMail? Celah Keamanan Paling Berbahaya Tahun 2025
©2026 Tutorial emka | Design: Newspaperly WordPress Theme