Green’s Dictionary of Slang

works n.

[SE works, the internal parts of a machine]

1. [1900s] (Aus./US) the intestines of an animal.

2. [1910s] (Aus./US) the brain.

3. [1910s+] (Aus./US) the human stomach or its contents.

4. in drug uses.

(a) [1930s+] (drugs) the equipment used by a narcotics user for injecting themself.

(b) [1990s+] the equipment used for smoking crack cocaine, heroin etc.

In phrases

get on someone’s works (v.)

[1940s+] (Aus.) to annoy.