Improving Knowledge Extraction from LLMs for Task Learning Through Agent Analysis | AMiner