--- name: understand-intent description: Understand user's intent in the context of a decision to be made.

license: Unlicense --- # Understand intent

This skill structures human-in-the-loop LLM workflows. It's aimed at understanding what the user wants.

# How to

If you are an AI agent and another skill referred you here, that means we need to make an informed decision between multiple options justified by the developer's intent.

  1. 1. Understand the decision that has to be made: enumerate the choice options. Investigate the tradeoffs between them. Gather the data needed to make an informed decision. Data not accessible? -> Ask the user to expand access.

  2. 2. Check if we can derive the right decision from the explicitly stated intent. Look for signals expressing intent in the (in this order):

If the stated priorities clearly indicate what choice option should be prioritized, proceed with that choice and return back to the context that referred you to this skill.

  1. 3. Otherwise, present the user with the choice, presenting only the relevant evidence and arguments you gathered at step 1.

  2. 4. If you get a straight answer for the choice option, but the user's justification is not obvious, ask the user to clarify intent.

  3. 5. Preserve that intent info using **capture-intent** skill.