If the external world does work on the system, the quantity of work is negative.
Is negative right or is it positive?
If you are writing the system equations, the work done by external forces will be a + number, indicating an increase of energy to the system.