CMDS

General syntax
1# Select objects based on type
2 cmds.ls(cmds.listHistory(dag.fullPathName()), type="skinCluster")