jswortz/my-skills/agent-definition-fix
Claude Code and agent skill by jswortz/my-skills
- community
Checking that the SKILL.md file is still in the repository.
Use when the Gemini CLI reports errors loading agent definitions in ~/.gemini/agents/, such as unsupported 'color' keys or incorrect 'tools' formats. Provides a script to automatically fix these frontmatter issues.
Install
npx vskill@latest install jswortz/my-skills/agent-definition-fixSKILL.md
The same SKILL.md was published earlier as jswortz/my-skills/agent-definition-fix.
Agent Definition Fix
Issue Description
The Gemini CLI reported errors when loading several agent definition files in ~/.gemini/agents/. The errors are:
-
Unrecognized key(s) in object: 'color': Thecolorproperty in the frontmatter is not supported. -
tools: Expected array, received string: Thetoolsproperty is defined as a comma-separated string but must be a list.
Objective
Fix the agent definition files by removing the unsupported color property and converting the tools property to a list format where necessary.
Scope
All .md files in ~/.gemini/agents/.
Fix Procedure
- Run the provided Python script
fix_agent_definitions.py.
``bash python3 fix_agent_definitions.py ``
- The script will iterate through all
.mdfiles in~/.gemini/agents/and modify the frontmatter. - Verify the changes by checking the files.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingagent-definition-fix/SKILL.md
Popularity
- Repository stars
- 2
- Repository forks
- 2
- 7-day trend score
- 10
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jswortz/my-skills/agent-definition-fix)