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

antithesis-workload对立工作量

Agent Skill

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

总安装

2,448

周安装

138

GitHub Stars

44

下载量

792
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

用于实现或改进 Antithesis 测试负载,将研究成果转化为具体断言和测试用例。

  • 适合在已有 property catalog 基础上创建可执行的测试命令和模板。
  • 成功标志是生成 antithesis/test/ 下的测试脚本和有效断言映射。
  • 安装命令:npx skills add https://github.com/antithesishq/antithesis-skills --skill antithesis-workload。
  • 注意确认是否涉及文件写入和命令执行,避免误改生产环境。

SKILL.md

Antithesis Workload

Purpose and Goal

Implement or improve the Antithesis workload. Success means:

  • Properties from the antithesis-research skill are mapped to concrete assertions, using both the property catalog and per-property evidence files
  • Test commands exist under antithesis/test/ and exercise the right behaviors
  • The first real test templates are created after setup, or existing ones are expanded
  • Triage findings turn into workload or property updates instead of staying implicit

Use the antithesis-research skill first to build the property catalog. Use the antithesis-setup skill to scaffold the infrastructure. Use the antithesis-triage skill to review runs, then return here to improve the workload. If the user asks to submit or launch a run, use the antithesis-launch skill — do not run snouty run directly.

Prerequisites

  • DO NOT PROCEED if the Antithesis scratchbook (usually at antithesis/scratchbook/) doesn't exist. Use the antithesis-research skill to create it.
  • DO NOT PROCEED if there is no docker-compose.yaml for Antithesis present. Use the antithesis-setup skill to create it.
  • DO NOT PROCEED if snouty is not installed. See https://raw.githubusercontent.com/antithesishq/snouty/refs/heads/main/README.md for installation options.

Scoping

Each invocation of the "Implement next property" workflow below focuses on one property to keep context manageable and quality high. (Post-triage iteration follows its own scoping based on triage findings.)

If the user asks for multiple properties, recommend doing one at a time — explain that implementation quality degrades as context accumulates, and each property's effort is unpredictable. Ask which one they'd like to start with. If they insist on multiple, proceed — but warn them first.

If the user specifies which property to work on, skip the full catalog scan — but still assess that property's status against its evidence file before proceeding. If it's already fully implemented, tell the user rather than redoing work.

If the user does not specify a property, run the full detection and recommendation flow below.

Detect implementation status

The detection work below is context-heavy (reading every evidence file, scanning the codebase for assertions). If your agent supports sub-agents, delegate it to a sub-agent that returns a per-property summary (status + brief rationale). This keeps the main implementation agent's context clean.

The detection task: for each property in the catalog, search the existing test and SUT code for Antithesis SDK assertion calls and cross-reference them with the property's evidence file at antithesis/scratchbook/properties/{slug}.md. Assess whether the existing assertions cover the code paths, failure scenarios, and instrumentation points the evidence file describes. Classify each property as:

  • Implemented — assertions cover what the evidence file describes
  • Partially implemented — some assertions exist but coverage is incomplete
  • Not implemented — no related assertions found

Present and recommend

Note the catalog's provenance frontmatter (commit and updated fields) and include it when presenting status — e.g., "The property catalog is up-to-date as of <commit short hash> (<date>)." This lets the user judge whether the catalog reflects the current codebase or needs re-research.

Show the user the status of each property, then recommend one to implement next. Prefer partially-implemented properties that need completion, then unimplemented properties that cluster with recently implemented ones (see antithesis/scratchbook/property-relationships.md), then other high-priority unimplemented properties. Wait for the user to confirm or choose differently before proceeding.

For the chosen property, read both the catalog entry and its evidence file.

Other scoping questions

Ask the user only for blockers or scoping decisions you cannot infer safely, such as:

  • The property catalog location, if it is not the standard antithesis/scratchbook/property-catalog.md
  • The project language or SDK choice, if the repo does not make it obvious
  • Triage findings or known gaps, if iterating on an existing workload

Definitions and Concepts

  • SUT: System under test.
  • Test template: A directory of test commands at /opt/antithesis/test/v1/{name}/. Each timeline runs commands from one test template. Files or subdirectories prefixed with helper_ are ignored by Antithesis, so use that prefix for helper scripts kept alongside commands.
  • Test command: An executable in a test template with a valid prefix: parallel_driver_, singleton_driver_, serial_driver_, first_, eventually_, finally_, anytime_.
  • Timeline: One linear execution of the SUT and workload. Antithesis runs many timelines in parallel and branches them to search for interesting behaviors.
  • Always / AlwaysOrUnreachable: Assertions for safety and correctness properties.
  • Sometimes(cond): Assertions for liveness or non-trivial semantic states that should occur at least once.
  • Reachable / Unreachable: Assertions about whether meaningful outcomes or forbidden paths are exercised.

Documentation Grounding

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

  • Test commands reference: https://antithesis.com/docs/test_templates/test_composer_reference.md
  • SDK reference: https://antithesis.com/docs/using_antithesis/sdk.md
  • Properties and assertions: https://antithesis.com/docs/properties_assertions/assertions.md
  • Fault injection: https://antithesis.com/docs/environment/fault_injection.md

Reference Files

ReferenceWhen to read
references/component-implementation.mdImplementing workload-side components or wrappers
references/assertions.mdTurning properties into SDK assertions
references/test-commands.mdWriting commands and organizing test templates
references/iteration.mdImproving coverage and assertions after triage

Recommended Workflows

Implement next property

  1. Detect implementation status and present to user (see Scoping above)
  2. Get user confirmation on which property to implement
  3. Read references/component-implementation.md
  4. Read references/assertions.md
  5. Read references/test-commands.md
  6. Implement the chosen property: assertions, test commands, and supporting code

Post-triage iteration

  1. Read references/iteration.md
  2. Read references/assertions.md if assertions need to change
  3. Read references/test-commands.md if command coverage needs to change
  4. Update the workload and the relevant Antithesis scratchbook artifacts together

General Guidance

  • Keep Antithesis-only code out of production paths. If you must touch shared code, make the change surgical and easy to wall off.
  • Prefer simple workload code over highly configurable abstractions.
  • Assume antithesis-setup has already made the system runnable in a mostly idle state; this skill owns what the workload does once the system is up.
  • Assume antithesis-setup has already installed the relevant SDK and added one minimal bootstrap assertion in the SUT. This skill owns the broader property catalog beyond that initial integration check.
  • Write test commands in the project's language, not Bash, so they can reuse the project's clients, helpers, and libraries.

Output

  • Assertions for every property in scope, in workload code or carefully chosen SUT locations
  • Test commands and supporting workload code under antithesis/test/
  • Updates to antithesis/scratchbook/property-catalog.md when the implemented properties change

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:

  • For every property in scope, the implementation covers the code paths, failure scenarios, and instrumentation points described in its evidence file — not just "an assertion exists" but "the assertions cover what the evidence says needs to be covered"
  • Each assertion uses the correct SDK assertion type for its property's semantics (Always/AlwaysOrUnreachable for safety, Sometimes(cond) for liveness or meaningful semantic state, Reachable/Unreachable for path and outcome checks)
  • Sometimes(true,...) assertions should be rewritten as Reachable(...).
  • Assertion messages are unique across the touched code; no broad property is implemented by reusing one message at multiple unrelated callsites
  • Workload-only instrumentation was not used where surgical SUT-side assertions would provide materially better search guidance for rare, dangerous, or timing-sensitive internal states
  • Reachable(...) markers are attached to distinct outcomes or branch results, not redundant early path-entry locations on the same straight-line flow
  • Test commands exist under antithesis/test/ and use valid prefixes (parallel_driver_, singleton_driver_, serial_driver_, first_, eventually_, finally_, anytime_)
  • Test commands are written in the project's language, not Bash, and reuse the project's clients and libraries where possible
  • No test command is responsible for Antithesis lifecycle signaling; setup_complete is emitted before test commands begin
  • Test templates are structured correctly at the path that will map to /opt/antithesis/test/v1/{name}/ in the container
  • Helper files or directories are prefixed with helper_ so Antithesis ignores them
  • antithesis/scratchbook/property-catalog.md is updated to reflect the implementation status of every property in scope, with provenance frontmatter (commit and updated) reflecting the current codebase state
  • Assertions are in workload code or surgical SUT locations — not scattered across production paths
  • Use snouty validate on antithesis/config to ensure that the compose setup can reach setup complete and any configured test-templates work. Make sure to build the latest images before running validate.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.73%
按下载量换算291

Claude

25.29%
按下载量换算200

Cursor

19.26%
按下载量换算153

Gemini CLI

8.94%
按下载量换算71

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills