jaeger-cli
Skill8 starsChanged 7 months agoApache-2.0View on GitHub
Query Jaeger distributed tracing data using the Jaeger HTTP API via curl. Use for finding traces, services, operations, and dependency graphs.
In this repository54 other files it gives its agents.
- alibabacloud-cliSkill
- ansible-cliSkill
- appdynamics-cliSkill
- argocd-cliSkill
- aws-cliSkill
- aws-cloudwatch-cliSkill
- azure-cliSkill
- bash-lintingSkill
- betterstack-cliSkill
- bitbucket-cliSkill
- chef-cliSkill
- code-reviewSkill
- commit-codeSkill
- create-dockerfileSkill
- create-terraform-helm-upgrade-planSkill
- datadog-cliSkill
- digitalocean-cliSkill
- dockerfile-lintingSkill
- dynatrace-cliSkill
- elasticsearch-cliSkill
- gcp-cliSkill
- github-cliSkill
- gitlab-cliSkill
- go-lintingSkill
- grafana-cliSkill
- grafana-loki-cliSkill
- graylog-cliSkill
- helm-cliSkill
- hetzner-cliSkill
- huaweicloud-cliSkill
- jenkins-cliSkill
- jira-and-confluence-cliSkill
- kibana-cliSkill
- kubernetes-cliSkill
- loggly-cliSkill
- maintenance-check-aws-eksSkill
- maintenance-create-ticket-on-jiraSkill
- ms-teams-cliSkill
- mysql-cliSkill
- newrelic-cliSkill
- oci-cliSkill
- packer-cliSkill
- papertrail-cliSkill
- postgresql-cliSkill
- prometheus-cliSkill
- python-lintingSkill
- rollbar-cliSkill
- salesforce-cliSkill
- sentry-cliSkill
- slack-cliSkill
- splunk-cliSkill
- terraform-cliSkill
- terraform-lintingSkill
- vault-cliSkill
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 7 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use the instance and rules below when constructing all Jaeger API commands.
- Distinctive: line 12
Update the table below with your Jaeger Query instance URLs before using this skill:
- Distinctive: line 19
If the target instance is unclear, ask the user before running any command.
- Distinctive: line 23
If the Jaeger instance is behind an authentication proxy, obtain a token and save it to the corresponding token file (see instance table …
- Very specific: line 31
All API calls use curl against the Jaeger Query Service API:
- Very specific: line 38
If the instance has no auth in front of it, omit the Authorization header entirely.
- Distinctive: line 73
NEVER target any Jaeger instance not listed in the instance table above.
- Distinctive: line 74
Update the instance table with your actual Jaeger instance URLs before using this skill.
- Distinctive: line 75
NEVER print, display, log, or store the contents of any token file.
- Very specific: line 76
Always pass -s (silent) to curl and pipe through jq for readable output.
- Very specific: line 78
Always set a limit when searching for traces — an unbounded search on a busy service can return excessive data.
- Very specific: line 80
If a trace ID or service name is unfamiliar, use /api/services and /api/services/<service>/operations to explore before querying traces.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Jaeger CLI Skill
Use the instance and rules below when constructing all Jaeger API commands.
Instances
Update the table below with your Jaeger Query instance URLs before using this skill:
| Environment | Base URL | Token File (if auth is enforced) |
| Production | https://<your-jaeger-prod-url> | ~/.jaeger/prod.token |
| Staging | https://<your-jaeger-staging-url> | ~/.jaeger/staging.token |
If the target instance is unclear, ask the user before running any command.
Prerequisites (one-time setup by user)
If the Jaeger instance is behind an authentication proxy, obtain a token and save it to the corresponding token file (see instance table above). Never print or display token values. Do not perform these steps yourself.
mkdir -p ~/.jaeger && echo "<your-api-token>" > <TOKEN_FILE> && chmod 600 <TOKEN_FILE>Command Format
All API calls use curl against the Jaeger Query Service API:
curl -s -H "Authorization: Bearer $(cat <TOKEN_FILE>)" \
"<BASE_URL>/api/<endpoint>" | jq .If the instance has no auth in front of it, omit the Authorization header entirely.
Example (production):
curl -s -H "Authorization: Bearer $(cat ~/.jaeger/prod.token)" \
"https://<your-jaeger-prod-url>/api/services" | jq .Available API Endpoints
Read-only (safe, no confirmation needed)
| Endpoint | Description |
/api/services | List all known service names |
/api/services/<service>/operations | List operations for a service |
/api/traces?service=<service>&operation=<op>&start=<us>&end=<us>&limit=<n> | Find traces matching filters |
/api/traces/<trace-id> | Get a specific trace by ID |
/api/dependencies?endTs=<ms>&lookback=<ms> | Get the service dependency graph |
Example Queries
# List services
curl -s "<BASE_URL>/api/services" | jq .
# Find traces for a service in the last hour, with a minimum duration filter
curl -s "<BASE_URL>/api/traces?service=<service-name>&start=$(( $(date -u +%s) - 3600 ))000000&end=$(date -u +%s)000000&minDuration=100ms&limit=20" | jq .
# Get a specific trace
curl -s "<BASE_URL>/api/traces/<trace-id>" | jq .Rules
- NEVER target any Jaeger instance not listed in the instance table above. If a URL references a different host, stop and ask the user to confirm.
- Update the instance table with your actual Jaeger instance URLs before using this skill.
- NEVER print, display, log, or store the contents of any token file.
- Always pass
-s(silent) tocurland pipe throughjqfor readable output. - Timestamps for
/api/traces(start/end) are in microseconds since epoch;/api/dependencies(endTs/lookback) are in milliseconds — do not mix the units. - Always set a
limitwhen searching for traces — an unbounded search on a busy service can return excessive data. - Jaeger's Query API is read-only by design (it does not accept span ingestion or deletion via this API) — there are no mutating or destructive endpoints to guard against here.
- If a trace ID or service name is unfamiliar, use
/api/servicesand/api/services/<service>/operationsto explore before querying traces.
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.

