cortex

Classifies task complexity using Cynefin domains and structured thinking frameworks.

3|Updated Feb 19, 2026
One-click install
npx skills add https://github.com/Sh3rd3n/megazord --skill cortex-sh3rd3n
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cortex
Source: https://github.com/Sh3rd3n/megazord/tree/main/skills/cortex
Command: npx skills add https://github.com/Sh3rd3n/megazord --skill cortex-sh3rd3n

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides an adaptive reasoning engine that classifies task complexity using the Cynefin framework and applies structured thinking models to guide decision-making and execution.

Core Features & Use Cases

  • Task Complexity Classification: Assesses tasks across Clear, Complicated, Complex, and Chaotic domains using defined heuristics.
  • Structured Thinking Frameworks: Applies mental models like Inversion, Assumptions, Second-Order Thinking, First Principles, and Abstraction-Ladders.
  • Use Case: When faced with a challenging coding task, CORTEX automatically analyzes its complexity, identifies potential failure points, surfaces underlying assumptions, and suggests the most appropriate approach before execution begins.

Quick Start

Use the cortex skill to analyze the complexity of the task to refactor the user authentication module.

Frequently Asked Questions about cortex

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze task complexity for software development before writing code?

Structured thinking frameworks like inversion, second-order thinking, first principles, and abstraction-ladders are applied to complex tasks. These mental models identify potential failure points and surface underlying assumptions to guide decision-making.

What is the Cynefin framework used for in coding task analysis?

The Cynefin framework is used in coding task analysis to classify complexity into Clear, Complicated, Complex, and Chaotic domains. It requires a heuristic matrix to evaluate task signals and applies specific output formats for each domain.

How do I use second-order thinking and inversion when refactoring a module?

To use second-order thinking and inversion when refactoring, the task is first classified by complexity using a heuristic matrix. Structured reasoning then surfaces assumptions and identifies failure points to suggest the most appropriate approach for the module scope.

Does adaptive reasoning work for chaotic software engineering tasks?

Adaptive reasoning supports chaotic software engineering tasks by applying structured thinking frameworks tailored to that domain. It requires specific output formats for Chaotic tasks to manage high complexity and uncertainty effectively.

What are the limitations of using a heuristic matrix for task analysis?

A limitation of using a heuristic matrix for task analysis is the requirement for specific output formats depending on the Cynefin domain. It relies on evaluating signals like lines of code and files affected, which may not capture all contextual nuances.