شعار Cihr Protocol Audit

Cihr Protocol Audit

مؤسسة
HeartWise-AI
cihr-protocol-audit

Audit CIHR Project Grant RCT protocols and resubmissions for estimand, endpoint, analysis, reviewer-response closure, section compliance, feasibility, budget alignment, and terminology. Use when auditing, reviewing, responding to reviewers, or QCing a CIHR trial.

نظرة عامة

الناشرHeartWise-AI
المستودعai-writing-skills
اسم المهارةcihr-protocol-audit
النجوم
28
التفريعات
6
الملفات المرفقة
3
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 3

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها HeartWise-AI على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Cihr Protocol Audit في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/HeartWise-AI/ai-writing-skills/tree/main/cihr-protocol-audit
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/HeartWise-AI/ai-writing-skills.git /tmp/ai-writing-skills
mkdir -p .claude/skills
cp -r /tmp/ai-writing-skills/cihr-protocol-audit .claude/skills/cihr-protocol-audit
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Cihr Protocol Audit في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Cihr Protocol Audit تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Cihr Protocol Audit بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

CIHR Protocol Audit Skill

Overview

Systematic audit of a CIHR Project Grant clinical trial protocol. Produces a structured checklist (markdown), applies tracked changes for fixable issues, and adds comments for items requiring investigator judgment.

The audit has seven parts plus a consistency check pass. Each part can surface issues that require either tracked changes (fixable problems) or comments (judgment calls).

Prerequisites

Before starting the audit:

  1. Unpack the .docx to access word/document.xml and related files
  2. Extract plain text for analysis (use python-docx or direct XML parsing)
  3. If a budget file is provided, extract its text as well
  4. Read the references/cihr-rct-headings.md file for the mandatory CIHR RCT heading structure

Part A: Objective-Endpoint-Analysis Traceability Matrix

Every objective in the protocol must have three components:

  1. A clearly stated objective (usually in Section 1.2)
  2. A defined endpoint or measurement (usually in Section 2.12)
  3. A specified analysis plan (usually in Section 2.16)

Procedure

  1. Extract all objectives from Section 1.2 (primary, secondary, exploratory)

  2. For each objective:

    • Find the corresponding endpoint definition in 2.12 (2.12.1 for primary, 2.12.2 for secondary/exploratory)
    • Find the corresponding analysis plan in 2.16 (2.16.1 for primary, 2.16.2 for secondary, 2.16.3 for sensitivity)
    • Verify the endpoint measurement method is specified (instrument name, timing, data source)
    • Verify the analysis plan specifies: statistical test, model structure, covariates/adjustments
    • State the estimand, analysis population, denominator, effect measure, and time window
    • Map the observation pathway from randomization through clinician action, reference-standard testing, result availability, and endpoint ascertainment
    • Distinguish no event, no confirmatory test, unavailable external result, death, withdrawal, and loss to follow-up
    • If observation depends on a post-randomization referral or test, assess differential or partial verification and require a correction or sensitivity plan
    • Verify that the comparator is the complete standard-care pathway, including other clinical information available to the decision-maker
  3. For the primary objective, reproduce the sample-size calculation from the stated inputs and verify:

    • Control and intervention rates yield the stated absolute and relative effect
    • The powered effect measure matches the primary model output
    • Randomization level, clustering level, ICC, and cluster-size distribution are distinguished
    • Expected events per cluster support the proposed GEE, mixed-effects, or frailty model
    • Attrition inflation is compatible with the endpoint denominator and missing-outcome definition
    • Control rate, adherence, reference-standard completion, system capacity, and ICC receive sensitivity analyses when power is fragile
  4. Flag gaps:

    • GAP: No analysis plan for this objective
    • PARTIAL: Analysis mentioned but lacks specifics (e.g., "descriptive statistics" without specifying which tests, stratification, or comparison methods)
    • OK: All three components present and specific

Output Format

ObjectiveStatementEndpoint (Section)Analysis Plan (Section)StatusNotes

Common Issues

  • Exploratory objectives often have endpoints defined but analysis plans that say only "descriptive statistics" without specifying comparison methods
  • Provider/patient experience objectives frequently lack between-arm comparison methods for ordinal outcomes (Mann-Whitney U, Wilcoxon)
  • Economic/cost-effectiveness objectives may reference a framework section (e.g., 2.15) without a dedicated analysis subsection in 2.16
  • Fairness/equity analyses may list metrics (equalized odds, Brier score) without specifying the statistical framework for testing differences

Part B: Cross-Reference Verification

Every time the document says "Section X.Y" or "see Section X", verify the referenced section contains the promised information.

Procedure

  1. Use regex to find all cross-references: patterns like Section \d+\.\d+, Sec \d+\.\d+, (Section \d+), described in \d+\.\d+

  2. For each reference:

    • Note the source location (which section makes the reference)
    • Note the target section
    • Read the target section content
    • Verify the specific information claimed to be there actually exists
  3. Flag issues:

    • OK: Referenced information is present in the target section
    • PARTIAL: Target section exists but the specific referenced information is missing or different from what's claimed
    • MISSING: Target section does not exist

Common Issues

  • Interim analysis sections (e.g., 2.17) often describe blinded pooled analyses but get referenced for unblinded arm-specific monitoring (e.g., concordance thresholds). These are conceptually different operations that may need separate procedures.
  • Sensitivity analysis sections may be referenced before they are defined
  • Budget-related cross-references to protocol sections may not align with actual site counts or resource allocations

Output Format

ReferenceSource LocationTarget SectionContent Present?Notes

Part C: CIHR RCT Section Compliance

Compare protocol headings against CIHR mandatory RCT section structure. Read references/cihr-rct-headings.md for the required headings.

Procedure

  1. Extract all section headings from the document (with numbering)
  2. Map each heading to the corresponding CIHR required heading
  3. Flag missing required headings
  4. Flag extra headings that don't map (not an error, just note them)
  5. Verify subsection numbering is consistent (1.1, 1.2, etc.)

Common Issues

  • Section numbering in the document may not match CIHR numbering (e.g., document starts with "1. Condition and Burden" instead of "1.1")
  • DSMB section (3.3) may exist but with minimal justification for not having a DSMB
  • "Duration of treatment period" (2.8) may say "not applicable" for AI/decision-support trials -- this is acceptable but should be explicitly stated

Part D: Budget-Protocol Alignment

If a budget file is provided, check that every budgeted item aligns with the protocol and every protocol commitment has budget support.

Procedure

  1. Extract budget line items with amounts and justifications
  2. For each budget item, verify it maps to a protocol commitment:
    • Personnel: role described in protocol sections 3.1-3.2
    • Equipment/consumables: needed for procedures described in protocol
    • Data linkages: required for endpoints described in protocol
    • Verification studies: sample sizes match protocol
  3. For each protocol commitment, verify budget support:
    • Number of sites: do personnel/equipment budgets cover all sites?
    • Sample sizes: does the verification substudy budget match the protocol target?
    • Data sources: are all required data linkage fees budgeted?
    • Computing: are on-premise and cloud costs non-duplicative and consistent with the privacy architecture?
    • Regulation: are classification, monitoring, data management, and oversight resourced if applicable?
    • Site activation: do staffing, interfaces, and consumables match the actual launch schedule and final site count?
    • Data linkage: are jurisdiction-specific extraction, governance, and legal costs included?

Common Issues

  • Coordinator coverage at N sites but protocol specifies M sites (M > N) -- needs justification for which sites have existing support
  • Equipment/modules budgeted for fewer sites than the protocol describes
  • Verification substudy budgets slightly over the protocol target (acceptable buffer) or under (problem)
  • Training stipend amounts that don't round cleanly (e.g., $75K rounded to $90K for "benefits and adjustments")

Output Format

CategoryAmountProtocol AlignmentIssues

Part E: Content Issues

Scan the full document text for garbled text, missing spaces, duplicate fragments, and formatting errors.

Procedure

  1. Garbled text detection: Search for patterns indicating splice errors from tracked-change acceptance:

    • Period immediately followed by lowercase letter with no space: \.\w (excluding decimals and abbreviations)
    • Orphan fragments: short phrases that don't connect grammatically to surrounding text
    • Possessive markers without antecedent: 's advisory without a noun before the apostrophe
  2. Missing spaces: Search for:

    • Two capitalized words joined without space: [a-z][A-Z] patterns (e.g., "ORsA" should be "ORs. A")
    • "of" followed directly by a proper noun: of[A-Z]
  3. Duplicate fragments: Search for:

    • Near-identical phrases within 100 characters of each other
    • Sentences that end with a period and are immediately followed by a rephrased version of the same content
  4. Section reference format: Verify consistent formatting of section references (e.g., "Section 2.7" vs "Sec 2.7" vs "section 2.7")

Part F: Terminology and Naming Consistency

Check that key terms, group names, instrument names, and abbreviations are used consistently throughout.

Procedure

  1. Arm/group names: Extract all references to study arms. Flag inconsistencies:

    • "intervention arm" vs "AI arm" vs "EchoNext arm" vs "experimental arm"
    • "control arm" vs "usual care" vs "standard care" vs "comparator"
    • Pick the canonical name used in Section 2.1 (study design) and flag deviations
  2. Survey/instrument names: Extract all named instruments and check consistency:

    • System Usability Scale (SUS) -- always abbreviated the same way after first use?
    • CAHPS or CAHPS-adapted -- used consistently?
    • Trust-in-automation scale -- same name each time?
    • Likert scale references -- consistent anchoring descriptions?
  3. Abbreviation discipline:

    • Every abbreviation should be defined at first use
    • After definition, use the abbreviation consistently (don't alternate between spelled-out and abbreviated)
    • Common abbreviations to check: TTE, SHD, ECG, MACE, ICC, OR, CI, FTE, DSMB, SAP, CRF
  4. Endpoint naming: Verify that endpoint descriptions in 2.12 match the analysis plan descriptions in 2.16 (same names, same definitions)

  5. Site/center naming: If sites are named, verify consistent naming throughout (e.g., "Montreal Heart Institute" vs "MHI" vs "Institut de cardiologie de Montreal")

  6. Statistical test naming: Verify consistent naming of statistical methods across sections (e.g., "mixed-effect logistic regression" vs "mixed-effects logistic regression" vs "multilevel logistic model")

Output Format

Term CategoryVariants FoundCanonical FormLocations

Part G: Reviewer-Response and Resubmission Closure

Use this part whenever prior reviews or a response-to-reviewers document is available.

Procedure

  1. Atomize every reviewer paragraph into separate concerns. Record the review cycle, reviewer, criterion, and whether the same root concern appeared previously.

  2. Build a canonical parameter ledger covering design, unit of randomization, stratification, clustering, sites, providers, participants, duration, endpoint, time window, control rate, effect, alpha, power, attrition or under-ascertainment, ICC, sample size, analysis model, intervention thresholds, substudy size, consent, and data sources.

  3. Search the current summary, body, figures, tables, budget, statistical appendices, response letter, tracked changes, comments, and support letters for every canonical parameter and all stale values.

  4. For diagnostic-impact and implementation trials, map the causal pathway:

    intervention -> user receives result -> user acts -> service delivers test -> result is retrievable -> endpoint is observed

    For every transition, require an owner, expected completion rate, evidence source, monitoring method, failure mode, and remediation rule.

  5. Verify that run-in phases have a justified duration, representative users, training and competency criteria, workflow data collection, readiness thresholds, and proceed, extend, or stop rules.

  6. Classify external data access, REB permission, regulatory status, support letters, and site capacity as CONFIRMED, CONTINGENT, or UNSUPPORTED. Planned agreements and unsigned letters are not confirmed evidence.

  7. For AI interventions, verify peer-review status, risk-tier performance, calibration, threshold and version lock, drift governance, clinician override, complete standard-care comparison, fairness metrics, and site transportability.

Closure Status

  • ADDRESSED: The response and revised application contain specific, consistent evidence and all dependent artifacts agree
  • PARTIALLY ADDRESSED: A meaningful change exists, but evidence, propagation, feasibility, or methodological detail remains incomplete
  • NOT ADDRESSED: The response repeats rationale or promises future work without a corresponding application change
  • CONTRADICTED: The response claims a change that a current artifact disproves
  • NOT APPLICABLE: The concern was removed with the relevant aim, endpoint, site, or procedure, and removal is verified everywhere
  • HUMAN DECISION REQUIRED: Closure depends on an investigator choice, clinical threshold, external permission, agreement, or unavailable data

A response-letter assurance alone is never sufficient for ADDRESSED. A recurring concern is submission-critical until the root cause, not only its wording, is removed.

Output Format

Cycle / ReviewerAtomic ConcernRoot ConceptResponse ClaimCurrent Grant EvidenceCross-Document CheckStatusRemaining Action

Applying Fixes

After completing the audit:

Tracked Changes (for fixable issues)

Use the body-swap serialization approach for Word XML manipulation:

  1. Parse document.xml with lxml
  2. Modify the <w:body> element (add <w:del> and <w:ins> elements)
  3. Serialize only the body: etree.tostring(body, encoding='unicode')
  4. Replace the <w:body>...</w:body> region in the original XML string
  5. This preserves namespace declarations that lxml would otherwise mangle

For text replacements that span multiple <w:r> elements:

  • Collect all non-deleted runs, concatenate their text
  • Find the match position in the concatenated string
  • Map back to affected runs
  • Remove affected runs, insert: before-text run + <w:del> + <w:ins> + after-text run

Use author "Claude (Audit)" and a fixed date for all changes.

Comments (for judgment calls)

For issues requiring investigator review:

  1. Add <w:commentRangeStart> before the target paragraph's first run
  2. Add <w:commentRangeEnd> and <w:commentReference> after the last run
  3. Add the comment text to word/comments.xml
  4. Add the author to word/people.xml (check namespace prefix -- may be w15: not w:)
  5. Escape any < or > characters in comment text

Output Checklist

Save the audit results as a markdown checklist file alongside the document. Structure:

  • Part A table
  • Part B table
  • Part C table
  • Part D table (if budget provided)
  • Part E issue list with fix status
  • Part F consistency table
  • Part G reviewer-response closure matrix and canonical-parameter search result

Quick Reference: What Gets a Tracked Change vs a Comment

Issue TypeAction
Garbled text / splice errorTracked change
Missing spaceTracked change
Duplicate fragmentTracked change (delete duplicate)
Missing analysis detailTracked change (add specifics)
Cross-reference discrepancyComment
Budget-protocol mismatchComment
Missing DSMB justificationComment
Ambiguous methodologyComment
Terminology inconsistency (minor)Comment noting canonical form
Terminology inconsistency (in endpoint/analysis names)Tracked change to standardize

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Cihr Protocol Audit؟

Audit CIHR Project Grant RCT protocols and resubmissions for estimand, endpoint, analysis, reviewer-response closure, section compliance, feasibility, budget alignment, and terminology. Use when auditing, reviewing, responding to reviewers, or QCing a CIHR trial.

لماذا تستخدم Cihr Protocol Audit على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Cihr Protocol Audit عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Cihr Protocol Audit في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/HeartWise-AI/ai-writing-skills/tree/main/cihr-protocol-audit. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Cihr Protocol Audit؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Cihr Protocol Audit؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Cihr Protocol Audit معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Cihr Protocol Audit مجانية؟

نشرها HeartWise-AI على GitHub. راجع المستودع للاطلاع على شروط الترخيص. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇