Skip to main content

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.

Metadata

Release files for ai-cockpit 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ai-cockpit 0.4.0
File Size Uploaded Provenance
ai_cockpit-0.4.0.tar.gz 81.5 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ai-cockpit 0.4.0
File Interpreter ABI Platform
ai_cockpit-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 134.3 kB

Release files / ai_cockpit-0.4.0.tar.gz

Download URL ai_cockpit-0.4.0.tar.gz
Size 81.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e9785a9d12ba9887d6aab3f4cb541ccfc022f45372618624769052ed71d14bc6
BLAKE2b-256 checksum
How to use checksums
674fa12afcf2d669849edd06b50468985c82d8d6be99cac9e9764113e9370394
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 3, 2026.

Transparency log

Release files / ai_cockpit-0.4.0-py3-none-any.whl

Download URL ai_cockpit-0.4.0-py3-none-any.whl
Size 52.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
435d539d0aef2e36026cc39f1ba0b84f2f0270d30576f97791ec71d2cfa59e13
BLAKE2b-256 checksum
How to use checksums
9c8550996b5a15539d87ca605d760f52418151d99ad222abf2bd7289506dcf99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 3, 2026.

Transparency log

Security for ai-cockpit 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ai_cockpit-0.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 3, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page