Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

antithesis-setup对立关系设置

Agent Skill

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

总安装

2,301

周安装

94

GitHub Stars

44

下载量

744
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

用于搭建 Antithesis 测试所需的 harness 结构和基础配置。

  • 适合让系统在 Antithesis 中以空闲就绪状态运行,便于后续测试介入。
  • 成功标志包括有效的 docker-compose.yaml 和通过 snouty validate 校验。
  • 安装命令:npx skills add https://github.com/antithesishq/antithesis-skills --skill antithesis-setup。
  • 注意确认是否涉及 Docker 构建和网络访问,以及文件读写权限。

SKILL.md

Antithesis Setup

Purpose and Goal

Scaffold the antithesis/ harness needed to bring the system up in Antithesis in a mostly idle, ready state.

Success means:

  • antithesis/config/docker-compose.yaml exists and required SUT images are referenced with build: directives
  • snouty validate on antithesis/config/ succeeds
  • the SUT dependency graph includes the relevant Antithesis SDK where assertions or lifecycle hooks will run
  • at least one minimal bootstrap property exists in a simple SUT path and is expected to show up in the first Antithesis run
  • The harness is ready for the antithesis-workload skill to add or iterate on test templates, assertions, and workload code
  • If the user asks to submit or launch a run, use the antithesis-launch skill — do not run snouty run directly

Prerequisites

  • Research artifacts required. Before proceeding, check whether antithesis/scratchbook/ exists and contains research output (at minimum sut-analysis.md and deployment-topology.md). If the scratchbook is missing or empty, stop and warn the user: The antithesis-research skill has not been run yet (no scratchbook found at antithesis/scratchbook/). Setup depends on research artifacts — especially the SUT analysis and deployment topology — to make informed decisions about instrumentation, image structure, and service composition. Please run antithesis-research first, review its output, then return to setup. Do not attempt to proceed without research artifacts. The setup skill will make significantly worse decisions without the context that research provides.
  • DO NOT PROCEED if snouty is not installed. See https://raw.githubusercontent.com/antithesishq/snouty/refs/heads/main/README.md for installation options.

Documentation Grounding

Use the antithesis-documentation skill to access these pages. Prefer snouty docs.

  • Docker Compose setup guide: https://antithesis.com/docs/getting_started/setup/
  • Docker best practices: https://antithesis.com/docs/best_practices/docker_best_practices/
  • Coverage instrumentation: https://antithesis.com/docs/instrumentation/coverage_instrumentation/
  • Assertion cataloging: https://antithesis.com/docs/instrumentation/assertion_cataloging/
  • Handling external dependencies: https://antithesis.com/docs/reference/dependencies/
  • Fault injection: https://antithesis.com/docs/environment/fault_injection/

Workflow

This skill is broken out into multiple steps, each in a different reference file. Read and implement each reference file listed below one at a time to fully set up a project. After implementing each step, check whether what you learned invalidates any decisions from earlier steps. Instrumentation decisions (step 2) are the most common thing that needs revision once you start building images (step 3).

  • references/directory-init.md: initialize or merge the antithesis/ directory from assets/antithesis/
  • references/instrumentation.md: decide how each SUT service is instrumented, how the SDK is installed, how symbols are delivered, and where the bootstrap property lives
  • references/docker-images.md: create or adapt Dockerfiles for SUT components
  • references/docker-compose.md: write antithesis/config/docker-compose.yaml
  • references/config-dir.md: understand what belongs in antithesis/config/
  • references/submit-and-test.md: test locally and submit the first run

General Guidance

  • Merge with existing antithesis/ content instead of overwriting it.
  • Prefer podman compose for local testing; fall back to docker compose.
  • Keep Antithesis-only scaffolding under antithesis/ when practical.
  • Focus this skill on infrastructure and readiness, not on defining the workload itself.
  • Installing the relevant Antithesis SDK into the SUT and adding one minimal bootstrap assertion is part of setup, not deferred workload work.
  • If antithesis/test/ does not exist yet, create the directory structure needed for later workload work, but leave real test templates and assertions to antithesis-workload.
  • Treat instrumentation and symbolization as bootstrap work. The setup is not complete until the relevant images expose /opt/antithesis/catalog/ or /symbols/ correctly for their language.
  • Treat local testing as required before the first submission.
  • Use snouty run directly to submit runs. Run compose build before snouty run to ensure images are up to date.
  • Do not add a separate Dockerfile under antithesis/config/ unless the deployment explicitly requires it.
  • Disable color/ANSI output in every container. Antithesis stores raw bytes and does not render escape codes — color output is garbage in logs and triage. Set NO_COLOR=1 on all services via docker-compose.yaml environment blocks or Dockerfile ENV directives. Add tool-specific flags (e.g. FORCE_COLOR=0) where needed.

Self-Review

Before declaring this skill complete, review your work against the criteria below. If your agent supports spawning sub-agents, create a new agent with fresh context to perform this review — give it the path to this skill file and have it read all output artifacts. A fresh-context reviewer catches blind spots that in-context review misses. If your agent does not support sub-agents, perform the review yourself: re-read the success criteria at the top of this file, then systematically check each item below against your actual output.

Review criteria:

  • antithesis/config/docker-compose.yaml exists and every service has build: (for local images) or image: (for public images) configured correctly
  • Every service in docker-compose.yaml includes platform: linux/amd64
  • Every service has hostname: set to match its container_name:
  • The instrumentation inventory from references/instrumentation.md is fully implemented: each service is instrumented, cataloged-only, or explicitly documented as uninstrumented
  • The relevant Antithesis SDK is installed in the SUT dependency graph
  • A bootstrap property exists in a simple, guaranteed-to-run code path (not behind rare behavior)
  • /opt/antithesis/catalog/ or /symbols/ is exposed correctly for each service's language
  • The setup_complete signal is wired in at least one entrypoint
  • snouty validate on antithesis/config/ succeeds
  • All built images target amd64 (verified via podman image inspect or docker image inspect)
  • Every service has NO_COLOR=1 set in its environment (via docker-compose.yaml and/or Dockerfile) to prevent ANSI escape codes in container output
  • The harness is ready for the antithesis-workload skill — test template directories exist or are wired for later use
  • If the user asks to launch a run, the antithesis-launch skill is used instead of running snouty run directly

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Claude

31.82%
按下载量换算237

Codex

30.83%
按下载量换算229

Cursor

19.72%
按下载量换算147

Gemini CLI

9.04%
按下载量换算67

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills