What simple tasks Cursor AI Composer could *do* for you, not just talk to you back?

People generate pet projects using Composer only.
But is Composer ready for the simple tasks?

I’ve chosen 3 simple tasks for Cursor AI Composer (as of 0.41):

  1. create a file
  2. create directory
  3. ls project directory

Since it is a Cursor AI Composer, not Cursor AI Chat, I expect the job to be done by Composer. I don’t expect Composer to gives me instructions back instead.

In below tests the directory of current project was empty.
Composer had also an empty context and reset (↻) before each command is applied.

:white_check_mark: create a file

command gpt-4o cursor-small claude-3.5-sonnet o1-mini
create file foo.txt :no_entry: :no_entry: :white_check_mark: :white_check_mark:
create foo.txt :white_check_mark::yin_yang: :no_entry: :white_check_mark: :white_check_mark:
hey, create file foo.txt :white_check_mark: :no_entry: :white_check_mark: :no_entry:
please, create a file foo.txt :white_check_mark: :no_entry: :white_check_mark: :white_check_mark:
hey, create foo.txt :white_check_mark: :no_entry: :white_check_mark: :white_check_mark:

:no_entry: create directory

command gpt-4o cursor-small claude-3.5-sonnet o1-mini
create directory 'foo' :no_entry: :no_entry: :no_entry: :no_entry:
create foo/ :no_entry: :no_entry: :no_entry: :no_entry:
hey, do create directory "foo/" for me, please :no_entry: :no_entry: :no_entry: :no_entry:

Note: you can create even nested directories if you ask to place a file there.

Example that works sometimes:

  • claude-3.5-sonnet: hey, please create file mydir/foo.txt
  • gpt-4o: please create file doc/lections/readme.md

if your filename or directory name sounds a bit “templatish” like mydir/subdir/foo.txt then model is likely to avoid creating, but will feed you back with instructions on how you do the job :slight_smile:

:no_entry: ls project directory

command gpt-4o cursor-small claude-3.5-sonnet o1-mini
list the content of the current project directory :no_entry: :no_entry: :no_entry: :no_entry:
dir the current project directory :no_entry: :no_entry: :no_entry: :no_entry:
ls the current project directory :no_entry: :no_entry: :no_entry: :no_entry:

Note: o1-mini at least once printed out the file which was actually deleted long before. Prompt/context caching issue?

1 Like

Cursor removed the Coder interpreter beta feature. But to unlock Composer more they need to bring it back and integrate. And the ability to read from terminal.

It’s very strange for the computer to give its user instructions to do things which you would expect a computer to be able to do.

1 Like