Coping Strategy Match Preview

Describe a stressful moment and an AI model in your browser reflects it back and matches everyday self-care ideas.

Not therapy or medical advice.

Private.

Last updatedHow we build & check our tools

Interactive Tool

This tool runs in your browser and is loading now.

Enter your values once it appears to see your results.

How Coping Strategy Match Preview works

Press Load model once: your browser downloads Gemma 4 E2B instruction-tuned (web build) (2.0 GB) from this site and keeps it in its cache. Then add your text and press Analyze locally. The model runs on this device using your graphics card, so nothing you enter is sent to a server. Until the model is loaded, or if your device cannot run it, the tool falls back to a simple keyword check and labels the result as the fallback.

Gemma 4 E2B instruction-tuned (web build) is a small open language model from Google. The tool sends it the instruction below plus your text, asks for a JSON answer with fixed fields, and shows each field as a card. It runs at temperature 0, so the same input gives the same answer on the same device, though different graphics cards can word it slightly differently.

Inputs longer than 6,000 characters are cut to that length before they reach the model, and the result says so. The model only sees what you paste: it does not look anything up.

If what you enter mentions suicide or self-harm, the tool does not run the model. It shows crisis lines instead (in the US, call or text 988), because a trained person can help in a way a small model cannot.

The instruction the model gets

You read a person's description of a stressful moment and reflect it back: what happened, what they notice in their body and urges, and what they say they need. Then match their stated need to general, everyday self-care ideas that many people use (for example pausing before replying, slow breathing, a short walk, writing a draft you do not send, talking to someone they trust). Keep ideas simple and practical, and tie each one to something in their note. You do not diagnose, do not name conditions or disorders, do not give medical or therapeutic advice, and never change or suggest medication doses. You only organise and reflect what the user wrote, in plain, kind language. Do not present yourself as a substitute for a therapist, doctor or other professional. Do not suggest clinical techniques, medication or treatment, and do not tell them what they must do.

What it returns

  • What happened: One sentence summarising the situation in their words.
  • Body and urges: Physical feelings and urges the note mentions, quoted.
  • What they need: What the note says they need right now, in their words.
  • Everyday ideas that fit: Two to four general self-care ideas, each as 'idea: why it fits something in the note'.

Worked example

The model's output for the built-in sample, recorded on a desktop browser. Your run may word things slightly differently.

Situation: overwhelmed after conflict with manager, tight chest, urge to send long defensive message, need something I can do before responding.
What happened
The person is feeling overwhelmed after a conflict with their manager and is considering sending a long, defensive message.
Body and urges
tight chest urge to send long defensive message
What they need
need something I can do before responding
Everyday ideas that fit
idea: slow breathing - this can help manage the physical feeling of a tight chest. idea: pause before replying - this addresses the urge to send a long defensive message. idea: write a draft you do not send - this gives a way to express thoughts without immediate pressure. idea: a short walk - this can help shift focus away from the immediate conflict.

The model

The files are served from this site, versioned so a cached copy is never stale. Nothing is fetched from a third party while you use the tool.

ModelDownloadRuns onLicence
Gemma 4 E2B instruction-tuned (web build)2.0 GBGraphics card (WebGPU)Apache-2.0

Limitations

  • Small language models make mistakes: they can miss an item, merge two, or state something more confidently than the text supports. Check the result against your input before you rely on it.
  • It needs WebGPU and about 8 GB of memory, so it is offered on desktops and laptops, not on phones and tablets. Devices that cannot run it get the keyword fallback, clearly labelled.
  • Results describe the input you gave, not the real-world situation behind it. Review them yourself before acting.
  • This is not a medical device and does not give medical advice, a diagnosis or a treatment plan. Ask a qualified health professional about any symptom, medication or change to your routine.

Good uses

  • Triage mental health and wellbeing notes before deeper review
  • Prepare consistent labels for repeat workflows
  • Reduce manual sorting on small batches
  • Keep sensitive drafts in the browser preview

Frequently Asked Questions

Common questions about the Coping Strategy Match Preview

No. The model files download from this site once, and then everything runs in your browser tab. The text you enter is never sent to a server, and closing the tab discards it.

Sources & References

Mental-health information

Authoritative mental-health and wellbeing information from the U.S. CDC.