- name
SKILL.md
Tệp skill vẫn nằm trong kho mã của nhà phát hành.
Dán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add Aperivue/medsci-skills --skill fill-icmje-coi -a cursor -yDán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add Aperivue/medsci-skills --skill fill-icmje-coi -a claude-code -yDán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add Aperivue/medsci-skills --skill fill-icmje-coi -a codex -yDán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add Aperivue/medsci-skills --skill fill-icmje-coi -a grok -yGửi tin nhắn đã sao chép trong cuộc trò chuyện Grok Bot. Bot sẽ lấy tệp SKILL.md này từ GitHub và thêm vào bộ skill mà mọi Bot của bạn dùng chung.
Install this skill: https://github.com/Aperivue/medsci-skills/tree/HEAD/skills/fill-icmje-coiTừ nhà phát hành
The official ICMJE coi_disclosure.docx keeps every field inside Word Content Controls (SDTs),
which python-docx cell.text silently ignores. The script therefore does literal-string
replacement in word/document.xml, which only works when the target strings already exist — hence
the shipped pre-filled synthetic seed.
templates/icmje_coi_seed_synthetic.docx is PII-scrubbed (synthetic name, title, date; metadata
ICMJE / Anonymous); real-person seeds leak PII through both document.xml and docProps.
Keep custom seeds with real names in private per-project directories, and before promoting any
seed check unzip -p seed.docx docProps/core.xml for real names.Skip this skill when the target journal uses its own declaration form (Elsevier Declaration of Interest, a BMJ ICMJE derivative, etc.) rather than the canonical ICMJE form — check the author guidelines first.
Ask the user (or extract from the conversation):
[(1, "Author One"), (2, "Author Two"), ...],
taken verbatim from the manuscript title page or the user's listsubmission/{journal}/icmje_forms/Gate 1 — user approval. Present the intake back before generating anything. Name which authors will get all-None forms and remind the user that anyone with a real disclosure must fill their own form in Word instead.
python3 ${CLAUDE_SKILL_DIR}/scripts/fill_icmje_coi.py \
--seed ${CLAUDE_SKILL_DIR}/templates/icmje_coi_seed_synthetic.docx \
--seed-name "Placeholder Author" \
--seed-title "Placeholder Manuscript Title" \
--seed-date "January 1, 2000" \
--new-title "{exact manuscript title}" \
--new-date "{submission date}" \
--out-dir {out_dir} \
--authors '[[1,"Author One"],[2,"Author Two"],...]'
It writes one ICMJE_COI_{NN}_{Name}.docx per author and exits nonzero if any seed string is not
found. It exits 2, before writing anything, if any --seed-* or --new-* value or author name is
empty: an empty seed string would match nothing and leave the seed's value in every form.
For each generated docx confirm: ☒ count = 14 (13 disclosure items + final certification);
"None" disclosures = 13; the correct name after "Your Name:" and title after "Manuscript Title:";
no seed strings left. SEED must be the exact --seed-name, --seed-title and --seed-date
values used in Phase 2 (the shipped placeholders below, or a custom seed's own strings); TITLE
must be the --new-title value.
python3 - {out_dir}/*.docx <<'PY'
import sys, zipfile
SEED = ("Placeholder Author", "Placeholder Manuscript Title", "January 1, 2000") # = --seed-* values
TITLE = "{exact manuscript title}" # = --new-title
assert all(s.strip() for s in SEED) and TITLE.strip(), "empty SEED/TITLE value"
for f in sys.argv[1:]:
xml = zipfile.ZipFile(f).read("word/document.xml").decode("utf-8")
assert xml.count("☒") == 14, f"{f}: bad ☒ count"
assert xml.count(">None<") + xml.count(">None ") == 13, f"{f}: bad None count"
for ph in SEED:
assert ph not in xml, f"{f}: seed leak {ph!r}"
t = TITLE.replace("&", "&").replace("<", "<").replace(">", ">")
assert t in xml, f"{f}: title missing"
print("✓", f)
PY
This snippet does not locate the name inside the "Your Name:" field; confirm the name by opening each form.
Gate 2 — user review. Present the verification results before handing off the files.
Give the user this copy to send with each personalized form, written in the co-authors' language:
Please review the attached ICMJE COI form.
- If the contents are correct, sign and reply with a PDF.
- If a change is needed, edit/check the relevant item, sign, and reply.
- If there are no changes at all, reply "no changes" and return the signed PDF separately.
All authors can be emailed in one draft batch (e.g., gws gmail draft). Gate 3 — the user
approves the batch before anything is sent.
Read ${CLAUDE_SKILL_DIR}/references/seeds.md when the user wants a custom seed (different default wording, a common
grant pre-filled in items 2/3) or asks how the shipped seed was made.
Use when each author needs an ICMJE Conflict of Interest disclosure form (coi_disclosure.docx) for submission. Clones a pre-filled synthetic seed with every item marked None and replaces only date, na
---name: fill-icmje-coidescription: Use when each author needs an ICMJE Conflict of Interest disclosure form (coi_disclosure.docx) for submission…---# skills/fill-icmje-coi/SKILL.mdTổng quan
Use when each author needs an ICMJE Conflict of Interest disclosure form (coi_disclosure.docx) for submission. Clones a pre-filled synthetic seed with every item marked None and replaces only date, name and manuscript title, so most authors just confirm or amend.
Câu hỏi thường gặp
Tải skills/fill-icmje-coi/SKILL.md từ nhà phát hành, hoặc sao chép đường dẫn và mở kho mã. PlugMCP chỉ liệt kê skill và không lưu trữ tệp này.
Nhà phát hành duy trì nó tại https://github.com/Aperivue/medsci-skills.
Claude, Cursor, Codex và Grok Build có thể đọc tệp SKILL.md mà bạn thêm từ kho mã của nhà phát hành. Grok Bot cài đặt skill khi bạn gửi liên kết thư mục GitHub của skill trong cuộc trò chuyện.