[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CNZX9TMGD9QVXCR3DF3SVQ":3,"skill-same:01M7CNZX9TMGD9QVXCR3DF3SVQ":90},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7CNZX9TMGD9QVXCR3DF3SVQ","pymoo",null,"Multi-objective optimization framework. NSGA-II, NSGA-III, MOEA\u002FD, Pareto fronts, constraint handling, benchmarks (ZDT, DTLZ), for engineering design and optimization problems.","Carchaloneo22\u002FClaude-Code-template","Carchaloneo22","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F159488757?v=4","01M7CK5MQXAFZE3W7SAP69KNYR","Carlos Chaparro","01M7CK5MRFE26CDPEQDN5RSQPK",2,"MIT","https:\u002F\u002Fgithub.com\u002FCarchaloneo22\u002FClaude-Code-template\u002Fblob\u002Fadd-x-twitter-scraper-skill\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fpymoo\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: pymoo\ndescription: \"Multi-objective optimization framework. NSGA-II, NSGA-III, MOEA\u002FD, Pareto fronts, constraint handling, benchmarks (ZDT, DTLZ), for engineering design and optimization problems.\"\n---\n\n# Pymoo - Multi-Objective Optimization in Python\n\n## Overview\n\nPymoo is a comprehensive Python framework for optimization with emphasis on multi-objective problems. Solve single and multi-objective optimization using state-of-the-art algorithms (NSGA-II\u002FIII, MOEA\u002FD), benchmark problems (ZDT, DTLZ), customizable genetic operators, and multi-criteria decision making methods. Excels at finding trade-off solutions (Pareto fronts) for problems with conflicting objectives.\n\n## When to Use This Skill\n\nThis skill should be used when:\n- Solving optimization problems with one or multiple objectives\n- Finding Pareto-optimal solutions and analyzing trade-offs\n- Implementing evolutionary algorithms (GA, DE, PSO, NSGA-II\u002FIII)\n- Working with constrained optimization problems\n- Benchmarking algorithms on standard test problems (ZDT, DTLZ, WFG)\n- Customizing genetic operators (crossover, mutation, selection)\n- Visualizing high-dimensional optimization results\n- Making decisions from multiple competing solutions\n- Handling binary, discrete, continuous, or mixed-variable problems\n\n## Core Concepts\n\n### The Unified Interface\n\nPymoo uses a consistent `minimize()` function for all optimization tasks:\n\n```python\nfrom pymoo.optimize import minimize\n\nresult = minimize(\n    problem,        # What to optimize\n    algorithm,      # How to optimize\n    termination,    # When to stop\n    seed=1,\n    verbose=True\n)\n```\n\n**Result object contains:**\n- `result.X`: Decision variables of optimal solution(s)\n- `result.F`: Objective values of optimal solution(s)\n- `result.G`: Constraint violations (if constrained)\n- `result.algorithm`: Algorithm object with history\n\n### Problem Types\n\n**Single-objective:** One objective to minimize\u002Fmaximize\n**Multi-objective:** 2-3 conflicting objectives → Pareto front\n**Many-objective:** 4+ objectives → High-dimensional Pareto front\n**Constrained:** Objectives + inequality\u002Fequality constraints\n**Dynamic:** Time-varying objectives or constraints\n\n## Quick Start Workflows\n\n### Workflow 1: Single-Objective Optimization\n\n**When:** Optimizing one objective function\n\n**Steps:**\n1. Define or select problem\n2. Choose single-objective algorithm (GA, DE, PSO, CMA-ES)\n3. Configure termination criteria\n4. Run optimization\n5. Extract best solution\n\n**Example:**\n```python\nfrom pymoo.algorithms.soo.nonconvex.ga import GA\nfrom pymoo.problems import get_problem\nfrom pymoo.optimize import minimize\n\n# Built-in problem\nproblem = get_problem(\"rastrigin\", n_var=10)\n\n# Configure Genetic Algorithm\nalgorithm = GA(\n    pop_size=100,\n    eliminate_duplicates=True\n)\n\n# Optimize\nresult = minimize(\n    problem,\n    algorithm,\n    ('n_gen', 200),\n    seed=1,\n    verbose=True\n)\n\nprint(f\"Best solution: {result.X}\")\nprint(f\"Best objective: {result.F[0]}\")\n```\n\n**See:** `scripts\u002Fsingle_objective_example.py` for complete example\n\n### Workflow 2: Multi-Objective Optimization (2-3 objectives)\n\n**When:** Optimizing 2-3 conflicting objectives, need Pareto front\n\n**Algorithm choice:** NSGA-II (standard for bi\u002Ftri-objective)\n\n**Steps:**\n1. Define multi-objective problem\n2. Configure NSGA-II\n3. Run optimization to obtain Pareto front\n4. Visualize trade-offs\n5. Apply decision making (optional)\n\n**Example:**\n```python\nfrom pymoo.algorithms.moo.nsga2 import NSGA2\nfrom pymoo.problems import get_problem\nfrom pymoo.optimize import minimize\nfrom pymoo.visualization.scatter import Scatter\n\n# Bi-objective benchmark problem\nproblem = get_problem(\"zdt1\")\n\n# NSGA-II algorithm\nalgorithm = NSGA2(pop_size=100)\n\n# Optimize\nresult = minimize(problem, algorithm, ('n_gen', 200), seed=1)\n\n# Visualize Pareto front\nplot = Scatter()\nplot.add(result.F, label=\"Obtained Front\")\nplot.add(problem.pareto_front(), label=\"True Front\", alpha=0.3)\nplot.show()\n\nprint(f\"Found {len(result.F)} Pareto-optimal solutions\")\n```\n\n**See:** `scripts\u002Fmulti_objective_example.py` for complete example\n\n### Workflow 3: Many-Objective Optimization (4+ objectives)\n\n**When:** Optimizing 4 or more objectives\n\n**Algorithm choice:** NSGA-III (designed for many objectives)\n\n**Key difference:** Must provide reference directions for population guidance\n\n**Steps:**\n1. Define many-objective problem\n2. Generate reference directions\n3. Configure NSGA-III with reference directions\n4. Run optimization\n5. Visualize using Parallel Coordinate Plot\n\n**Example:**\n```python\nfrom pymoo.algorithms.moo.nsga3 import NSGA3\nfrom pymoo.problems import get_problem\nfrom pymoo.optimize import minimize\nfrom pymoo.util.ref_dirs import get_reference_directions\nfrom pymoo.visualization.pcp import PCP\n\n# Many-objective problem (5 objectives)\nproblem = get_problem(\"dtlz2\", n_obj=5)\n\n# Generate reference directions (required for NSGA-III)\nref_dirs = get_reference_directions(\"das-dennis\", n_dim=5, n_partitions=12)\n\n# Configure NSGA-III\nalgorithm = NSGA3(ref_dirs=ref_dirs)\n\n# Optimize\nresult = minimize(problem, algorithm, ('n_gen', 300), seed=1)\n\n# Visualize with Parallel Coordinates\nplot = PCP(labels=[f\"f{i+1}\" for i in range(5)])\nplot.add(result.F, alpha=0.3)\nplot.show()\n```\n\n**See:** `scripts\u002Fmany_objective_example.py` for complete example\n\n### Workflow 4: Custom Problem Definition\n\n**When:** Solving domain-specific optimization problem\n\n**Steps:**\n1. Extend `ElementwiseProblem` class\n2. Define `__init__` with problem dimensions and bounds\n3. Implement `_evaluate` method for objectives (and constraints)\n4. Use with any algorithm\n\n**Unconstrained example:**\n```python\nfrom pymoo.core.problem import ElementwiseProblem\nimport numpy as np\n\nclass MyProblem(ElementwiseProblem):\n    def __init__(self):\n        super().__init__(\n            n_var=2,              # Number of variables\n            n_obj=2,              # Number of objectives\n            xl=np.array([0, 0]),  # Lower bounds\n            xu=np.array([5, 5])   # Upper bounds\n        )\n\n    def _evaluate(self, x, out, *args, **kwargs):\n        # Define objectives\n        f1 = x[0]**2 + x[1]**2\n        f2 = (x[0]-1)**2 + (x[1]-1)**2\n\n        out[\"F\"] = [f1, f2]\n```\n\n**Constrained example:**\n```python\nclass ConstrainedProblem(ElementwiseProblem):\n    def __init__(self):\n        super().__init__(\n            n_var=2,\n            n_obj=2,\n            n_ieq_constr=2,        # Inequality constraints\n            n_eq_constr=1,         # Equality constraints\n            xl=np.array([0, 0]),\n            xu=np.array([5, 5])\n        )\n\n    def _evaluate(self, x, out, *args, **kwargs):\n        # Objectives\n        out[\"F\"] = [f1, f2]\n\n        # Inequality constraints (g \u003C= 0)\n        out[\"G\"] = [g1, g2]\n\n        # Equality constraints (h = 0)\n        out[\"H\"] = [h1]\n```\n\n**Constraint formulation rules:**\n- Inequality: Express as `g(x) \u003C= 0` (feasible when ≤ 0)\n- Equality: Express as `h(x) = 0` (feasible when = 0)\n- Convert `g(x) >= b` to `-(g(x) - b) \u003C= 0`\n\n**See:** `scripts\u002Fcustom_problem_example.py` for complete examples\n\n### Workflow 5: Constraint Handling\n\n**When:** Problem has feasibility constraints\n\n**Approach options:**\n\n**1. Feasibility First (Default - Recommended)**\n```python\nfrom pymoo.algorithms.moo.nsga2 import NSGA2\n\n# Works automatically with constrained problems\nalgorithm = NSGA2(pop_size=100)\nresult = minimize(problem, algorithm, termination)\n\n# Check feasibility\nfeasible = result.CV[:, 0] == 0  # CV = constraint violation\nprint(f\"Feasible solutions: {np.sum(feasible)}\")\n```\n\n**2. Penalty Method**\n```python\nfrom pymoo.constraints.as_penalty import ConstraintsAsPenalty\n\n# Wrap problem to convert constraints to penalties\nproblem_penalized = ConstraintsAsPenalty(problem, penalty=1e6)\n```\n\n**3. Constraint as Objective**\n```python\nfrom pymoo.constraints.as_obj import ConstraintsAsObjective\n\n# Treat constraint violation as additional objective\nproblem_with_cv = ConstraintsAsObjective(problem)\n```\n\n**4. Specialized Algorithms**\n```python\nfrom pymoo.algorithms.soo.nonconvex.sres import SRES\n\n# SRES has built-in constraint handling\nalgorithm = SRES()\n```\n\n**See:** `references\u002Fconstraints_mcdm.md` for comprehensive constraint handling guide\n\n### Workflow 6: Decision Making from Pareto Front\n\n**When:** Have Pareto front, need to select preferred solution(s)\n\n**Steps:**\n1. Run multi-objective optimization\n2. Normalize objectives to [0, 1]\n3. Define preference weights\n4. Apply MCDM method\n5. Visualize selected solution\n\n**Example using Pseudo-Weights:**\n```python\nfrom pymoo.mcdm.pseudo_weights import PseudoWeights\nimport numpy as np\n\n# After obtaining result from multi-objective optimization\n# Normalize objectives\nF_norm = (result.F - result.F.min(axis=0)) \u002F (result.F.max(axis=0) - result.F.min(axis=0))\n\n# Define preferences (must sum to 1)\nweights = np.array([0.3, 0.7])  # 30% f1, 70% f2\n\n# Apply decision making\ndm = PseudoWeights(weights)\nselected_idx = dm.do(F_norm)\n\n# Get selected solution\nbest_solution = result.X[selected_idx]\nbest_objectives = result.F[selected_idx]\n\nprint(f\"Selected solution: {best_solution}\")\nprint(f\"Objective values: {best_objectives}\")\n```\n\n**Other MCDM methods:**\n- Compromise Programming: Select closest to ideal point\n- Knee Point: Find balanced trade-off solutions\n- Hypervolume Contribution: Select most diverse subset\n\n**See:**\n- `scripts\u002Fdecision_making_example.py` for complete example\n- `references\u002Fconstraints_mcdm.md` for detailed MCDM methods\n\n### Workflow 7: Visualization\n\n**Choose visualization based on number of objectives:**\n\n**2 objectives: Scatter Plot**\n```python\nfrom pymoo.visualization.scatter import Scatter\n\nplot = Scatter(title=\"Bi-objective Results\")\nplot.add(result.F, color=\"blue\", alpha=0.7)\nplot.show()\n```\n\n**3 objectives: 3D Scatter**\n```python\nplot = Scatter(title=\"Tri-objective Results\")\nplot.add(result.F)  # Automatically renders in 3D\nplot.show()\n```\n\n**4+ objectives: Parallel Coordinate Plot**\n```python\nfrom pymoo.visualization.pcp import PCP\n\nplot = PCP(\n    labels=[f\"f{i+1}\" for i in range(n_obj)],\n    normalize_each_axis=True\n)\nplot.add(result.F, alpha=0.3)\nplot.show()\n```\n\n**Solution comparison: Petal Diagram**\n```python\nfrom pymoo.visualization.petal import Petal\n\nplot = Petal(\n    bounds=[result.F.min(axis=0), result.F.max(axis=0)],\n    labels=[\"Cost\", \"Weight\", \"Efficiency\"]\n)\nplot.add(solution_A, label=\"Design A\")\nplot.add(solution_B, label=\"Design B\")\nplot.show()\n```\n\n**See:** `references\u002Fvisualization.md` for all visualization types and usage\n\n## Algorithm Selection Guide\n\n### Single-Objective Problems\n\n| Algorithm | Best For | Key Features |\n|-----------|----------|--------------|\n| **GA** | General-purpose | Flexible, customizable operators |\n| **DE** | Continuous optimization | Good global search |\n| **PSO** | Smooth landscapes | Fast convergence |\n| **CMA-ES** | Difficult\u002Fnoisy problems | Self-adapting |\n\n### Multi-Objective Problems (2-3 objectives)\n\n| Algorithm | Best For | Key Features |\n|-----------|----------|--------------|\n| **NSGA-II** | Standard benchmark | Fast, reliable, well-tested |\n| **R-NSGA-II** | Preference regions | Reference point guidance |\n| **MOEA\u002FD** | Decomposable problems | Scalarization approach |\n\n### Many-Objective Problems (4+ objectives)\n\n| Algorithm | Best For | Key Features |\n|-----------|----------|--------------|\n| **NSGA-III** | 4-15 objectives | Reference direction-based |\n| **RVEA** | Adaptive search | Reference vector evolution |\n| **AGE-MOEA** | Complex landscapes | Adaptive geometry |\n\n### Constrained Problems\n\n| Approach | Algorithm | When to Use |\n|----------|-----------|-------------|\n| Feasibility-first | Any algorithm | Large feasible region |\n| Specialized | SRES, ISRES | Heavy constraints |\n| Penalty | GA + penalty | Algorithm compatibility |\n\n**See:** `references\u002Falgorithms.md` for comprehensive algorithm reference\n\n## Benchmark Problems\n\n### Quick problem access:\n```python\nfrom pymoo.problems import get_problem\n\n# Single-objective\nproblem = get_problem(\"rastrigin\", n_var=10)\nproblem = get_problem(\"rosenbrock\", n_var=10)\n\n# Multi-objective\nproblem = get_problem(\"zdt1\")        # Convex front\nproblem = get_problem(\"zdt2\")        # Non-convex front\nproblem = get_problem(\"zdt3\")        # Disconnected front\n\n# Many-objective\nproblem = get_problem(\"dtlz2\", n_obj=5, n_var=12)\nproblem = get_problem(\"dtlz7\", n_obj=4)\n```\n\n**See:** `references\u002Fproblems.md` for complete test problem reference\n\n## Genetic Operator Customization\n\n### Standard operator configuration:\n```python\nfrom pymoo.algorithms.soo.nonconvex.ga import GA\nfrom pymoo.operators.crossover.sbx import SBX\nfrom pymoo.operators.mutation.pm import PM\n\nalgorithm = GA(\n    pop_size=100,\n    crossover=SBX(prob=0.9, eta=15),\n    mutation=PM(eta=20),\n    eliminate_duplicates=True\n)\n```\n\n### Operator selection by variable type:\n\n**Continuous variables:**\n- Crossover: SBX (Simulated Binary Crossover)\n- Mutation: PM (Polynomial Mutation)\n\n**Binary variables:**\n- Crossover: TwoPointCrossover, UniformCrossover\n- Mutation: BitflipMutation\n\n**Permutations (TSP, scheduling):**\n- Crossover: OrderCrossover (OX)\n- Mutation: InversionMutation\n\n**See:** `references\u002Foperators.md` for comprehensive operator reference\n\n## Performance and Troubleshooting\n\n### Common issues and solutions:\n\n**Problem: Algorithm not converging**\n- Increase population size\n- Increase number of generations\n- Check if problem is multimodal (try different algorithms)\n- Verify constraints are correctly formulated\n\n**Problem: Poor Pareto front distribution**\n- For NSGA-III: Adjust reference directions\n- Increase population size\n- Check for duplicate elimination\n- Verify problem scaling\n\n**Problem: Few feasible solutions**\n- Use constraint-as-objective approach\n- Apply repair operators\n- Try SRES\u002FISRES for constrained problems\n- Check constraint formulation (should be g \u003C= 0)\n\n**Problem: High computational cost**\n- Reduce population size\n- Decrease number of generations\n- Use simpler operators\n- Enable parallelization (if problem supports)\n\n### Best practices:\n\n1. **Normalize objectives** when scales differ significantly\n2. **Set random seed** for reproducibility\n3. **Save history** to analyze convergence: `save_history=True`\n4. **Visualize results** to understand solution quality\n5. **Compare with true Pareto front** when available\n6. **Use appropriate termination criteria** (generations, evaluations, tolerance)\n7. **Tune operator parameters** for problem characteristics\n\n## Resources\n\nThis skill includes comprehensive reference documentation and executable examples:\n\n### references\u002F\nDetailed documentation for in-depth understanding:\n\n- **algorithms.md**: Complete algorithm reference with parameters, usage, and selection guidelines\n- **problems.md**: Benchmark test problems (ZDT, DTLZ, WFG) with characteristics\n- **operators.md**: Genetic operators (sampling, selection, crossover, mutation) with configuration\n- **visualization.md**: All visualization types with examples and selection guide\n- **constraints_mcdm.md**: Constraint handling techniques and multi-criteria decision making methods\n\n**Search patterns for references:**\n- Algorithm details: `grep -r \"NSGA-II\\|NSGA-III\\|MOEA\u002FD\" references\u002F`\n- Constraint methods: `grep -r \"Feasibility First\\|Penalty\\|Repair\" references\u002F`\n- Visualization types: `grep -r \"Scatter\\|PCP\\|Petal\" references\u002F`\n\n### scripts\u002F\nExecutable examples demonstrating common workflows:\n\n- **single_objective_example.py**: Basic single-objective optimization with GA\n- **multi_objective_example.py**: Multi-objective optimization with NSGA-II, visualization\n- **many_objective_example.py**: Many-objective optimization with NSGA-III, reference directions\n- **custom_problem_example.py**: Defining custom problems (constrained and unconstrained)\n- **decision_making_example.py**: Multi-criteria decision making with different preferences\n\n**Run examples:**\n```bash\npython3 scripts\u002Fsingle_objective_example.py\npython3 scripts\u002Fmulti_objective_example.py\npython3 scripts\u002Fmany_objective_example.py\npython3 scripts\u002Fcustom_problem_example.py\npython3 scripts\u002Fdecision_making_example.py\n```\n\n## Additional Notes\n\n**Installation:**\n```bash\nuv pip install pymoo\n```\n\n**Dependencies:** NumPy, SciPy, matplotlib, autograd (optional for gradient-based)\n\n**Documentation:** https:\u002F\u002Fpymoo.org\u002F\n\n**Version:** This skill is based on pymoo 0.6.x\n\n**Common patterns:**\n- Always use `ElementwiseProblem` for custom problems\n- Constraints formulated as `g(x) \u003C= 0` and `h(x) = 0`\n- Reference directions required for NSGA-III\n- Normalize objectives before MCDM\n- Use appropriate termination: `('n_gen', N)` or `get_termination(\"f_tol\", tol=0.001)`\n","# Pymoo - Multi-Objective Optimization in Python\n\n## Overview\n\nPymoo is a comprehensive Python framework for optimization with emphasis on multi-objective problems. Solve single and multi-objective optimization using state-of-the-art algorithms (NSGA-II\u002FIII, MOEA\u002FD), benchmark problems (ZDT, DTLZ), customizable genetic operators, and multi-criteria decision making methods. Excels at finding trade-off solutions (Pareto fronts) for problems with conflicting objectives.\n\n## When to Use This Skill\n\nThis skill should be used when:\n- Solving optimization problems with one or multiple objectives\n- Finding Pareto-optimal solutions and analyzing trade-offs\n- Implementing evolutionary algorithms (GA, DE, PSO, NSGA-II\u002FIII)\n- Working with constrained optimization problems\n- Benchmarking algorithms on standard test problems (ZDT, DTLZ, WFG)\n- Customizing genetic operators (crossover, mutation, selection)\n- Visualizing high-dimensional optimization results\n- Making decisions from multiple competing solutions\n- Handling binary, discrete, continuous, or mixed-variable problems\n\n## Core Concepts\n\n### The Unified Interface\n\nPymoo uses a consistent `minimize()` function for all optimization tasks:\n\n```python\nfrom pymoo.optimize import minimize\n\nresult = minimize(\n    problem,        # What to optimize\n    algorithm,      # How to optimize\n    termination,    # When to stop\n    seed=1,\n    verbose=True\n)\n```\n\n**Result object contains:**\n- `result.X`: Decision variables of optimal solution(s)\n- `result.F`: Objective values of optimal solution(s)\n- `result.G`: Constraint violations (if constrained)\n- `result.algorithm`: Algorithm object with history\n\n### Problem Types\n\n**Single-objective:** One objective to minimize\u002Fmaximize\n**Multi-objective:** 2-3 conflicting objectives → Pareto front\n**Many-objective:** 4+ objectives → High-dimensional Pareto front\n**Constrained:** Objectives + inequality\u002Fequality constraints\n**Dynamic:** Time-varying objectives or constraints\n\n## Quick Start Workflows\n\n### Workflow 1: Single-Objective Optimization\n\n**When:** Optimizing one objective function\n\n**Steps:**\n1. Define or select problem\n2. Choose single-objective algorithm (GA, DE, PSO, CMA-ES)\n3. Configure termination criteria\n4. Run optimization\n5. Extract best solution\n\n**Example:**\n```python\nfrom pymoo.algorithms.soo.nonconvex.ga import GA\nfrom pymoo.problems import get_problem\nfrom pymoo.optimize import minimize\n\n# Built-in problem\nproblem = get_problem(\"rastrigin\", n_var=10)\n\n# Configure Genetic Algorithm\nalgorithm = GA(\n    pop_size=100,\n    eliminate_duplicates=True\n)\n\n# Optimize\nresult = minimize(\n    problem,\n    algorithm,\n    ('n_gen', 200),\n    seed=1,\n    verbose=True\n)\n\nprint(f\"Best solution: {result.X}\")\nprint(f\"Best objective: {result.F[0]}\")\n```\n\n**See:** `scripts\u002Fsingle_objective_example.py` for complete example\n\n### Workflow 2: Multi-Objective Optimization (2-3 objectives)\n\n**When:** Optimizing 2-3 conflicting objectives, need Pareto front\n\n**Algorithm choice:** NSGA-II (standard for bi\u002Ftri-objective)\n\n**Steps:**\n1. Define multi-objective problem\n2. Configure NSGA-II\n3. Run optimization to obtain Pareto front\n4. Visualize trade-offs\n5. Apply decision making (optional)\n\n**Example:**\n```python\nfrom pymoo.algorithms.moo.nsga2 import NSGA2\nfrom pymoo.problems import get_problem\nfrom pymoo.optimize import minimize\nfrom pymoo.visualization.scatter import Scatter\n\n# Bi-objective benchmark problem\nproblem = get_problem(\"zdt1\")\n\n# NSGA-II algorithm\nalgorithm = NSGA2(pop_size=100)\n\n# Optimize\nresult = minimize(problem, algorithm, ('n_gen', 200), seed=1)\n\n# Visualize Pareto front\nplot = Scatter()\nplot.add(result.F, label=\"Obtained Front\")\nplot.add(problem.pareto_front(), label=\"True Front\", alpha=0.3)\nplot.show()\n\nprint(f\"Found {len(result.F)} Pareto-optimal solutions\")\n```\n\n**See:** `scripts\u002Fmulti_objective_example.py` for complete example\n\n### Workflow 3: Many-Objective Optimization (4+ objectives)\n\n**When:** Optimizing 4 or more objectives\n\n**Algorithm choice:** NSGA-III (designed for many objectives)\n\n**Key difference:** Must provide reference directions for population guidance\n\n**Steps:**\n1. Define many-objective problem\n2. Generate reference directions\n3. Configure NSGA-III with reference directions\n4. Run optimization\n5. Visualize using Parallel Coordinate Plot\n\n**Example:**\n```python\nfrom pymoo.algorithms.moo.nsga3 import NSGA3\nfrom pymoo.problems import get_problem\nfrom pymoo.optimize import minimize\nfrom pymoo.util.ref_dirs import get_reference_directions\nfrom pymoo.visualization.pcp import PCP\n\n# Many-objective problem (5 objectives)\nproblem = get_problem(\"dtlz2\", n_obj=5)\n\n# Generate reference directions (required for NSGA-III)\nref_dirs = get_reference_directions(\"das-dennis\", n_dim=5, n_partitions=12)\n\n# Configure NSGA-III\nalgorithm = NSGA3(ref_dirs=ref_dirs)\n\n# Optimize\nresult = minimize(problem, algorithm, ('n_gen', 300), seed=1)\n\n# Visualize with Parallel Coordinates\nplot = PCP(labels=[f\"f{i+1}\" for i in range(5)])\nplot.add(result.F, alpha=0.3)\nplot.show()\n```\n\n**See:** `scripts\u002Fmany_objective_example.py` for complete example\n\n### Workflow 4: Custom Problem Definition\n\n**When:** Solving domain-specific optimization problem\n\n**Steps:**\n1. Extend `ElementwiseProblem` class\n2. Define `__init__` with problem dimensions and bounds\n3. Implement `_evaluate` method for objectives (and constraints)\n4. Use with any algorithm\n\n**Unconstrained example:**\n```python\nfrom pymoo.core.problem import ElementwiseProblem\nimport numpy as np\n\nclass MyProblem(ElementwiseProblem):\n    def __init__(self):\n        super().__init__(\n            n_var=2,              # Number of variables\n            n_obj=2,              # Number of objectives\n            xl=np.array([0, 0]),  # Lower bounds\n            xu=np.array([5, 5])   # Upper bounds\n        )\n\n    def _evaluate(self, x, out, *args, **kwargs):\n        # Define objectives\n        f1 = x[0]**2 + x[1]**2\n        f2 = (x[0]-1)**2 + (x[1]-1)**2\n\n        out[\"F\"] = [f1, f2]\n```\n\n**Constrained example:**\n```python\nclass ConstrainedProblem(ElementwiseProblem):\n    def __init__(self):\n        super().__init__(\n            n_var=2,\n            n_obj=2,\n            n_ieq_constr=2,        # Inequality constraints\n            n_eq_constr=1,         # Equality constraints\n            xl=np.array([0, 0]),\n            xu=np.array([5, 5])\n        )\n\n    def _evaluate(self, x, out, *args, **kwargs):\n        # Objectives\n        out[\"F\"] = [f1, f2]\n\n        # Inequality constraints (g \u003C= 0)\n        out[\"G\"] = [g1, g2]\n\n        # Equality constraints (h = 0)\n        out[\"H\"] = [h1]\n```\n\n**Constraint formulation rules:**\n- Inequality: Express as `g(x) \u003C= 0` (feasible when ≤ 0)\n- Equality: Express as `h(x) = 0` (feasible when = 0)\n- Convert `g(x) >= b` to `-(g(x) - b) \u003C= 0`\n\n**See:** `scripts\u002Fcustom_problem_example.py` for complete examples\n\n### Workflow 5: Constraint Handling\n\n**When:** Problem has feasibility constraints\n\n**Approach options:**\n\n**1. Feasibility First (Default - Recommended)**\n```python\nfrom pymoo.algorithms.moo.nsga2 import NSGA2\n\n# Works automatically with constrained problems\nalgorithm = NSGA2(pop_size=100)\nresult = minimize(problem, algorithm, termination)\n\n# Check feasibility\nfeasible = result.CV[:, 0] == 0  # CV = constraint violation\nprint(f\"Feasible solutions: {np.sum(feasible)}\")\n```\n\n**2. Penalty Method**\n```python\nfrom pymoo.constraints.as_penalty import ConstraintsAsPenalty\n\n# Wrap problem to convert constraints to penalties\nproblem_penalized = ConstraintsAsPenalty(problem, penalty=1e6)\n```\n\n**3. Constraint as Objective**\n```python\nfrom pymoo.constraints.as_obj import ConstraintsAsObjective\n\n# Treat constraint violation as additional objective\nproblem_with_cv = ConstraintsAsObjective(problem)\n```\n\n**4. Specialized Algorithms**\n```python\nfrom pymoo.algorithms.soo.nonconvex.sres import SRES\n\n# SRES has built-in constraint handling\nalgorithm = SRES()\n```\n\n**See:** `references\u002Fconstraints_mcdm.md` for comprehensive constraint handling guide\n\n### Workflow 6: Decision Making from Pareto Front\n\n**When:** Have Pareto front, need to select preferred solution(s)\n\n**Steps:**\n1. Run multi-objective optimization\n2. Normalize objectives to [0, 1]\n3. Define preference weights\n4. Apply MCDM method\n5. Visualize selected solution\n\n**Example using Pseudo-Weights:**\n```python\nfrom pymoo.mcdm.pseudo_weights import PseudoWeights\nimport numpy as np\n\n# After obtaining result from multi-objective optimization\n# Normalize objectives\nF_norm = (result.F - result.F.min(axis=0)) \u002F (result.F.max(axis=0) - result.F.min(axis=0))\n\n# Define preferences (must sum to 1)\nweights = np.array([0.3, 0.7])  # 30% f1, 70% f2\n\n# Apply decision making\ndm = PseudoWeights(weights)\nselected_idx = dm.do(F_norm)\n\n# Get selected solution\nbest_solution = result.X[selected_idx]\nbest_objectives = result.F[selected_idx]\n\nprint(f\"Selected solution: {best_solution}\")\nprint(f\"Objective values: {best_objectives}\")\n```\n\n**Other MCDM methods:**\n- Compromise Programming: Select closest to ideal point\n- Knee Point: Find balanced trade-off solutions\n- Hypervolume Contribution: Select most diverse subset\n\n**See:**\n- `scripts\u002Fdecision_making_example.py` for complete example\n- `references\u002Fconstraints_mcdm.md` for detailed MCDM methods\n\n### Workflow 7: Visualization\n\n**Choose visualization based on number of objectives:**\n\n**2 objectives: Scatter Plot**\n```python\nfrom pymoo.visualization.scatter import Scatter\n\nplot = Scatter(title=\"Bi-objective Results\")\nplot.add(result.F, color=\"blue\", alpha=0.7)\nplot.show()\n```\n\n**3 objectives: 3D Scatter**\n```python\nplot = Scatter(title=\"Tri-objective Results\")\nplot.add(result.F)  # Automatically renders in 3D\nplot.show()\n```\n\n**4+ objectives: Parallel Coordinate Plot**\n```python\nfrom pymoo.visualization.pcp import PCP\n\nplot = PCP(\n    labels=[f\"f{i+1}\" for i in range(n_obj)],\n    normalize_each_axis=True\n)\nplot.add(result.F, alpha=0.3)\nplot.show()\n```\n\n**Solution comparison: Petal Diagram**\n```python\nfrom pymoo.visualization.petal import Petal\n\nplot = Petal(\n    bounds=[result.F.min(axis=0), result.F.max(axis=0)],\n    labels=[\"Cost\", \"Weight\", \"Efficiency\"]\n)\nplot.add(solution_A, label=\"Design A\")\nplot.add(solution_B, label=\"Design B\")\nplot.show()\n```\n\n**See:** `references\u002Fvisualization.md` for all visualization types and usage\n\n## Algorithm Selection Guide\n\n### Single-Objective Problems\n\n| Algorithm | Best For | Key Features |\n|-----------|----------|--------------|\n| **GA** | General-purpose | Flexible, customizable operators |\n| **DE** | Continuous optimization | Good global search |\n| **PSO** | Smooth landscapes | Fast convergence |\n| **CMA-ES** | Difficult\u002Fnoisy problems | Self-adapting |\n\n### Multi-Objective Problems (2-3 objectives)\n\n| Algorithm | Best For | Key Features |\n|-----------|----------|--------------|\n| **NSGA-II** | Standard benchmark | Fast, reliable, well-tested |\n| **R-NSGA-II** | Preference regions | Reference point guidance |\n| **MOEA\u002FD** | Decomposable problems | Scalarization approach |\n\n### Many-Objective Problems (4+ objectives)\n\n| Algorithm | Best For | Key Features |\n|-----------|----------|--------------|\n| **NSGA-III** | 4-15 objectives | Reference direction-based |\n| **RVEA** | Adaptive search | Reference vector evolution |\n| **AGE-MOEA** | Complex landscapes | Adaptive geometry |\n\n### Constrained Problems\n\n| Approach | Algorithm | When to Use |\n|----------|-----------|-------------|\n| Feasibility-first | Any algorithm | Large feasible region |\n| Specialized | SRES, ISRES | Heavy constraints |\n| Penalty | GA + penalty | Algorithm compatibility |\n\n**See:** `references\u002Falgorithms.md` for comprehensive algorithm reference\n\n## Benchmark Problems\n\n### Quick problem access:\n```python\nfrom pymoo.problems import get_problem\n\n# Single-objective\nproblem = get_problem(\"rastrigin\", n_var=10)\nproblem = get_problem(\"rosenbrock\", n_var=10)\n\n# Multi-objective\nproblem = get_problem(\"zdt1\")        # Convex front\nproblem = get_problem(\"zdt2\")        # Non-convex front\nproblem = get_problem(\"zdt3\")        # Disconnected front\n\n# Many-objective\nproblem = get_problem(\"dtlz2\", n_obj=5, n_var=12)\nproblem = get_problem(\"dtlz7\", n_obj=4)\n```\n\n**See:** `references\u002Fproblems.md` for complete test problem reference\n\n## Genetic Operator Customization\n\n### Standard operator configuration:\n```python\nfrom pymoo.algorithms.soo.nonconvex.ga import GA\nfrom pymoo.operators.crossover.sbx import SBX\nfrom pymoo.operators.mutation.pm import PM\n\nalgorithm = GA(\n    pop_size=100,\n    crossover=SBX(prob=0.9, eta=15),\n    mutation=PM(eta=20),\n    eliminate_duplicates=True\n)\n```\n\n### Operator selection by variable type:\n\n**Continuous variables:**\n- Crossover: SBX (Simulated Binary Crossover)\n- Mutation: PM (Polynomial Mutation)\n\n**Binary variables:**\n- Crossover: TwoPointCrossover, UniformCrossover\n- Mutation: BitflipMutation\n\n**Permutations (TSP, scheduling):**\n- Crossover: OrderCrossover (OX)\n- Mutation: InversionMutation\n\n**See:** `references\u002Foperators.md` for comprehensive operator reference\n\n## Performance and Troubleshooting\n\n### Common issues and solutions:\n\n**Problem: Algorithm not converging**\n- Increase population size\n- Increase number of generations\n- Check if problem is multimodal (try different algorithms)\n- Verify constraints are correctly formulated\n\n**Problem: Poor Pareto front distribution**\n- For NSGA-III: Adjust reference directions\n- Increase population size\n- Check for duplicate elimination\n- Verify problem scaling\n\n**Problem: Few feasible solutions**\n- Use constraint-as-objective approach\n- Apply repair operators\n- Try SRES\u002FISRES for constrained problems\n- Check constraint formulation (should be g \u003C= 0)\n\n**Problem: High computational cost**\n- Reduce population size\n- Decrease number of generations\n- Use simpler operators\n- Enable parallelization (if problem supports)\n\n### Best practices:\n\n1. **Normalize objectives** when scales differ significantly\n2. **Set random seed** for reproducibility\n3. **Save history** to analyze convergence: `save_history=True`\n4. **Visualize results** to understand solution quality\n5. **Compare with true Pareto front** when available\n6. **Use appropriate termination criteria** (generations, evaluations, tolerance)\n7. **Tune operator parameters** for problem characteristics\n\n## Resources\n\nThis skill includes comprehensive reference documentation and executable examples:\n\n### references\u002F\nDetailed documentation for in-depth understanding:\n\n- **algorithms.md**: Complete algorithm reference with parameters, usage, and selection guidelines\n- **problems.md**: Benchmark test problems (ZDT, DTLZ, WFG) with characteristics\n- **operators.md**: Genetic operators (sampling, selection, crossover, mutation) with configuration\n- **visualization.md**: All visualization types with examples and selection guide\n- **constraints_mcdm.md**: Constraint handling techniques and multi-criteria decision making methods\n\n**Search patterns for references:**\n- Algorithm details: `grep -r \"NSGA-II\\|NSGA-III\\|MOEA\u002FD\" references\u002F`\n- Constraint methods: `grep -r \"Feasibility First\\|Penalty\\|Repair\" references\u002F`\n- Visualization types: `grep -r \"Scatter\\|PCP\\|Petal\" references\u002F`\n\n### scripts\u002F\nExecutable examples demonstrating common workflows:\n\n- **single_objective_example.py**: Basic single-objective optimization with GA\n- **multi_objective_example.py**: Multi-objective optimization with NSGA-II, visualization\n- **many_objective_example.py**: Many-objective optimization with NSGA-III, reference directions\n- **custom_problem_example.py**: Defining custom problems (constrained and unconstrained)\n- **decision_making_example.py**: Multi-criteria decision making with different preferences\n\n**Run examples:**\n```bash\npython3 scripts\u002Fsingle_objective_example.py\npython3 scripts\u002Fmulti_objective_example.py\npython3 scripts\u002Fmany_objective_example.py\npython3 scripts\u002Fcustom_problem_example.py\npython3 scripts\u002Fdecision_making_example.py\n```\n\n## Additional Notes\n\n**Installation:**\n```bash\nuv pip install pymoo\n```\n\n**Dependencies:** NumPy, SciPy, matplotlib, autograd (optional for gradient-based)\n\n**Documentation:** https:\u002F\u002Fpymoo.org\u002F\n\n**Version:** This skill is based on pymoo 0.6.x\n\n**Common patterns:**\n- Always use `ElementwiseProblem` for custom problems\n- Constraints formulated as `g(x) \u003C= 0` and `h(x) = 0`\n- Reference directions required for NSGA-III\n- Normalize objectives before MCDM\n- Use appropriate termination: `('n_gen', N)` or `get_termination(\"f_tol\", tol=0.001)`\n",{"name":5,"description":7},"add-x-twitter-scraper-skill","7bc347b2f7dc2dde2761a965585925e0d0171748","cli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fpymoo",0,"https:\u002F\u002Fgithub.com\u002FCarchaloneo22\u002FClaude-Code-template","https:\u002F\u002Fgithub.com\u002FCarchaloneo22","Ingeniero Informático | Ingeniero en Desarrollo de Software | Consultor TIC en Gestión Publica | Docente Análisis y Desarrollo de Software. ","2026-09-12 11:10:56",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add Carchaloneo22\u002FClaude-Code-template --skill pymoo",{"tool":38,"command":39},"bunx","bunx skills add Carchaloneo22\u002FClaude-Code-template --skill pymoo",{"tool":41,"command":42},"pnpm","pnpm dlx skills add Carchaloneo22\u002FClaude-Code-template --skill pymoo","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FCarchaloneo22\u002FClaude-Code-template\u002Fblob\u002Fadd-x-twitter-scraper-skill\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fpymoo\u002FSKILL.md",true,[46,52,56,60,64,68,74,78,82,86],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"references\u002Falgorithms.md","REFERENCE","参考文档",6124,"https:\u002F\u002Fgithub.com\u002FCarchaloneo22\u002FClaude-Code-template\u002Fblob\u002Fadd-x-twitter-scraper-skill\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fpymoo\u002Freferences\u002Falgorithms.md",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Fconstraints_mcdm.md",10852,"https:\u002F\u002Fgithub.com\u002FCarchaloneo22\u002FClaude-Code-template\u002Fblob\u002Fadd-x-twitter-scraper-skill\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fpymoo\u002Freferences\u002Fconstraints_mcdm.md",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Foperators.md",8815,"https:\u002F\u002Fgithub.com\u002FCarchaloneo22\u002FClaude-Code-template\u002Fblob\u002Fadd-x-twitter-scraper-skill\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fpymoo\u002Freferences\u002Foperators.md",{"path":61,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Fproblems.md",7116,"https:\u002F\u002Fgithub.com\u002FCarchaloneo22\u002FClaude-Code-template\u002Fblob\u002Fadd-x-twitter-scraper-skill\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fpymoo\u002Freferences\u002Fproblems.md",{"path":65,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Fvisualization.md",9229,"https:\u002F\u002Fgithub.com\u002FCarchaloneo22\u002FClaude-Code-template\u002Fblob\u002Fadd-x-twitter-scraper-skill\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fpymoo\u002Freferences\u002Fvisualization.md",{"path":69,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"scripts\u002Fcustom_problem_example.py","SCRIPT","脚本",4770,"https:\u002F\u002Fgithub.com\u002FCarchaloneo22\u002FClaude-Code-template\u002Fblob\u002Fadd-x-twitter-scraper-skill\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fpymoo\u002Fscripts\u002Fcustom_problem_example.py",{"path":75,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":76,"sourceHtmlUrl":77},"scripts\u002Fdecision_making_example.py",4588,"https:\u002F\u002Fgithub.com\u002FCarchaloneo22\u002FClaude-Code-template\u002Fblob\u002Fadd-x-twitter-scraper-skill\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fpymoo\u002Fscripts\u002Fdecision_making_example.py",{"path":79,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":80,"sourceHtmlUrl":81},"scripts\u002Fmany_objective_example.py",2103,"https:\u002F\u002Fgithub.com\u002FCarchaloneo22\u002FClaude-Code-template\u002Fblob\u002Fadd-x-twitter-scraper-skill\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fpymoo\u002Fscripts\u002Fmany_objective_example.py",{"path":83,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":84,"sourceHtmlUrl":85},"scripts\u002Fmulti_objective_example.py",1731,"https:\u002F\u002Fgithub.com\u002FCarchaloneo22\u002FClaude-Code-template\u002Fblob\u002Fadd-x-twitter-scraper-skill\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fpymoo\u002Fscripts\u002Fmulti_objective_example.py",{"path":87,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":88,"sourceHtmlUrl":89},"scripts\u002Fsingle_objective_example.py",1620,"https:\u002F\u002Fgithub.com\u002FCarchaloneo22\u002FClaude-Code-template\u002Fblob\u002Fadd-x-twitter-scraper-skill\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fpymoo\u002Fscripts\u002Fsingle_objective_example.py",[91,98,107,114,121,128],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M7CPQFVGKX7H3Q5Y9CN0XAZN","zapier-make-patterns","No-code automation democratizes workflow building. Zapier and Make (formerly Integromat) let non-developers automate business processes without writing code. But no-code doesn't mean no-complexity - these platforms have their own patterns, pitfalls, and breaking points.  This skill covers when to use which platform, how to build reliable automations, and when to graduate to code-based solutions. Key insight: Zapier optimizes for simplicity and integrations (7000+ apps), Make optimizes for power","https:\u002F\u002Fgithub.com\u002FCarchaloneo22\u002FClaude-Code-template\u002Fblob\u002Fadd-x-twitter-scraper-skill\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fworkflow-automation\u002Fzapier-make-patterns\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":102,"licenseFileUrl":103,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":19},"01M7CPQDR2HMKAYHAAY99EA4B2","yeet","Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).","Apache-2.0","https:\u002F\u002Fgithub.com\u002FCarchaloneo22\u002FClaude-Code-template\u002Fblob\u002Fadd-x-twitter-scraper-skill\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fworkflow-automation\u002Fyeet\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCarchaloneo22\u002FClaude-Code-template\u002Fblob\u002Fadd-x-twitter-scraper-skill\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fworkflow-automation\u002Fyeet\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":19},"01M7CPQ7K5MAQSXEB027HZFM2G","workflow-automation","Workflow automation is the infrastructure that makes AI agents reliable. Without durable execution, a network hiccup during a 10-step payment flow means lost money and angry customers. With it, workflows resume exactly where they left off.  This skill covers the platforms (n8n, Temporal, Inngest) and patterns (sequential, parallel, orchestrator-worker) that turn brittle scripts into production-grade automation.  Key insight: The platforms make different tradeoffs. n8n optimizes for accessibility","https:\u002F\u002Fgithub.com\u002FCarchaloneo22\u002FClaude-Code-template\u002Fblob\u002Fadd-x-twitter-scraper-skill\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fworkflow-automation\u002Fworkflow-automation\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":19},"01M7CPQ34F18JHMEM8NHQS1N7K","trigger-dev","Trigger.dev expert for background jobs, AI workflows, and reliable async execution with excellent developer experience and TypeScript-first design. Use when: trigger.dev, trigger dev, background task, ai background job, long running task.","https:\u002F\u002Fgithub.com\u002FCarchaloneo22\u002FClaude-Code-template\u002Fblob\u002Fadd-x-twitter-scraper-skill\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fworkflow-automation\u002Ftrigger-dev\u002FSKILL.md",[],[],{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":19},"01M7CPPZSXXDB1SAWT5N63ACZT","planning-with-files","Transforms workflow to use Manus-style persistent markdown files for planning, progress tracking, and knowledge storage. Use when starting complex tasks, multi-step projects, research tasks, or when the user mentions planning, organizing work, tracking progress, or wants structured output.","https:\u002F\u002Fgithub.com\u002FCarchaloneo22\u002FClaude-Code-template\u002Fblob\u002Fadd-x-twitter-scraper-skill\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fworkflow-automation\u002Fplanning-with-files\u002FSKILL.md",[],[],{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":19},"01M7CPPTQSBVWSK0R10FJNMP0F","n8n-workflow-patterns","Proven workflow architectural patterns from real n8n workflows. Use when building new workflows, designing workflow structure, choosing workflow patterns, planning workflow architecture, or asking about webhook processing, HTTP API integration, database operations, AI agent workflows, or scheduled tasks.","https:\u002F\u002Fgithub.com\u002FCarchaloneo22\u002FClaude-Code-template\u002Fblob\u002Fadd-x-twitter-scraper-skill\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fworkflow-automation\u002Fn8n\u002Fn8n-workflow-patterns\u002FSKILL.md",[],[]]