datadog
Skill2 starsChanged 3 months agoMITView on GitHub
Search Datadog logs and RUM events via the Datadog HTTP API. Use when searching Datadog logs, inspecting RUM sessions/errors, debugging production issues, querying status:error or @http.status_code, or looking up front-end session/view/action events.
- Reads credentials
6 other projects use a version of this.
Adopted by
Most recently taken up by
- speakeasy-api/gramtheir own version, first seen Oct 1, 2026
- fworks-tech/agenthoodtheir own version, first seen Sep 28, 2026
- greedychipmunk/agent-skillstheir own version, first seen May 25, 2026
- getsentry/juniortheir own version, first seen Apr 5, 2026
- nexu-io/nexutheir own version, first seen Mar 27, 2026
- alanalvestech/hitanktheir own version, first seen Mar 5, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- nexu-io/nexu★ 3.3ksame name
- getsentry/junior★ 365same name
- speakeasy-api/gram★ 271same name
- alanalvestech/hitank★ 38same name
- greedychipmunk/agent-skills★ 19same name
- fworks-tech/agenthood★ 3same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository16 other files it gives its agents.
- _global/AGENTS.mdAGENTS.md
- adhd-modeSkill
- browserSkill
- code-reviewerSkill
- commitSkill
- context7Skill
- discordSkill
- firestoreSkill
- handoffSkill
- linear-cliSkill
- planworkSkill
- slackSkill
- taskmanSkill
- workflowsSkill
- write-an-adrSkill
- write-prSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Search production logs and RUM events.
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
datadog
Search production logs and RUM events. Scripts print a compact digest to stdout and write full JSON events to a temp file — read the printed path when you need complete messages or attributes.
Setup
- Export API credentials (or put them in a project
.env; shell env wins):
export DD_API_KEY=...
export DD_APP_KEY=...- Optional project config at
.agents/datadog.json(or~/.agents/datadog.json):
{
"site": "us5.datadoghq.com",
"service": "my-api",
"env": "prod",
"defaultTimeRange": "1h",
"defaultTags": [],
"rumApplicationId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"rumService": "my-frontend"
}site defaults to datadoghq.com. Secrets stay in env vars — never in the JSON file.
Debugging: set DD_DRY_RUN=1 to print the would-be request URL + JSON body without calling Datadog.
Scripts
Resolve <skill> to this skill's directory. Invoke with Node ≥ 20.
Search logs
node <skill>/scripts/logs.mjs --query "status:error" [--from 1h] [--to now] [--limit 25]Applies config service / env / defaultTags when the query does not already set them. Default time range is defaultTimeRange from config (or 1h). See reference/query-syntax.md and reference/time-formats.md.
Search RUM
node <skill>/scripts/rum.mjs --query "@type:error" [--from 1h] [--to now] [--limit 25]Defaults to @type:session when the query omits @type. Applies rumApplicationId, rumService (or service), env, and defaultTags the same way. Optional --application-id, --service, --env, --sort newest|oldest.
Output contract
Digest on stdout (timestamp / service / status or type / excerpt). Full JSON events in a temp file under os.tmpdir() — path printed at the end. Prefer read on that path over re-querying.
When to load references
| File | When |
reference/query-syntax.md | Log/RUM query examples and auto-scoping rules |
reference/time-formats.md | Relative vs ISO time inputs |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

