This could do things like automatically re/index projects (or make it convenient to do so) or limit searches to a particular project. Basically, find the intersection between projectile and codesearch. This will be similar to existing plugins for projectile and e.g. etags.