CLI Version
NA
What happened?
I went to grab the glean Agent Skill (for use with Claude Code / OpenCode) and found that there are a lot of tiny individual skills within this project's ./skills/ directory.
This goes against common best practices when creating agent skills, of following a pattern of progressive disclosure.
By having so many small skills each skills description gets injected into the context window of every agent interaction, bloating out the context. When in reality, there only needs to be one skill description that gets added to the agent context (describing that there is a Glean CLI skill and when to activate it).
What did you expect to happen?
I think realistically there should just be one single skill (glean-cli), with core information in the initial SKILL.md file and then domain-specific information that may not always be required when agents are using Glean CLI within ./resources/<information>.md
I ended up taking the skills from this repo and turning them into a single skill in the following repo, I'd be happy to submit a PR if you are interested. https://github.com/sammcj/agentic-coding/blob/main/Skills/glean-cli/SKILL.md
Steps to reproduce
N/A
Does the same issue occur with a direct API call?
N/A
Authentication method
OAuth (glean auth login)
Environment
N/A
Relevant output or logs
CLI Version
NA
What happened?
I went to grab the glean Agent Skill (for use with Claude Code / OpenCode) and found that there are a lot of tiny individual skills within this project's
./skills/directory.This goes against common best practices when creating agent skills, of following a pattern of progressive disclosure.
By having so many small skills each skills description gets injected into the context window of every agent interaction, bloating out the context. When in reality, there only needs to be one skill description that gets added to the agent context (describing that there is a Glean CLI skill and when to activate it).
What did you expect to happen?
I think realistically there should just be one single skill (glean-cli), with core information in the initial SKILL.md file and then domain-specific information that may not always be required when agents are using Glean CLI within
./resources/<information>.mdI ended up taking the skills from this repo and turning them into a single skill in the following repo, I'd be happy to submit a PR if you are interested. https://github.com/sammcj/agentic-coding/blob/main/Skills/glean-cli/SKILL.md
Steps to reproduce
N/A
Does the same issue occur with a direct API call?
N/A
Authentication method
OAuth (
glean auth login)Environment
N/A
Relevant output or logs