skills/datadog-automation/SKILL.md
Automate Datadog tasks via Rube MCP (Composio): query metrics, search logs, manage monitors/dashboards, create events and downtimes. Always search tools first for current schemas.
npx skillsauth add aaaaqwq/claude-code-skills datadog-automationInstall 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.
Automate Datadog monitoring and observability operations through Composio's Datadog toolkit via Rube MCP.
RUBE_MANAGE_CONNECTIONS with toolkit datadogRUBE_SEARCH_TOOLS first to get current tool schemasGet Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
RUBE_SEARCH_TOOLS respondsRUBE_MANAGE_CONNECTIONS with toolkit datadogWhen to use: User wants to query metric data or list available metrics
Tool sequence:
DATADOG_LIST_METRICS - List available metric names [Optional]DATADOG_QUERY_METRICS - Query metric time series data [Required]Key parameters:
query: Datadog metric query string (e.g., avg:system.cpu.user{host:web01})from: Start timestamp (Unix epoch seconds)to: End timestamp (Unix epoch seconds)q: Search string for listing metricsPitfalls:
aggregation:metric_name{tag_filters}from and to are Unix epoch timestamps in seconds, not millisecondsavg, sum, min, max, count{host:web01,env:prod}When to use: User wants to search log entries or list log indexes
Tool sequence:
DATADOG_LIST_LOG_INDEXES - List available log indexes [Optional]DATADOG_SEARCH_LOGS - Search logs with query and filters [Required]Key parameters:
query: Log search query using Datadog log query syntaxfrom: Start time (ISO 8601 or Unix timestamp)to: End time (ISO 8601 or Unix timestamp)sort: Sort order ('asc' or 'desc')limit: Number of log entries to returnPitfalls:
service:web status:errorWhen to use: User wants to create, update, mute, or inspect monitors
Tool sequence:
DATADOG_LIST_MONITORS - List all monitors with filters [Required]DATADOG_GET_MONITOR - Get specific monitor details [Optional]DATADOG_CREATE_MONITOR - Create a new monitor [Optional]DATADOG_UPDATE_MONITOR - Update monitor configuration [Optional]DATADOG_MUTE_MONITOR - Silence a monitor temporarily [Optional]DATADOG_UNMUTE_MONITOR - Re-enable a muted monitor [Optional]Key parameters:
monitor_id: Numeric monitor IDname: Monitor display nametype: Monitor type ('metric alert', 'service check', 'log alert', 'query alert', etc.)query: Monitor query defining the alert conditionmessage: Notification message with @mentionstags: Array of tag stringsthresholds: Alert threshold values (critical, warning, ok)Pitfalls:
type must match the query type; mismatches cause creation failuresmessage supports @mentions for notifications (e.g., @slack-channel, @pagerduty)critical at minimumWhen to use: User wants to list, view, update, or delete dashboards
Tool sequence:
DATADOG_LIST_DASHBOARDS - List all dashboards [Required]DATADOG_GET_DASHBOARD - Get full dashboard definition [Optional]DATADOG_UPDATE_DASHBOARD - Update dashboard layout or widgets [Optional]DATADOG_DELETE_DASHBOARD - Remove a dashboard (irreversible) [Optional]Key parameters:
dashboard_id: Dashboard identifier stringtitle: Dashboard titlelayout_type: 'ordered' (grid) or 'free' (freeform positioning)widgets: Array of widget definition objectsdescription: Dashboard descriptionPitfalls:
layout_type cannot be changed after creation; must recreate the dashboardWhen to use: User wants to post events or schedule maintenance downtimes
Tool sequence:
DATADOG_LIST_EVENTS - List existing events [Optional]DATADOG_CREATE_EVENT - Post a new event [Required]DATADOG_CREATE_DOWNTIME - Schedule a maintenance downtime [Optional]Key parameters for events:
title: Event titletext: Event body text (supports markdown)alert_type: Event severity ('error', 'warning', 'info', 'success')tags: Array of tag stringsKey parameters for downtimes:
scope: Tag scope for the downtime (e.g., host:web01)start: Start time (Unix epoch)end: End time (Unix epoch; omit for indefinite)message: Downtime descriptionmonitor_id: Specific monitor to downtime (optional, omit for scope-based)Pitfalls:
text supports Datadog's markdown format including @mentionshost:web01, env:stagingend creates an indefinite downtime; always set an end time for maintenancemonitor_id narrows to a single monitor; scope applies to all matching monitorsWhen to use: User wants to list infrastructure hosts or inspect distributed traces
Tool sequence:
DATADOG_LIST_HOSTS - List all reporting hosts [Required]DATADOG_GET_TRACE_BY_ID - Get a specific distributed trace [Optional]Key parameters:
filter: Host search filter stringsort_field: Sort hosts by field (e.g., 'name', 'apps', 'cpu')sort_dir: Sort direction ('asc' or 'desc')trace_id: Distributed trace ID for trace lookupPitfalls:
Metric alerts:
avg(last_5m):avg:system.cpu.user{env:prod} > 90
Log alerts:
logs("service:web status:error").index("main").rollup("count").last("5m") > 10
key:value format: host:web01, env:prod, service:api{host:web01,env:prod} (AND logic)host:web*page and page_size or offset-based pagination depending on endpointTimestamps:
Query Syntax:
aggregation:metric{tags}field:value pairsRate Limits:
| Task | Tool Slug | Key Params | |------|-----------|------------| | Query metrics | DATADOG_QUERY_METRICS | query, from, to | | List metrics | DATADOG_LIST_METRICS | q | | Search logs | DATADOG_SEARCH_LOGS | query, from, to, limit | | List log indexes | DATADOG_LIST_LOG_INDEXES | (none) | | List monitors | DATADOG_LIST_MONITORS | tags | | Get monitor | DATADOG_GET_MONITOR | monitor_id | | Create monitor | DATADOG_CREATE_MONITOR | name, type, query, message | | Update monitor | DATADOG_UPDATE_MONITOR | monitor_id | | Mute monitor | DATADOG_MUTE_MONITOR | monitor_id | | Unmute monitor | DATADOG_UNMUTE_MONITOR | monitor_id | | List dashboards | DATADOG_LIST_DASHBOARDS | (none) | | Get dashboard | DATADOG_GET_DASHBOARD | dashboard_id | | Update dashboard | DATADOG_UPDATE_DASHBOARD | dashboard_id, title, widgets | | Delete dashboard | DATADOG_DELETE_DASHBOARD | dashboard_id | | List events | DATADOG_LIST_EVENTS | start, end | | Create event | DATADOG_CREATE_EVENT | title, text, alert_type | | Create downtime | DATADOG_CREATE_DOWNTIME | scope, start, end | | List hosts | DATADOG_LIST_HOSTS | filter, sort_field | | Get trace | DATADOG_GET_TRACE_BY_ID | trace_id |
testing
通用自媒体文章自动发布工具。支持百家号、搜狐号、知乎、微信公众号、小红书、抖音号六个平台的自动化发布流程。使用Playwright自动化实现平台导航和发布,支持通过storageState管理Cookie实现账号切换。
development
# SKILL.md - Model Configuration Status (mcstatus) ## 触发条件 - `/mcstatus` 命令 - 用户询问模型配备、模型配置、model status、模型列表等 ## 功能 实时生成 Agent + Cron 的模型配置报告,展示当前所有 agent 的主模型/fallback链和所有 cron 任务的模型分配。 ## 执行步骤 ### Step 1: 收集 Agent 模型配置 读取各 agent 的 models.json 获取主模型和 fallback 链: ```bash for agent in main ops code quant data research content market finance pm law product sales batch; do config=$(cat ~/.openclaw/agents/$agent/agent/models.json 2>/dev/null) if [ -n "$config" ]; then echo "=== $agent
tools
MCP 服务器智能管理助手。自动检测 MCP 可用性、智能开关、功能问答,提供人性化的 MCP 管理体验。
tools
从GitHub搜索并自动安装配置MCP(Model Context Protocol)服务器工具到Claude配置文件。当用户需要安装MCP工具时触发此技能。工作流程:搜索GitHub上的MCP项目 -> 提取npx配置 -> 添加到~/.claude.json -> 处理API密钥(如有)。