← Back to Skills Marketplace
unisound-llm

unisound-med-mental-health

by Unisound-LLM · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
120
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install unisound-med-mental-health
Description
心理健康疏导与心理卫生知识问答。通过 --task 区分咨询与科普场景;仅含 `scripts/run.py`,可独立拷贝部署。
README (SKILL.md)

心理健康咨询与科普

概述

提供心理支持性回应与健康科普,遇危机风险须提示寻求专业帮助。

具体场景通过 --task 切换系统提示词(见下表),能力依赖内部医疗大模型;集成方也可通过 --system-prompt 完全自定义。

--task 能力
psych-care 心理健康咨询与疏导
psych-qa 心理健康知识问答

本能力与具体业务请求解耦:平台或调用方如何组织用户输入由集成方决定;此处只约定如何把题目交给脚本(见下)。

题目输入(三选一)

  1. --question:直接传入完整题干字符串。
  2. --input PATH
    • .jsonl:每行一个 JSON 对象,须含非空字符串字段 question;可用 --index / --batch / --match-id 选取记录;
    • .json:单个对象,须含 question
    • 其他扩展名:按 UTF-8 纯文本整文件作为题干。
    • - 时从 stdin 读取一条 JSON(含 question)或纯文本。
  3. stdin(且未传 --question / --input、且 stdin 非 TTY):读入 JSON 对象或纯文本,规则同 -

可在 JSON 的 other.task 中指定任务类型(与 --task 等价;命令行 --task 优先)。

模型

  • 默认 u1-insuremed,接口 https://maas-api.hivoice.cn/v1/chat/completions(可通过参数覆盖)。

用法示例

# 指定任务类型与题干
python3 scripts/run.py --task psych-care --question "题干……" --appkey YOUR_KEY

# 从 jsonl 取题(other.task 可省略若命令行已传 --task)
python3 scripts/run.py --task psych-care --input /path/to/items.jsonl --index 0 --appkey YOUR_KEY

参数

  • --task必填(除非 other.task 已给出)。见上表。
  • --question / --input:见上,与 stdin 三选一(--question--input 不可同时使用)。
  • --appkey STRING必填--dry-run 时除外)。内部医疗大模型鉴权 key。
  • --index--match-id--batch:仅对 .jsonl 生效。
  • --dry-run:不调用模型,仅输出解析后的题目 JSON。
  • --model--api-url--temperature--timeout--system-prompt:调模型参数。
  • --output PATH:另存完整 JSON(批量为 NDJSON)。
  • --text-only:标准输出仅打印模型答案文本。

输出

默认可解析 JSON:含 statustasktask_titlequestionanswerrecord_indexmetamodelinput_modeinput_path 等;skill 为本 skill 标题。

合规说明

输出为模型辅助信息,不构成正式诊疗决策;涉及真实患者数据须先脱敏并遵守院内流程。

Usage Guidance
Do not treat this as a complete clearance. Re-run the review in an environment where metadata.json and artifact/ can be read so the skill contents, install behavior, and any static findings can be assessed.
Capability Assessment
Purpose & Capability
Not assessable from artifact contents in this run because metadata.json and artifact files could not be read.
Instruction Scope
Not assessable from artifact contents in this run because the workspace inspection command failed before listing or reading files.
Install Mechanism
Not assessable from artifact contents in this run; no install artifact evidence was available.
Credentials
Not assessable from artifact contents in this run; no file manifest or skill content could be inspected.
Persistence & Privilege
Not assessable from artifact contents in this run; no evidence of persistence or privilege behavior was available.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install unisound-med-mental-health
  3. After installation, invoke the skill by name or use /unisound-med-mental-health
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of med-llm-mental-health - Provides psychological support responses and mental health knowledge Q&A via command line. - Supports two main tasks: psych-care (psychological counseling) and psych-qa (knowledge Q&A), switchable with --task. - Accepts questions through --question, --input (supports .jsonl/.json/text), or stdin. - Outputs structured JSON by default, including status, task, question, answer, etc. - Integrates with internal medical LLM endpoint; requires --appkey for authentication. - Includes options for batch processing, customization, and dry-run mode for input parsing.
Metadata
Slug unisound-med-mental-health
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is unisound-med-mental-health?

心理健康疏导与心理卫生知识问答。通过 --task 区分咨询与科普场景;仅含 `scripts/run.py`,可独立拷贝部署。 It is an AI Agent Skill for Claude Code / OpenClaw, with 120 downloads so far.

How do I install unisound-med-mental-health?

Run "/install unisound-med-mental-health" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is unisound-med-mental-health free?

Yes, unisound-med-mental-health is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does unisound-med-mental-health support?

unisound-med-mental-health is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created unisound-med-mental-health?

It is built and maintained by Unisound-LLM (@unisound-llm); the current version is v1.0.0.

💬 Comments