Skip to main content
The project and projects commands help you manage and navigate between project directories with their associated Goose sessions.

Usage

Project Command

Open the last accessed project directory.
Behavior: If no previous projects exist:
  • Starts a new session in the current directory
If projects exist:
  • Shows the most recently accessed project
  • Offers options:
    • Resume project with session
    • Resume project with fresh session
    • Start new project in current directory
Example:
Interactive menu:

Resume with Session

Continues the previous session in the project directory:

Resume with Fresh Session

Starts a new session in the project directory:

Start New Project

Stays in current directory and starts new session:

Projects Command

List all recent projects and select one interactively.
Example:
Interactive menu:
Information shown:
  • Project path (truncated for readability)
  • Last accessed timestamp
  • Last instruction/task (truncated to 40 characters)

Selection Options

After selecting a project: If previous session exists:
Resume previous session:
Start new session:

Project Tracking

Goose automatically tracks: Project Information:
  • Working directory path
  • Last accessed timestamp
  • Last session ID
  • Last instruction/prompt
Storage: Projects are tracked in ~/.config/goose/projects.json:

Directory Validation

Before opening a project, Goose validates:
  • Directory still exists
  • Directory is accessible
  • Session files are valid (if resuming)
If directory doesn’t exist:

Project Display

Paths are truncated for readability: Full path:
Displayed as:
Shows last 2 components with ... prefix.

Examples

Quick resume:
Browse all projects:
Start fresh in project:
New project in current dir:

Integration with Sessions

Projects are linked to sessions: Session creates/updates project:
Project tracking includes:
  • Which session was last used
  • When it was accessed
  • What was the last task
View project sessions:

Workflow Examples

Daily workflow:
Multi-project development:
Project exploration:

Project Sorting

Projects are sorted by last accessed time:
  • Most recent first (default)
  • Timestamp shown in list
  • Helps find active projects quickly

Path Resolution

Project paths are:
  • Absolute paths stored internally
  • Displayed with ~ for home directory
  • Truncated for readability in lists
  • Validated before opening
Storage:
Display:

See Also