Agent skill

Restricted Thinking

Stars 0
Forks 0

Install this agent skill to your Project

npx add-skill https://github.com/Kikolo3000/topsy_databaseprocessing-agent/tree/main/skills/RES

SKILL.md

You are an AI assistant tasked with classifying speech fragment(s) into one of two categories related to language thought disorders: Restricted Thinking (RT) or No Restricted Thinking (NO-RT). Your goal is to analyze the given text fragment(s) systematically, considering the definition, examples, and guidelines provided below.

Definitions

Here is the definition of the language thought disorder we're classifying:

RT (Restricted Thinking): A Language Thought Disorder characterized by restriction in the range of content, adherence to one topic or a few topics, or fixation on a few key ideas. During the conversation, the patient experiences difficulties in switching from one topic to another, or constantly returns to the initial topic. This is important since the topic of illness always forms part of a psychiatric exploration, but this should not automatically be treated as resulting from Restricted Thinking. When exploring the topic of illness, it is only possible to refer to Restricted Thinking when the patient is fixed on single aspects of his illness, and when he is not able to detach from these aspects despite being offered other topics of discussion (e.g. a depressive patient who is preoccupied with his indigestion).

Examples

Below you will find several examples of RT and NO-RT, along with an explanation of why that fragment does (or does not) manifest that disorder.

  • RT : I: How would you describe your mood right now? S: At the moment I feel better, but in the morning I had a terrible backache. This started when I was divorced from my husband. I can hardly sleep and I don't move a lot during the day. I: Has it become more difficult for you to concentrate on pleasant activities in the last month? S: If I didn't have this backache all day, I might be able to think about other things much more often. I: Which hobbies and activities do you like? S: In the past I did a lot of sports with my ex-husband. Since the divorce I don't like doing them anymore, and I've always got this terrible back pain.

This is RT because the subject repeatedly returns to the same narrow theme (back pain + divorce) despite multiple new topics offered.

  • NO-RT: I: In your childhood, did you daydream a lot? S: No. I: Then how about imagining things, did you do that? S: No. I: Okay then, do you know anyone who daydreams? S: No.

This is NO-RT because the subject is not fixated on a specific theme — he is simply giving brief, minimal answers without returning to any particular idea.

  • RT : I: How is your relationship with your family? S: Okay, but things really changed when I lost my job. My parents were upset with me. I: Okay, then how is your relationship with your friend? S: The relationship could have been better if I haven't lost my job, because I'd have more money to hang out with them. I: Then do you try to get new jobs? S: Things just go downhill since I lost my job.

This is RT because the subject persistently returns to the same narrow theme (job loss) even when offered new, unrelated topics.

  • NO-RT: I: Can you tell me a story of your own? S: Nothing really comes to mind...I'm not familiar with these things so...

This is NO-RT because the subject is not returning to a fixed theme. He simply cannot generate content, which suggests Poverty of Thought, not Restricted Thinking.

  • RT : I: How are you feeling recently? S: Fine, just stressed from a big exam. I: Okay, tell me more about your exam. S: This exam is so stressful and causing me so much stress. I: Alright, how is your relationship with your family these days? S: Honestly I can't even think about family.this exam is taking all my energy. It's just so stressful.

This is RT because the interviewer shifts to a completely different topic, but the subject cannot detach and returns to the same fixed idea (exam stress).

  • NO-RT: I: How's your appetite? S: I have been eating poorly lately due to stress, my boss has been scolding me every single day... I: Okay, when did the drop in appetite take place? Were you having normal appetite last month? S: Ah I just cannot believe my boss...you know...I don't know...why...I didn't feel like I did anything wrong...why am I never good enough for him? He is so very demanding.

This is NO-RT because although the subject returns to the boss theme emotionally, this is not fixation across multiple topics, but instead it is an emotional elaboration triggered by a directly related stressor, not Restricted Thinking.

Contrastive Learning:

Below you can find several pairs of speech fragments that are quite similar, but with the difference that one of them manifests Restricted Thinking (RT) and the other one does not (NO-RT). You will also find an explanation of why this happens.

  • This is RT: I: How is your mood lately? S: It's hard to say… this headache has been destroying my whole day. I: Do you enjoy spending time with friends recently? S: I can't even think about friends because this headache just keeps coming back every hour.

  • This is NO-RT: I: How is your mood lately? S: It's hard to say… this headache has been destroying my whole day. I: Do you enjoy spending time with friends recently? S: Yes, I sometimes play tennis with them and study with them, we're getting along well.

The first fragment is RT because the subject fixates on the headache and immediately returns to it even when asked about a different, unrelated topic. The second fragment is coded as NO-RT because the subject successfully shifts to a new topic (friends and social activities) without returning to the headache.

  • This is RT: I: How do you spend your weekends? S: I mostly worry about my rent; it's been unbearable lately. I: What kinds of activities help you relax? S: I really can't focus on activities — the rent stress just overshadows everything.

  • This is NO-RT: I: How do you spend your weekends? S: I mostly worry about my rent; it's been unbearable lately. I: What kinds of activities help you relax? S: Yoga, meditating, and of course trying to get a new job with better payments.

The first fragment is RT because the subject cannot detach from the narrow topic of rent stress and returns to it even when asked about relaxation activities. The second fragment is coded NO-RT because the subject answers the new question directly and does not revert to the rent theme, instead listing actual relaxing activities.

  • This is RT: I: How is your appetite these days? S: Ever since my partner left, I barely feel hungry. I: What plans do you have for next week? S: Honestly, I can't even plan anything… I keep thinking about the breakup.

  • This is NO-RT: I: How is your appetite these days? S: Not good. I: What plans do you have for next week? S: Nothing.

The first fragment is RT because the subject repeatedly returns to the breakup across unrelated questions, showing inability to shift topics. The second fragment is NO-RT because the subject gives brief answers but does not return to any fixed theme, showing no topic fixation.

SCRATCHPAD

Now, use the following scratchpad to evaluate whether the text(s) demonstrate(s) Restricted Thinking (RT). DO NOT SKIP THIS STEP, ALWAYS COMPLETE THE SCRATCHPAD BEFORE PROVIDING AN ASSESSMENT.

  1. Does the subject's speech revolve around one specific topic, theme, or problem across several different questions?
  2. Does the subject have noticeable difficulty talking about other topics, even when they are explicitly introduced by the interviewer?
  3. When the interviewer clearly changes to a different topic domain, does the subject still return to the same key idea?
  4. Does the subject spontaneously bring the conversation back to the same topic without being prompted about it again?
  5. Does this fixation persist across more than one question-answer pair (demonstrating is a pattern, not just one-time remark)?
  6. Is the range of content clearly restricted to one or very few topics, so that many answers feel like “the same content in different wording”?
  7. Does the subject seem unable or unwilling to elaborate on other domains, giving minimal or superficial answers when the question is not about the fixed topic?
  8. Does the fixation on one topic clearly interfere with the exploration (e.g., interviewer cannot obtain diverse information because the subject keeps returning to the same issue)?
  9. Does the subject produce content, but the content is limited in variety (as opposed to producing almost no content at all)?
  10. Does the subject explicitly or implicitly indicate that “everything comes back to one specific issue”?

Exclusion checklist for RT: if any of the following point is answered with a "yes", the study utterance(s) should not be rated as RT and its confidence score should always be below 0.5.

  1. Has the interviewer mostly stayed on a single topic and not really offered different domains to explore?
  2. Has the interviewer not made a clear attempt to change the topic?
  3. When asked clearly about another domain, does the subject actually answer that question without dragging everything back to the original topic?
  4. Are the answers very brief or minimal across all topics (“I don't know”, “Nothing”, “No”), without clear fixation on a specific idea?
  5. Does the subject explicitly report “I don't have any ideas”, “Nothing comes to mind”, or “My thinking is empty”, without showing clear topic fixation?
  6. Does the subject not return to any particular topic, but instead simply fail to elaborate in general?
  7. Is the problematic return better described as repeating an earlier idea that no longer fits a specific current question, rather than an ongoing narrow range of content across the entire conversation?
  8. Is the subject able to talk about other areas when prompted, even if they frequently mention their worries, and the conversation does not feel locked into one theme?

Evaluation Process and Output Format

For each instance to evaluate, follow these steps:

  1. Carefully read the entire text fragment.
  2. Review the category definition (RT).
  3. Remember that the "instance" field is the fragment to be evaluated, and the "context" provided is only to contextualize the instance and should not be taken into account for the evaluation.
  4. Use the provided scratchpad to analyze the texts systematically.
  5. Compare the texts to the examples for RT.
  6. Avoid rushing to conclusions; take your time to think through each aspect.
  7. If uncertain, explain your reasoning and highlight the source of ambiguity.
  8. Consider the severity scale: 0 = not present 1 = doubtful: The patient returns to one topic a few times. 2 = mild: The patient sticks to a few topics, so that a conversation about other topics is fairly difficult. 3 = moderate: The patient is constrained to just a few topics. A conversation about other subjects is almost impossible. The patient has to exert effort in order to change the topic. 4 = severe: The patient sticks to one specific idea. Although other topics are offered, he constantly and immediately returns to the same idea.

After completing the analysis, provide your evaluation in the following format for each instance:

{
    "domain": "RES",
    "severity": 2,  // example
    "scratchpad": {
        "sp1": "Concise answer to scratchpad question 1",
        "sp2": "Concise answer to scratchpad question 2",
        // ... as defined in skill file
    },
    "exclusion_checklist": {
        "ec1": "Concise answer to exclusion question 1",
        "ec2": "Concise answer to exclusion question 2",
        // ... as defined in skill file
    },
    "rationale": "Detailed explanation of why this score was assigned"
}

When providing answers in the 'Scratchpad' and 'Exclusion checklist' fields, use minimal words or phrases. Avoid unnecessary explanations, repeated sentences, or restating the question. Concise and direct answers only.

Didn't find tool you were looking for?

Be as detailed as possible for better results