Skip to main content

Launch pad for AI cockpits — TUI manager for Claude Code workspaces

Project description

AI Cockpit Template

Universal session lifecycle primitives for Claude Code workspaces.

Hop in. Fly. Land.

What This Is

A cockpit is a Claude Code workspace with a rhythm:

  1. /takeoff — Boot sequence. Reads your last bookmark, checks what changed, shows priorities.
  2. Work — Use your domain-specific skills. The cockpit tracks state.
  3. /touch-and-go — Mid-session checkpoint. Saves state, compacts context, keeps flying.
  4. /can-i-close — Pre-close audit. Checks 3 contracts (workspace, session, conversation).
  5. /land — Park sequence. Gated by can-i-close. Commits, pushes, bookmarks.

This template provides the universal primitives that every cockpit needs. Fork it, add your domain-specific skills, and you have a cockpit.

Installation

pip install ai-cockpit

Or install from source:

gh repo clone eidos-agi/ai-cockpit-template
cd ai-cockpit-template
pip install -e .

Then tell cockpit where your workspaces live:

cockpit config --add-scan-dir ~/my-cockpits
cockpit scan

Claude Code Plugins

The cockpit pairs well with Eidos plugins for Claude Code:

cockpit marketplace

Or install the marketplace directly:

claude plugins marketplace add eidos-agi/eidos-marketplace
claude plugins install resume-resume
claude plugins install ike
claude plugins install visionlog

Quick Start

# Create a new cockpit
cockpit new ~/repos/my-ops-cockpit

# Launch it
cockpit my-ops-cockpit
# > /takeoff
# > ... do your work ...
# > /touch-and-go  (mid-session checkpoint)
# > ... more work ...
# > /can-i-close   (pre-close check)
# > /land

Or from a GitHub template:

gh repo create my-cockpit --template eidos-agi/ai-cockpit-template --public
cd my-cockpit
cockpit add .

CLI Commands

The cockpit command manages your fleet of cockpits:

Command What
cockpit Interactive TUI selector
cockpit <name> Launch a cockpit in Claude Code
cockpit new <path> Scaffold a new cockpit from the template
cockpit can-i-close Check all cockpits for uncommitted work (alias: cic)
cockpit touch-and-go Commit & push all dirty cockpits (alias: tag)
cockpit scan Auto-discover cockpits in scan directories
cockpit status Show schema version & capabilities
cockpit upgrade <name> Upgrade cockpit to latest schema
cockpit config Manage scan directories
cockpit marketplace Discover Claude Code plugins
cockpit doctor Check environment (git, gh, claude, python)
cockpit version Show version

Every command supports --help.

What's Included

Skills (Universal Primitives)

Skill Trigger What It Does
/takeoff Start of session Boot: bookmark resume, drift detection, priorities
/touch-and-go Mid-session Checkpoint: commit, push, bookmark, context compaction
/can-i-close Before closing Audit 3 contracts: workspace, session, conversation (20 checks)
/land End of session Park sequence — gated by can-i-close
/pre-flight Called by takeoff Situational scan: where we were / are / going / blockers
/cockpit-status Anytime Active workstreams, blockers, ages, ownership
/cockpit-repair When things break Validate state files, find corruption, offer fixes
/clean-sweep Workspace behind Commit, push, build, test all repos in one sweep

State Management

  • state.json — Watermarks, counters, last-run timestamps. Skills read/write this to enable incremental operations.
  • Bookmarks — Written to ~/.claude/bookmarks/ by /land. Read by /takeoff on next session. This is the bridge between sessions.

Cockpit Architecture

your-cockpit/
├── .claude/
│   └── skills/
│       ├── takeoff/              # Boot sequence (from template)
│       ├── land/                 # Park sequence (from template)
│       ├── cockpit-status/       # Instrument panel (from template)
│       ├── pre-flight/           # Situational scan (from template)
│       ├── cockpit-repair/       # Diagnostics (from template)
│       ├── clean-sweep/          # Workspace sweep (from template)
│       └── your-domain-skill/    # Your additions
├── tools/
│   └── learning-browser/         # Persistent browser research (from template)
├── bin/
│   └── update-from-template      # Pull skill updates from upstream
├── skills_manifest.json           # SHA256 hashes for update tracking
├── state.json                    # Session state & watermarks
├── CLAUDE.md                     # Role context + instructions
└── ...                           # Your domain-specific structure

Fleet Sync (opt-in)

For multi-repo organizations, /takeoff can sync your entire fleet before boot. Add these fields to state.json:

{
  "cockpit": {
    "org": "your-github-org",
    "repos_dir": "~/repos-your-org"
  },
  "fleet": {
    "project-a": { "display_name": "Project A" },
    "project-b": { "display_name": "Project B" }
  },
  "pilots": {
    "alice": { "git_names": ["Alice Smith", "alice"], "git_emails": ["alice@example.com"] },
    "bob": { "git_names": ["Bob Jones"], "git_emails": ["bob@example.com"] }
  }
}

When configured, /takeoff will:

  1. Discover repos via gh repo list <org>
  2. Fetch and pull all local fleet repos
  3. Build a pilot activity map (who committed where in the last 7 days)
  4. Surface fleet health in the terminal, takeoff.md, and cockpit.html

Single-repo cockpits (no org or repos_dir) skip fleet sync entirely — no config needed.

Design Principles

  1. Cheap boots/takeoff reads 2 things: state.json and latest bookmark. Git state and CLAUDE.md are already in session context. No redundant I/O.
  2. Session contracts — Every session has a lifecycle: boot → work → checkpoint → audit → land. Three contracts must pass before closing: workspace (git), session (bookmarks/tasks), conversation (promises/decisions).
  3. Drift detection — If the branch changed, files were modified, or commits landed since your last bookmark, /takeoff tells you.
  4. Domain-agnostic — The template knows nothing about your project. It only knows about sessions, bookmarks, and state.
  5. Composable — Add as many domain skills as you want. The primitives stay the same.

Keeping Cockpits in Sync

For cockpit owners (pull updates into your cockpit)

cd your-cockpit
./bin/update-from-template              # pull latest skills from upstream
./bin/update-from-template --dry-run    # preview what would change
./bin/update-from-template --check      # just check if updates are available

This is the recommended approach. Each cockpit pulls from its upstream template. No central registry needed — the cockpit knows its template from state.json.

  • Only updates template skills — never touches your domain-specific skills
  • Detects local customizations via SHA256 hashing — won't clobber your changes
  • Updates skills_manifest.json and state.json with the new version

Requires: gh (GitHub CLI) and jq.

For template maintainers (push updates to known cockpits)

cd ai-cockpit-template
./bin/sync-skills              # push all skills to all registered cockpits
./bin/sync-skills land         # push just one skill
./bin/sync-skills --dry-run    # preview without changes

Reads bin/cockpit-registry.txt for local cockpit paths. Useful when you maintain multiple cockpits on one machine.

Release workflow (for template maintainers)

# 1. Make your skill changes
# 2. Generate the manifest
./bin/generate-manifest v1.3.0

# 3. Commit and tag
git add skills_manifest.json
git commit -m "release: v1.3.0"
git tag v1.3.0
git push --tags

# 4. Downstream cockpits can now: ./bin/update-from-template

Documentation

Guide What It Covers
docs/customization.md Adding skills, extending state.json, configuring the dashboard
docs/fleet.md Managing multiple cockpits from a mothership (roles/, fleet registry)
docs/integrations.md Connecting MCP servers (Outlook, GitHub, Wrike, etc.)
CHANGELOG.md Version history

In the Wild

Cockpits built from this template:

  • Eidos Cockpit — Multi-pilot planning & mission control for Eidos AGI
  • AIC Director of AI — Email-centric command post across 4 sub-roles
  • Greenmark Planning — Waste management leadership planning hub
  • Reeves Cockpit — Personal assistant command post
  • (Add yours here)

License

MIT. Built by Eidos AGI — free software for coding agents.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ai_cockpit-0.4.0.tar.gz (81.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ai_cockpit-0.4.0-py3-none-any.whl (52.8 kB view details)

Uploaded Python 3

File details

Details for the file ai_cockpit-0.4.0.tar.gz.

File metadata

  • Download URL: ai_cockpit-0.4.0.tar.gz
  • Upload date:
  • Size: 81.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ai_cockpit-0.4.0.tar.gz
Algorithm Hash digest
SHA256 e9785a9d12ba9887d6aab3f4cb541ccfc022f45372618624769052ed71d14bc6
MD5 2130b134f3d10ac8d1f7111fadc1d36f
BLAKE2b-256 674fa12afcf2d669849edd06b50468985c82d8d6be99cac9e9764113e9370394

See more details on using hashes here.

Provenance

The following attestation bundles were made for ai_cockpit-0.4.0.tar.gz:

Publisher: publish.yml on eidos-agi/ai-cockpit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ai_cockpit-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: ai_cockpit-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 52.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ai_cockpit-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 435d539d0aef2e36026cc39f1ba0b84f2f0270d30576f97791ec71d2cfa59e13
MD5 9d8d0b99a532c78550eb41780fe2f043
BLAKE2b-256 9c8550996b5a15539d87ca605d760f52418151d99ad222abf2bd7289506dcf99

See more details on using hashes here.

Provenance

The following attestation bundles were made for ai_cockpit-0.4.0-py3-none-any.whl:

Publisher: publish.yml on eidos-agi/ai-cockpit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page