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

antithesis-debug对偶调试

Agent Skill

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

总安装

1,797

周安装

72

GitHub Stars

44

下载量

582
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

用于与 Antithesis 多宇宙调试器交互,支持会话隔离和实时调试状态管理。

  • 适合处理 Antithesis 调试 URL 或 Bug 报告链接,进行故障排查和会话跟踪。
  • 需使用唯一 SESSION 值并配合 agent-browser 实现认证与会话隔离。
  • 安装命令:npx skills add https://github.com/antithesishq/antithesis-skills --skill antithesis-debug。
  • 注意确认 snouty 和 agent-browser 已安装,且涉及命令执行和网络请求。

SKILL.md

Antithesis Multiverse Debugger

Use the agent-browser skill to interact with the Antithesis multiverse debugger.

Every debugging session should use:

  • a fresh, unique SESSION value such as antithesis-debug-$(date +%s)-$$

Use --session-name antithesis so agent-browser manages shared authentication state automatically, while --session "$SESSION" keeps each debugging run isolated from other concurrent agents. Close the unique live session when debugging is complete.

When to use this skill

Use this when the user gives:

  • an Antithesis debugging-session URL
  • a bug report URL that should be debugged interactively
  • a request to inspect container filesystem, runtime state, or events inside Antithesis

For auth and report navigation, use the antithesis-triage skill. It already encodes the right agent-browser session model. This skill handles the debugger itself.

Gathering user input

Before starting, collect the following from the user:

  1. Debugger URL (required) — A debugging-session URL like https://TENANT.antithesis.com/debugging-session/....
  2. What to investigate — Are they checking filesystem contents? Runtime state? Specific artifacts?
  3. Container name (if known) — The name of the container to target. If not provided, the log view or container dropdown will show available containers.

Simplified vs. advanced mode

The debugger has two modes. Prefer simplified mode — it is sufficient for most tasks.

ModeBest forHow it works
SimplifiedRunning shell commands, reading files, listing directories, extracting artifactsClick log lines to set moment/container, type bash commands, press Send
AdvancedProgrammatic inspection, branching, event sets, custom JavaScript, multi-step notebook workflowsMonaco editor with JavaScript cells, action authorization, runtime API

Detecting which mode is active

Different tenants may open the debugger in either mode by default. After injecting the runtime (see references/setup-session.md), check which mode is active:

agent-browser --session "$SESSION" eval \
  "window.__antithesisDebug.getMode()"

Returns "simplified" or "advanced". To switch:

agent-browser --session "$SESSION" eval \
  'window.__antithesisDebug.switchMode("simplified")'

When to escalate to advanced mode

Switch to advanced mode only when you need:

  • Branching (moment.branch()) and advancing time
  • Event set queries (environment.events.up_to(moment))
  • Fault injector state inspection
  • Complex multi-cell notebook workflows
  • The full JavaScript notebook API

To switch modes, use the three-dot menu (vertical dots icon) in the top-right corner of the debug timeline header. See references/simplified-debugger.md for details.

Reference files

Each reference file covers a specific interaction mode or task. Read the relevant file before performing that task.

Simplified mode (default — start here)

PageWhen to read
references/setup-session.mdAlways — read first to set up the browser session
references/simplified-debugger.mdRunning commands, extracting files, reading logs in simplified mode

Advanced mode (notebook)

PageWhen to read
references/setup-session.mdAlways — read first to set up the browser session
references/notebook.mdReading or writing notebook source, injecting cells
references/actions.mdAuthorizing shell actions, reading action output
references/common-inspections.mdReady-to-use debug cell snippets for common tasks

Recommended workflows

Simplified: Run a command in a container

  1. Read references/setup-session.md — open the debugger URL
  2. Read references/simplified-debugger.md — click a log line to set the moment and container, enter a bash command, press Send, read the output
  3. Report findings with concrete evidence

Simplified: Extract a file

  1. Read references/setup-session.md — open the debugger URL
  2. Read references/simplified-debugger.md — click a log line, toggle "Extract file", enter the file path, press Send
  3. Read the download link from the output

Advanced: Programmatic investigation

  1. Read references/setup-session.md — open the debugger URL and inject runtime
  2. Switch to advanced mode: window.__antithesisDebug.switchMode("advanced")
  3. Read references/notebook.md — understand the seeded notebook
  4. Read references/common-inspections.md — pick inspection cells
  5. Read references/actions.md — authorize actions and read results
  6. Report findings with evidence chain

Runtime injection

The JS runtime is required for both simplified and advanced modes. It provides the window.__antithesisDebug API with three namespaces: simplified, notebook, and actions.

Use the browser-side runtime file:

  • assets/antithesis-debug.js

Inject it into the current page with:

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

Injecting the file registers methods on window.__antithesisDebug. Call those methods with agent-browser eval.

Method call examples:

# Simplified mode
agent-browser --session "$SESSION" eval \
  'window.__antithesisDebug.simplified.runCommand("ls -la /")'

# Advanced mode
agent-browser --session "$SESSION" eval \
  "window.__antithesisDebug.notebook.getSource()"

agent-browser eval awaits Promises automatically, so async and sync methods use the same call pattern.

If window.__antithesisDebug is missing, inject assets/antithesis-debug.js and retry the method call.

Do not run method calls in parallel with agent-browser open, navigation, or any other command that can replace the page. Wait until the target page is settled before starting eval calls. Run queries sequentially; mutations will interfere with each other if launched in parallel.

After every open call or any interaction that may navigate or replace the page, first confirm the browser has landed on the debugger page, then inject assets/antithesis-debug.js and call the appropriate waitForReady() before running other methods.

Page loading checks

After navigation, inject the runtime, then call the appropriate waitForReady:

# Simplified mode
agent-browser --session "$SESSION" eval \
  "window.__antithesisDebug.simplified.waitForReady()"

# Advanced mode
agent-browser --session "$SESSION" eval \
  "window.__antithesisDebug.notebook.waitForReady()"

Both poll for up to 60 seconds and return {ok, ready, attempts, waitedMs}. On timeout, the result also includes details.

One-shot probes:

agent-browser --session "$SESSION" eval \
  "window.__antithesisDebug.simplified.loadingFinished()"

agent-browser --session "$SESSION" eval \
  "window.__antithesisDebug.notebook.loadingFinished()"

Diagnostics:

agent-browser --session "$SESSION" eval \
  "window.__antithesisDebug.simplified.loadingStatus()"

agent-browser --session "$SESSION" eval \
  "window.__antithesisDebug.notebook.loadingStatus()"

General guidance

  • Start in simplified mode. The simplified debugger handles most debugging tasks. Only switch to advanced mode when you specifically need the notebook API.
  • Defer to antithesis-triage for auth. If the debugger URL requires authentication, use the antithesis-triage skill's references/setup-auth.md for the interactive login flow. Use the same --session-name antithesis so auth state is shared.
  • Use disposable sessions. Generate a unique SESSION for each debugging run, pair it with the shared --session-name antithesis, and agent-browser --session "$SESSION" close when you finish or abort.
  • Run commands sequentially. In both modes, wait for each command to complete before sending the next one.
  • Do not fabricate container names. Use the container dropdown (simplified) or environment.containers.list({moment}) (advanced) to determine valid container names.
  • Present results clearly. When reporting filesystem contents, include the full path and listing. When reporting artifact searches, include what was found and what was not.

Advanced mode only

  • Inject the runtime after navigation. After every open call or page reload, inject assets/antithesis-debug.js and call notebook.waitForReady() before the next method call.
  • Retry missing-runtime errors by reinjecting. If a command fails because window.__antithesisDebug is undefined or missing, inject the runtime and rerun the same method.
  • Authorize actions one at a time. Each bash\...`` cell needs explicit authorization. Read the result before injecting the next cell.

Self-Review

Before declaring this skill complete, review your work against the criteria below. This skill's output is conversational (summaries, evidence, analysis), so the review should happen in your current context. Re-read the guidance in this file, then systematically check each item below against the answers and analysis you produced.

Review criteria:

  • Every filesystem listing or artifact search was extracted from actual debugger output, not inferred or assumed
  • The evidence chain is clear: which commands were run, what they returned, and what conclusions follow
  • The summary distinguishes between what the debugger shows and what you interpret or recommend
  • The browser session was closed at the end of the debugging run

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.89%
按下载量换算221

Claude

28.09%
按下载量换算163

Cursor

17.24%
按下载量换算100

Gemini CLI

9.11%
按下载量换算53

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

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

安装前确认

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

来源信息

继续浏览同类 Skills