Skip to content
Back to skills

Cockpit

ASecurity

Display full ecosystem cockpit with dependency graph, repo health, and proactive alerts. The airplane cockpit that sees everything across all repos.

  • 666 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added February 8, 2026
developmentjavascriptjavagit

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill cockpit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cockpit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cockpit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-cockpit/badge)](https://www.skillsdirectory.com/skills/majiayu000-cockpit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cockpit
description: Display full ecosystem cockpit with dependency graph, repo health, and proactive alerts. The airplane cockpit that sees everything across all repos.
user-invocable: true
---

# /cockpit - CYNIC Ecosystem Cockpit

*"Le cockpit qui voit tout"* - The cockpit that sees everything

## Quick Start

```
/cockpit
```

## What It Does

Provides omniscient awareness across the entire ecosystem:

- **Repo Health**: Status of all repos in /workspaces
- **Dependencies**: Inter-repo dependency graph
- **Alerts**: Proactive warnings (uncommitted changes, drift, conflicts)
- **Summary**: Unified ecosystem metrics

## Views

### Full Status (default)
```
/cockpit
```

### Alerts Only
```
/cockpit alerts
```

### Dependencies
```
/cockpit deps
```

### Single Repo
```
/cockpit GASdf
```

## Implementation

The cockpit runs automatically at session start (via `awaken.cjs`) and stores state in `~/.cynic/cockpit/`.

### Manual Scan

To run a fresh scan:

```javascript
// In hooks/lib context
const cockpit = require('./scripts/lib/cockpit.cjs');
const state = cockpit.fullScan();
console.log(cockpit.formatCockpitStatus(state));
```

### Read Cached State

```javascript
const state = cockpit.getCockpitState();
```

## Data Files

| File | Purpose |
|------|---------|
| `status.json` | Full ecosystem scan results |
| `alerts.json` | Active alerts (TTL: 1 hour) |
| `dependencies.json` | Dependency graph |

## Repo Health States

| State | Icon | Meaning |
|-------|------|---------|
| healthy | ✅ | Clean, on main, up to date |
| warning | ⚠️ | Uncommitted changes or behind remote |
| critical | 🔴 | Major issues needing attention |
| unknown | ❓ | Not a git repo or scan failed |

## Alert Types

| Type | Trigger |
|------|---------|
| `health_critical` | Repo in critical state |
| `uncommitted_changes` | >10 modified files in critical repo |
| `behind_remote` | >5 commits behind origin |
| `non_main_branch` | Critical repo not on main |
| `dependency_issue` | Circular dependency detected |

## Ecosystem Knowledge

The cockpit knows about these core repos:

| Repo | Role | Critical |
|------|------|----------|
| CYNIC-new | core brain | ✅ |
| GASdf | gasless infra | ✅ |
| HolDex | K-Score oracle | ✅ |
| asdf-brain | legacy proto | ❌ |
| asdf-manifesto | philosophy | ❌ |

## φ-Alignment

- Scan interval: 61.8 seconds (φ × 100ms × 618)
- Alert TTL: 1 hour
- Max alerts: 100

## See Also

- `/health` - CYNIC services health
- `/ecosystem` - Tracked repo updates
- `/patterns` - Detected patterns

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.