Cursor extension to measure AI Code %

Hi!

I’m looking for a way to measure my Code % generated by Cursor (instead of manually written), but found very little information of how to do this.

Does anyone know if:

  • There’s an existing extension that can do it?
  • Or how to write a Cursor extension in general?