Individual skill
synthetic-clinic-protocol-json
Solve synthetic clinic runtime tasks that require reviewing FHIR-like case data, protocol materials, and answer_template.json to return exact protocol-bound clinical decision-support JSON. Use for respiratory CAP assessment, pediatric head injury triage, potassium repletion, care-management routing, and observation-window protocol gate tasks against the allowed clinic API.
experiments/codex_skill_creator_comparison_gpt5_5_xhigh/reports/skills/task_group_016/fewshot/deepagents/fewshot_attempt_03/SKILL.md
Source commit 5082a777379156a048881e94940d640702e5e09a
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 6, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 121
- Repository last updated
- Oct 29, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent Repository topic
- ai Repository topic
- benchmark Repository topic
- llm Repository topic
- self-evolving Repository topic
- self-learning Repository topic
- skills Repository topic
- data Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 12,648 bytesSKILL.mdcore · 12,648 bytesSKILL.mdcore · 12,648 bytesSKILL.mdcore · 12,648 bytesscripts/collect_context.pyruns · 2,759 bytes
Read excerpt
# Synthetic Clinic Protocol JSON
## Core Workflow
1. Read the user prompt and `input/payloads/answer_template.json` first. Treat the template as the output contract: required keys, enum spellings, nullability, numeric precision, and ordering rules override all heuristics below.
2. Resolve the runtime base URL from the task environment access file or from the prompt placeholder. Do not call external medical references; use only the runtime records, runtime protocols, prompt, and template.
3. Fetch the target case bundle before list endpoints:
```bash
python skill/scripts/collect_context.py --base-url "$TASK_ENV_BASE_URL" --case-id "$CASE_ID"
```
The script returns the `/api/cases/{case_id}` bundle plus the matching protocol for known synthetic case types.
4. If a bundle is incomplete, use the allowed GET endpoints and filter locally by both `case_id` and `patient_id`. Never use non-target cases to fill target fields.