Significance In an increasingly fractured world, it is vital to understand when and why people cooperate with and trust others. Traditional social science techniques infer motivations from observed behaviors. We develop a technique based on the fact that as one varies the system prompts, one can get AI to generate different behaviors. Examining the content of these prompts allows us to categorize and contrast strategic situations.