TechBuzzPro

Gemini CLI Agent Skills Not Working? Fix Missing Skills

· 6 min read · AI Tools

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

If Gemini CLI agent skills are missing, stuck, or not running, the usual fix is to confirm the skill files are in the correct folder, restart the CLI so it rescans, and reinstall the CLI if the skill loader itself is broken. Below is the practical order that resolves most cases without guessing.

What You'll Need

  • Gemini CLI installed from its official source, plus a terminal or command prompt you can run it from.
  • Your project folder open in that terminal, because skills are discovered relative to where you launch the CLI.
  • A text editor to inspect skill files and configuration.
  • Your Gemini CLI version number, which you can check with the CLI's own version command or by looking at the package manager output.

Step-by-Step

  1. Confirm the CLI actually sees your project. Launch Gemini CLI from the root of the project that contains your skills folder. If you start it from your home directory or a parent folder, the skill discovery can look in the wrong place and report nothing found. Close the session, change into the project directory, and start again.
  2. Check the folder name and location. Skills are discovered from a specific directory inside the project (commonly a hidden folder such as .gemini containing a skills subfolder). Open your file manager or run a directory listing that includes hidden files to confirm the folder exists and is spelled exactly as the documentation specifies. A folder named skill instead of skills, or one placed at the user level when the CLI expects it at the project level, will not be found.
  3. Inspect each skill's manifest. Open the file that declares the skill (usually a Markdown or YAML file with a name, description, and instructions). Check that the name is present, the description is a single clear sentence, and the file is saved as plain UTF-8 text. A malformed header or a missing required field is the most common reason a skill appears in the list but never runs.
  4. Look for duplicate or conflicting names. If two skills share the same name, the loader may keep one and silently drop the other, which looks like a missing skill. Rename one of them and restart.
  5. Restart the CLI cleanly. Exit the session fully and start it again. Do not rely on a reload command unless the CLI documents one; a fresh process forces a rescan of the skills directory.
  6. Ask the CLI to list available skills. Use the CLI's own skill listing or help command to see what it has loaded. Compare that list against the folders on disk. Anything on disk but absent from the list points to a manifest problem; anything in the list but not triggering points to a description or matching problem.
  7. Test one skill in isolation. Start a new session and give a prompt that clearly matches a single skill's description. If it runs, the loader is fine and the issue is with the other skills' descriptions. If it does not, move to the next step.
  8. Check permissions. On macOS and Linux, run ls -l on the skills folder and confirm your user can read the files. On Windows, right-click the folder, open Properties, and confirm it is not blocked or read-only. Unreadable files are skipped without an obvious error.
  9. Update the CLI. Reinstall or update Gemini CLI through the same official package manager you used originally, then restart. Skill loading behaviour has changed across releases, and an old build may not support the folder layout you are using.
  10. Reinstall as a last resort. If updating does not help, uninstall the CLI, remove any leftover global configuration folder it created, and install it fresh from the official source. This clears a corrupted cache or a half-written config file. Back up any custom skills first so you can copy them back.

Common Mistakes

  • Running from the wrong directory. Skills are project-scoped in most setups. Starting the CLI one level above the project root is the single most common cause of "no skills found".
  • Using the wrong folder name. The folder must match the documented name exactly, including case on Linux and macOS. Skills and skills are different paths.
  • Editing files while the CLI is running. Some loaders read skills once at startup. Changes made mid-session may not appear until you restart.
  • Vague descriptions. A skill whose description is "helps with code" will rarely be selected. Write descriptions that name the task and the trigger words a user would actually type.
  • Assuming a skill is broken when it was never selected. The CLI chooses skills by matching your prompt to descriptions. A skill that never runs may simply never have been a good match.

Tips

  • Keep one skill per folder and give the folder the same name as the skill. This makes listing and debugging far easier.
  • Write the description as if it were a search result: what the skill does, when to use it, and the words a user would say.
  • Test new skills in a throwaway project before adding them to your main one, so a bad manifest cannot disrupt your normal workflow.
  • Keep a plain-text note of the exact folder path and file names that work, so you can restore them after an update.
  • If you use both project-level and user-level skills, check both locations before concluding a skill is missing.

Troubleshooting

If the CLI still reports no skills after a restart, run it with any verbose or debug flag the official documentation lists and read the startup output. Loader errors are often printed there but hidden in normal use. If a skill appears in the list but hangs when invoked, open its instruction file and look for references to files or commands that do not exist; a skill that tries to read a missing file can stall. If only some skills fail, compare a working manifest with a broken one line by line. If nothing loads at all, reinstall the CLI and confirm the version you are running supports the folder layout you created. When in doubt, check the official Gemini CLI documentation for the current skills directory path, since it can differ between releases.

Frequently Asked Questions

Where should agent skills be stored?

In the skills directory the official documentation specifies for your CLI version, usually inside a hidden configuration folder in your project. Confirm the exact path in the docs before creating it, because it has changed between releases.

Why does a skill show up but never run?

The CLI selects skills by matching your prompt to the skill's description. If the description is vague or does not contain the words you used, the skill will not be chosen. Rewrite the description with clear trigger terms.

Do I need to restart after editing a skill?

Yes in most cases. Skills are typically read at startup, so exit the session completely and start a new one after any change.

Can I use skills across multiple projects?

Only if the CLI supports a user-level skills folder and you place them there. Otherwise copy the skill folder into each project.

Does reinstalling delete my skills?

Skills stored inside your project folder are not touched by reinstalling the CLI. Skills stored in the CLI's own global configuration folder may be removed, so back them up first.

What if the CLI crashes when loading a skill?

Remove the suspect skill folder, restart, and confirm the CLI runs. Then add skills back one at a time to find the file causing the crash, and check its manifest for malformed syntax.