hackalloc – Make allocations local
The package makes all allocation (\newcount, \newdimen, etc.) local.
Maybe you are interested in the following packages as well.
- makerobust209: Make an existing LaTeX command robust
- noprot: Avoid the need for protection
- wright: Define commands with optional arguments
- rangecite: Will turn a range of citations into something like [1..3]