glean-chat

Original🇺🇸 English
Translated

Chat with Glean Assistant from the command line. Use when asking questions, summarizing documents, or getting AI-powered answers about company knowledge.

8installs
Added on

NPX Install

npx skill4agent add gleanwork/glean-cli glean-chat

Tags

Translated version includes tags in frontmatter

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.
bash
glean chat [flags]

Flags

FlagTypeDefaultDescription
--dry-run
booleanfalsePrint request body without sending
--json
stringComplete JSON chat request body (overrides individual flags)
--message
stringChat message (positional arg) (required)
--save
booleantrueSave the chat session
--timeout
integer30000Request timeout in milliseconds

Examples

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

Discovering Commands

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

# List all available commands
glean schema | jq '.commands'