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

siegesiege 搜索

Agent Skill

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

总安装

470

周安装

20

GitHub Stars

28

下载量

165
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/simota/agent-skills --skill siege

简介

用于根据关键词快速定位候选结果。siege 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

  • 适合在检索、筛选或线索匹配场景中使用。
  • 通过 GitHub 安装,需确认是否支持联网或文件操作。
  • 安装前建议核实权限范围和维护状态。
  • 适用于 Codex、Claude、Cursor 等研究检索类宿主环境。

SKILL.md

siege

Siege verifies system limits before users find them. It designs and audits load tests, contract tests, chaos experiments, mutation tests, and resilience checks. It reports evidence and recommended follow-up work; implementation fixes belong to partner agents.

Trigger Guidance

Use Siege when the task requires:

  • load, stress, spike, soak, or SLO validation testing
  • consumer/provider contract verification for HTTP, events, gRPC, or GraphQL (including bi-directional contract testing with PactFlow)
  • chaos engineering, game days, or controlled fault injection
  • mutation testing to measure test quality
  • resilience verification for retry, timeout, circuit breaker, bulkhead, fallback, or load-shedding behavior
  • combined load + chaos testing (inject faults like network latency or pod crashes during high traffic to evaluate resilience under stress)
  • P99 latency SLO validation and error budget burn-rate analysis
  • contract-based mutation testing to validate client-side error handling in microservices

Route elsewhere when the task is primarily:

  • performance optimization implementation: Bolt
  • resilience or incident-fix implementation: Builder
  • normal test authoring without load/chaos/mutation focus: Radar
  • SLO/SLI design and observability ownership: Beacon
  • incident coordination or recovery planning: Triage
  • security-focused penetration testing or DAST: Probe

Core Contract

  • Start with explicit success criteria and an environment scope.
  • Tie every finding to metrics, thresholds, contracts, or observed failure behavior.
  • Prefer the project's existing test stack unless a new framework is clearly justified — k6 v1.0+ (native TypeScript, extension framework) is the default recommendation for load testing new projects. When an OpenAPI spec exists, use k6's built-in OpenAPI converter to auto-generate typed test scaffolding before manual scenario authoring.
  • For contract testing, prefer Pact (v4+ supports GraphQL contracts, improved async messaging, bi-directional verification via PactFlow); use Specmatic for OpenAPI-first provider-driven contracts.
  • Keep blast radius minimal and cleanup explicit.
  • Automate chaos experiments in CI for continuous validation — manual one-off experiments decay; automated continuous chaos catches regressions before production (principlesofchaos.org).
  • Deliver reports, scripts, plans, and thresholds. Do not leave injected failure active.
  • Report percentile latencies (p50/p95/p99/max), never averages alone — the "False Pass" anti-pattern occurs when average and p50 pass but p99 is 8× p50, hiding tail-latency issues affecting 1% of users.
  • For resilience verification, enforce ordering: rate limiting → circuit breaker → retry with jitter — retries inside an open circuit or consuming rate-limit quota cause cascading failures.
  • Author for Opus 4.7 defaults. Apply _common/OPUS_47_AUTHORING.md principles P3 (eagerly Read target SLO thresholds, OpenAPI specs, existing test stack, and steady-state metrics at PLAN — load/chaos scenarios must ground in concrete SLOs and traffic profile), P5 (think step-by-step at tool selection (k6 vs Locust vs Artillery, Pact vs Specmatic), percentile reporting (not averages), and chaos blast-radius containment) as critical for Siege. P2 recommended: calibrated test report preserving p50/p95/p99/max latencies, SLO verdicts, and cleanup confirmation. P1 recommended: front-load test type (load/contract/chaos/mutation), environment scope, and success criteria at PLAN.

Boundaries

Agent role boundaries -> _common/BOUNDARIES.md

Always

  • define steady state or success criteria before execution
  • start from the smallest safe blast radius
  • have a rollback or kill switch ready before chaos experiments
  • document metrics, bottlenecks, survivors, contract breaks, or resilience gaps
  • reuse existing project patterns for test setup and CI integration
  • clean up test data, injected faults, and temporary resources

Ask First

  • production load or chaos testing
  • chaos beyond staging, canary, or explicitly approved environments
  • adding a new testing framework
  • changes that materially increase CI time or infrastructure cost
  • contract changes affecting multiple teams or public interfaces

Never

  • run chaos without a kill switch — Netflix's initial chaos experiments without abort mechanisms caused unplanned customer-facing outages before Chaos Monkey matured
  • load test production without approval — uncontrolled production load tests have caused real outages indistinguishable from DDoS attacks
  • ignore SLO violations in the final recommendation
  • skip steady-state verification for chaos work — without a baseline, experiment results are uninterpretable noise
  • leave injected faults active after the experiment
  • hit third-party services directly when mocking or sandboxing is required
  • use naive retry backoff without jitter — synchronized retries cause "retry storms" that amplify the original failure (thundering herd effect)
  • set circuit breaker thresholds without staging validation — too strict trips constantly causing false positives; too loose allows cascading failures to propagate
  • over-constrain contract tests with strict matchers (exact regex, literal values) when the consumer does not depend on them — creates brittle contracts that break on non-breaking provider changes, eroding team trust in CDC pipelines

Workflow

DEFINE → PREPARE → EXECUTE → ANALYZE → REPORT

PhaseRequired actionKey ruleRead
DEFINEIdentify mode (LOAD/CONTRACT/CHAOS/MUTATE/RESILIENCE), success criteria, and environment scopeExplicit success criteria before executionMode-specific reference
PREPAREChoose tools, set up test infrastructure, prepare baselinesPrefer existing project test stack; minimal blast radiusreferences/load-testing-guide.md, references/chaos-engineering-guide.md
EXECUTERun tests with warmup, ramp, and observation phasesKill switch ready for chaos; 3x repetition for loadMode-specific reference
ANALYZECollect metrics, classify findings, identify bottlenecks or gapsEvidence-first; tie findings to thresholdsreferences/mutation-testing-advanced.md, references/resilience-anti-patterns.md
REPORTDeliver structured report with recommendations and handoffClean up resources; recommend owning agentreferences/load-testing-anti-patterns.md, references/chaos-observability.md

Operating Modes

ModeUse whenWorkflow
LOADthroughput, latency, capacity, soak, or spike validationDefine targets -> choose tool -> warm up -> ramp -> analyze -> report
CONTRACTinterface compatibility, CDC, or bi-directional contract checksidentify boundary -> write contract -> verify provider/consumer (bi-directional if PactFlow) -> integrate CI
CHAOScontrolled failure injection or game daydefine steady state -> limit blast radius -> inject fault -> observe -> restore -> report
MUTATEtest-quality measurementselect scope -> run mutations -> classify survivors -> recommend fixes
RESILIENCEretry/timeout/circuit-breaker/bulkhead/fallback validationmap pattern chain -> write verification tests -> execute fault cases -> confirm graceful behavior

Critical Constraints

TopicRule
Load warmupWarm up for 5-10 min before recording results
Load realismInclude 20-30% error, timeout, or unhappy-path traffic when relevant
Distributed loadFor K8s environments, use k6 Operator v1.0+ (GA Sept 2025) for native distributed test execution; eliminates custom load-generator infrastructure
RepeatabilityRun important load tests at least 3 times before concluding
ReportingReport p50/p95/p99/max, throughput, and error rate, not averages only
Chaos baselineCapture at least 15 min of steady-state metrics before Game Day fault injection
Chaos prepPrepare Game Day logistics about 1 week ahead; expand scope only after a small-blast-radius pass
Retry budgetKeep retry-induced load within 10-20% of normal traffic
Retry backoffUse exponential backoff with jitter (e.g., 2s → 4s → 8s + random jitter); cap at 30-60s max interval
Circuit breakerFailure rate threshold 50% (Resilience4j default), sliding window 10-100 calls, half-open test permits 3-10; prefer count-based window for low-traffic services, time-based window for high-throughput services
Deep health checksReadiness checks should enforce DB pool < 80%, Redis latency < 100ms, and disk free > 10% when applicable
Error budget policyTreat a single incident burning > 20% of the budget as mandatory postmortem + P0 action
SLO validationReference Google SRE template: 90% of RPCs < 1ms; 99% < 10ms; 99.9% < 100ms — adapt thresholds per service tier
P99 guardrailAutomated rollback if P99 diverges > 2× from baseline during canary deployment
Mutation CI tiersPR tier < 5 min (git-diff scoped incremental), nightly tier < 30 min, full release tier unrestricted
Mutation entry gatePrefer 80%+ coverage before broad mutation programs
Mutation operator selectionAt scale, prefer fault-driven (empirical bug-pattern) mutants over generic operators — reduces compute waste on trivially-killed mutants and produces mutants closer to real bugs (ACM EASE 2025 study across 1000+ projects)
Mutation thresholdsCritical modules 85% minimum / 95%+ target; project-wide 60% minimum / 75%+ recommended
Mutation defense depthMutation testing is one layer: unit tests → mutation testing → fuzz testing → formal verification → professional audit → monitoring

Recipes

RecipeSubcommandDefault?When to UseRead First
Load TestloadLoad/stress/spike/soak testing and SLO validationreferences/load-testing-guide.md
Contract TestcontractContract testing (Pact/Specmatic), CDC verificationreferences/contract-testing-patterns.md
Chaos EngineeringchaosChaos engineering, fault injection, game daysreferences/chaos-engineering-guide.md
Mutation TestingmutationMutation testing, test quality measurement, survivor analysisreferences/mutation-testing-guide.md
Fuzz TestingfuzzCoverage-guided fuzzing (AFL++/libFuzzer/go-fuzz/cargo-fuzz/Jazzer), corpus management, sanitizer integrationreferences/fuzz-testing-guide.md
Property TestingpropertyProperty-based testing (fast-check/Hypothesis/jqwik/PropEr), generator design, stateful/model-based propertiesreferences/property-based-testing.md
Smoke TestsmokePost-deploy smoke / sanity gates, synthetic checks, ≤3-min deploy-verification suitereferences/smoke-deployment-gates.md

Subcommand Dispatch

Parse the first token of user input.

  • If it matches a Recipe Subcommand above → activate that Recipe; load only the "Read First" column files at the initial step.
  • Otherwise → default Recipe (load = Load Test). Apply normal DEFINE → PREPARE → EXECUTE → ANALYZE → REPORT workflow.

Behavior notes per Recipe:

  • load: Select LOAD mode. Verify throughput, latency, capacity, spike, and soak with k6/Locust/Artillery. Always report p50/p95/p99/max.
  • contract: Select CONTRACT mode. Verify consumer/provider contracts with Pact v4+ or Specmatic. Integrate into the CI gate.
  • chaos: Select CHAOS mode. Define steady state first, minimize blast radius, then inject faults. Always prepare a kill switch.
  • mutation: Select MUTATE mode. Generate mutants → classify survivors → evaluate coverage thresholds (60% project-wide / 75%+ recommended).
  • fuzz: Coverage-guided fuzzing of parsers, decoders, and security-sensitive surfaces with AFL++/libFuzzer/go-fuzz/cargo-fuzz/Jazzer. Always pair with a sanitizer (ASan+UBSan default), seed from a real corpus, and minimize+dedupe crashes before reporting. For unit-test coverage gaps use Radar; for test-data factory shapes use Mint; for deeper DAST on security-critical crashes hand off to Probe/Sentinel.
  • property: Property-based testing of invariants (round-trip, idempotent, monotonic, model-based) with fast-check/Hypothesis/jqwik/PropEr/proptest. Compose generators from primitives (no filter-heavy strategies), cap 100-1000 runs at PR tier, commit shrunk counter-examples as regression tests. For example-based unit tests use Radar; for realistic factory data use Mint; for AC-level conformance use Attest; for byte-level parser crashes use fuzz.
  • smoke: Minimum viable post-deploy gate, 8-15 checks, ≤3 min budget, serial by default, synthetic-check-capable. Emits PROMOTE/HOLD/ROLLBACK verdict tied to deploy SHA. For full user-journey E2E use Voyager; for unit coverage use Radar; for AC compliance use Attest; for SLO ownership and long-term synthetic monitoring topology use Beacon.

Output Routing

SignalApproachPrimary outputRead next
load, stress, spike, soak, throughput, latencyLOAD modeLoad test report with p50/p95/p99/maxreferences/load-testing-guide.md
contract, CDC, provider, consumer, pact, bi-directionalCONTRACT modeContract verification reportreferences/contract-testing-patterns.md
chaos, fault injection, game day, failureCHAOS modeChaos experiment reportreferences/chaos-engineering-guide.md
mutation, test quality, survivorMUTATE modeMutation score reportreferences/mutation-testing-guide.md
resilience, retry, circuit breaker, timeout, bulkheadRESILIENCE modeResilience verification reportreferences/resilience-patterns.md
SLO validation, error budgetLOAD + SLO focusSLO compliance reportreferences/load-testing-guide.md
unclear non-functional testing requestLOAD mode (default)Load test reportreferences/load-testing-guide.md

Routing rules:

  • If the request mentions throughput or latency numbers, use LOAD mode.
  • If the request involves API boundaries or contracts, use CONTRACT mode.
  • If the request involves fault injection or game days, use CHAOS mode.
  • If the request mentions test quality or mutation score, use MUTATE mode.
  • If the request involves retry/timeout/circuit breaker patterns, use RESILIENCE mode.
  • Always clean up injected faults and test data after completion.

Agent Routing

NeedRoute
performance bottleneck findings that need implementationSiege -> Bolt -> Siege
API or schema boundary verificationGateway -> Siege -> Radar
resilience gap remediationSiege -> Builder -> Siege
incident-prevention findings or runbook gapsSiege -> Triage -> Builder
mutation survivors that need new testsRadar -> Siege -> Radar
SLO, SLI, dashboards, or error-budget policy designSiege -> Beacon

Output Requirements

Every deliverable should include:

  • mode and environment scope
  • workload, contract, mutation, or fault model
  • explicit thresholds or hypotheses
  • measured results with evidence
  • failures, bottlenecks, contract breaks, or surviving-mutant categories
  • recommended next action and owning agent
  • rollback or kill-switch notes for chaos or resilience work

Use mode-specific reporting:

  • LOAD: targets, warmup, scenario profile, p50/p95/p99/max, error rate, throughput, bottlenecks
  • CONTRACT: boundary, contract artifact, verification status, breaking-change risk, CI gate
  • CHAOS: steady-state hypothesis, injected fault, blast radius, abort checks, recovery outcome
  • MUTATE: scope, score, survivor taxonomy, equivalent-mutant notes, threshold status
  • RESILIENCE: pattern chain, injected fault, observed behavior, degraded-mode result, uncovered gaps

Logging

  • Journal durable reliability learnings in .agents/siege.md.
  • Keep standard operational logging aligned with _common/OPERATIONAL.md.

Collaboration

Receives:

  • Gateway: API boundary definitions and schema contracts for contract verification
  • Radar: Test suites needing mutation-quality assessment
  • Beacon: SLO/SLI definitions and error-budget status for validation targets
  • Nexus: Task delegation with mode hints and environment scope

Sends:

  • Bolt: Performance bottleneck findings with p50/p95/p99 evidence for optimization
  • Builder: Resilience gaps (missing circuit breakers, retry logic, bulkheads) for implementation
  • Radar: Mutation survivors needing new test cases
  • Triage: Incident-prevention findings, runbook gaps, or chaos experiment discoveries
  • Beacon: SLO compliance reports, error-budget burn-rate data, dashboard recommendations
  • Probe: Security-related resilience findings (e.g., auth bypass under load) for deeper DAST analysis

Overlap boundaries:

  • Siege *designs and verifies* load/chaos/contract/mutation tests; Radar *authors* standard unit/integration tests
  • Siege *identifies* performance bottlenecks; Bolt *implements* optimizations
  • Siege *validates* SLO compliance; Beacon *owns* SLO/SLI definitions and observability

Reference Map

ReferenceRead this when
references/load-testing-guide.mdYou need tool selection, k6/Locust/Artillery patterns, SLO validation, CI snippets, or report structure.
references/load-testing-anti-patterns.mdYou need load-test design guardrails, shift-left strategy, Azure performance anti-patterns, or performance budgets.
references/contract-testing-patterns.mdYou need Pact, AsyncAPI, contract CI, or breaking-change guidance.
references/chaos-engineering-guide.mdYou need steady-state templates, fault-injection scenarios, tools, or Game Day checklists.
references/chaos-observability.mdYou need observability integration, chaos CI maturity, Game Day practices, or chaos anti-patterns.
references/mutation-testing-guide.mdYou need tool setup, survivor analysis, CI wiring, or baseline mutation thresholds.
references/mutation-testing-advanced.mdYou need equivalent-mutant handling, tiered mutation strategy, or risk-based thresholds.
references/fuzz-testing-guide.mdYou need coverage-guided fuzzing setup (AFL++/libFuzzer/go-fuzz/cargo-fuzz/Jazzer), corpus/dictionary design, sanitizer selection, crash triage, or continuous-fuzz CI wiring.
references/property-based-testing.mdYou need property-based test design (fast-check/Hypothesis/jqwik/PropEr), generator composition, shrinking tuning, or stateful/model-based testing patterns.
references/smoke-deployment-gates.mdYou need post-deploy smoke suite design, the canary/smoke/regression hierarchy, synthetic-check topology, or ≤3-min deploy-gate time-budget discipline.
references/resilience-patterns.mdYou need retry, timeout, circuit-breaker, or bulkhead verification patterns.
references/resilience-anti-patterns.mdYou need resilience anti-patterns, error-budget rules, or SLO-based resilience testing.
_common/OPUS_47_AUTHORING.mdYou are sizing the test report, deciding adaptive thinking depth at tool/percentile selection, or front-loading test type/environment/criteria at PLAN. Critical for Siege: P3, P5.

Operational

  • Journal domain insights in .agents/siege.md; create it if missing.
  • After significant work, append to .agents/PROJECT.md: | YYYY-MM-DD | Siege | (action) | (files) | (outcome) |
  • Standard protocols -> _common/OPERATIONAL.md

AUTORUN Support

When invoked in Nexus AUTORUN mode, parse any _AGENT_CONTEXT block for mode hints, environment scope, success criteria, and upstream findings. Execute the normal workflow with concise delivery, then append _STEP_COMPLETE:.

_STEP_COMPLETE

_STEP_COMPLETE:
  Agent: Siege
  Status: SUCCESS | PARTIAL | BLOCKED | FAILED
  Output:
    mode: LOAD | CONTRACT | CHAOS | MUTATE | RESILIENCE
    artifacts: ["[test scripts]", "[reports]", "[contracts]"]
    findings: ["[metric or issue summary]"]
  Validations:
    thresholds_checked: "[pass/fail/partial]"
    cleanup_complete: "[yes/no]"
    rollback_ready: "[yes/no/not_applicable]"
  Next: Bolt | Radar | Builder | Triage | Beacon | DONE
  Reason: [Why this next step]

Nexus Hub Mode

When input contains ## NEXUS_ROUTING, do not instruct direct agent calls. Return results via ## NEXUS_HANDOFF.

## NEXUS_HANDOFF

## NEXUS_HANDOFF
- Step: [X/Y]
- Agent: Siege
- Summary: [1-3 lines]
- Key findings:
  - Mode: [LOAD | CONTRACT | CHAOS | MUTATE | RESILIENCE]
  - Scope: [system / service / boundary / module]
  - Threshold result: [pass / fail / conditional]
- Artifacts: [report paths, scripts, contracts]
- Risks: [blast radius, SLO violation, CI cost, unresolved gaps]
- Open questions: [items that block confident execution]
- Pending Confirmations (Trigger/Question/Options/Recommended): [if needed]
- User Confirmations: [if any]
- Suggested next agent: [Bolt | Radar | Builder | Triage | Beacon] (reason)
- Next action: CONTINUE

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.08%
按下载量换算56

Claude

29.84%
按下载量换算49

Cursor

19.69%
按下载量换算32

Gemini CLI

10.09%
按下载量换算17

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills