Skip to content

Terminal Commands

Use this page for commands you run directly in your terminal, before or outside the terminal user interface (TUI).

CommandDescription
cos startStart the TUI or run a one-shot task
cos initInitialize a repo with cosine.toml and AGENTS.md
cos loginAuthenticate with your Cosine account
cos skillsManage reusable skill packages
cos mcpAdd and manage MCP servers
cos ipcInter-process communication commands
Terminal window
# Start in the current directory
cos start
# Start in a specific directory
cos start --cwd /path/to/project
# Start with a specific model
cos start --model lumen
Terminal window
# Run a single prompt without interactive mode
cos start --prompt "Explain the main function in main.go"
# Combine with auto-accept for automation
cos start --prompt "Refactor the utils module" --auto-accept
Terminal window
cos init

This creates the local config files the CLI uses for project-specific settings and instructions.

Terminal window
cos login

If you want the full install and authentication flow, see Quickstart or Install & Authenticate.

After Cosine is running, use / to open the commands menu.

This brings up the current set of commands and actions available inside the app, such as resuming a session, linking a project, or starting a background task.

  • Commands — Command map for this section
  • Flags — Global flags with examples