ind-assembler¶
Map available documents to 21 CFR 312.23(a) IND content items, Form 1571 and 1572 fields and eCTD placement, and list gaps such as a missing investigator's brochure. Use when planning or auditing an IND assembly; non-US programs get a note.
| Stage | Regulatory |
| Tier | 1 (deterministic tool) |
| Standards | 21 CFR 312.23, 21 CFR 312.22, Form FDA 1571, Form FDA 1572, ICH M4, FDA eCTD guidance |
Minimum pharmaskills |
0.3.0 |
| Inputs | program facts, available documents |
| Outputs | ind map md, ind gaps csv, ind checklist json |
| Verified by | reg ind-checklist, reg ctd-map |
Draft for qualified review. Not a validated system and not legal or regulatory advice.
Install only this skill: pharmaskills skills install --agent claude-code --skill ind-assembler (see Install).
Purpose¶
Produce, for a regulatory affairs lead, a content map of an Investigational New Drug (IND) application: which document covers each 21 CFR 312.23(a) item, which Form FDA 1571 and 1572 fields are provided or missing, where each item sits in the eCTD, and a prioritised gap list. Everything is a draft for review by qualified regulatory personnel.
When to use / when not to use¶
Use when planning an initial IND, auditing a draft IND package, or preparing the gap list for a pre-IND discussion.
Do not use for: signing or completing forms on anyone's behalf, authoring the underlying documents (use the relevant drafting skills), amendments and safety reports after the initial IND (a different process), non-US applications (a Clinical Trial Application has a different dossier; give the note and stop), or any claim that the IND is complete and ready to file.
Inputs¶
Required: a folder of available documents (DOCX, Markdown or text; names and headings are
the evidence) and program facts (facts.yaml: program region, sponsor, drug, phase,
indication, submission type, and Form 1571 and 1572 field values).
Ask once for anything missing, then proceed with stated assumptions and [DATA NEEDED: ...]
placeholders. State the region assumed (US FDA unless told otherwise). If pharmaskills is
not installed, tell the user to run uv tool install pharmaskills, check pharmaskills
--version against min_pharmaskills, and produce only the item list from
references/ind-items.md, marked unverified, with no document matching.
Workflow¶
- Collect facts and documents. Confirm the folder and write
facts.yamlfromtemplates/facts.yamlwith only values the user gave. Never invent a sponsor address, investigator or facility. - Run the checklist.
pharmaskills reg ind-checklist --docs <folder> --facts facts.yaml --out out/ind_checklist.json --gaps out/ind_gaps.csv. Exit 2 means gaps exist; the report is still written. Check thenon_usfield. - Review the matches. A match is by file name or heading, not by content quality. Open the evidence for each present item and downgrade it in your notes when the document is clearly a placeholder or draft.
- Resolve eCTD locations. Use the checklist placement and, for Module 2 to 5 content,
pharmaskills reg ctd-map --content-type <type>. Placement is a guide: verify against the current FDA eCTD Module 1 specification and technical conformance guide. - Write
out/ind_map.mdfromtemplates/ind-map.md: summary, content map, Form 1571 and 1572 field status, non-US note whennon_usis true, ordered actions. Insert the draft banner and provenance withpharmaskills docs banner --apply out/ind_map.md. - Report using the output contract below.
Output contract¶
Under out/:
| File | Content |
|---|---|
ind_checklist.json |
Items, status, evidence, eCTD placement, forms, non-US flag |
ind_gaps.csv |
One row per missing item: id, item, citation, severity, action, placement |
ind_map.md |
Content map, form field status, actions, banner and provenance |
State plainly in the answer: items found out of items checked, every critical gap (the investigator's brochure is critical), the region assumed, assumptions and what needs a human.
Verification¶
Run and report: reg ind-checklist (exit 0 complete, 2 gaps listed), missing investigator's
brochure flagged as critical when absent, every item has an eCTD placement, non-US note present
for non-US programs, banner present. On failure fix the inputs and rerun up to three times,
then report what remains. Document matching by name or heading cannot judge adequacy of content;
say so.
Guardrails¶
- Insert the draft banner in every generated document; never claim the IND is complete, compliant or ready to submit, and never give legal or regulatory advice.
- Never fabricate documents, form field values, signatures, addresses, IND numbers or attestations. Forms are signed by the sponsor and investigators, not by you.
- Never mark an item present without a document; never remove a gap to improve the look.
- Cite 21 CFR 312.23(a) items by paragraph (see
references/). State the region assumed. - Degrade gracefully: no network is needed; without the tools package, template-only output.
- Warn when documents look like real patient data; recommend de-identification.
References¶
references/ind-items.md- 21 CFR 312.23(a) items, forms, eCTD locations (project notes)references/ectd-placement.md- how to read and verify the placement guide- Public sources: 21 CFR 312.23 and 312.22 (ecfr.gov), Forms FDA 1571 and 1572 (fda.gov), FDA eCTD guidance and Module 1 specification, ICH M4.
Templates: templates/facts.yaml, templates/ind-map.md. Script: scripts/run_ind.sh
(thin wrapper around pharmaskills reg ind-checklist).
Examples¶
Worked example with inputs and outputs: examples/regulatory/ind-assembler/. Synthetic inputs:
skills/ind-assembler/evals/fixtures/ (seven placeholder documents, two facts files).
Worked example¶
Committed example with inputs and outputs: examples/regulatory/ind-assembler/.
Inputs (synthetic): skills/ind-assembler/evals/fixtures/docs/ (seven placeholder documents,
no investigator's brochure), fixtures/facts.yaml (US program) and fixtures/facts_eu.yaml.
pharmaskills reg ind-checklist --docs fixtures/docs --facts fixtures/facts.yaml \
--out out/ind_checklist.json --gaps out/ind_gaps.csv
pharmaskills reg ind-checklist --docs fixtures/docs --facts fixtures/facts_eu.yaml \
--out out/ind_checklist_eu.json --gaps out/ind_gaps_eu.csv
File in out/ |
Origin |
|---|---|
ind_checklist.json, ind_gaps.csv, ind_checklist_eu.json, ind_gaps_eu.csv |
tool output (exit 2 because of gaps) |
ind_map.md |
drafted from the checklist with draft banner and provenance |
refusal_*.md |
what a correct agent says for the adversarial cases |
The checklist exits 2 whenever an item is missing; that is the expected result here. Synthetic data only. Not a validated system; for qualified review (regulatory affairs).
Skill source: skills/ind-assembler/SKILL.md