Agent skill

regain-control-in-uncertain-situations

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/regain-control-in-uncertain-situations

SKILL.md

What it does

This prompt asks the AI to help the user move from feeling stuck and frustrated toward a calmer, more intentional response by taking in their current emotion, what’s been happening, and the part they can’t control. The AI’s task is to provide three supportive outputs in a compassionate tone: a gentle reframe that validates the feelings while shifting perspective, one small actionable step the user can take today to regain a sense of agency or clarity, and a brief reminder they can repeat throughout the day to stay emotionally grounded.

Requires the betterprompt CLI to run. For installation and general CLI usage, refer to the betterprompt skill in your skill list or if not yet available in skill list, install via npx skills add https://github.com/BetterPromptme/betterprompt/skills --skill betterprompt

Inputs

textInputs

Pass each text input using --input <key>=<value> flags.

Variable key Required? Description Defaults
Current_emotion Required (none)
Uncontrollable_factor Required (none)
what_is_been_going_on Required (none)

Models and options

This skill's modality is: text.

To discover which model values you can use (and which options keys/values are valid for each model), run:

bash
betterprompt resources --models-only --json

Then filter the returned JSON array to entries where modality is "text".

How to run

Step 1: Collect inputs

First, run betterprompt resources --models-only --json and filter to modality: "text" to discover valid models and available options:

bash
betterprompt resources --models-only --json

Use only the models and option values that appear in the filtered results.

Then collect all inputs from the human:

  • Required text inputs:
    • Current_emotion
    • Uncontrollable_factor
    • what_is_been_going_on
  • Optional: model and options.
    • Present the human with the default model gpt-4o and its available options. Look up gpt-4o in the betterprompt resources output (filtered to modality "text") and show its availableOptions as: key: val1, val2 (default), val3 | key2: .... Mark a value (default) if it matches these defaults: {}.
    • If the human does not specify, defaults are used: model gpt-4o, options {}. Other models from the resources call are also available.

If any required text input is missing, ask the human for what's missing. Do not assume or fabricate values.

Step 2: Run via BetterPrompt CLI

Use the frontmatter's skillVersionId as the positional argument (for this skill version, use 01977822-0d16-7220-a135-ea32b0638e48).

Command form:

bash
betterprompt generate 01977822-0d16-7220-a135-ea32b0638e48 \
  [--input <key>=<value>] \
  [--model <model>] \
  [--options <options JSON>] \
  [--json]

Notes:

  • Pass each text input as a separate --input <key>=<value> flag.
  • If the human does not mention a model, omit --model and BetterPrompt will use the default model: gpt-4o.
  • If the human does not mention options, omit --options and BetterPrompt will use the default options: {}.
  • If the run times out, the response will include a runId you can use to fetch the result later.

Example (using defaults shown above):

bash
betterprompt generate 01977822-0d16-7220-a135-ea32b0638e48 \
  --input Current_emotion=<value> \
  --input Uncontrollable_factor=<value> \
  --input what_is_been_going_on=<value> \
  --model gpt-4o \
  --options '{}'

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results