用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/dvcrn/openclaw-skills-marketplace --skill ogment-agentic-cli命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
监控 OpenClaw GitHub 版本更新,获取最新版本发布说明,翻译成中文, 并推送到 Telegram 和 Feishu。用于:(1) 定时检查版本更新 (2) 推送版本更新通知 (3) 生成中文版发布说明
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your agent a soul.
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
基于 SOC 职业分类
正在显示 SKILL.md
| name | ogment-agentic-cli |
| description | ogment-agentic-cli |
Securely invoke MCP tools via the Ogment CLI. Access your connected SaaS tools (Linear, Notion, Gmail, PostHog, etc.) through Ogment's governance layer.
Follow this flow when first using Ogment with a user:
ogment auth status
loggedIn: true → skip to Step 3loggedIn: false → continue to Step 2ogment auth login
Extract the code from the response and send it to your human.
⚠️ Make links clickable! Use markdown or full URLs so humans can tap/click directly.
🔐 Approve this code to connect Ogment:
XXXX-XXXX👉 dashboard.ogment.ai/cli/approve
Wait for approval, then verify with ogment auth status.
ogment catalog
Then for each server:
ogment catalog <serverId> | jq '[.data.tools[].name]'
Tell them what you found:
✅ Connected to Ogment! Here's what I can access:
- Linear: 28 tools (issues, projects, teams, docs)
- 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?
| Requirement | Install | Required |
|---|---|---|
ogment CLI | npm install -g @ogment-ai/cli | ✅ Yes |
jq | brew install jq / apt install jq | Optional (for filtering) |
⚠️ IMPORTANT FOR AGENTS: Don't tell the human to run ogment auth login — run it yourself and send them the code!
ogment auth status
If loggedIn: true, skip to Core Workflow.
ogment auth login
This returns JSON with a device code. Extract and send to the human:
Example output:
{
"data": {
"event": "auth_login.pending",
"verification": {
"userCode": "ABCD-1234",
"verificationUri": "https://dashboard.ogment.ai/cli/approve"
}
}
}
Tell them:
Approve this code:
ABCD-1234👉 https://dashboard.ogment.ai/cli/approve
The ogment auth login command will complete automatically once approved. Then verify:
ogment auth status
~/.config/ogment/credentials.jsonNo credentials are stored in this skill — all auth is managed by the Ogment CLI.
status → catalog → catalog <server> → catalog <server> <tool> → invoke
ogment status
Returns auth state, connectivity, and available servers. Check summary.status for quick health.
ogment catalog
Returns list of servers with serverId and toolCount. Use serverId in subsequent calls.
ogment catalog <serverId>
Returns all tools with name and description. Scan descriptions to find the right tool.
ogment catalog <serverId> <toolName>
Returns inputSchema with properties, types, required fields, and descriptions.
ogment invoke <serverId>/<toolName> --input '<json>'
Input methods:
--input '{"query": "test"}'--input @path/to/input.jsonecho '{}' | ogment invoke ... --input -ogment invoke <serverId>/<toolName> --input '{}' --debug
The --debug flag surfaces raw MCP error messages with field-level validation details.
The --input @path flag reads local files. Avoid these paths:
~/.ssh/* — SSH keys~/.aws/* — AWS credentials~/.config/ — App configs and tokens~/.bash_history, ~/.zsh_history — Shell historyBest practice: Only use --input @path with files you've explicitly created for this purpose.
dashboard.ogment.aiAll commands return structured JSON:
{
"ok": true,
"data": { ... },
"error": null,
"meta": { "command": "..." },
"next_actions": [
{ "command": "...", "title": "...", "reason": "..." }
]
}
ok first — boolean success indicatornext_actions — suggested follow-up commandserror.category — validation, not_found, remote, auth, internalerror.retryable — whether retry might helpogment catalog <serverId> | jq '.data.tools[] | select(.name + .description | test("email"; "i"))'
ogment invoke openclaw/Linear_list_issues --input '{"assignee": "me"}'
ogment invoke openclaw/Notion_notion-search --input '{"query": "quarterly review", "query_type": "internal"}'
ogment invoke openclaw/gmail_listMessages --input '{"q": "is:unread", "maxResults": 10}'
| Error Code | Meaning | Action |
|---|---|---|
TOOL_NOT_FOUND | Bad server/tool name | Run ogment catalog to rediscover |
VALIDATION_INVALID_INPUT | Malformed JSON | Check JSON syntax |
TRANSPORT_REQUEST_FAILED | Server rejected call | Add --debug, check schema |
AUTH_INVALID_CREDENTIALS | Bad/expired API key | Run ogment auth login |
HTTP_401 | Service connection expired | Tell human to reconnect (see below) |
HTTP_502 | Server down | Retry after delay |
When you get HTTP_401 with a message like:
"Your connection to [Service] has expired. Please reconnect..."
Tell your human (with clickable link):
⚠️ Your [Service] connection has expired. Please reconnect it here: dashboard.ogment.ai (Go to Integrations → [Service] → Reconnect)
Let me know when done and I'll retry!
If a tool you expect isn't available (e.g., gmail_createDraft not in catalog):
Tell your human (with clickable link):
I don't have write access to [Service]. To enable it, go to: dashboard.ogment.ai (Agents → [Agent Name] → Permissions)
Let me know when updated and I'll check again!
| Code | Meaning |
|---|---|
| 0 | Success |
| 2 | Validation/parse error |
| 5 | Not found |
| 7 | Remote/transport error |
| 9 | Internal error |
| Flag | Effect |
|---|---|
--debug | Include raw error diagnostics |
--human | Human-readable output |
--yes | Auto-confirm prompts |
--api-key <key> | Override API key |
Avoid: --quiet (suppresses all output including data)
Before invoking a tool:
catalog)catalog <server>)--input @path, verified file doesn't contain sensitive data