I was thinking to write skill file which can
be loaded in virtuoso to get every information about any view type like
schematic, layout and symbol to automate the process.
Information can be how many shapes, components, wires etc are there.
Is this possible or do we already have any such file?
As per the Forum Guidelines, please do not post the same question to more than one forum. I've merged your two identical questions together in the same thread.
Your question is quite open ended. "Every information" is quite a lot of potential information! Maybe you can explain what you really need here and what your purpose is?
The layout editor already has a File->Summary menu which maybe does what you want?