Skill instructions
analyze-trial-evidence2.86 KB
View saved version →
---
name: analyze-trial-evidence
description: "Answer questions about an existing TrialAgents selection, including complete profiles, protocol text, eligibility, endpoints, timelines, sponsor co-occurrence, country coverage and recorded operational findings. Use for evidence questions and deeper follow-ups; route visual analyses and reusable structured outputs to the Custom tab."
---
# Analyze trial evidence
Read [answer standard](../../references/presentation-standard.md) and [access rules](../../references/access-and-evidence.md).
1. Resolve the current preview or owned project. Use read_project with kind/controls omitted for the latest saved view, or read_project_preview for a cached preview. Read data through these MCP tools, not by navigating workspace tables. Keep the current workspace visible while gathering evidence. Paid reads accept limit 1–100; prefer 100 for broad counts/comparisons and choose smaller pages for detailed records. Follow next_offset as needed; free access remains the authorized first ten. Inspect matching counts and scope, not just the first page.
2. When trial profiles or documents are needed, call prepare_project_custom_view to get the authorized trial scope and eligible IDs; table-only questions can use the analytical reads directly. Use only eligible IDs from this current context, carrying its matching project or preview reference. On TRIAL_NOT_IN_PREVIEW, refresh that context and choose eligible IDs before retrying. Keep the free fixed-ten boundary. For full-cohort claims, read all relevant authorized pages of the entity being counted. A site-country count needs Sites pages, not unrelated Trials pages. When coverage is partial, give useful findings with the analyzed scope instead of withholding the answer.
3. Call describe_trial_profile_schema before interpreting unfamiliar fields. Use read_trial_profiles for complete profiles (omit sections or use []) or exact one/multiple sections. Available sections: overview, population, trial_design, interventions, eligibility, objectives, endpoints, sponsor_and_organizations, contacts, countries, sites, documents, lifecycle, results. Preserve returned nesting and follow next_part for large profiles.
4. Use list_trial_documents for exact available filenames and read_trial_document for extracted text; follow next_part until null. Do not promise unavailable files. Retrieval dates can differ from frozen profile dates; mention this if material.
5. Calculate only from records actually read; show denominators/unknowns and separate overlapping groups. Trial-level operational findings may describe recorded delays or outcomes but do not prove responsibility or entity performance. Use the shared workspace for lists, and [create-custom-view](../create-custom-view/SKILL.md) for multi-part comparisons or visual analyses beyond it.
6. Present the answer using [the main routing skill](../answer-in-trialagents/SKILL.md).
Referenced files: 1 — file references are metadata, not package contents.
answer-in-trialagents4.3 KB
View saved version →
---
name: answer-in-trialagents
description: "Start here for TrialAgents questions. Route discovery, table operations, requested or alternative visualizations, reusable forms and trackers, revisions, and account actions to the appropriate specialist and workspace destination."
---
# Answer in TrialAgents
Present new searches, query revisions and requested ranking, sorting, filtering, paging or record details in the standard Sites, PIs, CROs, and Trials tables. During analysis, collect data with non-displaying read_project/read_project_preview MCP calls; do not navigate visible table pages or reopen the workspace to read data. Keep the existing view while thinking and present the requested result when ready. Visual analyses, alternative presentations, and reusable coded outputs—including comparisons, charts, forms, and trackers—must be saved and opened in Custom views. Visual analyses must include the actual visualizations in the saved Custom view; chat provides a concise summary. Choose a format suited to the question and data. Ordinary explanations use concise chat. Explicit user format preferences take precedence.
Start new research with public search. Publish final research through publish_research_workspace: the server stores a guest preview or saves to the authenticated account automatically. Temporary preview and Custom view storage need no connection. Offer account connection through the extension after results; invoke account-only tools when the user explicitly chooses connection or private account access, including a manual retry of their already-authorized connected save. For a supported database search, invoke search_research_trials once the criteria are clear. Gather evidence without intermediate workspace opens, then publish the final result. Keep unsupported questions and clarification in chat. Distinguish an empty search from unavailable data or a failed operation. Explain failed or stopped operations briefly in chat, with the appropriate next step; retained tables remain the last successful results. Continue the existing research and final-workspace publication procedure.
## Pending approval
While an operation is actually awaiting user approval in ChatGPT, keep the response focused on that approval. Do not add navigation links, unrelated action buttons, or alternative calls to action until the user approves, declines, or cancels. Explain the pending operation briefly if clarification is needed. Authentication or account-connection actions required to proceed remain available. Apply this rule to an existing approval request; it does not introduce an additional confirmation step.
Use this routing table for the current request and project state. Load the relevant specialist.
| Request | Destination and skill |
| --- | --- |
| Initial discovery or a new selection | Standard tables → [find clinical partners](../find-clinical-partners/SKILL.md) |
| Filter, sort, page, inspect or reopen results | Existing tables → [manage projects](../manage-research-projects/SKILL.md) |
| Evidence question needing profiles or documents | [Analyze evidence](../analyze-trial-evidence/SKILL.md); present according to the requested format |
| Chart, distribution, comparison cards, custom table, dashboard, or “show this differently” | Custom views → [create a custom view](../create-custom-view/SKILL.md) |
| Reusable coded output, form, tracker, checklist, calculator, or editable content | Custom views → [create a custom view](../create-custom-view/SKILL.md) |
| Revise an existing custom view | Update that view → [create a custom view](../create-custom-view/SKILL.md) |
| Account or project management | [Manage projects](../manage-research-projects/SKILL.md) |
| Ordinary explanation or simple text/list answer | Concise chat |
For an explicit request to create or revise a Custom view, do not ask an additional conversational confirmation; respect actual host approvals. Creating a custom view includes saving it with save_project_custom_
Preview of the first 4,000 characters. Read full instructions →
Referenced files: 1 — file references are metadata, not package contents.
create-custom-view3.62 KB
View saved version →
---
name: create-custom-view
description: "Create, save, open or revise Custom views in TrialAgents, including reports, charts, dashboards, comparisons, visualizations, tables, reusable forms, trackers, checklists and calculators. Use for requests to show research differently or save a visualization. These terms all route to Custom views."
---
# Create a custom view
Follow [the save procedure and renderer contract](references/custom-view-guidance.md). For generation, load [rendering defaults](../../references/custom-style.md) and reuse the relevant sections of [the HTML shell](assets/custom-view-shell.html). For other formats, reuse the relevant [SVG examples](assets/visual-examples.html). The templates illustrate layout; populate them from the requested data. Read [access rules](../../references/access-and-evidence.md) when gathering evidence.
For polished charts, dashboards, journeys and trackers, read [design patterns and checks](references/design-patterns.md) and adapt the relevant sections of [the branded interactive gallery](assets/custom-view-examples.html). Start with the user's title; choose only sections that answer the request. Use the gallery's inline CSS with renderer=interactive. Treat all example content as synthetic; replace it with authorized data or explicit user inputs. Keep the existing save and recovery procedure below unchanged.
Default to light backgrounds and explicitly contrasting text for headings, metrics, chart labels, tables and controls. Avoid dark surfaces unless requested. Follow the [contrast rules](../../references/custom-style.md#text-and-background-contrast) before the first save; colors remain flexible.
For an explicit request to create or revise a Custom view, proceed through preparation and saving without asking for an additional conversational confirmation. Respect actual host approvals and explicit chat-only requests.
Apply the [main answering skill’s pending-approval rule](../answer-in-trialagents/SKILL.md#pending-approval) when a host approval is pending.
1. Prepare the current project/preview context. Retrieve additional evidence only where needed for the request.
2. Create the requested view, or revise the existing view using its ID and version. Select renderer=interactive for any custom CSS, including styled cards and CSS-based charts without controls or JavaScript. Use renderer=static only with the supported semantic HTML/SVG shell.
3. Save with save_project_custom_view when the view is ready; its completed result opens Custom views. Do not add a redundant open call. If custom_view_saved=true but presentation_status=unavailable, use the returned presentation_recovery to open the saved view without saving again. Use custom_view_saved to distinguish verified storage from a retained draft.
4. Saves retry transient storage failures up to twice inside the original call. After automatic_retry_complete=true, leave the single manual save control beside the unchanged workspace; do not start another automatic retry loop. For a user-requested retry, use retry_project_custom_view with the returned retry_id. Reconcile changed context or Custom view versions before a corrected save.
When offering a website link, copy the returned custom_url (also url) exactly, including /custom. Never construct or shorten a link from a project ID. If no URL is returned, use the embedded workspace; temporary preview IDs are not account-project links.
The HTML and generated content are stored. Existing interactive views may use the documented deliberate Save changes bridge; automatic input persistence is outside this workflow. ChatGPT can revise and save tracker content through the normal versioned save operation.
Referenced files: 6 — file references are metadata, not package contents.
find-clinical-partners2.44 KB
View saved version →
---
name: find-clinical-partners
description: "Discover and shortlist CROs, sites, principal investigators or trials for a clinical study, and refine the research cohort. Use for new partner searches and clinically justified changes to selection criteria, not for reading an already selected protocol or saving a report."
---
# Find clinical partners
Read [answer standard](../../references/presentation-standard.md) and [access rules](../../references/access-and-evidence.md). Read [tool contract](references/tool-contract.md) before constructing criteria; use [the prostate example](references/prostate-landscape.json) only when helpful, adapting its date and criteria.
1. Extract disease, population, phase, modality, geography, requested entity types and CRO function. Ask only when missing information prevents useful research. Distinguish trial countries from entity affiliation countries. Run category searches sequentially.
2. Preserve explicit must/only constraints. For exploratory searches target 30–1000 relevant disease-family trials, placing preferences in named subgroups. Below 30, broaden only when clinically defensible and disclosed; otherwise report the honest shortfall. Over 1000 requires explicit narrowing, never silent sampling or padding.
3. Inspect candidate metadata and page before claiming complete review. Lexical matches, exclusion mentions and broad hormone-sensitive terminology do not prove clinical eligibility. Primary subgroups use first-match precedence; overlaps cannot be added. Phase-title fallback cannot override conflicting structured phase.
4. Finish discovery/broadening before showing results. Use one final broadest relevant cohort preserving hard constraints; never concatenate subgroup top-ten lists. Refine only for user-requested narrowing or mandatory exclusions, with rationale. Use the same criteria/date across requested categories without adding duplicate cohort counts.
5. Call publish_research_workspace to present the final results and save the connected account project, respecting host write approval. Guests receive a cached preview. Rank by distinct trials across the final cohort; distinguish model recommendations from deterministic counts. Let the workspace present Sites, PIs, CROs and Trials. Keep chat to a concise summary and useful interpretation.
6. Follow the shared [answer standard](../../references/presentation-standard.md).
Use [the main answering skill](../answer-in-trialagents/SKILL.md) for subsequent requests.
Referenced files: 3 — file references are metadata, not package contents.
manage-research-projects3.51 KB
View saved version →
---
name: manage-research-projects
description: "Open, page, filter, save or revise TrialAgents research projects, or connect an account to an existing preview. Use for project persistence and current-view actions, not new clinical cohort discovery or report content analysis."
---
# Manage research projects
Read [answer standard](../../references/presentation-standard.md) and [access rules](../../references/access-and-evidence.md).
- Use list_projects to locate canonical projects and read_project for analytical reads. Omit kind/controls to read the latest saved view. Explicit controls are read-only overrides; {} means unfiltered. Honor ownership. Use open_project only to present a requested table, page or record view, once ready; do not open it to collect data for analysis.
- Read cached previews with read_project_preview, never re-search or recompute on tab changes. For analytical reads choose limit 1–100 on paid access (prefer 100 for broad counting), follow next_offset, and keep the free first-ten boundary. Workspace display pagination is separate from analytical read size. Read through MCP rather than navigating visible table pages. Use publish_research_workspace for final new results and save_project with expected_revision for project revisions. Use prepare_research_workspace for exploration that is not saved to an account project. Storage calls already retry transient failures up to twice; after automatic_retry_complete=true, leave manual recovery available instead of starting another automatic retry loop. On a user-requested retry, use the returned recovery arguments: save_project for connected publication or project revisions (retain project_id/expected_revision), recover_research_preview for temporary-only storage. Do not blindly repeat guest publication: it creates a separate private preview.
- The extension Connect action requests OAuth and saves the exact retained preview with save_project; its server attaches existing Custom views. If the user chooses “Continue connection in ChatGPT”, use that preview's retained draft with save_project and present the returned workspace. Honor host consent; cancellation leaves the preview available. Website-only import remains a fallback and does not establish MCP OAuth. Preview IDs identify context; cache tokens remain tool arguments, never chat text.
- Successful publish_research_workspace already saves the connected account project. Use save_project for user-requested failed-save recovery with the retained draft, or for an authorized cohort revision with project_id and expected_revision. On REVISION_CONFLICT, read the latest project with read_project and reconcile before revising; retrying unchanged stale arguments cannot resolve it. Save presentation changes with save_project_view using the returned view.version and revision; this does not change cohort membership.
- Preserve the previous ready dataset while a revision prepares. Successful publish_research_workspace and save_project_custom_view already present their results; do not follow either with a redundant open call. Do not claim saved before success. Let the extension show its single-sentence manual-save notice after failed automatic recovery; quote seven-day availability only for confirmed temporary storage, never for a failed cache write or an unsaved Custom view. Do not add duplicate routine expiry footnotes in chat; a connected free account may save without buying access.
Use [the main answering skill](../answer-in-trialagents/SKILL.md) for the next request and the shared answer standard for presentation.
Referenced files: 1 — file references are metadata, not package contents.