← 返回 Skills 市场
arunnadarasa

Clinical Tempo

作者 Arun Nadarasa · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
128
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install clinicaltempo
功能描述
Clinical Tempo / HealthTech Protocol — full repo context via public/llm-full.txt (or /llm-full.txt), tribal debugging via CLAWHUB.md, Tempo + MPP/x402 patter...
使用说明 (SKILL.md)

Clinical Tempo · ClawHub context skill

Clinical Tempo is the reference HealthTech Protocol superapp: React hub + dedicated routes, Node/Express API, Tempo settlement, MPP / x402 machine payments. This skill tells agents where context lives and how to avoid known traps (see CLAWHUB.md).


Quick reference

Situation Action
Need one file with README + use cases + protocol + ClawHub Load public/llm-full.txt or /llm-full.txt (running app).
402 / MPP / wallet confusion CLAWHUB.md + relevant route in server/index.js.
UI works but API 404 / HTML Backend not running or stale process — restart npm run server (8787).
Verify live MPP handler exists GET http://localhost:8787/api/dance-extras/live → JSON with flowKeys.
Which screens exist src/hubRoutes.ts; hub /.
Changed markdown included in bundle npm run build:llm (runs before npm run build).
EVVM (deploy, CLI, Tempo testnet) docs/EVVM_TEMPO.md, /evvm; deep: https://www.evvm.info/llms-full.txt.
MPPScan / OpenAPI GET /openapi.json; npm run discovery · docs/MPPSCAN_DISCOVERY.md
OpenClaw + extra capabilities Optional plugin: openclaw plugins install @anyway-sh/anyway-openclaw — then restart gateway if needed; see references/openclaw-clinical-tempo.md
Promotion of a fix for future agents Short entry under Successes or Failures in CLAWHUB.md (no secrets).
TIP-20 mint (/nhs/tip20) — issuer role + envelope 0x76 CLAWHUB.md Success §10 / Failure §10; code src/tempoTip20Launch.ts. Mint needs ISSUER_ROLE; use writeContractSync(grantRole), not grantRolesSync (batched tx type 0x76 breaks viem + browser wallets).

When to activate (triggers)

Use this skill automatically when:

  1. The user @-mentions llm-full.txt, CLAWHUB, Clinical Tempo, MPP, dance-extras, or Tempo testnet/mainnet.
  2. The task touches server/index.js, server/payments.js, or src/danceExtras*.ts.
  3. Docs are edited that appear in scripts/build-llm-full.mjs (bundle sources).
  4. The user uploads ClawHub / OpenClaw / Copilot context questions.

Recommended: Cursor / IDE

  1. @ public/llm-full.txt for broad changes; @ CLAWHUB.md when debugging past incidents.
  2. Project rules: repo root AGENTS.md or .cursor/rules if present — align with README.md.

See references/openclaw-clinical-tempo.md for OpenClaw workspace file hints.


Installation

From this repository (authoritative):

# Skill lives at:
.cursor/skills/clawhub/

Manual copy to OpenClaw skills dir (optional):

cp -r .cursor/skills/clawhub ~/.openclaw/skills/clinicaltempo-clawhub

ClawHub (publish): Zip clawhub/ (this folder) so the listing includes SKILL.md, references/, assets/, hooks/, scripts/. See README.md in this folder for a file manifest.

OpenClaw: optional Anyway plugin

This skill is context-only; @anyway-sh/anyway-openclaw extends the OpenClaw runtime with additional capabilities (separate from Clinical Tempo). Install when you want both:

openclaw plugins install @anyway-sh/anyway-openclaw
# If your setup requires it:
openclaw gateway restart

Pair with: this skill (or ClawHub listing) + optional clinicaltempo-clawhub hook. Details: references/openclaw-clinical-tempo.md.


Repository map (where to look)

clinicaltempo/
├── public/llm-full.txt          # Generated — do not hand-edit; run npm run build:llm
├── CLAWHUB.md                   # Tribal knowledge: successes, failures, checklists
├── README.md                    # Routes, stack, quick start
├── HEALTHTECH_USE_CASES.md       # Flow-by-flow API contract
├── server/index.js              # Express routes, integrations, MPP proxies
├── server/openapi.mjs           # OpenAPI 3.1 for GET /openapi.json (MPPScan)
├── server/payments.js           # Chain IDs, charge helpers
├── src/hubRoutes.ts             # Hub directory of all /routes
├── src/danceExtrasLiveMpp.ts    # Browser MPP helpers (live flows)
├── src/danceExtrasJudgeWire.ts  # Judge-score wire snippets
├── .github/copilot-instructions.md
└── scripts/build-llm-full.mjs   # Source list for llm-full.txt

First load (full orientation)

  1. Prefer public/llm-full.txt (or /llm-full.txt from a running build) — includes CLAWHUB.md in the bundle.
  2. Regenerate after doc edits: npm run build:llm.

Bundle sources

Exact list: assets/LLM-BUNDLE-SOURCES.md (mirrors build-llm-full.mjs).

EVVM: llm-full.txt vs llms-full.txt

Artifact Role
public/llm-full.txt (singular) Clinical Tempo-generated; committed; use first.
https://www.evvm.info/llms-full.txt (plural) Upstream EVVM protocol dump — attach for EVVM-only depth; do not duplicate into public/ unless you intend to maintain a fork.

Debugging (tribal knowledge)

Read CLAWHUB.md for:

  • What succeeded / failed (purl, AgentMail, 402 loops, stale Express on 8787, etc.)
  • Repeatable checks (e.g. GET /api/dance-extras/live)

Deeper: references/troubleshooting.md.


Key implementation pointers

Topic Location
Live MPP dance flows POST /api/dance-extras/live/:flowKey/:networkGET /api/dance-extras/live
Hub routes src/hubRoutes.ts
Browser MPP src/danceExtrasLiveMpp.ts, src/danceExtrasJudgeWire.ts
Server server/index.js

Concrete snippets: references/examples.md.


Copilot Chat integration

GitHub Copilot does not load this folder automatically. Options:

  1. Commit /.github/copilot-instructions.md (already in Clinical Tempo repo).
  2. Paste from references/copilot-and-agents.md into chat or org instructions.

Quick prompts:

  • “Use llm-full.txt as context for this PR.”
  • “Scan CLAWHUB.md for 8787 / MPP / purl before changing the server.”
  • “After this task, suggest one CLAWHUB Success or Failure line (no secrets).”
  • “Regenerate public/llm-full.txt — which files are inputs?” → assets/LLM-BUNDLE-SOURCES.md

Promotion: CLAWHUB vs llm-full

Content Where
Stable facts (routes, env names, ports) README.md, HEALTHTECH_USE_CASES.md, or relevant docs/*.md — then npm run build:llm.
Incident / debugging narrative CLAWHUB.md Successes / Failures.
EVVM upstream protocol Link https://www.evvm.info/llms-full.txt; keep docs/EVVM_TEMPO.md for Tempo-specific steps.

Verification script

From repo root (optional):

./.cursor/skills/clawhub/scripts/verify-clinical-tempo-context.sh

Checks that public/llm-full.txt exists and reminds you of the live MPP GET check.


OpenClaw hook (optional)

Parity with self-improving-agent: injects a virtual CLINICAL_TEMPO_CONTEXT_REMINDER.md on agent:bootstrap (skips sub-agents). No network I/O.

# From this skill folder (or repo: .cursor/skills/clawhub/)
cp -r hooks/openclaw ~/.openclaw/hooks/clinicaltempo-clawhub

openclaw hooks enable clinicaltempo-clawhub
  • hooks/openclaw/HOOK.md — metadata + enable/disable.
  • hooks/openclaw/handler.js — CommonJS handler (primary).
  • hooks/openclaw/handler.ts — TypeScript handler for OpenClaw (types from openclaw/hooks at runtime).

Full notes: references/openclaw-clinical-tempo.md.


Best practices

  1. Never paste real .env secrets into prompts — use .env.example names only.
  2. After editing any file listed in build-llm-full.mjs, run npm run build:llm before claiming “docs are updated in the bundle.”
  3. Prefer GET /api/dance-extras/live over guessing whether the server is new.
  4. For EVVM, answer no to optional Sepolia registry registration until policy allows (see docs/EVVM_TEMPO.md).

Operations manual (same rigor as self-improving-agent)

This skill mirrors that package’s shape: quick reference, OpenClaw integration, optional hooks/scripts, templates, and promotion — but maps “project memory” to CLAWHUB.md + README.md instead of only .learnings/.

Promotion targets (where tribal knowledge goes)

Finding Promote to
Incident / workaround / “what broke” CLAWHUB.md Successes or Failures
Stable routes, ports, env names, stack facts README.md, HEALTHTECH_USE_CASES.md, or docs/*.md, then npm run build:llm
IDE default context .github/copilot-instructions.md
OpenClaw workspace behavior Workspace AGENTS.md / TOOLS.md (see references/openclaw-integration.md)

Entry templates: assets/templates/CLAWHUB-ENTRY.md.

Optional: .learnings/ format (LRN / ERR / FEAT)

If you maintain a parallel log (e.g. in OpenClaw workspace), use the same ID patterns as self-improving-agent (LRN-YYYYMMDD-XXX, etc.). Starters ship under assets/learnings/. Authoritative for this repo remains CLAWHUB.md.

Periodic review (before a large change)

# Grep CLAWHUB for an area
rg -n "MPP|402|8787|TIP-20|purl" CLAWHUB.md

# Confirm bundle is fresh after doc edits
npm run build:llm

# Smoke API (server must run on 8787)
curl -sS http://127.0.0.1:8787/api/dance-extras/live | head -c 400

Detection triggers (load this skill when)

  • User mentions llm-full.txt, CLAWHUB, Clinical Tempo, HealthTech, Tempo, MPP, 402, NHS, TIP-20, 8787, ClawHub, or OpenClaw.
  • Editing server/index.js, scripts/build-llm-full.mjs, or src/hubRoutes.ts.
  • Preparing a zip for clawhub.ai or debugging a published install.

Claude Code / Codex hooks (optional)

Script Role
scripts/activator.sh Small XML-tagged reminder after each prompt (UserPromptSubmit)
scripts/error-detector.sh Optional hint after Bash failures (PostToolUse)

Configure .claude/settings.json or .codex/settings.json — full paths in references/hooks-setup.md.

Multi-agent matrix

Agent How this skill applies
Cursor @ public/llm-full.txt + CLAWHUB.md; rules in .cursor/rules if present
GitHub Copilot .github/copilot-instructions.md + references/copilot-and-agents.md
OpenClaw Copy skill + optional hooks/openclaw; see references/openclaw-integration.md
Claude Code Optional activator.sh hook

Skill extraction (new package from a fix)

When a CLAWHUB entry is reusable across repos, consider a standalone skill:

./.cursor/skills/clawhub/scripts/extract-skill.sh my-org-skill --dry-run
./.cursor/skills/clawhub/scripts/extract-skill.sh my-org-skill

Then replace the scaffold under .cursor/skills/my-org-skill/ using assets/SKILL-TEMPLATE.md.


Files in this package

Path Purpose
SKILL.md This file — primary skill entry
README.md Package manifest + upload notes for ClawHub
_meta.sample.json Rename to _meta.json after ClawHub assigns IDs (optional)
references/copilot-and-agents.md Paste blocks for Copilot / chat
references/openclaw-clinical-tempo.md OpenClaw workspace + Anyway plugin
references/openclaw-integration.md Full OpenClaw + ClawHub install guide
references/hooks-setup.md Claude Code / Codex hook paths for activator.sh
references/examples.md Concrete @-mentions, curls, patterns
references/troubleshooting.md Common failures & fixes
assets/LLM-BUNDLE-SOURCES.md What feeds llm-full.txt
assets/SKILL-TEMPLATE.md Templates for new skills / forks
assets/templates/CLAWHUB-ENTRY.md Success / Failure append shapes
assets/learnings/*.md Optional LRN-style stubs (repo uses CLAWHUB.md)
scripts/verify-clinical-tempo-context.sh Quick repo checks
scripts/activator.sh Optional UserPromptSubmit reminder
scripts/error-detector.sh Optional PostToolUse (Bash) hint
scripts/extract-skill.sh Scaffold .cursor/skills/\x3Cslug>/
hooks/openclaw/HOOK.md OpenClaw hook manifest
hooks/openclaw/handler.js Bootstrap injector (CommonJS)
hooks/openclaw/handler.ts Bootstrap injector (TypeScript)
hooks/README.md Hook folder index

See also

  • Published skill: clawhub.ai/arunnadarasa/clinicaltempo — browse ClawHub for versioned skills
  • Ecosystem synergy (mpp-nanogpt-modal, nanochat, OpenClaw): docs/ECOSYSTEM_SYNERGY.md
  • Structural inspiration: self-improving-agent (references, assets, scripts, hooks, .learnings patterns)
  • Clinical Tempo repo: README.md, CLAWHUB.md
安全使用建议
This is a repository-orientation skill: it points agents at the repo bundle (public/llm-full.txt), a tribal debugging file (CLAWHUB.md), and local smoke tests on localhost:8787. The package does not ask for secrets or install remote code. Before installing or enabling the OpenClaw hook: (1) inspect the hook handler (hooks/openclaw/handler.{js,ts}) and the scripts (activator.sh, error-detector.sh) to confirm you accept their behavior; (2) do not paste real .env secrets into agent prompts—the skill explicitly warns against it; (3) if you don't want persistent bootstrap reminders, do not copy/enable the hook in ~/.openclaw/hooks; (4) when asked to install the optional @anyway-sh/anyway-openclaw plugin, verify that third-party plugin independently. If you want extra assurance, test the skill in an isolated workspace before adding hooks to your main environment.
功能分析
Type: OpenClaw Skill Name: clinicaltempo Version: 1.0.0 The skill bundle provides context and tribal knowledge for the 'Clinical Tempo' HealthTech project. It contains documentation, scaffolding scripts (extract-skill.sh), and OpenClaw bootstrap hooks (handler.js) designed to inject informational reminders into an AI agent's session. The instructions focus on project onboarding, debugging API issues on port 8787, and maintaining a documentation bundle (llm-full.txt). No evidence of malicious intent, data exfiltration, or unauthorized execution was found; the suggested plugin installation (@anyway-sh/anyway-openclaw) appears to be a legitimate ecosystem integration.
能力评估
Purpose & Capability
Name/description (Clinical Tempo / ClawHub) match the bundled files and runtime instructions: SKILL.md, references, scripts, and optional OpenClaw hook all exist to provide repo context, boot reminders, and troubleshooting guidance. Nothing in the package asks for unrelated cloud credentials or capabilities that don't belong to a repo-context helper.
Instruction Scope
Runtime instructions and scripts focus on locating/regenerating the repo LLM bundle, running local smoke tests (GET http://localhost:8787/…), adding short reminders to CLAWHUB.md, and optionally installing a bootstrap hook. They do not instruct the agent to read secrets or exfiltrate data. The activator and error-detector scripts rely on local CLI output (and an optional CLAUDE_TOOL_OUTPUT env var) which is appropriate for their stated purpose.
Install Mechanism
There is no install spec; this is effectively an instruction-only skill with optional helper scripts and hook handlers. The included hook code and shell scripts are plain and reference local operations only; no remote download/install URLs or archive extraction are present.
Credentials
The skill declares no required env vars or credentials. Scripts reference non-secret env names from .env.example and the error-detector reads CLAUDE_TOOL_OUTPUT when present (a hook-provided variable). These are proportional to local debugging hooks, but you should be aware that the hook runtime may expose tool output to the scripts—no secrets are requested by the package itself.
Persistence & Privilege
always:false and user-invocable:true. The only persistent behavior comes from optional OpenClaw hooks (copying hooks/openclaw into ~/.openclaw/hooks and enabling them) which, if enabled, will inject a virtual reminder file at agent bootstrap. That is expected for a context-reminder skill, but enabling hooks grants the package a persistent presence in your OpenClaw workspace, so install consciously.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install clinicaltempo
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /clinicaltempo 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the clinicaltempo skill (ClawHub context for Clinical Tempo/HealthTech Protocol): - Provides a comprehensive context and troubleshooting guide for Clinical Tempo, including MPP, x402, Tempo, and EVVM integration. - Documents locations for all major context files (llm-full.txt, CLAWHUB.md, API routes, use cases, OpenAPI, EVVM, and more). - Defines clear triggers for when to activate the skill (file mentions, routes, doc edits, ClawHub/OpenClaw/Copilot context). - Describes installation, integration, and promotion steps for both Clinical Tempo and OpenClaw + Anyway plugin users. - Offers concise quick-reference tables for frequent debugging, onboarding, and file navigation scenarios.
元数据
Slug clinicaltempo
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Clinical Tempo 是什么?

Clinical Tempo / HealthTech Protocol — full repo context via public/llm-full.txt (or /llm-full.txt), tribal debugging via CLAWHUB.md, Tempo + MPP/x402 patter... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 128 次。

如何安装 Clinical Tempo?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install clinicaltempo」即可一键安装,无需额外配置。

Clinical Tempo 是免费的吗?

是的,Clinical Tempo 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Clinical Tempo 支持哪些平台?

Clinical Tempo 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Clinical Tempo?

由 Arun Nadarasa(@arunnadarasa)开发并维护,当前版本 v1.0.0。

💬 留言讨论