بنقرة واحدة
ed-edx
Primary Edge Delta CLI - edx commands, authentication, output formats and conventions.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Primary Edge Delta CLI - edx commands, authentication, output formats and conventions.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
AI Teammate - manage connectors (PagerDuty, Slack, GitHub, ...), update teammates (agents) and view teammate activity.
Pipelines - fleet management, config changes, version history, deployments and live capture.
Dashboards - create, update, inspect and validate metric dashboards from the CLI.
Cross-signal incident investigation workflow - from alert to root cause using events, patterns, logs, metrics, traces and pipeline history.
Metrics - discover metric names and run aggregation queries (timeseries and tables).
Monitors - create, manage, snooze and resolve Edge Delta monitors and alerts.
| name | ed-edx |
| description | Primary Edge Delta CLI - edx commands, authentication, output formats and conventions. |
| metadata | {"version":"1.0.0","author":"edgedelta","repository":"https://github.com/edgedelta/agent-skills","tags":"edgedelta,cli,edx,auth,setup","alwaysApply":"false"} |
edx is the canonical way for agents to interact with Edge Delta: Pipeline
(fleet management, configs, live capture), Observability (logs, patterns,
metrics, traces, events, monitors) and AI Teammate (connectors, activity).
brew install edgedelta/tap/edx # macOS/Linux
# or
go install github.com/edgedelta/edx@latest
edx version # verify
Two methods — pick one:
# Token auth (good for CI/automation):
edx auth login --token <api-token> --org-id <org-id> # saved to ~/.config/edx/config.yaml
# OAuth (interactive browser login; org is read from the token, refreshed automatically):
edx auth login --oauth
edx auth status # verifies credentials against the API
Environment variables override the config file: ED_API_TOKEN, ED_ORG_ID,
ED_ENV (prod (default), staging or local — selects the API and AI
service hosts together). Multiple orgs/envs: edx auth login --profile <name> ...
then edx --profile <name> ....
If commands fail with 401, the credentials are invalid or do not match the org.
Re-run edx auth login (token from Admin > API Tokens, or --oauth).
| Domain | Commands |
|---|---|
| Logs | edx logs search, edx logs graph |
| Patterns | edx patterns list, edx patterns samples |
| Metrics | edx metrics list, edx metrics query |
| Traces | edx traces search, edx service-map |
| Events | edx events search |
| Monitors | edx monitors list/get/create/update/delete/states |
| Pipelines | edx pipelines list/get/history/save/deploy/validate/agents/status |
| Fleet | edx fleet agents, edx fleet deployments |
| Live capture | edx capture start/task/status/results |
| Health | edx health components, edx health problems |
| Dashboards | edx dashboards list/get |
| Schema | edx facets keys/options/list |
| AI Teammate | edx ai connectors ..., edx ai activity |
| Ingestion | edx ingest endpoints, edx ingest token |
| Raw API | edx api <METHOD> <path> |
jq.
--output table --columns a,b,c for human summaries.--lookback 15m|1h|24h (Go durations) or
--from/--to ISO 8601 (2006-01-02T15:04:05.000Z).--cursor to continue.deploy, delete) prompt; add
--yes in non-interactive contexts.--limit (max 1000).field.name:"value" (e.g.
event.domain:"Monitor", service.name:"api") even though the JSON response
renders the same field with underscores (e.g. event_domain). Filter on the
dotted form; read the underscore form. Confirm valid values with
edx facets options --scope <scope> --facet <field>.For endpoints without a dedicated command:
edx api GET /v1/orgs/{org}/users # {org} auto-substituted
edx api GET /tokens # org-relative shorthand
edx api POST /monitors --data @monitor.json
edx api GET /rehydration --param limit=10
| Problem | Fix |
|---|---|
| 401 Invalid authentication token | edx auth login with a valid token + matching org ID |
| 404 on a path | Check the org ID; try edx api with the full /v1 path |
| Empty search results | Widen --lookback; verify fields with edx facets options |
| 500 / "Failed to query ..." | Server-side error, not your query. Retry the same command; if it persists, narrow the time range. Do NOT keep editing the query - widening --lookback will not fix a 5xx. |
| Timeout on large queries | Narrow the time range or add --timeout 120s |