# Quickstart

> complexity - Code Complexity Analyzer

- Skill: `javimosch/quickstart-2064` (Agent Skill)
- Install (CLI): `npx skillmds@latest add javimosch/quickstart-2064`
- Raw SKILL.md: https://api.skillmd.com/api/skills/javimosch/quickstart-2064/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: javimosch (https://skillmd.com/u/javimosch)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/javimosch/quickstart-2064

---

# complexity - Code Complexity Analyzer

## Overview
complexity is a command line tool to identify complex code. Analyze code complexity and identify areas that need refactoring.

## Quick Start

### Analyze code complexity
```bash
sc complexity analyze code <path>
```

### Passthrough to complexity CLI
```bash
sc complexity _ <complexity-args>
```

## Key Features

- **Code Analysis**: Identify complex code patterns
- **Refactoring Guide**: Highlight areas needing refactoring
- **CLI Tool**: Command-line interface for analysis
- **Configurable**: Customizable analysis rules
- **Multiple Languages**: Support for various programming languages

## Installation

```bash
cargo install complexity
```

Also available via:
- Homebrew

## Usage Examples

### Analyze a file
```bash
complexity src/main.rs
```

### Analyze a directory
```bash
complexity src/
```

### With specific threshold
```bash
complexity --threshold 10 src/
```

### Output JSON
```bash
complexity --format json src/
```

## Notes

- Run `complexity --help` to see all available options
- Helps maintain code quality by identifying complexity

