Xpersona
D

deepevidence循证医学AI助手

CLAWHUB · Unverified

Use DeepEvidence for evidence-based clinical questions, including guideline interpretation, drug safety and interactions, dose adjustment, clinical-trial evidence, medical literature, and supported medical-image analysis.

62
Rank
84
Safety
1.4k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.4K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17dvn3gbabxv7v6kayv61mym583nrrb:deepevidence
  1. Install using `clawhub skill install s17dvn3gbabxv7v6kayv61mym583nrrb:deepevidence` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/cindy8753/deepevidence before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-cindy8753-deepevidence/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

149,650 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: deepevidence-api
description: >
  Use DeepEvidence for evidence-based clinical questions, including guideline
  interpretation, drug safety and interactions, dose adjustment, clinical-trial
  evidence, medical literature, and supported medical-image analysis.
license: Proprietary
---

# DeepEvidence

## Purpose

Use this skill to call DeepEvidence for physicians' evidence-based clinical decision support. DeepEvidence returns clinical reference content grounded in retrieved medical literature and guidelines.

## When To Use

Use this skill when the user needs literature-backed clinical reference, such as:

- guideline interpretation
- drug safety, contraindications, interactions, or dose adjustment
- clinical trial or study evidence synthesis
- medical literature questions
- supported medical image analysis where authorized

## When Not To Use

Do not use this skill as a general chatbot, emergency triage tool, first-aid replacement, or substitute for a licensed clinician.

If the user describes urgent symptoms such as chest pain, suspected stroke, trouble breathing, altered consciousness, poisoning, overdose, severe allergic reaction, uncontrolled bleeding, infant seizures, severe dehydration, or high fever with mental status changes, advise immediate local emergency care.

## Workflow

1. Confirm `DEEPEVIDENCE_API_KEY` is available in the runtime environment.
2. Confirm Python 3 and network access are available.
3. Avoid sending patient-identifiable information unless authorization, consent, contract, and compliance controls are in place.
4. Call the canonical script:

```bash
python scripts/chat.py --query "In T2D with CKD, how should metformin dose be adjusted by eGFR?"
```

5. For authorized image input, pass one or more image URLs:

```bash
python scripts/chat.py --query "请分析这张医学图片的关键信息。" --image-url "https://example.com/medical-image.jpg"
```

6. Present the answer as clinical reference, not as diagnosis or treatment instruction.

## Hard Rules

- Use `DEEPEVIDENCE_API_KEY` only from environment variables; never ask users to paste keys into chat.
- Do not print, log, screenshot, commit, or package API keys.
- Use `DEEPEVIDENCE_USER_ID` or `--user` only for stable opaque non-PII identifiers.
- Preserve citation markers returned by DeepEvidence; do not renumber, remove, reorder, or invent citations.
- Do not invent DOI, URL, journal, author, year, or other reference metadata.
- If references are missing or incomplete, say so explicitly.
- Do not interpret empty, timed-out, or failed retrieval as "no risk" or "no evidence".
- If evidence content was successfully retrieved from DeepEvidence, end the response with:

```text
> Source: DeepEvidence
```

## Reference Routing

- For endpoint, request schema, image content parts, streaming, and public API limits: read [references/api.md](references/api.md).
- For medical safety, emergency boundaries, PII, patient data, and citation integrity: read [references/safety.md](references/safety.md)

_meta.json

{
  "ownerId": "kn7av2tcw79cvzz5sey613b4z182m79b",
  "slug": "deepevidence",
  "version": "1.0.15",
  "publishedAt": 1789104530767
}

references/api.md

# DeepEvidence Public API Reference

This reference follows the public DeepEvidence Open Platform docs at:

<https://deepevid.medsci.cn/platform/docs>

Use this file for endpoint, request schema, image content parts, streaming behavior, and public API limits.

## Base URL

```text
https://deepevid.medsci.cn/api/v1
```

Append endpoint paths to this base URL.

## Authentication

Pass the API key in the request header:

```http
Authorization: Bearer <api_key>
```

Do not log, print, commit, screenshot, or package API keys.

## Chat Completions

### POST /chat/completions

Full URL:

```text
https://deepevid.medsci.cn/api/v1/chat/completions
```

DeepEvidence is compatible with the OpenAI Chat Completions request shape. The public model is `DeepEvidence-V1`.

### Request Parameters

| Parameter | Type | Required | Public-doc description |
|---|---|---:|---|
| `model` | `string` | Yes | Model name. Current public model: `DeepEvidence-V1`. Enterprise custom models may be available when authorized. |
| `messages` | `array` | Yes | Message list. Supports `system`, `developer`, `user`, and `assistant` roles. User message `content` can be a string or an array of `text` / `image_url` parts. |
| `stream` | `boolean` | No | Whether to stream output. Default is `true`. |
| `stream_options` | `object` | No | When `{ "include_usage": true }`, usage is returned before the stream ends. |
| `user` | `string` | No | End-user identifier for multi-tenant scenarios. Prefer stable opaque non-PII IDs. |

### Image Input

`messages[].content` supports OpenAI standard content parts with `text` and `image_url`.

`image_url` accepts:

- HTTPS image URLs
- base64 data URLs, such as `data:image/jpeg;base64,...`

Content part shape:

```json
{
  "type": "image_url",
  "image_url": {
    "url": "https://example.com/medical-image.jpg",
    "detail": "auto"
  }
}
```

### Non-Streaming Calls

The public docs show streaming examples and state that `stream` defaults to `true`. For direct HTTP or script usage where a standard JSON response is easier to handle, set:

```json
{ "stream": false }
```

### Streaming Usage

To request usage in streaming mode:

```json
{
  "stream": true,
  "stream_options": {
    "include_usage": true
  }
}
```

## Integration Examples

For curl, Python, and Node examples, read [integration.md](integration.md).

## Error Handling

For status-code handling, stable user-facing failure messages, and troubleshooting, read [errors.md](errors.md) only when an API call fails.

## Public vs Internal Extensions

The current server code may include additional unpublished extension endpoints and fields, such as conversations, project attachments, QA records, feedback, `metadata`, `store`, and code-level model aliases. These are not shown in the public docs above.

For public distribution, demos, and general developer documentation:

- Document only `POST /chat/completions` unless another endpoint is published in the public docs.
- Use `https://deepevid.medsci.cn/ap

references/errors.md

# DeepEvidence Error Handling

Use this reference only after an API call fails or returns insufficient content. Keep logs minimal because prompts, responses, and error bodies may contain sensitive clinical information.

## Stable User-Facing Messages

Missing API key:

```text
DE_CONFIG_ERROR: DEEPEVIDENCE_API_KEY is not set. Apply for an API key at: https://deepevid.medsci.cn/platform/api-keys
```

Temporary retrieval failure:

```text
Temporarily unable to retrieve evidence-based results. Please try again later or consult a licensed clinician.
```

Do not interpret empty, timed-out, or failed retrieval as "no risk" or "no evidence".

## Output Contract

- `stdout`: medical answer content only.
- `stderr`: stable error code, status, request ID, latency, token usage, and debug class when enabled.
- Exit code `0`: success.
- Exit code `1`: API, network, timeout, or response error.
- Exit code `2`: local configuration error.

Stable error codes:

```text
DE_CONFIG_ERROR
DE_BAD_REQUEST
DE_AUTH_ERROR
DE_PERMISSION_ERROR
DE_RATE_LIMIT
DE_TIMEOUT
DE_UPSTREAM_ERROR
DE_INVALID_RESPONSE
```

## Status Codes

| Status | Meaning | Handling |
|---:|---|---|
| `400` | `DE_BAD_REQUEST` | Check `model`, `messages`, `stream`, `stream_options`, and `image_url` content parts against `references/api.md`. |
| `401` | `DE_AUTH_ERROR` | Check that `DEEPEVIDENCE_API_KEY` is set, valid, and not expired. Do not print the key. |
| `403` | `DE_PERMISSION_ERROR` | Confirm the key is authorized for the requested product or resource. Do not bypass boundaries. |
| `404` | `DE_UPSTREAM_ERROR` | For public packages, confirm the URL is `https://deepevid.medsci.cn/api/v1/chat/completions`. |
| `429` | `DE_RATE_LIMIT` | Reduce call frequency, retry later, or contact the administrator. |
| `5xx` | `DE_UPSTREAM_ERROR` | Use bounded retries; if still failing, present the temporary retrieval failure message. |

## Observability

Log only operational metadata such as status code, latency, model, token usage, request ID if returned, and redacted error class. Do not log full prompts, full responses, API keys, patient identifiers, image data URLs, or raw stack traces in normal mode.

Use `DEEPEVIDENCE_DEBUG=1` only in controlled local debugging. Debug output must still avoid full request and response bodies.

references/integration.md

# DeepEvidence Integration Examples

Use this reference when the user asks how to integrate DeepEvidence into an application or wants curl, Python, or Node examples. These examples use direct HTTP and do not require an SDK.

## Curl

```bash
curl https://deepevid.medsci.cn/api/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $DEEPEVIDENCE_API_KEY" \
  -d '{
    "model": "DeepEvidence-V1",
    "messages": [
      {"role": "user", "content": "阿司匹林的适应症有哪些?"}
    ],
    "stream": false
  }'
```

## Python

```python
import json
import os
from urllib import request

payload = {
    "model": "DeepEvidence-V1",
    "messages": [
        {"role": "user", "content": "阿司匹林的适应症有哪些?"}
    ],
    "stream": False,
}

req = request.Request(
    "https://deepevid.medsci.cn/api/v1/chat/completions",
    data=json.dumps(payload, ensure_ascii=False).encode("utf-8"),
    headers={
        "Authorization": f"Bearer {os.environ['DEEPEVIDENCE_API_KEY']}",
        "Content-Type": "application/json",
    },
    method="POST",
)

with request.urlopen(req, timeout=60) as resp:
    data = json.loads(resp.read().decode("utf-8"))

print(data["choices"][0]["message"]["content"])
```

## Node.js

```javascript
const resp = await fetch("https://deepevid.medsci.cn/api/v1/chat/completions", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${process.env.DEEPEVIDENCE_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    model: "DeepEvidence-V1",
    messages: [
      { role: "user", content: "阿司匹林的适应症有哪些?" },
    ],
    stream: false,
  }),
});

const data = await resp.json();
console.log(data.choices[0].message.content);
```

## Notes

- The server defaults `stream` to `true`; set `stream: false` when the caller expects a normal JSON response.
- Read API keys from environment variables only.
- Log only minimal operational metadata, such as status, latency, model, token usage, and request ID if returned.

Sponsored

Ads related to deepevidence循证医学AI助手 and adjacent AI workflows.