Skip to content

chore: add agent baseline (AGENTS.md, skill, CI drift check)#83

Open
steve-calvert-glean wants to merge 1 commit into
mainfrom
chore/agent-baseline
Open

chore: add agent baseline (AGENTS.md, skill, CI drift check)#83
steve-calvert-glean wants to merge 1 commit into
mainfrom
chore/agent-baseline

Conversation

@steve-calvert-glean

Copy link
Copy Markdown
Contributor

Onboards this repo to the gleanwork agent baseline via @gleanwork/configure-agents:

  • Promote the existing CLAUDE.md into AGENTS.md and leave CLAUDE.md as a thin pointer.
  • Add skills/SKILL.md — a skill teaching a consuming AI how to use the configure-mcp-server CLI (configuring an MCP client to connect to Glean's MCP server, remote/OAuth or local). It points at the CLI --help and command definitions rather than transcribing flags.
  • Add a CI workflow that drift-checks the baseline structure on every PR.
  • Add a skills-install block to the README.

The skill is installable via npx skills add gleanwork/configure-mcp-server.

🤖 Generated with Claude Code

Onboards this repo to the gleanwork agent baseline via
@gleanwork/configure-agents:

- Promote the existing CLAUDE.md into AGENTS.md and leave CLAUDE.md as a
  thin pointer.
- Add skills/SKILL.md teaching a consuming AI how to use the
  configure-mcp-server CLI (configuring an MCP client to connect to Glean's
  MCP server). It points at the CLI --help and command definitions rather
  than transcribing flags.
- Add a CI workflow that drift-checks the baseline structure on every PR.
- Add a skills-install block to the README.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@steve-calvert-glean steve-calvert-glean requested a review from a team as a code owner June 17, 2026 00:34
Comment thread AGENTS.md
### Three Main Commands

1. **`local`** - Configures local MCP server (stdio transport)
- Requires: `--client`, `--token`, `--instance` (or `--env`)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Documentation inconsistency: This line states that the local command requires --instance (or --env), but skills/SKILL.md lines 38 and 47 state that --instance / GLEAN_INSTANCE / GLEAN_SUBDOMAIN are deprecated in favor of --server-url / GLEAN_SERVER_URL. This creates conflicting guidance where AGENTS.md says --instance is required but skills/SKILL.md says it's deprecated.

Fix by updating this line to use the non-deprecated flag:

- Requires: `--client`, `--token`, `--server-url` (or `--env`)
Suggested change
- Requires: `--client`, `--token`, `--instance` (or `--env`)
- Requires: `--client`, `--token`, `--server-url` (or `--env`)

Spotted by Graphite

Fix in Graphite


Is this helpful? React 👍 or 👎 to let us know.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant