Overview
The gk plan command manages project plans with subcommands for listing, creating, setting active plans, and viewing status.
Usage
Alias: gk p
Subcommands
list (default)
Displays all available plans.
Output:
- Plan names with creation dates
- Active plan marked with
→indicator
Returns empty message if no plans exist.
status
Shows the currently active plan.
Displays active plan name or indicates none is set.
create
Creates a new plan.
Required: Plan name
The new plan is automatically set as active after creation.
Output: Confirms creation with file path and session info.
set
Designates an existing plan as active.
Required: Plan name
Verifies plan exists before setting. Updates both session and .env file.
info
Retrieves plan configuration from .env file.
Options:
-a, --active- Shows onlyACTIVE_PLANvalue-s, --suggested- Shows onlySUGGESTED_PLANvalue-f, --format- Shows onlyPLAN_DATE_FORMATvalue
Default shows all plan settings with session context.
Global Options
| Option | Description |
|---|---|
--json | Output in JSON format (all subcommands) |
Examples
Plan Naming
Plans follow the naming format configured in .gk.json:
Related Commands
gk session- View sessions associated with plansgk agent- Execute plans with agents- Slash Commands - /code workflow for plans