skills/glean/SKILL.md
Use when searching, querying, looking up, finding, browsing, or discovering your company's internal knowledge base, wiki pages, policies, company information, or internal resources via Glean. Also use when querying Glean AI for answers or checking what documents exist on a topic.
npx skillsauth add abhiroopb/synthetic-mind gleanInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Search your company's internal knowledge base, chat with Glean AI, and read document content.
Based on the mcp_glean MCP server, reimplemented as a self-contained CLI
with no dependency on mcp_glean at runtime.
The block-glean-cli is located at scripts/block-glean-cli.
scripts/block-glean-cli search "query" (with optional --datasource, --limit)scripts/block-glean-cli chat "question" (with optional --agent-id)scripts/block-glean-cli read DOC_ID (with optional --start, --end)scripts/block-glean-cli agents (with optional --name)This skill requires VPN and SSO access. If authentication fails with auth_error or Unable to retrieve client_id, STOP and tell the user:
Glean access requires VPN and SSO. Please ensure you are connected to VPN and can access the internal portal, then try again.
The CLI uses OAuth with your company's SSO. Tokens are stored at ~/.config/block-glean/tokens.json.
Auto-authentication: Commands automatically trigger OAuth when needed - no need to run auth login first.
# Check token status
scripts/block-glean-cli auth status
# Force re-authentication (if token is stale)
scripts/block-glean-cli auth login --reauth
# Remove stored tokens
scripts/block-glean-cli auth logout
Search across all indexed sources (Google Drive, Confluence, Slack, Jira, GitHub, etc).
# Basic search
scripts/block-glean-cli search "onboarding guide"
# Filter by datasource
scripts/block-glean-cli search "PTO policy" --datasource confluence
# Limit results
scripts/block-glean-cli search "incident" --limit 5
Datasource filters: gdrive, confluence, slackentgrid, thehub, jira, github, notion, kaltura
Get AI-synthesized answers with citations.
# Ask a question
scripts/block-glean-cli chat "What is the PTO policy?"
# Use a specific agent
scripts/block-glean-cli chat "question" --agent-id AGENT_ID
Fetch content from a document by ID (obtained from search results).
# Read first 100 lines
scripts/block-glean-cli read DOC_ID
# Read specific line range
scripts/block-glean-cli read DOC_ID --start 50 --end 150
Find available Glean agents/bots.
# List all agents
scripts/block-glean-cli agents
# Search by name
scripts/block-glean-cli agents --name "People Compass"
All commands output JSON:
{"ok": true, "results": [...]}
{"ok": false, "error": "message", "error_type": "auth_required"}
| Error | Solution |
|-------|----------|
| auth_error | Check VPN connection; may need auth login --reauth |
| Unable to retrieve client_id | Connect to VPN and the internal portal first |
| Address already in use | Kill process on port 8030: lsof -ti :8030 \| xargs kill |
testing
Track TV shows and movies with Trakt.tv. Search, get watchlist, history, up-next, recommendations, trending, calendar, ratings, stats, add/remove from watchlist, mark watched, rate, and check in. Use when asked about what to watch, TV shows, movies, watch history, or Trakt.
development
Send and receive SMS messages via Twilio API. Used for text message notifications, forwarding important alerts, and two-way SMS communication.
documentation
Organizes files in the local Downloads folder into proper folders. Use when asked to organize, sort, or file downloaded documents.
tools
Book and manage appointments on Sutter Health MyHealth Online portal. Uses browser automation via Playwright MCP to interact with the patient portal.