<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def skip_action(self, action):
 """ append action to skip flag """

        if 'skip' not in self.flags:
            self.flags['skip'] = []
        self.flags['skip'].append(action)