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

  • Linux Kernel Hardening: Command-line Lockdown
  • Make Linux Kernel More Safe and Hardening with Sysctl Easy Way
  • How to Lockdown Root & Wheel Group in Linux
  • How to Secure Sudo in Linux (Secure Sudo Logging & Timeout)
  • Make Fedora Login Safe with Authselect and Faillock
  • How Measure Linux Security Use OpenSCAP Lynis and Systemd
  • SELinux Make Nginx Break and How to Fix It Easy
  • How See Hidden SELinux Errors When Your Server Is Broken
  • How Fix SELinux Port Denied Error With Sealert Easy Guide
  • Read SELinux AVC Denial Log Simple Guide for Noob
  • How Check and Fix SELinux Block Things in Fedora Linux
  • How Actually SELinux is Work?
  • How to Install Elementary OS 8 Easy and Make It Good
  • How to Install UniFi OS Server on Ubuntu Linux Without Cloud Key
  • Top DNF5 Tips to Make Your Fedora Linux Super Fast
  • Run Local AI on Fedora 44 CPU Without Expensive GPU
  • Google Gemini Live Redesign: Works with more ‘Connected Apps’ on Android
  • A new LILYGO T3S3 ESP32-S3 with LoRA, WiFi & Bluetooth is Released only $16
  • New ESP32 Project: OpenTrafficMap ESP32-C5 C-ITS With 802.11p V2X communication
  • How to Unlock the Hidden Potential of Your Kindle with Amazing Community Plugins
  • How to Use Waze with Android Auto for the Ultimate Driving Experience
  • How to Transform Your GNOME Desktop with GNOME Prism
  • Why Your Google Maps Wear OS Navigation Fails While Using Android Auto
  • Packagist Attacked! How to Detect Hidden Malware Like This?
  • Claude Mythos Keeps Find High-severity Flaws, What You Should You Do?
  • Inilah Cara Mengatasi Unknown USB Device Descriptor Request Failed yang Paling Ampuh
  • Inilah 20 Kampus Swasta Terbaik di Bandung Versi EduRank 2026 untuk Referensi Kuliah Kalian
  • Inilah Syarat dan Cara Daftar Sekolah Kedinasan STPN 2026, Kuota Terbatas!
  • Inilah Cara Daftar PPKB UI 2026 Lengkap dengan Rincian Uang Pangkal Semua Jurusan S1
  • Inilah Aturan Resmi MPLS 2026 dari Kemendikdasmen, Guru dan Sekolah Wajib Catat Pedoman Lengkap Ini!
  • How to Automate Your Entire SEO Strategy Using a Swarm of 100 Free AI Agents Working in Parallel
  • How to create professional presentations easily using NotebookLM’s AI power for school projects and beyond
  • How to Master SEO Automation with Google Gemini 3.1 Flash-Lite in Google AI Studio
  • How to create viral AI video ads and complete brand assets using the Claude and Higgsfield MCP integration
  • How to Transform Your Mac Into a Supercharged AI Assistant with Perplexity Personal Computer
RSS Error: WP HTTP Error: A valid URL was not provided.
©2026 Tutorial emka | Design: Newspaperly WordPress Theme