glean-chat

Installation
SKILL.md

glean chat

PREREQUISITE: Read ../glean-shared/SKILL.md for auth, global flags, and security rules.

Have a conversation with Glean AI. Streams response to stdout.

glean chat [flags]

Flags

Flag Type Default Description
--dry-run boolean false Print request body without sending
--json string Complete JSON chat request body (overrides individual flags)
--message string Chat message (positional arg) (required)
--save boolean true Save the chat session
--timeout integer 30000 Request timeout in milliseconds

Examples

glean chat "What are the company holidays?"
glean chat --json '{"messages":[{"author":"USER","messageType":"CONTENT","fragments":[{"text":"What is Glean?"}]}]}'

Discovering Commands

# Show machine-readable schema for this command
glean schema chat

# List all available commands
glean schema | jq '.commands'
Related skills
Installs
16
GitHub Stars
46
First Seen
Mar 24, 2026