Skip to content

ericzakariasson/cursor-cli-examples

Repository files navigation

Cursor CLI Examples

Cursor CLI subagents and GitHub Actions.

Subagents

Spawn parallel AI agents for any task:

cursor-agent -p "Research patterns" --model gpt-5 --force
cursor-agent -p "Implement features" --model sonnet-4 --force
cursor-agent -p "Debug code" --model auto --force

Autonomous workflows

Workflows handle repository maintenance automatically:

  • Fix CI failures
  • Resolve merge conflicts
  • Improve PR descriptions
  • Security audits
  • Translate i18n keys
  • Update documentation

Usage

Command Line

uv sync && uv run pytest
python -c "from cursor_cli_examples import add; print(add(2, 3))"

Calculator Web UI

Run the calculator web interface:

# Install dependencies
uv sync

# Start the web UI (recommended)
uv run web

# Or manually:
cd src/cursor_cli_examples
python app.py

Then open your browser to http://localhost:5001 to use the calculator.

The web UI provides:

  • Basic Calculator: Perform simple operations between two numbers
  • Chain Calculator: Build complex calculations by chaining multiple operations together

Both calculators use the same underlying arithmetic functions from the main module.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •