Introduction¶
Once an API, module, or service goes live, scenarios such as spiking CPU usage, misconfigured rate limiting, or untested circuit breaking often only surface during stress testing or incidents. Manually adding chaos scripts or middleware boilerplates can easily become disconnected from current changes and slow down iterations. The following introduces the “Chaos Engineering” skill on SkillHub: when generating code, modifying code, or creating requirements involving APIs/modules/services, the Agent follows rules to ask whether to perform bottleneck injection and what type to inject. It relies on built-in scripts and Web framework middleware templates for implementation, rather than patching a separate chaos engineering process afterwards.
What is this¶
“Chaos Engineering” is a community-sourced skill located at the SkillHub coordinate @user_aca7c22a/fault-injection (Publisher: user_aca7c22a, Version: 1.0.0, Category: dev-programming). It targets fault injection and performance bottleneck injection: in qualifying coding and requirement scenarios, it automatically confirms with the user whether to inject, which type of bottleneck to inject, and works with multi-language projects using built-in injection capabilities and templates. The tag indicates requires_api_key=false, meaning no additional API Key is needed.
Official Access:
- API:
https://api.skillhub.cn/user_aca7c22a/fault-injection - Page:
https://www.skillhub.cn/skills/user_aca7c22a/fault-injection
Core Features¶
The following capabilities are derived from the SkillHub page description; details not present in the materials are not expanded upon.
Trigger Conditions
The workflow for this Skill is initiated under the following circumstances:
- Generating code
- Modifying code
- Creating requirements (involving APIs, modules, or services)
Interaction Method
Once trigger conditions are met, the Agent will automatically ask whether to perform bottleneck injection and the injection type, avoiding modifications to the project without authorization.
Nine Bottleneck Types
CPU, Memory, IO, Network, Concurrency, Database, Rate Limiting, Circuit Breaking, Resource Exhaustion.
Languages and Deliverables
Supports 14 languages: Python, JavaScript, TypeScript, Java, Go, Rust, C#, Ruby, PHP, Kotlin, Swift, C++, Zig, Dart. The skill includes automatic injection scripts and Web framework middleware templates to integrate selected bottleneck types into the current tech stack.
Installation and Activation¶
SkillHub provides two common installation paths: using the CLI to install into the current Agent’s skills directory, or passing the installation prompt to an AI to execute according to official documentation.
1. Install SkillHub CLI (if not already installed)¶
First, check if the CLI exists:
command -v skillhub && skillhub --version
If not installed, use the official script (full installation includes CLI and default Skills):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
Install CLI only:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
2. Install “Chaos Engineering” to the corresponding Agent directory¶
When installing the skill, you must use --dir to point to the current Agent’s skills directory; if installed to the default ./skills/, most clients will not auto-load it.
skillhub install user_aca7c22a/fault-injection --dir <skills directory>
Common paths (from SkillHub installation docs):
| Environment | skills directory |
|---|---|
| Cursor | ~/.cursor/skills/ |
| Claude Code | ~/.claude/skills/ |
| Codex | ~/.codex/skills/ or .agents/skills/ under the project |
Cursor example:
skillhub install user_aca7c22a/fault-injection --dir ~/.cursor/skills/
3. Install via AI¶
The prompt provided on the SkillHub page is: Install @user_aca7c22a/fault-injection according to https://skillhub.cn/install/skillhub.md. Just send this sentence to the Agent in the conversation to follow the same installation process.
After installing or updating skills, restart or refresh the Agent according to your client’s instructions to ensure SKILL.md is loaded.
Typical Usage¶
The materials do not provide a standalone long-form example repository; the reproducible process follows the official description:
- In an Agent with this Skill enabled, initiate code generation/modification, or create a requirement involving APIs, modules, or services.
- Wait for the Agent to ask: whether to perform bottleneck injection, and to select a type (one of the nine).
- After confirmation, the Agent combines the project language (one of the 14) to select the built-in automatic injection script or Web framework middleware template to connect the selected bottleneck within the current scope of changes.
Specific injection code forms are subject to the SKILL.md and templates within the skill package; this article does not speculate on file names or configuration fields.
Scenarios and Notes¶
Who is it for
- Teams that want to verify behaviors such as rate limiting, circuit breaking, and resource exhaustion during the development phase.
- Multi-language microservices or Web services that want to minimize handwritten chaos boilerplate and have the Agent align injection points while modifying code.
Limitations and Notes
- Bottleneck injection alters runtime behavior; use only in testing, staging, or explicitly isolated environments. Production environments require your own change and approval processes; do not replace governance solely with the Skill’s default interactions.
- The trigger scope is broad (generating/modifying code and related requirements). If you do not wish to be asked every time, explicitly skip injection in the conversation or manage installed Skills according to team standards.
- Community sourced (
community), version1.0.0; upgrades and behavior changes are subject to the SkillHub coordinate.
SkillHub page statistics (based on store display at the time of writing): Rating 100000, Downloads 869, Installations 24.
Conclusion¶
“Chaos Engineering” embeds fault and nine types of performance bottleneck injection into daily coding and requirement scenarios, reducing integration costs with interactive querying and multi-language templates. To install or view instructions, please open the SkillHub Skill Page or the API address https://api.skillhub.cn/user_aca7c22a/fault-injection.