← 返回 Skills 市场
aiwithabidi

Datadog

作者 aiwithabidi · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
511
总下载
0
收藏
4
当前安装
1
版本数
在 OpenClaw 中安装
/install datadog
功能描述
Datadog monitoring — manage monitors, dashboards, metrics, logs, events, and incidents via REST API
使用说明 (SKILL.md)

🐕 Datadog

Datadog monitoring — manage monitors, dashboards, metrics, logs, events, and incidents via REST API

Requirements

Variable Required Description
DD_API_KEY API key from app.datadoghq.com
DD_APP_KEY Application key

Quick Start

# List monitors
python3 {{baseDir}}/scripts/datadog.py monitors --query \x3Cvalue> --tags \x3Cvalue>

# Get monitor
python3 {{baseDir}}/scripts/datadog.py monitor-get id \x3Cvalue>

# Create monitor
python3 {{baseDir}}/scripts/datadog.py monitor-create --name \x3Cvalue> --type \x3Cvalue> --query \x3Cvalue> --message \x3Cvalue>

# Update monitor
python3 {{baseDir}}/scripts/datadog.py monitor-update id \x3Cvalue> --name \x3Cvalue> --query \x3Cvalue>

# Delete monitor
python3 {{baseDir}}/scripts/datadog.py monitor-delete id \x3Cvalue>

# Mute monitor
python3 {{baseDir}}/scripts/datadog.py monitor-mute id \x3Cvalue>

# List dashboards
python3 {{baseDir}}/scripts/datadog.py dashboards

# Get dashboard
python3 {{baseDir}}/scripts/datadog.py dashboard-get id \x3Cvalue>

All Commands

Command Description
monitors List monitors
monitor-get Get monitor
monitor-create Create monitor
monitor-update Update monitor
monitor-delete Delete monitor
monitor-mute Mute monitor
dashboards List dashboards
dashboard-get Get dashboard
dashboard-create Create dashboard
dashboard-delete Delete dashboard
metrics-search Search metrics
metrics-query Query metrics
events-list List events
event-create Create event
logs-search Search logs
incidents List incidents
incident-get Get incident
hosts List hosts
downtimes List downtimes
downtime-create Create downtime
slos List SLOs
synthetics List synthetic tests
users List users

Output Format

All commands output JSON by default. Add --human for readable formatted output.

python3 {{baseDir}}/scripts/datadog.py \x3Ccommand> --human

Script Reference

Script Description
{{baseDir}}/scripts/datadog.py Main CLI — all commands in one tool

Credits

Built by M. Abidi | agxntsix.ai YouTube | GitHub Part of the AgxntSix Skill Suite for OpenClaw agents.

📅 Need help setting up OpenClaw for your business? Book a free consultation

安全使用建议
This skill appears to be a straightforward Datadog CLI and requests only the expected Datadog API and application keys. Before installing: (1) verify you trust the author/homepage (agxntsix.ai) and review the script if you have concerns; (2) check any ~/.openclaw/workspace/.env or WORKSPACE .env files — the script will look there for DD_API_KEY and DD_APP_KEY if they are not in the process environment; ensure those files do not contain unrelated secrets you don't want accessed; (3) be aware the script sends your DD keys in request headers to api.datadoghq.com (expected), so run it in a trusted environment and consider using scoped/limited keys; (4) note a minor implementation quirk: get_headers is defined twice (the second overrides the first) — this is a harmless bug but not a security issue. If you need higher assurance, open the included scripts/datadog.py and review it line-by-line or run it in an isolated environment and rotate keys after initial use.
功能分析
Type: OpenClaw Skill Name: datadog Version: 1.0.0 The skill is classified as suspicious due to its credential handling mechanism in `scripts/datadog.py`. The `get_env` function attempts to retrieve `DD_API_KEY` and `DD_APP_KEY` not only from environment variables but also from a `.env` file located in the OpenClaw workspace (`~/.openclaw/workspace/.env` or `$WORKSPACE/.env`). While intended to facilitate legitimate API access, reading credentials from a local file introduces a vulnerability, as it expands the attack surface for credential theft if the `.env` file is not adequately secured or if the `WORKSPACE` environment variable can be manipulated by an attacker. No other clear malicious intent, such as unauthorized data exfiltration or arbitrary code execution, was identified.
能力评估
Purpose & Capability
Name/description, required env vars (DD_API_KEY, DD_APP_KEY), and included CLI implemention (scripts/datadog.py) all match a Datadog REST-API client. Nothing requested by the skill appears unrelated to managing Datadog resources.
Instruction Scope
SKILL.md is a straightforward wrapper around scripts/datadog.py and only instructs running the included script. Implementation detail: get_env will read the environment variable from the process environment or fall back to a .env file at WORKSPACE or ~/.openclaw/workspace/.env if present — this behavior is not spelled out in SKILL.md and may read files the user did not expect. Also the code allows constructing requests to arbitrary URLs if a full URL is passed to req(path), though built-in commands use fixed Datadog paths.
Install Mechanism
There is no install/spec that downloads or executes remote artifacts; the skill is instruction-only plus a local script (safe from supply-chain download risks).
Credentials
Requested environment variables DD_API_KEY and DD_APP_KEY are exactly what a Datadog REST API client needs. No unrelated secrets, credentials, or broad config paths are required.
Persistence & Privilege
The skill does not request always:true or other privileged persistence. It does not modify other skill configurations and only reads env or .env for credentials.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install datadog
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /datadog 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the Datadog skill. - Manage monitors, dashboards, metrics, logs, events, and incidents via the Datadog REST API from the command line. - Simple CLI tool with multiple commands for listing, creating, updating, and deleting Datadog resources. - Requires only Python 3.10+; no external dependencies. - Outputs JSON by default, with a human-readable option available. - Environment variables DD_API_KEY and DD_APP_KEY required for authentication.
元数据
Slug datadog
版本 1.0.0
许可证
累计安装 4
当前安装数 4
历史版本数 1
常见问题

Datadog 是什么?

Datadog monitoring — manage monitors, dashboards, metrics, logs, events, and incidents via REST API. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 511 次。

如何安装 Datadog?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install datadog」即可一键安装,无需额外配置。

Datadog 是免费的吗?

是的,Datadog 完全免费(开源免费),可自由下载、安装和使用。

Datadog 支持哪些平台?

Datadog 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Datadog?

由 aiwithabidi(@aiwithabidi)开发并维护,当前版本 v1.0.0。

💬 留言讨论