How to create a template file for Categories?
When you create a category you will need to tell craft which template to load:



So for your example you would put categories/index in there and you should find the template gets loaded when you visit the category url.

See more about templating in the docs