Skills clawhub
git clone https://github.com/openclaw/skills
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/arunnadarasa/clinicaltempo" ~/.claude/skills/openclaw-skills-clawhub-9beea7 && rm -rf "$T"
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/arunnadarasa/clinicaltempo" ~/.openclaw/skills/openclaw-skills-clawhub-9beea7 && rm -rf "$T"
skills/arunnadarasa/clinicaltempo/SKILL.mdClinical 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 or (running app). |
/ MPP / wallet confusion | + relevant route in . |
| UI works but API 404 / HTML | Backend not running or stale process — restart (). |
| Verify live MPP handler exists | → JSON with . |
| Which screens exist | ; hub . |
| Changed markdown included in bundle | (runs before ). |
| EVVM (deploy, CLI, Tempo testnet) | , ; deep: . |
| MPPScan / OpenAPI | ; · |
| OpenClaw + extra capabilities | Optional plugin: — then restart gateway if needed; see |
| Promotion of a fix for future agents | Short entry under Successes or Failures in (no secrets). |
TIP-20 mint () — issuer role + envelope | Success §10 / Failure §10; code . Mint needs ; use , not (batched tx type 0x76 breaks viem + browser wallets). |
When to activate (triggers)
Use this skill automatically when:
- The user @-mentions
,llm-full.txt
, Clinical Tempo, MPP, dance-extras, or Tempo testnet/mainnet.CLAWHUB - The task touches
,server/index.js
, orserver/payments.js
.src/danceExtras*.ts - Docs are edited that appear in
(bundle sources).scripts/build-llm-full.mjs - The user uploads ClawHub / OpenClaw / Copilot context questions.
Recommended: Cursor / IDE
@
for broad changes;public/llm-full.txt@
when debugging past incidents.CLAWHUB.md- Project rules: repo root
orAGENTS.md
if present — align with.cursor/rules
.README.md
See
for OpenClaw workspace file hints.references/openclaw-clinical-tempo.md
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
(this folder) so the listing includes clawhub/
, SKILL.md
, references/
, assets/
, hooks/
. See scripts/
in this folder for a file manifest.README.md
OpenClaw: optional Anyway plugin
This skill is context-only;
extends the OpenClaw runtime with additional capabilities (separate from Clinical Tempo). Install when you want both:@anyway-sh/anyway-openclaw
openclaw plugins install @anyway-sh/anyway-openclaw # If your setup requires it: openclaw gateway restart
Pair with: this skill (or ClawHub listing) + optional
hook. Details: clinicaltempo-clawhub
.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)
- Prefer
(orpublic/llm-full.txt
from a running build) — includes/llm-full.txt
in the bundle.CLAWHUB.md - Regenerate after doc edits:
.npm run build:llm
Bundle sources
Exact list:
(mirrors assets/LLM-BUNDLE-SOURCES.md
build-llm-full.mjs).
EVVM: llm-full.txt
vs llms-full.txt
llm-full.txtllms-full.txt| Artifact | Role |
|---|---|
(singular) | Clinical Tempo-generated; committed; use first. |
(plural) | Upstream EVVM protocol dump — attach for EVVM-only depth; do not duplicate into unless you intend to maintain a fork. |
Debugging (tribal knowledge)
Read
for:CLAWHUB.md
- What succeeded / failed (purl, AgentMail,
loops, stale Express on 8787, etc.)402 - Repeatable checks (e.g.
)GET /api/dance-extras/live
Deeper:
.references/troubleshooting.md
Key implementation pointers
| Topic | Location |
|---|---|
| Live MPP dance flows | — |
| Hub routes | |
| Browser MPP | , |
| Server | |
Concrete snippets:
.references/examples.md
Copilot Chat integration
GitHub Copilot does not load this folder automatically. Options:
- Commit
(already in Clinical Tempo repo)./.github/copilot-instructions.md - Paste from
into chat or org instructions.references/copilot-and-agents.md
Quick prompts:
- “Use
as context for this PR.”llm-full.txt - “Scan
for 8787 / MPP / purl before changing the server.”CLAWHUB.md - “After this task, suggest one CLAWHUB Success or Failure line (no secrets).”
- “Regenerate
— which files are inputs?” →public/llm-full.txtassets/LLM-BUNDLE-SOURCES.md
Promotion: CLAWHUB vs llm-full
| Content | Where |
|---|---|
| Stable facts (routes, env names, ports) | , , or relevant — then . |
| Incident / debugging narrative | Successes / Failures. |
| EVVM upstream protocol | Link ; keep for Tempo-specific steps. |
Verification script
From repo root (optional):
./.cursor/skills/clawhub/scripts/verify-clinical-tempo-context.sh
Checks that
exists and reminds you of the live MPP public/llm-full.txt
check.GET
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
— metadata + enable/disable.hooks/openclaw/HOOK.md
— CommonJS handler (primary).hooks/openclaw/handler.js
— TypeScript handler for OpenClaw (types fromhooks/openclaw/handler.ts
at runtime).openclaw/hooks
Full notes:
.references/openclaw-clinical-tempo.md
Best practices
- Never paste real
secrets into prompts — use.env
names only..env.example - After editing any file listed in
, runbuild-llm-full.mjs
before claiming “docs are updated in the bundle.”npm run build:llm - Prefer
over guessing whether the server is new.GET /api/dance-extras/live - 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
instead of only README.md
..learnings/
Promotion targets (where tribal knowledge goes)
| Finding | Promote to |
|---|---|
| Incident / workaround / “what broke” | Successes or Failures |
| Stable routes, ports, env names, stack facts | , , or , then |
| IDE default context | |
| OpenClaw workspace behavior | Workspace / (see ) |
Entry templates:
.assets/templates/CLAWHUB-ENTRY.md
Optional: .learnings/
format (LRN / ERR / FEAT)
.learnings/If you maintain a parallel log (e.g. in OpenClaw workspace), use the same ID patterns as self-improving-agent (
, etc.). Starters ship under LRN-YYYYMMDD-XXX
. Authoritative for this repo remains assets/learnings/
.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
, Clinical Tempo, HealthTech, Tempo, MPP,CLAWHUB
, NHS, TIP-20, 8787, ClawHub, or OpenClaw.402 - Editing
,server/index.js
, orscripts/build-llm-full.mjs
.src/hubRoutes.ts - Preparing a zip for clawhub.ai or debugging a published install.
Claude Code / Codex hooks (optional)
| Script | Role |
|---|---|
| Small XML-tagged reminder after each prompt () |
| Optional hint after Bash failures () |
Configure
or .claude/settings.json
— full paths in .codex/settings.json
.references/hooks-setup.md
Multi-agent matrix
| Agent | How this skill applies |
|---|---|
| Cursor | + ; rules in if present |
| GitHub Copilot | + |
| OpenClaw | Copy skill + optional ; see |
| Claude Code | Optional 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
using .cursor/skills/my-org-skill/
.assets/SKILL-TEMPLATE.md
Files in this package
| Path | Purpose |
|---|---|
| This file — primary skill entry |
| Package manifest + upload notes for ClawHub |
| Rename to after ClawHub assigns IDs (optional) |
| Paste blocks for Copilot / chat |
| OpenClaw workspace + Anyway plugin |
| Full OpenClaw + ClawHub install guide |
| Claude Code / Codex hook paths for |
| Concrete @-mentions, curls, patterns |
| Common failures & fixes |
| What feeds |
| Templates for new skills / forks |
| Success / Failure append shapes |
| Optional LRN-style stubs (repo uses ) |
| Quick repo checks |
| Optional UserPromptSubmit reminder |
| Optional PostToolUse (Bash) hint |
| Scaffold |
| OpenClaw hook manifest |
| Bootstrap injector (CommonJS) |
| Bootstrap injector (TypeScript) |
| 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,
patterns).learnings - Clinical Tempo repo:
,README.mdCLAWHUB.md