Ogment CLI Skill
Securely invoke MCP tools via the Ogment CLI. Access your connected SaaS tools (Linear, Notion, Gmail, Slack, Supabase, etc.) through Ogment's governance layer.
Quick Start
Step 1: Check Auth
ogment auth status
- - If
loggedIn: true → skip to Step 3 - If
loggedIn: false → continue to Step 2
Step 2: Login (if needed)
CODEBLOCK1
Extract verificationUri from the response and send it to your human as a clickable link:
🔐 Approve Ogment access:
👉 Click to approve
Wait for approval, then verify with ogment auth status.
Step 3: Discover What's Available
CODEBLOCK2
Step 4: Summarize to Your Human
✅ Connected to Ogment! Here's what I can access:
- - Gmail: 11 tools (messages, threads, drafts)
- Notion: 5 tools (search, fetch, comments)
- Slack: 7 tools (conversations, users)
What would you like me to help with?
Core Workflow
CODEBLOCK3
Discover servers
CODEBLOCK4
List tools
CODEBLOCK5
Inspect tool schema
CODEBLOCK6
Invoke a tool
CODEBLOCK7
Common Patterns
Gmail (requires userId: "me")
CODEBLOCK8
Notion
CODEBLOCK9
Supabase
CODEBLOCK10
Linear
CODEBLOCK11
Ogment CLI 技能
通过 Ogment CLI 安全调用 MCP 工具。通过 Ogment 的治理层访问您已连接的 SaaS 工具(Linear、Notion、Gmail、Slack、Supabase 等)。
快速开始
步骤 1:检查认证状态
bash
ogment auth status
- - 如果 loggedIn: true → 跳转到步骤 3
- 如果 loggedIn: false → 继续执行步骤 2
步骤 2:登录(如需)
bash
ogment auth login
从响应中提取 verificationUri,并以可点击链接的形式发送给您的人类用户:
🔐 批准 Ogment 访问:
👉 点击批准
等待批准,然后使用 ogment auth status 验证。
步骤 3:发现可用工具
bash
ogment catalog
ogment catalog
步骤 4:向人类用户总结
✅ 已连接到 Ogment! 以下是我可以访问的内容:
- - Gmail: 11 个工具(邮件、线程、草稿)
- Notion: 5 个工具(搜索、获取、评论)
- Slack: 7 个工具(对话、用户)
您希望我帮您做什么?
核心工作流程
auth status → catalog → catalog → invoke
发现服务器
bash
ogment catalog
列出工具
bash
ogment catalog
检查工具架构
bash
ogment catalog
调用工具
bash
ogment invoke --input
常见模式
Gmail(需要 userId: me)
bash
ogment invoke gmail_listMessages --input {userId: me, maxResults: 10}
ogment invoke gmail_getMessage --input {userId: me, messageId: }
Notion
bash
ogment invoke Notion_notion-search --input {query: 季度回顾}
Supabase
bash
ogment invoke Supabaseexecutesql --input {query: SELECT * FROM users LIMIT 5}
Linear
bash
ogment invoke Linearlistissues --input {}