Cihr Format Compliance logo

Cihr Format Compliance

Organization
HeartWise-AI
cihr-format-compliance

Verify that CIHR application PDFs and attachments meet the agency's mechanical format rules - Times New Roman, black, 12 pt minimum, 2 cm margins - that the right documents are attached, and that roster surname/given-name fields and STRAC attestation roles are correct. Use before submitting a CIHR Project Grant, after any document is re-exported, or when a grants officer returns an application for formatting. Also use when asked whether an application is ready to submit, or to check a ResearchNet export.

Overview

PublisherHeartWise-AI
Repositoryai-writing-skills
Skill namecihr-format-compliance
Stars
28
Forks
6
Bundled files
2
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by HeartWise-AI on GitHub. Read the source before you install it.

Installation

Install the Cihr Format Compliance AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/HeartWise-AI/ai-writing-skills/tree/main/cihr-format-compliance
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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-format-compliance .claude/skills/cihr-format-compliance
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Cihr Format Compliance in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Cihr Format Compliance on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Cihr Format Compliance is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

CIHR Format Compliance

Overview

CIHR screens applications on mechanical properties before anyone reads the science. A grants officer will return the application for any of these, and each round trip costs days you may not have near a deadline.

The rules that actually get enforced:

RuleRequirement
Body fontTimes New Roman
ColourBlack
SizeAt least 12 pt
MarginsAt least 2 cm on all four sides
AttachmentsOnly the documents the program requires, from the people it requires them from

Two things make this harder than it looks. First, all of these are properties of the PDF, not of the source .docx - a document that is correct in Word can fail after a bad conversion. Second, the font check reads the embedded font name, so a metric-compatible clone that is visually indistinguishable still fails.

The conversion trap

Never produce a CIHR PDF with LibreOffice. soffice --convert-to pdf substitutes Liberation Serif for Times New Roman even when the real font is installed and fc-match resolves it correctly. Liberation Serif is metrically identical, so the page looks perfect and nothing warns you. pdffonts shows LiberationSerif, and CIHR rejects it.

The same applies to Cambria, which LibreOffice replaces with Caladea.

Safe export paths, both of which embed genuine TimesNewRomanPSMT:

  • Microsoft Word - Save as PDF, or print to PDF. Produces a Quartz PDFContext producer string on macOS.
  • Chrome headless - for HTML you generated yourself:
    bash
    "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" \
      --headless --disable-gpu --no-pdf-header-footer \
      --print-to-pdf=out.pdf "file:///path/to/page.html"

Whichever you use, verify the result. Do not assume.

Procedure

1. Run the checker

bash
python scripts/cihr_pdf_check.py FILE.pdf
python scripts/cihr_pdf_check.py EXPORT.pdf --pages 35-50   # applicant-authored pages only

It reports BLOCKER for real violations and NOTE for things a human should glance at but that CIHR accepts. It exits non-zero when any blocker is found, so it can gate a submission script.

On a full ResearchNet export, restrict --pages to the attachments you authored. CIHR's own generated pages - the reviews, the Scientific Officer notes, the roster and budget forms - are set in Arial and Helvetica with roughly 1 cm margins. That is CIHR's typesetting, not yours, and is never a finding.

2. Read the output correctly

Blockers. A font that is not Times New Roman across a paragraph's worth of text, any non-black body text, or a genuine margin overflow. Fix and re-export.

Notes worth a look:

  • Superscript citation numerals around 8 pt. Standard and accepted. Only investigate if body text is also undersized.
  • Margin shortfall under 1 mm. Usually a hanging-indent list numeral - a wide numeral such as viii. right-aligned to a tab stop reaches further left than the others. Cosmetic; nudge the list indent right by 2 pt if you want it clean.
  • A handful of stray characters in another font. A page number the template set in Aptos, or one separator comma in Calibri. Not worth a re-export on its own.

Suppressed by default. Page numbers touching the bottom margin. Word places headers and footers inside the margin band by design and CIHR accepts it. Pass --show-footers if you want to see them.

3. Check the margins the right way

If you measure margins yourself rather than using the script, measure individual glyph boxes, not line or span boxes. A span box includes the trailing space of a justified line, which reads as a 1-2 mm overflow that is not really there. This produces false alarms on nearly every justified page.

4. Verify the attachment set

Beyond formatting, confirm the right documents are present and no extra ones are:

  • Response to Previous Reviews. On a resubmission, attach the Scientific Officer notes when they exist. If the application was streamlined, no SO notes were generated - but ResearchNet still produces an SO Notes document that says so. Attach that document. It satisfies the requirement and shows you did not omit anything.
  • STRAC / sensitive-technology attestations. Required from the Nominated Principal Applicant, Principal Applicants, Co-Applicants and Knowledge Users. Collaborators must not provide one. Including collaborator attestations gets the application returned. Roles come from the ResearchNet roster, not from how the narrative describes someone - a site PI in your text can be a Collaborator in the portal.
  • Institution fields. Three separate fields, easy to confuse:
    1. Task 1, with your name and contact details: your university affiliation.
    2. Task 2, where the research takes place: the hospital or institute.
    3. Task 2, which institution administers the funds (Institution Paid): the hospital or institute.

Run the roster checker, which cross-references both against the roster:

bash
python scripts/cihr_roster_check.py EXPORT.pdf --attestation-pages 4-23

It reports a Collaborator who filed an attestation, a required role whose attestation is missing, and surname/given-name fields that are reversed or wrongly split. Pass the page range holding the STRAC forms; without it the whole document is scanned, which still works but is slower.

Also confirm every attestation page carries a completed date. A blank one means the bundle was merged before the form was filled in.

5. Check the budget totals agree across documents

The budget module in ResearchNet and the budget narrative PDF are entered separately and drift apart. Compare the category totals and the grand total line by line. ResearchNet enforces $1,000 rounding on each category, so small differences can be legitimate - but they must be explained in the category description, and a category that is already a round thousand cannot be explained that way.

How the name check decides

Surname and given-name errors are common and self-inflicted, so the check uses sources the applicant did not type into the portal, in this order:

  1. The person's own attestation form. They filled in their own last-name and first-name fields, so this outranks the roster. If the roster carries the same two names the other way round, the fields are reversed. If the surname agrees but the given name does not, the form's given name is the right one.
  2. A token appearing in both fields. Surname "Theriault Lauzier" / Given "Lauzier" cannot be right whatever the person is called, and usually means the real given name is missing entirely.
  3. Prose elsewhere in the export. Collaborators file no attestation, so there is no form to compare against. Letters of support, biosketches and contribution statements write names given-name-first. If the export only ever writes the two names in the order <surname field> <given field>, the portal fields are swapped.

Roster and attestation pages are excluded from the prose corpus. Both print the surname before the given name by design, and leaving them in makes every correctly entered name look reversed.

Accents are folded before comparison, so "Thériault" matches "Theriault". Verify anything the check reports against a source the person wrote themselves before editing the portal - their signed form, their letter's signature block, the local part of their institutional email, or their PubMed author record.

Pre-submission checklist

  • Every applicant-authored attachment passes cihr_pdf_check.py with zero blockers
  • pdffonts on each attachment shows only TimesNewRoman* variants, all emb yes
  • No attachment was produced by LibreOffice
  • Page limits respected for each attachment
  • Task 1 institution is the university; both Task 2 institutions are the host hospital or institute
  • cihr_roster_check.py reports zero blockers
  • Attestations present for every required role, and for no Collaborator
  • Every attestation carries a completed date
  • SO notes attached to the response, including the "no notes generated" document if the application was streamlined
  • Budget totals reconcile between ResearchNet and the narrative, or every difference is explained in the description
  • Roster surnames and given names verified against a self-authored source (their attestation form, letter signature, institutional email, or PubMed author record)

Related skills

  • cihr-grant-writing - drafting the application
  • cihr-project-grant-audit - scientific and internal-consistency audit of a non-RCT application
  • cihr-protocol-audit - the same for a clinical trial protocol

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Cihr Format Compliance AI skill do?

Verify that CIHR application PDFs and attachments meet the agency's mechanical format rules - Times New Roman, black, 12 pt minimum, 2 cm margins - that the right documents are attached, and that roster surname/given-name fields and STRAC attestation roles are correct. Use before submitting a CIHR Project Grant, after any document is re-exported, or when a grants officer returns an application for formatting. Also use when asked whether an application is ready to submit, or to check a ResearchNet export.

Why use Cihr Format Compliance on TypingMind?

Because you install it once and use it with any model. Cihr Format Compliance is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Cihr Format Compliance in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/HeartWise-AI/ai-writing-skills/tree/main/cihr-format-compliance. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Cihr Format Compliance?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Cihr Format Compliance?

As many as you like. As long as a model supports skills, you can use Cihr Format Compliance with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Cihr Format Compliance AI skill free?

It is published on GitHub by HeartWise-AI. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇