Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计提醒

antithesis-query-logs对偶查询日志

Agent Skill

antithesis-query-logs 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,018

周安装

42

GitHub Stars

44

下载量

333
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:antithesis-query-logs(对偶查询日志)
来源仓库:https://github.com/antithesishq/antithesis-skills
仓库路径:skills/antithesis-query-logs
安装命令:
npx skills add https://github.com/antithesishq/antithesis-skills --skill antithesis-query-logs
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/antithesishq/antithesis-skills --skill antithesis-query-logs

简介

用于跨所有时间线搜索 Antithesis 测试日志,支持事件关联和时序分析。

  • 适合排查故障原因、验证因果关系和执行“若 X 发生在 Y 之前”类查询。
  • 可与 per-example 日志查看器区分使用,专注于全局日志探索。
  • 安装命令:npx skills add https://github.com/antithesishq/antithesis-skills --skill antithesis-query-logs。
  • 注意确认 snouty 已安装,且可能涉及大量日志读取与网络请求。

SKILL.md

Antithesis Logs Explorer

Purpose and Goal

Search across all timelines in an Antithesis test run to find events, correlate property failures, and answer temporal questions about ordering and causation — cascade elimination, fault correlation, root cause hypothesis testing, and any "if X happened before Y" query.

The Logs Explorer is distinct from the per-example log viewer used in triage. The triage log viewer shows one timeline centered on one event. The Logs Explorer searches across ALL timelines in a run, supports temporal queries (preceded by, not preceded by, followed by, not followed by), and visualizes results on a multiverse map.

When to Use

  • Investigating whether a property failure is independent or a cascade from an earlier failure
  • Counting how many independent occurrences of a failure exist across timelines
  • Correlating failures with fault injection events
  • Comparing failure patterns between backend configurations
  • Identifying timeline clusters where failures co-occur

Prerequisites

  • A completed Antithesis run. If you don't have a specific run URL, use the antithesis-triage skill's run discovery workflow to find one first.
  • agent-browser installed and authenticated to the Antithesis tenant

Key Concepts

  • Temporal query: Search for event X that is (or is not) preceded by or followed by event Y. Used to filter out cascade failures.
  • Multiverse map: Visualization of the timeline tree. Failures appear as dots. Clusters of dots on related timelines suggest a shared root cause.
  • Independent cluster count: The number of distinct timeline branches where a failure appears. "8 failures in 2 clusters" is much more informative than just "8 failures" — it tells you how many independent reproductions exist.
  • Session ID: Each run has a unique session ID that scopes all queries. Queries against the wrong session return no results. The session ID is embedded in the encoded search URL parameter.

Important: Field Names

The Logs Explorer uses singular field names, not plural:

  • assertion.message — the property/assertion name (NOT assertions.message)
  • assertion.statuspassing or failing (NOT assertions.status)
  • general.output_text — log output text

The assertion.status field requires the matches operator, not contains. Other text fields use contains.

Session Setup

Use agent-browser with the shared Antithesis authentication:

SESSION="logs-explorer-$(date +%s)-$$"
agent-browser --session "$SESSION" --session-name antithesis --profile antithesis --args "--no-sandbox"

Launching the Logs Explorer

There are three ways to reach the Logs Explorer with the correct run selected:

Method 1: From a triage report (preferred)

Navigate to the triage report first, then extract the "Explore logs" link. This is the most reliable method because the link contains the correct session ID already encoded in the URL.

agent-browser --session "$SESSION" eval \
  "document.querySelector('a.an-button[href*=\"/search\"]').href"

Navigate to the returned URL. This automatically sets the correct session/run.

The URL will have the form:

https://{tenant}.antithesis.com/search?search=v5v{base64_encoded_query}

The v5v prefix is a version marker. The base64 payload contains the query JSON including the session ID (s field). See references/query-builder.md for the full query JSON format.

Method 2: From the Logs Explorer directly

The Logs Explorer page has a "Show me logs from" dropdown at the top (div.select_container.event_search_run_selector). Click it to see a list of recent runs with their name, status (In progress / Completed / Incomplete), and timestamp. Select the run you want.

If a run you expect to see is missing, refresh the page.

Method 3: From the sidebar

Click "Logs explorer" in the left sidebar navigation. This goes directly to https://{tenant}.antithesis.com/search with no run pre-selected. Then use the "Show me logs from" dropdown to choose a run.

agent-browser --session "$SESSION" open "https://{tenant}.antithesis.com/search"

Important: Always ensure the correct run is selected before searching. Each run has its own session ID — queries against the wrong session return no results. The selected run is shown in the dropdown at the top of the page.

Reference Files

ReferenceWhen to read
references/query-builder.mdBuilding and executing search queries
references/temporal-queries.mdUsing preceded-by / not-preceded-by filters
references/results.mdReading search results and clicking into details
references/map.mdUsing the multiverse map for cluster analysis

Runtime Injection

Inject assets/antithesis-query-logs.js into the Logs Explorer page:

cat assets/antithesis-query-logs.js \
  | agent-browser --session "$SESSION" eval --stdin

The runtime registers two objects:

  • window.__antithesisQueryBuilder — standalone URL construction helpers. Available on any page after injection. Use this when building a search URL before navigating to the Logs Explorer.
  • window.__antithesisQueryLogs — full runtime with URL builders, UI interaction methods, and result-reading methods.

URL construction is the preferred approach for executing queries programmatically, because UI interaction (clicking dropdowns, targeting rows) is fragile with the query builder's dynamic DOM.

Important: You must inject the runtime before calling any window.__antithesisQueryBuilder or window.__antithesisQueryLogs method. If you get TypeError: Cannot read properties of undefined, inject first.

Recommended Workflows

Cascade elimination

  1. Navigate to the triage report for the run
  2. Inject assets/antithesis-query-logs.js (required before using any builder methods)
  3. Extract the session ID from the "Explore logs" link (see query-builder.md)
  4. Build a simple query URL using window.__antithesisQueryBuilder.buildFailureQueryUrl(sessionId, "my-failing-property")
  5. Navigate to the URL and note the result count
  6. Build a temporal query URL using window.__antithesisQueryBuilder.buildNotPrecededByUrl(sessionId, "my-failing-property", "assertion.message", "suspected-upstream-failure")
  7. Navigate to the temporal URL and note the new count
  8. If the count drops, the difference is cascade failures
  9. If the count stays the same, the failures are independent

Failure correlation with event details

  1. Search for a property failure
  2. Expand the {} details on several results
  3. Identify detail fields that vary across results (e.g., configuration modes, feature flags, container names, protocol versions)
  4. Note whether failures cluster on a specific detail value — if all failures share a common detail that other passing events do not, that detail is likely part of the root cause

Independent cluster analysis

  1. Search for a property failure
  2. Switch to the Map tab
  3. Count the number of distinct timeline branches with failure dots
  4. Failures on the same branch are likely the same root cause
  5. Pick one representative from each cluster for investigation

Output

  • Event counts (total matches, matches after temporal filtering)
  • Event details (timestamp, timeline, assertion details and custom key-value pairs)
  • Cluster count from the multiverse map
  • Log context around each failure (fault events, preceding operations)

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.59%
按下载量换算129

Claude

28.74%
按下载量换算96

Cursor

19.49%
按下载量换算65

Gemini CLI

9%
按下载量换算30

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills