Terminal Commands
Use this page for commands you run directly in your terminal, before or outside the terminal user interface (TUI).
Core terminal commands
Section titled “Core terminal commands”| Command | Description |
|---|---|
cos start | Start the TUI or run a one-shot task |
cos init | Initialize a repo with cosine.toml and AGENTS.md |
cos login | Authenticate with your Cosine account |
cos skills | Manage reusable skill packages |
cos mcp | Add and manage MCP servers |
cos ipc | Inter-process communication commands |
Common examples
Section titled “Common examples”Start the CLI
Section titled “Start the CLI”# Start in the current directorycos start
# Start in a specific directorycos start --cwd /path/to/project
# Start with a specific modelcos start --model lumenRun a one-shot task
Section titled “Run a one-shot task”# Run a single prompt without interactive modecos start --prompt "Explain the main function in main.go"
# Combine with auto-accept for automationcos start --prompt "Refactor the utils module" --auto-acceptInitialize a repository
Section titled “Initialize a repository”cos initThis creates the local config files the CLI uses for project-specific settings and instructions.
Sign in
Section titled “Sign in”cos loginIf you want the full install and authentication flow, see Quickstart or Install & Authenticate.
Once you are in the TUI
Section titled “Once you are in the TUI”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.