glean-cli-collections

Installation
SKILL.md

glean collections

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

Manage Glean collections. Subcommands: create, delete, update, add-items, delete-item.

glean collections <subcommand> [flags]

Subcommands

Subcommand Description
add-items Add documents to a collection
create Create a new collection
delete Delete a collection
delete-item Remove a document from a collection
get Get a specific collection
list List all collections
update Update a collection

Flags

Flag Type Default Description
--dry-run boolean false
--json string JSON request body
--output json | ndjson | text json

Examples

glean collections create --json '{"name":"My Collection"}'

Discovering Commands

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

# List all available commands
glean schema | jq '.commands'
Related skills
Installs
22
GitHub Stars
46
First Seen
Apr 7, 2026