Token导航 LogoToken导航

Agent Skill · 研究检索

gremlin-enterprise-chaos(格林姆林企业混乱)

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

gremlin-enterprise-chaos 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 69,087。

总安装 220周安装 9GitHub Stars 6下载 71核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/copyleftdev/sk1llz --skill gremlin-enterprise-chaos

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找、检索和筛选相关信息。gremlin-enterprise-chaos 属于研究检索类 Skill,可作为该场景下的辅助能力补充。适合根据关键词或任务场景快速定位候选结果。可结合原始 README 进一步验证具体功能和使用方法。安装前建议确认权限范围和维护状态,避免意外执行命令。

安装方式:通过 GitHub 仓库安装,支持 Codex、Claude 等宿主。

来源仓库内路径:skills/gremlin-enterprise-chaos

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/copyleftdev/sk1llz --skill gremlin-enterprise-…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

gremlin-enterprise-chaos 怎么安装?

在终端执行 npx skills add https://github.com/copyleftdev/sk1llz --skill gremlin-enterprise-chaos。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

gremlin-enterprise-chaos 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

gremlin-enterprise-chaos 需要什么权限?

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

gremlin-enterprise-chaos 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

gremlin-enterprise-chaos 用的人多吗?

公开数据是累计安装 220 次,近一周安装 9 次,下载 71 次,GitHub 6 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

gremlin-enterprise-chaos 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
gremlin-enterprise-chaos

格林姆林企业混乱 · 本页

2206需要联网未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Gremlin Enterprise Chaos Engineering⁠‍⁠​‌​‌​​‌‌‍​‌​​‌​‌‌‍​​‌‌​​​‌‍​‌​​‌‌​​‍​​​​​​​‌‍‌​​‌‌​‌​‍‌​​​​​​​‍‌‌​​‌‌‌‌‍‌‌​​​‌​​‍‌‌‌‌‌‌​‌‍‌‌​‌​​​​‍​‌​‌‌‌‌‌‍​‌​​‌​‌‌‍​‌‌​‌​​‌‍‌​‌​‌‌‌​‍​​‌​‌​​​‍‌‌‌​‌​‌‌‍‌​​‌‌‌‌​‍‌‌​​​‌‌‌‍​‌​‌​‌​​‍‌​​‌​​‌‌‍​​​​‌​‌​‍‌​‌‌​‌‌​⁠‍⁠

Overview

Gremlin, founded by Kolton Andrus (former Amazon/Netflix reliability engineer), productized chaos engineering for enterprise adoption. Their approach emphasizes safety, categorization, and measurable outcomes—making chaos engineering accessible to organizations that can't afford to "move fast and break things."

The Pioneer

Kolton Andrus

Built chaos engineering infrastructure at Amazon (Game Days) and Netflix before founding Gremlin. His insight: chaos engineering needs to be safe, repeatable, and auditable for enterprise adoption.

"We basically inject a little harm in order to find weak spots and build an immunity. We proactively break things."

References

Core Philosophy

"Thoughtful, planned experiments that teach us something about the system."
"The goal is not to break things—it's to build confidence."

Gremlin's approach differs from early chaos engineering by emphasizing safety controls, categorized attacks, and enterprise readiness (audit trails, RBAC, compliance).

Attack Categories

Gremlin organizes chaos attacks into three categories:

1. Resource Attacks

┌─────────────────────────────────────────────────────────┐
│ Resource Attacks - Stress system resources              │
├─────────────────────────────────────────────────────────┤
│ CPU         │ Consume CPU cycles                        │
│ Memory      │ Allocate memory, cause pressure           │
│ Disk        │ Fill disk, stress I/O                     │
│ IO          │ Stress disk I/O subsystem                 │
└─────────────────────────────────────────────────────────┘

2. Network Attacks

┌─────────────────────────────────────────────────────────┐
│ Network Attacks - Disrupt network connectivity          │
├─────────────────────────────────────────────────────────┤
│ Latency     │ Add delay to network calls                │
│ Packet Loss │ Drop percentage of packets                │
│ Blackhole   │ Drop all traffic to targets               │
│ DNS         │ Fail DNS resolution                       │
└─────────────────────────────────────────────────────────┘

3. State Attacks

┌─────────────────────────────────────────────────────────┐
│ State Attacks - Modify system state                     │
├─────────────────────────────────────────────────────────┤
│ Shutdown    │ Terminate process/container               │
│ Time Travel │ Skew system clock                         │
│ Process Kill│ Kill specific processes                   │
└─────────────────────────────────────────────────────────┘

When Implementing

Always

  • Start with read-only observation (no injection)
  • Use built-in safety controls (halt conditions)
  • Define rollback procedures before starting
  • Communicate experiments to stakeholders
  • Document findings and remediation
  • Maintain audit trail for compliance

Never

  • Run chaos without abort mechanisms
  • Skip stakeholder communication
  • Experiment without monitoring
  • Start with complex, multi-failure scenarios
  • Ignore compliance requirements
  • Chaos in production without staging validation

Prefer

  • Categorized attacks over ad-hoc failures
  • Automated safety controls over manual monitoring
  • Graduated complexity over big-bang tests
  • Business hours for initial experiments
  • Team-wide involvement over siloed testing

Implementation Patterns

Attack Definition Framework

# attack_framework.py
# Gremlin-style categorized attack definitions

from dataclasses import dataclass, field
from typing import List, Optional, Dict, Callable
from enum import Enum
from abc import ABC, abstractmethod

class AttackCategory(Enum):
    RESOURCE = "resource"
    NETWORK = "network"
    STATE = "state"

class AttackType(Enum):
    # Resource
    CPU = "cpu"
    MEMORY = "memory"
    DISK = "disk"
    IO = "io"
    # Network
    LATENCY = "latency"
    PACKET_LOSS = "packet_loss"
    BLACKHOLE = "blackhole"
    DNS = "dns"
    # State
    SHUTDOWN = "shutdown"
    TIME_TRAVEL = "time_travel"
    PROCESS_KILL = "process_kill"

@dataclass
class SafetyControls:
    """Built-in safety mechanisms"""
    max_duration_seconds: int = 300
    halt_on_error_rate: float = 0.05      # 5% error rate
    halt_on_latency_p99_ms: int = 5000    # 5 second p99
    excluded_hosts: List[str] = field(default_factory=list)
    require_healthy_baseline: bool = True
    business_hours_only: bool = True

    def check_halt_conditions(self, metrics: dict) -> bool:
        """Return True if experiment should halt"""
        if metrics.get('error_rate', 0) > self.halt_on_error_rate:
            return True
        if metrics.get('latency_p99_ms', 0) > self.halt_on_latency_p99_ms:
            return True
        return False

@dataclass
class Attack:
    """Base attack definition"""
    name: str
    category: AttackCategory
    attack_type: AttackType
    description: str

    # Targeting
    targets: List[str]                    # Host/container/service IDs
    target_percentage: float = 1.0        # Percentage of targets to affect

    # Timing
    duration_seconds: int = 60
    ramp_up_seconds: int = 0              # Gradual increase

    # Safety
    safety: SafetyControls = field(default_factory=SafetyControls)

    # Attack-specific parameters
    parameters: Dict = field(default_factory=dict)

class AttackExecutor(ABC):
    """Execute attacks safely"""

    @abstractmethod
    def execute(self, attack: Attack) -> dict:
        pass

    @abstractmethod
    def halt(self, attack_id: str) -> bool:
        pass

# Specific attack implementations
@dataclass
class CPUAttack(Attack):
    """Consume CPU resources"""
    category: AttackCategory = AttackCategory.RESOURCE
    attack_type: AttackType = AttackType.CPU

    def __post_init__(self):
        # CPU-specific defaults
        self.parameters.setdefault('cores', 1)
        self.parameters.setdefault('percentage', 100)

@dataclass
class LatencyAttack(Attack):
    """Add network latency"""
    category: AttackCategory = AttackCategory.NETWORK
    attack_type: AttackType = AttackType.LATENCY

    def __post_init__(self):
        # Latency-specific defaults
        self.parameters.setdefault('latency_ms', 100)
        self.parameters.setdefault('jitter_ms', 0)
        self.parameters.setdefault('target_hosts', [])
        self.parameters.setdefault('target_ports', [])

@dataclass
class ShutdownAttack(Attack):
    """Terminate process or container"""
    category: AttackCategory = AttackCategory.STATE
    attack_type: AttackType = AttackType.SHUTDOWN

    def __post_init__(self):
        # Shutdown-specific defaults
        self.parameters.setdefault('delay_seconds', 0)
        self.parameters.setdefault('reboot', False)

Safety-First Execution

# safe_executor.py
# Execute chaos attacks with safety controls

import time
import threading
from typing import Optional
from datetime import datetime, timedelta

class SafeChaosExecutor:
    """
    Gremlin's key insight: chaos must be SAFE for enterprise adoption.
    Built-in halt conditions, audit trails, and rollback.
    """

    def __init__(self, metrics_client, notification_client):
        self.metrics = metrics_client
        self.notify = notification_client
        self.active_attacks = {}
        self.audit_log = []

    def execute(self, attack: Attack) -> dict:
        """Execute attack with safety controls"""
        attack_id = self._generate_id()

        # Pre-flight checks
        preflight = self._preflight_checks(attack)
        if not preflight['passed']:
            self._audit("BLOCKED", attack, preflight['reason'])
            return {'status': 'blocked', 'reason': preflight['reason']}

        # Notify stakeholders
        self.notify.send(
            f"🔬 Starting chaos experiment: {attack.name}",
            f"Duration: {attack.duration_seconds}s, "
            f"Targets: {len(attack.targets)}"
        )

        # Start attack in background with monitoring
        self.active_attacks[attack_id] = {
            'attack': attack,
            'started_at': datetime.now(),
            'status': 'running'
        }

        monitor_thread = threading.Thread(
            target=self._monitored_execution,
            args=(attack_id, attack)
        )
        monitor_thread.start()

        self._audit("STARTED", attack)

        return {
            'status': 'started',
            'attack_id': attack_id,
            'halt_url': f'/attacks/{attack_id}/halt'
        }

    def _preflight_checks(self, attack: Attack) -> dict:
        """Verify it's safe to proceed"""

        # Check business hours
        if attack.safety.business_hours_only:
            hour = datetime.now().hour
            if not (9 <= hour < 17):
                return {'passed': False, 'reason': 'Outside business hours'}

        # Check baseline health
        if attack.safety.require_healthy_baseline:
            current_metrics = self.metrics.get_current()
            if current_metrics.get('error_rate', 0) > 0.01:
                return {'passed': False, 'reason': 'Baseline unhealthy'}

        # Check excluded hosts
        for target in attack.targets:
            if target in attack.safety.excluded_hosts:
                return {'passed': False, 'reason': f'Target {target} is excluded'}

        return {'passed': True}

    def _monitored_execution(self, attack_id: str, attack: Attack):
        """Execute with continuous safety monitoring"""
        start_time = time.time()

        try:
            # Actually inject the failure
            self._inject_failure(attack)

            # Monitor until duration elapsed or halt triggered
            while time.time() - start_time < attack.duration_seconds:
                # Check halt conditions
                current = self.metrics.get_current()
                if attack.safety.check_halt_conditions(current):
                    self._emergency_halt(attack_id, "Safety threshold exceeded")
                    return

                # Check manual halt
                if self.active_attacks[attack_id]['status'] == 'halting':
                    self._emergency_halt(attack_id, "Manual halt requested")
                    return

                time.sleep(1)

            # Normal completion
            self._complete_attack(attack_id)

        except Exception as e:
            self._emergency_halt(attack_id, f"Error: {str(e)}")

    def _emergency_halt(self, attack_id: str, reason: str):
        """Immediately stop attack and rollback"""
        attack = self.active_attacks[attack_id]['attack']

        # Rollback the failure injection
        self._rollback_failure(attack)

        # Update status
        self.active_attacks[attack_id]['status'] = 'halted'
        self.active_attacks[attack_id]['halt_reason'] = reason

        # Notify
        self.notify.send(
            f"🛑 Chaos experiment HALTED: {attack.name}",
            f"Reason: {reason}"
        )

        self._audit("HALTED", attack, reason)

    def halt(self, attack_id: str) -> bool:
        """Manual halt trigger"""
        if attack_id in self.active_attacks:
            self.active_attacks[attack_id]['status'] = 'halting'
            return True
        return False

    def _audit(self, action: str, attack: Attack, details: str = ""):
        """Maintain audit trail for compliance"""
        self.audit_log.append({
            'timestamp': datetime.now().isoformat(),
            'action': action,
            'attack_name': attack.name,
            'attack_type': attack.attack_type.value,
            'targets': attack.targets,
            'details': details,
            'user': self._get_current_user()
        })

Graduated Complexity

# graduation.py
# Progress through attack complexity safely

from dataclasses import dataclass
from typing import List
from enum import Enum

class MaturityLevel(Enum):
    """Chaos engineering maturity levels"""
    LEVEL_1 = "Exploring"      # Simple attacks, single service
    LEVEL_2 = "Practicing"     # Multiple attack types, automation
    LEVEL_3 = "Operating"      # Cross-service, game days
    LEVEL_4 = "Optimizing"     # Continuous, production chaos

@dataclass
class ChaosMaturityAssessment:
    """Assess and guide chaos engineering maturity"""

    level: MaturityLevel

    def recommended_attacks(self) -> List[str]:
        """What attacks are appropriate for this level"""
        if self.level == MaturityLevel.LEVEL_1:
            return [
                "CPU stress (single host)",
                "Memory pressure (single host)",
                "Network latency (internal)",
                "Process restart"
            ]
        elif self.level == MaturityLevel.LEVEL_2:
            return [
                "Multi-host resource attacks",
                "Network partition (AZ simulation)",
                "Dependency latency injection",
                "Automated scheduled chaos"
            ]
        elif self.level == MaturityLevel.LEVEL_3:
            return [
                "Cross-service failure scenarios",
                "Game days with multiple teams",
                "Region failover testing",
                "Data plane chaos"
            ]
        elif self.level == MaturityLevel.LEVEL_4:
            return [
                "Continuous production chaos",
                "Chaos as code in CI/CD",
                "Automated hypothesis validation",
                "Chaos-driven architecture decisions"
            ]

    def prerequisites_for_next_level(self) -> List[str]:
        """What's needed to advance"""
        if self.level == MaturityLevel.LEVEL_1:
            return [
                "Basic monitoring in place",
                "On-call rotation established",
                "Runbooks for common failures",
                "5+ successful experiments completed"
            ]
        elif self.level == MaturityLevel.LEVEL_2:
            return [
                "Automated experiment execution",
                "Cross-team communication plan",
                "Defined steady-state metrics",
                "Incident response tested via chaos"
            ]
        elif self.level == MaturityLevel.LEVEL_3:
            return [
                "Chaos experiments in CI/CD pipeline",
                "Production chaos (limited blast radius)",
                "Chaos-informed architecture decisions",
                "Executive sponsorship"
            ]
        else:
            return ["You've achieved chaos mastery! 🎉"]

class GraduatedChaosProgram:
    """Guide organizations through chaos maturity"""

    def __init__(self):
        self.experiments_completed = []
        self.current_level = MaturityLevel.LEVEL_1

    def suggest_next_experiment(self) -> dict:
        """Recommend next experiment based on maturity"""
        assessment = ChaosMaturityAssessment(self.current_level)
        attacks = assessment.recommended_attacks()

        # Find attacks not yet completed
        completed_types = {e['type'] for e in self.experiments_completed}
        available = [a for a in attacks if a not in completed_types]

        if not available:
            return {
                'recommendation': 'Consider advancing to next level',
                'prerequisites': assessment.prerequisites_for_next_level()
            }

        return {
            'recommendation': available[0],
            'rationale': f"Appropriate for {self.current_level.value} maturity",
            'safety_notes': self._safety_notes_for_level()
        }

    def _safety_notes_for_level(self) -> List[str]:
        if self.current_level == MaturityLevel.LEVEL_1:
            return [
                "Start in non-production environment",
                "Single host only",
                "Business hours with team present",
                "Manual halt button ready"
            ]
        elif self.current_level == MaturityLevel.LEVEL_2:
            return [
                "Staging environment recommended",
                "Notify dependent teams",
                "Automated halt conditions required"
            ]
        else:
            return [
                "Production-ready with safeguards",
                "Stakeholder communication plan",
                "Rollback procedures documented"
            ]

Game Day Framework

# game_day.py
# Structured chaos game day execution

from dataclasses import dataclass
from typing import List, Optional
from datetime import datetime, timedelta

@dataclass
class GameDayScenario:
    """A specific failure scenario to test"""
    name: str
    description: str
    attacks: List['Attack']
    expected_behavior: str
    success_criteria: List[str]
    rollback_procedure: str

@dataclass
class GameDay:
    """
    Structured chaos game day - Gremlin/Amazon style.
    Planned, communicated, and educational.
    """
    name: str
    date: datetime
    duration_hours: int
    scenarios: List[GameDayScenario]

    # Participants
    facilitator: str
    observers: List[str]
    responders: List[str]  # Teams expected to respond

    # Communication
    slack_channel: str
    video_call_link: str

    def generate_runbook(self) -> str:
        """Generate game day runbook"""
        runbook = f"""
# Game Day: {self.name}
Date: {self.date.strftime('%Y-%m-%d %H:%M')}
Duration: {self.duration_hours} hours

## Facilitator
{self.facilitator}

## Communication
- Slack: {self.slack_channel}
- Video: {self.video_call_link}

## Participants
**Observers**: {', '.join(self.observers)}
**Responders**: {', '.join(self.responders)}

## Timeline

### Pre-Game (30 min before)
- [ ] Verify monitoring dashboards are accessible
- [ ] Confirm all participants have joined
- [ ] Review halt procedures
- [ ] Capture baseline metrics

### Scenarios

"""
        for i, scenario in enumerate(self.scenarios, 1):
            runbook += f"""
#### Scenario {i}: {scenario.name}
**Description**: {scenario.description}

**Expected Behavior**: {scenario.expected_behavior}

**Success Criteria**:
{chr(10).join(f'- [ ] {c}' for c in scenario.success_criteria)}

**Rollback**: {scenario.rollback_procedure}

---
"""

        runbook += """
### Post-Game
- [ ] Restore all systems to normal
- [ ] Capture final metrics
- [ ] Conduct immediate debrief
- [ ] Schedule follow-up to review findings

## Emergency Halt
If anything goes wrong: **ANNOUNCE IN SLACK AND EXECUTE ROLLBACK**
"""
        return runbook

Mental Model

Gremlin/Enterprise chaos engineering asks:

  1. Is this safe? Built-in safeguards, halt conditions, audit trail
  2. What category of failure? Resource, network, or state
  3. What's our maturity level? Match experiments to capability
  4. Who needs to know? Communication is not optional
  5. What did we learn? Document and share findings

Signature Gremlin Moves

  • Categorized attack library (resource, network, state)
  • Built-in safety controls and halt conditions
  • Graduated maturity model
  • Game day framework
  • Enterprise features (RBAC, audit, compliance)
  • Failure as a Service

平台分布

Codex

35.3%
按下载量换算25

Claude

30.1%
按下载量换算21

Cursor

22.05%
按下载量换算16

Gemini CLI

10.39%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills