add cap config to repo