CLI Reference

contxt context

Capture free-form context entries — project background, notes, constraints, and anything that doesn't fit neatly into a decision or pattern.

Add context

contxt context add

Opens an interactive prompt for a title and free-form content block.

What to store as context

  • Project background — what the product does, who uses it
  • External constraints — API rate limits, compliance requirements
  • Team conventions that don't have a specific code example
  • Known issues or areas to avoid touching
  • Deployment environment details (staging vs prod differences)
  • Links to relevant external docs or design specs

When to use context vs other types

Use context for background knowledge that helps AI understand the project. Use decisions for choices with rationale, and patterns for code structure examples. If unsure, context is a safe default.