agent-definition-fix/SKILL.md
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.
npx skillsauth add jswortz/my-skills agent-definition-fixInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
The Gemini CLI reported errors when loading several agent definition files in ~/.gemini/agents/.
The errors are:
Unrecognized key(s) in object: 'color': The color property in the frontmatter is not supported.tools: Expected array, received string: The tools property is defined as a comma-separated string but must be a list.Fix the agent definition files by removing the unsupported color property and converting the tools property to a list format where necessary.
All .md files in ~/.gemini/agents/.
fix_agent_definitions.py.
python3 fix_agent_definitions.py
.md files in ~/.gemini/agents/ and modify the frontmatter.research
Constant-Time Analyzer (ct-analyzer)
testing
--- name: condition-based-waiting description: -- name: Condition-Based Waiting description: Replace arbitrary timeouts with condition polling for reliable async tests when_to_use: when tests have ... --- -- name: Condition-Based Waiting description: Replace arbitrary timeouts with condition polling for reliable async tests when_to_use: when tests have race conditions, timing dependencies, or inconsistent pass/fail behavior version: 1.1.0 languages: all --- # Condition-Based Waiting ## Overvi
testing
--- name: collision-zone-thinking description: -- name: Collision-Zone Thinking description: Force unrelated concepts together to discover emergent properties - "What if we treated X like Y?" when_... --- -- name: Collision-Zone Thinking description: Force unrelated concepts together to discover emergent properties - "What if we treated X like Y?" when_to_use: when conventional approaches feel inadequate and you need breakthrough innovation by forcing unrelated concepts together version: 1.1.0
documentation
--- name: canvas-design description: -- name: canvas-design description: Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the... --- -- name: canvas-design description: Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid