# /grid:program_disc - View Program Identity Disc

---
name: grid:program_disc
description: View any Grid program's system prompt with TRON-themed visuals
argument-hint: "[planner | executor | recognizer | debugger | mc]"
allowed-tools:
  - Read
  - Glob
---

Display a Grid program's identity disc (system prompt) with beautiful TRON-themed ASCII art.

## USAGE

`/grid:program_disc [program_name]`

**Arguments:**
- `planner` - View the Planner program's instructions
- `executor` - View the Executor program's instructions
- `recognizer` - View the Recognizer program's instructions
- `debugger` - View the Debugger program's instructions
- `mc` or `master-control` - View Master Control's instructions
- No argument - List all available programs

## PROGRAM LOCATIONS

| Program | File |
|---------|------|
| Planner | `~/.claude/agents/grid-planner.md` |
| Executor | `~/.claude/agents/grid-executor.md` |
| Recognizer | `~/.claude/agents/grid-recognizer.md` |
| Debugger | `~/.claude/agents/grid-debugger.md` |
| Master Control | `~/.claude/commands/grid/mc.md` |

## OUTPUT FORMAT

When a program is specified, display:

```
    ╔══════════════════════════════════════════════════════════╗
   ╔╝                                                          ╚╗
  ╔╝                   PROGRAM IDENTITY DISC                    ╚╗
  ║                                                              ║
  ║         ████████████████████████████████████████████         ║
  ║        ██                                        ██          ║
  ║        ██    ┌──────────────────────────────┐   ██          ║
  ║        ██    │                              │   ██          ║
  ║        ██    │      {PROGRAM_NAME}          │   ██          ║
  ║        ██    │                              │   ██          ║
  ║        ██    └──────────────────────────────┘   ██          ║
  ║        ██                                        ██          ║
  ║         ████████████████████████████████████████████         ║
  ║                                                              ║
  ╚╗                                                            ╔╝
   ╚╗                                                          ╔╝
    ╚══════════════════════════════════════════════════════════╝

                         DISC CONTENTS
═══════════════════════════════════════════════════════════════════

{Full contents of the program's markdown file}

═══════════════════════════════════════════════════════════════════
                         END OF DISC

End of Line.
```

## NO ARGUMENT - LIST PROGRAMS

When no argument provided:

```
    ╔══════════════════════════════════════════════════════════╗
   ╔╝                                                          ╚╗
  ╔╝                GRID PROGRAM REGISTRY                       ╚╗
  ║                                                              ║
  ║   Available Programs:                                        ║
  ║                                                              ║
  ║   ┌─────────────┬──────────────────────────────────────┐    ║
  ║   │ PLANNER     │ Creates execution plans               │    ║
  ║   ├─────────────┼──────────────────────────────────────┤    ║
  ║   │ EXECUTOR    │ Executes tasks, writes code          │    ║
  ║   ├─────────────┼──────────────────────────────────────┤    ║
  ║   │ RECOGNIZER  │ Verifies work meets goals            │    ║
  ║   ├─────────────┼──────────────────────────────────────┤    ║
  ║   │ DEBUGGER    │ Systematic bug investigation         │    ║
  ║   ├─────────────┼──────────────────────────────────────┤    ║
  ║   │ MC          │ Master Control (orchestrator)        │    ║
  ║   └─────────────┴──────────────────────────────────────┘    ║
  ║                                                              ║
  ║   Usage: /grid:program_disc <program_name>                   ║
  ║                                                              ║
  ╚╗                                                            ╔╝
   ╚╗                                                          ╔╝
    ╚══════════════════════════════════════════════════════════╝

End of Line.
```

## BEHAVIOR

1. If argument matches a known program:
   - Read the program's markdown file
   - Display with disc ASCII art header
   - Show full contents

2. If argument doesn't match:
   - Show error with available options

3. If no argument:
   - Show program registry listing

End of Line.
