You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Provide a way to control the standard names of hooks and skills folder via gemini-extension.json of an extension #19969
area/extensionsIssues related to Gemini CLI extensions capabilityhelp wantedWe will accept PRs from all issues marked as "help wanted". Thanks for your support!
gemini-extension.json manifest is there anyway, so providing a way to use different names for the standard hooks and skills folder during development will be very useful.
Why is this needed?
I want to develop multi cli compatible extension/plugin (Claude code) in the same folder without copying or resorting to build step or pre-commit hooks etc.
This is a valid feature request. Currently, the names of the hooks and skills folders are hardcoded in the ExtensionManager. Providing a way to override these in the gemini-extension.json manifest would be very useful for developers who want to maintain multi-CLI compatible extensions in the same directory.
Proposed Change:
Update the ExtensionConfig interface to include optional hooksDir and skillsDir properties.
Update ExtensionManager to use these properties if defined, falling back to the default hooks and skills directory names.
Update FolderTrustDiscoveryService to also respect these custom directory names during extension discovery/installation so the trust prompt correctly reflects the folder's contents.
Categorized as Help-wanted as this is a well-scoped feature that would be a great contribution from the community.
Thank you for bringing this to our attention. Right now, our engineering team is focusing all resources on critical system maintenance and core stability. Because of this, we don't have immediate plans to address this specific issue, but we truly appreciate you flagging it for us.
area/extensionsIssues related to Gemini CLI extensions capabilityhelp wantedWe will accept PRs from all issues marked as "help wanted". Thanks for your support!
Activity
cocosheng-g commentedon Apr 7, 2026
Triage Summary
This is a valid feature request. Currently, the names of the
hooksandskillsfolders are hardcoded in theExtensionManager. Providing a way to override these in thegemini-extension.jsonmanifest would be very useful for developers who want to maintain multi-CLI compatible extensions in the same directory.Proposed Change:
ExtensionConfiginterface to include optionalhooksDirandskillsDirproperties.ExtensionManagerto use these properties if defined, falling back to the defaulthooksandskillsdirectory names.FolderTrustDiscoveryServiceto also respect these custom directory names during extension discovery/installation so the trust prompt correctly reflects the folder's contents.Categorized as Help-wanted as this is a well-scoped feature that would be a great contribution from the community.
skainguyen1412 commentedon Apr 8, 2026
/assign
gemini-cli commentedon Apr 8, 2026
👋 @skainguyen1412, you've been assigned to this issue! Thank you for taking the time to contribute. Make sure to check out our contributing guidelines.
Adib234 commentedon May 8, 2026
Thank you for bringing this to our attention. Right now, our engineering team is focusing all resources on critical system maintenance and core stability. Because of this, we don't have immediate plans to address this specific issue, but we truly appreciate you flagging it for us.