regulatory-intelligence¶
Fetch an official guidance page (FDA, EMA, ICH, MHRA), summarise what changed, state effective dates or mark them unknown, and assess impact on the user's program, with source links checked against an official-domain list.
| Stage | Regulatory |
| Tier | 2 (template and rubric) |
| Standards | ICH guideline process, FDA guidance for industry, EMA scientific guidelines |
Minimum pharmaskills |
0.4.0 |
| Inputs | topic or guidance id, saved or fetched page text, program context |
| Outputs | intel brief md, citations check json |
| Verified by | docs check-citations --require-official-links |
Draft for qualified review. Not a validated system and not 21 CFR Part 11 compliant.
Install only this skill: pharmaskills skills install --agent claude-code --skill regulatory-intelligence (see Install).
Purpose¶
Give a regulatory affairs lead a short, sourced brief on a guidance document or topic: what the official page says changed, the effective dates the page states (or an explicit "unknown"), and a draft impact assessment against the documents and regions of the user's program. Every claim links to an official source. The brief is a draft for qualified review and does not replace regulatory affairs judgement or the text of the guidance itself.
When to use / when not to use¶
Use to track a named guideline, a new guidance page or a regional update, or to prepare a gap-review request.
Do not use for legal advice, to interpret an ambiguous requirement as settled, to summarise paywalled or unofficial material as if it were the regulator's position, or to decide the sponsor's compliance strategy.
Inputs¶
Required: a topic or guidance identifier. Optional: the program context (regions, development stage, documents affected), the page text if already saved.
Ask once for anything missing, then proceed with stated assumptions and
[DATA NEEDED: ...] placeholders. Never invent dates, document numbers or page content.
State the region assumed (default: US FDA and EU EMA; add MHRA, PMDA or others when asked).
If the network is unavailable or the pharmaskills package is not installed, say so, ask the
user to paste the official page text, and mark link and date checks as not run.
Workflow¶
- Find the official page. Use only domains in
src/pharmaskills/docs/data/official_domains.yaml(fda.gov, ema.europa.eu, ich.org, mhra.gov.uk and others).scripts/fetch_page.sh <url>refuses other hosts. Save the page text with its URL and retrieval date. - Read what the page states. Extract title, issuer, status (draft, final, adopted), identifiers, dates and the summary of changes, exactly as written.
- Write
intel_brief.mdfromtemplates/intel-brief.md: scope and region, summary of changes, effective dates table, impact on the program, open items, sources with links. Each paragraph has a marker[<source id>]or[Source: <saved page file>]. - Effective dates. Write the date the page states with its wording. If the page gives only a publication or "content current" date, say effective date: unknown. Never infer.
- Impact. Name the program documents and regions that may be affected, from the context
only. Unknown items become
[DATA NEEDED: ...]. - Insert the draft banner:
pharmaskills docs banner --apply intel_brief.md. - Check:
pharmaskills docs check-citations intel_brief.md --source <page files> --require-official-links --require-effective-date --out citations_check.json.
Output contract¶
| File | Content |
|---|---|
intel_brief.md |
Summary of changes, effective dates, program impact, open items, source links; banner first, provenance last |
citations_check.json |
Link domains, paywalled or unofficial flags, effective date found |
At least one official link; every link on an official domain; no paywalled source; effective date stated per item or marked unknown.
Verification¶
Run and report: docs check-citations exit code (0 expected), number of links, unofficial and
paywalled counts (both 0), the effective date found, and the retrieval date of each page. If a
page could not be fetched, say so in the brief rather than relying on memory. If the tool is
unavailable, check each link host against the official list by eye and say it was manual.
Guardrails¶
- Insert the draft banner in every generated document.
- Never fabricate guidance content, dates, docket numbers, reference numbers or quotes.
- Never cite paywalled, subscription, blog or trade-press sources as the regulator's position; flag them and ask for the official page.
- A page "last updated" or "content current" date is not an effective date.
- State the region assumed and the retrieval date; guidance changes, so the brief is dated.
- Do not reproduce long passages of a guidance page; summarise and link.
References¶
references/official-sources.md- official domains, how to read a guidance page, date rulesreferences/impact-assessment.md- how to turn a change into a documented program impact- Public sources: FDA guidance search pages, EMA scientific guidelines pages, ICH guideline pages, MHRA guidance on gov.uk.
Template: templates/intel-brief.md. Script: scripts/fetch_page.sh.
Examples¶
Worked example with recorded EMA and FDA pages (retrieved 2026-10-14):
examples/regulatory/regulatory-intelligence/. Fixtures:
skills/regulatory-intelligence/evals/fixtures/.
Worked example¶
Committed example with inputs and outputs: examples/regulatory/regulatory-intelligence/.
Skill: skills/regulatory-intelligence. Stage: regulatory.
Source data: two real public pages, fetched once on 2026-10-14 with curl (HTTP 200), trimmed to
the main text and committed under skills/regulatory-intelligence/evals/fixtures/pages/:
- https://www.fda.gov/regulatory-information/search-fda-guidance-documents/e6r3-good-clinical-practice-gcp (FDA, E6(R3) Good Clinical Practice final guidance announcement; page shows content current as of 09/08/2025 and no effective date)
- https://www.ema.europa.eu/en/ich-e6-good-clinical-practice-scientific-guideline (EMA, ICH E6 scientific guideline page; principles and Annex 1 effective 23 July 2025, Annex 2 effective 15 January 2027)
Evals and replay never use the network. The guidance pages change; the brief is dated.
Outputs in out/:
intel_brief.md: brief with summary of changes, effective dates table, program impact and sources; realpharmaskills docs check-citations --require-official-links --require-effective-datepasses (citations_check.json).intel_brief_not_found.md: the no-result case (synthetic topic,empty_topic.txtis a synthetic stand-in, not a fetched page).refusal_paywalled_sources.md,refusal_invent_effective_date.md: adversarial responses.
Reproduce: pharmaskills eval run --skill regulatory-intelligence.
Skill source: skills/regulatory-intelligence/SKILL.md