mcpField
J
jinko-task-trial-data-scoping

jinko-task-trial-data-scoping

github.com/novainsilicoProductivity4142 installsUpdated 1w ago
Repository

About jinko-task-trial-data-scoping

jinko-task-trial-data-scoping is a skill for building a prioritized inventory of ClinicalTrials.gov candidates for a defined research question. It separates registry metadata, posted results, and linked publications, and validates the final shortlist rather than treating candidate records as extracted endpoint data.

Key features

  1. 01Frames trial scope and filters
  2. 02Searches multiple query angles
  3. 03Deduplicates and ranks trial records
  4. 04Verifies candidates against the stated purpose
  5. 05Validates a shortlist artifact

Use cases

  1. 01Finding trials for a defined population and intervention
  2. 02Locating control-arm or natural-history evidence
  3. 03Shortlisting trials with posted results
  4. 04Preparing registry candidates for literature follow-up

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/novainsilico/jinko-skills --skill jinko-task-trial-data-scoping

After installing, type/jinko-task-trial-data-scopingin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

agents/
openai.yaml
assets/
shortlist-schema.json
evals/
evals.json
evals/files/
trial-scoping-use-cases.md
scripts/
clinical_trials.py
common.py
compile_trials.py
validate_shortlist.py

Details

From the project README

Clinical Trial Data Scoping

Produce a registry candidate inventory, not extracted endpoint data. A registered outcome is not evidence that numeric results were posted.

Frame

Establish the condition, intervention or mechanism class, population, comparator, and purpose: endpoint availability, control-arm or natural-history evidence, dose/regimen context, safety, or development-landscape intelligence. Confirm any required status, phase, study type, posted-results requirement, and shortlist size. Do not impose a status filter silently.

Reuse the Entity Table from jinko-task-literature-search when available; otherwise build canonical_name, synonyms, mesh_term, related_entities, intent_groups (Data), and exclusions. Confirm consequential aliases and filters before network calls.

Search

  1. Build distinct ClinicalTrials.gov angles from the relevant facets: intervention aliases, condition aliases, mechanism class, comparator or standard of care, and population/outcome. Prefer precise terms over one broad query.
  2. Run scripts/clinical_trials.py once per angle with separate output files. Use --status, --phase, and --require-results only when required by the approved frame. The script owns API filtering, raw-response persistence, and normalized registry fields.
  3. Run scripts/compile_trials.py over the angle outputs. It deduplicates by NCT ID, preserves query provenance, and ranks by angle count, posted-results availability, and record completeness.

This is one search pass. Broader mechanism, sponsor, country, site, or comparator queries are separate user-approved follow-ups.

Shortlist

Inspect each retained record against the stated purpose. Distinguish:

  • registry-only design or recruitment metadata;
  • posted ClinicalTrials.gov results;
  • a publication linked to an NCT identifier.

Set verification_passed only when the record contains purpose-relevant signals, such as a matching population/intervention, specified outcome and timeframe, enrollment and eligibility, appropriate design, or the required results modules. State the observed signals in verification_note; do not infer numeric endpoint availability from hasResults alone.

Complete the fields in assets/shortlist-schema.json and run scripts/validate_shortlist.py before presenting shortlist.json. Trial records use intent_group = Data, an appropriate registry/results evidence_type, and nct_id as their primary identifier.

When associated publications are needed, pass selected NCT IDs to jinko-task-literature-search as <NCT_ID>[si] angles. Use jinko-task-extract-data-table only after a quantitative source has been identified and inspected.

Artifacts

  • frame.json: approved scope, Entity Table, filters, and angle definitions;
  • per-angle normalized JSON, raw API JSON, and table JSON;
  • merged_trials.json: deterministic cross-angle candidate pool;
  • shortlist.json: schema-valid prioritized candidates.

Present a concise Markdown view with NCT link, title, phase/status, results availability, population, interventions, primary outcomes, and priority rationale — cite any linked publication as Author (Year) [PMID], matching jinko-task-literature-search's convention. Clearly separate scoped candidates from analysis-ready data.

Comments

Markdown supported