Skip to content

Provide a way to control the standard names of hooks and skills folder via gemini-extension.json of an extension #19969

Description

@sandipchitale

What would you like to be added?

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.

Additional context

No response

Activity

  1. added
    status/need-triage
    on Feb 22, 2026
  2. added
    area/extensions
    on Feb 22, 2026
  3. added
    help wanted
    and removed
    status/need-triage
    on Apr 7, 2026
  4. cocosheng-g commented on Apr 7, 2026

    @cocosheng-g
    Contributor

    Triage Summary

    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:

    1. Update the ExtensionConfig interface to include optional hooksDir and skillsDir properties.
    2. Update ExtensionManager to use these properties if defined, falling back to the default hooks and skills directory names.
    3. 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.

  5. skainguyen1412 commented on Apr 8, 2026

    @skainguyen1412

    /assign

  6. gemini-cli commented on Apr 8, 2026

    @gemini-cli
    Contributor

    👋 @skainguyen1412, you've been assigned to this issue! Thank you for taking the time to contribute. Make sure to check out our contributing guidelines.

  7. Adib234 commented on May 8, 2026

    @Adib234
    Contributor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area/extensionshelp wanted

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions