google-gemini / google-gemini/gemini-cli

~/.gemini/agents/filename.md is not recognized as an agent if filename.md is a symlink

Open
#20,079 4 comments 1 reaction 0 assignees View on GitHub
🔒 maintainer only area/agent kind/bug priority/p2 status/bot-triaged status/need-information workstream-rollup
Dominant language
TypeScript
Stars
107k
Forks
14.6k
Avg merge
2d 3h
Merged PRs (30d)
45

Description

### What happened?

When ~/.gemini/agents/filename.md is a symlink, it does not get recognized as an agent

### What did you expect to happen?

That you could have a symlink in ~/.gemini/agents/ and it would get recognized as a subagent.

### Client information

Client Information

Run `gemini` to enter the interactive CLI, then run the `/about` command.

```console
> /about
# paste output here
```

### Login information

_No response_

### Anything else we need to know?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.