7 September 2026 · Agent Skills × Clinical Programming

Should CDISC knowledge live in prompts, tools, or reusable agent skills?

A 30-minute pack on procedural knowledge, progressive disclosure, context budgets, ClinAgent's “Thin MCP, Thick Skills” design, deterministic rules, and the standards-driven agent architecture emerging around clinical programming.

DifficultyC1
Time30 minutes
Skill library163 / 16 areas
OutputDesign one skill

Why this reading

Working code is not the same as professional procedure.

A scientific coding agent can generate executable analysis code while still applying the wrong conventions, assumptions, or review logic.

The new Scientific Agent Skills paper treats recurring expert procedure as a versioned artifact that can be loaded selectively instead of rediscovered from model memory for every task.

Reading order

Your 30-minute plan.

0-3 minPreview

Explain why code can run and still be scientifically wrong.

3-14 minMain article

Read skill structure, progressive disclosure, context measurements and limitations.

14-20 minClinAgent

Compare “Thin MCP, Thick Skills,” deterministic rules and LLM-dependent specification work.

20-25 minCDISC TechniCon

Connect reusable skills to structured standards, traceability and protocol-to-CSR pipelines.

25-30 minOutput

Design one reusable SP skill with scope, rules, tools and escalation.

Open-access sources

Fresh agent architecture plus clinical-programming and CDISC context.

Brief background

Put reusable procedure in a reviewable layer.

Scientific Agent Skills packages procedural knowledge into versioned skill directories built around human-readable instruction files, with optional references, scripts and assets.

Its 163 short resident descriptions require 14,246 tokens - about 7.1% of a 200,000-token reference context window - while the full instruction and reference corpus is far larger.

Progressive disclosure keeps 83.7% of the documentation unread unless an activated skill points to it. The median documented workflow uses 23.9% of the reference context, while 29 of 46 workflows would overflow if every reference file were loaded.

The paper also states its limitations clearly: it does not provide task-level evaluation of the whole library, and a selected skill can still be wrong or misapplied.

ClinAgent provides the clinical-programming analogue: stateless data tools stay thin, while prompts, CDISC/SAS rules, decision logic and deterministic validators live in skills.

Key vocabulary

Fifteen terms for reusable agent expertise.

Term中文Meaning / use
procedural knowledge程序性知识 / 流程知识Knowledge about how to perform a task correctly, including accepted methods, conventions, checks, and caveats.
agent skill智能体技能A versioned instruction package that gives an agent task-specific procedures, references, scripts, and constraints.
progressive disclosure渐进式披露Keeping only short skill descriptions in context and loading detailed instructions or references only when needed.
resident context常驻上下文Information that remains continuously available to the model rather than being loaded on demand.
instruction file指令文件A human-readable file that records the procedure, constraints, and usage guidance for a skill.
domain logic领域逻辑Rules and decisions specific to a professional domain, such as CDISC standards or SAS review conventions.
stateless tool无状态工具A tool that performs a narrow input-output operation without carrying domain-specific workflow reasoning.
rule engine规匙引擎Executable logic that applies explicit rules consistently, often used for validation or classification.
skill routing技能路由Selecting which skill or procedural module should be loaded for the current task.
context budget上下文预算The limited amount of model context available for instructions, evidence, references, and working information.
lexical separability词汇可区分性How distinct skill descriptions are in wording, which affects the risk of confusing similar skills.
scope boundary适用范围边界A clear statement of what a skill covers and what it intentionally does not cover.
versioned capability版本化能力A controlled capability whose instructions, rules, and dependencies are tied to an identifiable version.
portable architecture可移植架构A design that can work across different agent hosts or models rather than depending on one vendor.
scientifically defensible科学上可辩护的 / 可论证的Supported by appropriate procedures, assumptions, standards, evidence, and limitations - not merely executable code.

Useful phrases

Language for agent architecture and SP automation.

  1. working code is not the same as a defensible analysis - Working code is not the same as a defensible analysis.
  2. encode recurring expert judgment once - A skill can encode recurring expert judgment once instead of rediscovering it for every task.
  3. load detailed guidance only when the task calls for it - The agent should load detailed guidance only when the task calls for it.
  4. keep data access thin and domain logic thick - ClinAgent keeps data access thin and domain logic thick.
  5. make deterministic rules executable - High-confidence compliance and validation rules should be made executable.
  6. separate procedural knowledge from the underlying model - The architecture separates procedural knowledge from the underlying model.
  7. version the instructions together with the rules - Teams should version the instructions together with the rules.
  8. declare what the skill does not cover - A trustworthy skill should declare what it does not cover.
  9. route the task to the narrowest relevant skill - The system should route the task to the narrowest relevant skill.
  10. treat standards metadata as an authoritative source - CDISC standards metadata should be treated as an authoritative source rather than improvised from model memory.

Comprehension

Five questions.

  1. Why does the paper distinguish executable code from a defensible analysis?
  2. How does progressive disclosure reduce context burden?
  3. Why is a reusable skill different from a stateless tool?
  4. What does ClinAgent's 72.1% overall derivation accuracy imply?
  5. Why should standards, deterministic validation, study context and human review remain separate layers?

Retelling

Say it three times.

  • 30 seconds · Define an agent skill and progressive disclosure.
  • 45 seconds · Description → routing → skill → references/scripts → tool → result.
  • 60 seconds · Divide responsibility among the LLM, skill, deterministic validator, CDISC metadata and human reviewer.

5-minute output task

Design one reusable SP agent skill.

  1. Minute 1: Choose ADAE, ADLB, log QC, TFL denominators, PK windows or SDTM terminology.
  2. Minutes 2-3: Define description, scope, declines, authoritative references, procedure, rules and tools.
  3. Minute 4: Add version, CDISC applicability, study configuration, regression tests and edge cases.
  4. Minute 5: Explain why this knowledge should be a reusable skill instead of one giant prompt.

One sentence to keep

A strong SP agent should not be expected to rediscover professional procedure from model memory on every task; recurring expertise should be versioned, reviewable, selectively loaded, and paired with deterministic checks where correctness must be exact.