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!

Recent Posts

  • How to Transform Your Windows 11 Interface into a Sleek and Modern Aesthetic Masterpiece
  • How to Understand Google’s New TPU 8 Series for Massive AI Training and Inference
  • How to Level Up Your PC Gaming Experience with the New Valve Steam Controller and Its Advanced Features
  • Is it Time to Replace Nano? Discover Fresh, the Terminal Text Editor You Actually Want to Use
  • How to Design a Services Like Google Ads
  • How to Fix 0x800ccc0b Outlook Error: Step-by-Step Guide for Beginners
  • How to Fix NVIDIA App Error on Windows 11: Simple Guide
  • How to Fix Excel Formula Errors: Quick Fixes for #NAME
  • How to Clear Copilot Memory in Windows 11 Step by Step
  • How to Show Battery Percentage on Windows 11
  • How to Fix VMSp Service Failed to Start on Windows 10/11
  • How to Fix Taskbar Icon Order in Windows 11/10
  • How to Disable Personalized Ads in Copilot on Windows 11
  • What is the Microsoft Teams Error “We Couldn’t Connect the Call” Error?
  • Why Does the VirtualBox System Service Terminate Unexpectedly? Here is the Full Definition
  • Why is Your Laptop Touchpad Overheating? Here are the Causes and Fixes
  • How to Disable All AI Features in Chrome Using Windows 11 Registry
  • How to Avoid Problematic Windows Updates: A Guide to System Stability
  • What is Microsoft Visual C++ Redistributable and How to Fix Common Errors?
  • What is the 99% Deletion Bug? Understanding and Fixing Windows 11 File Errors
  • How to Add a Password to WhatsApp for Extra Security
  • How to Recover Lost Windows Passwords with a Decryptor Tool
  • How to Fix Python Not Working in VS Code Terminal: A Troubleshooting Guide
  • Game File Verification Stuck at 0% or 99%: What is it and How to Fix the Progress Bar?
  • Why Does PowerPoint Underline Hyperlinks? Here is How to Remove Them
  • Inilah Alasan Kenapa Sinkhole Sering Muncul di Indonesia dan Cara Mengenali Tanda-Tandanya Supaya Kalian Tetap Aman
  • Inilah Program PJJ 2026 untuk Anak Tidak Sekolah, Cara Mudah Masuk SMA Tanpa Harus ke Kelas Tiap Hari!
  • Inilah Program SPMB 2026 PJJ Khusus Anak Tidak Sekolah, Solusi Buat yang Pengen Balik Belajar!
  • Inilah Cara Kuliah di Al-Azhar Mesir Lewat Jalur Kemenag 2026, Lengkap dengan Syarat dan Jadwalnya!
  • Inilah Jadwal Lengkap Jalur Mandiri Unud 2026, Persiapkan Diri Kalian Sebelum Menyesal!
  • How to create high-quality cinematic AI videos and realistic avatars using HeyGen and the Seedance 2.0 model
  • How to build an AI chatbot for your business in just minutes without writing a single line of code
  • How to Master Answer Engine Optimization with HubSpot AEO Tool
  • How to Use GPT-5.5 and Claude Opus 4.7 Together to Maximize Your Workflow Productivity and Code Quality
  • Claude Tutorial: How to Build Your First SaaS Business Using AI Without Coding
  • 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