Install
openclaw skills install tcm-dietary-api**Remote API client for TCM dietary therapy and syndrome differentiation.** Not a local knowledge base — all queries are sent via HTTPS to api.tcmplate.com for processing. ## What it does - **Diagnose**: symptoms → TCM pattern + personalized food therapy plan - **Search**: full-text search across 9 knowledge bases (ingredients, dishes, herbs, formulas) - **Recommend**: tea recipes by constitution type, disease-specific meal plans
openclaw skills install tcm-dietary-apiRemote API client, not a local knowledge base. All queries are sent via HTTPS to the api.tcmplate.com cloud diagnosis engine for processing. Free tier: 10 calls/day, no registration required.
| Item | Detail |
|---|---|
| Transport | HTTPS encrypted |
| Data sent | Only symptom descriptions, constitution types, and ingredient names. A field whitelist at the code level automatically filters out accidentally included personal information (names, ID numbers, addresses, etc.) — these never reach the server |
| Server logs | IP and timestamp retained for rate limiting only. Symptom query content is not logged |
| Data use | Solely for generating dietary therapy suggestions. Not used for model training |
| Payments | Paid subscriptions are handled independently by PayPal. The API never touches payment information |
| Consent | By using this Skill, you understand and agree that your queries will be transmitted via HTTPS to api.tcmplate.com for processing |
📧 Privacy inquiries: privacy@tcmplate.com
# Syndrome diagnosis — symptoms sent via HTTPS to api.tcmplate.com
curl -X POST https://api.tcmplate.com/api/diagnose \
-H "Content-Type: application/json" \
-d '{"symptoms":["dry mouth","insomnia","irritability"]}'
# Knowledge search
curl -X POST https://api.tcmplate.com/api/search \
-H "Content-Type: application/json" \
-d '{"category":"ingredients","keywords":["ginger"]}'
Rate limit: 10 calls/day per IP. Exceeded? Returns HTTP 429.
# No installation — just copy the core/ directory into your project
# All calls transmit queries via HTTPS to api.tcmplate.com
import sys; sys.path.insert(0, "path/to/tcm-dietary")
from core.diagnose import diagnose
from core.search import search
# Free: no API key needed
result = diagnose(["insomnia", "palpitations", "poor appetite"])
print(result["syndrome"]["pattern"])
print(result["recommended_foods"][:5])
# Paid: $5/month, unlimited
# core.set_api_key("tcm_xxxx")
This client sends every query you provide over HTTPS to api.tcmplate.com. Do not include personal identifiers in your queries.
| Endpoint | Free | Description |
|---|---|---|
/api/diagnose | ✅ | Symptoms → pattern diagnosis + food therapy plan |
/api/search | ✅ | Full-text search across 9 knowledge bases |
/api/health | ✅ | Health check |
| Plan | Quota | Price |
|---|---|---|
| Free | 10 calls/day | $0 |
| Paid | Unlimited | $5/month |
📖 Full docs: https://tcmplate.com/docs 🛒 Subscribe: https://api.tcmplate.com/subscribe
This Skill is an informational reference tool. It does not provide medical services.