recommendation-letter
Skill8 starsChanged 2 months agoMITView on GitHub
Generate support, recommendation, appreciation, acceptance, and dispense (short-stay invitation) letters for a supervisor's students and candidates, in LaTeX compiled to PDF, signed by the active profile's author. Ingests the candidate's own files (CV, transcript, project description, motivation letter) and highlights both the candidate's dossier and the professor's own experience with the candidate. Trigger on: recommendation letter, support letter, appreciation letter, acceptance letter, invitation letter, dispense / work permit exemption letter, lettre d'appui, lettre de recommandation, lettre d'appreciation, lettre d'acceptation, lettre d'invitation, lettre de dispense, PFLA, ELAP, CRSNG, FRQNT, MITACS, or /recommendation-letter.
- Installs packages
In this repository47 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/skills/AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- aider-setupSkill
- deliberationSkill
- drawio2tikzSkill
- extract-contributionsSkill
- extract-futureworksSkill
- extract-paper-ideaSkill
- extract-statisticSkill
- form-serviceSkill
- geolocalisationSkill
- latex-hygieneSkill
- loop-engineerSkill
- narrative-cvSkill
- obsidian-cliSkill
- opt-local-stt-vramSkill
- opt-local-vram-llmSkill
- paper2talkSkill
- recommendation-letterSkill
- rt-observeSkill
- scholar-evaluationSkill
- scientific-writingSkill
- scopusSkill
- word2latexSkill
- aider-setupSkill
- deliberationSkill
- drawio2tikzSkill
- extract-contributionsSkill
- extract-futureworksSkill
- extract-paper-ideaSkill
- extract-statisticSkill
- form-serviceSkill
- geolocalisationSkill
- latex-hygieneSkill
- loop-engineerSkill
- narrative-cvSkill
- obsidian-cliSkill
- opt-local-stt-vramSkill
- opt-local-vram-llmSkill
- paper2talkSkill
- rt-observeSkill
- scholar-evaluationSkill
- scientific-writingSkill
- scopusSkill
- word2latexSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 70
Read the warnings (placeholder, over-limit, status/title mismatch, style hygiene, 120-day).
- Very specific: line 82
All shipped eval / test data is synthetic (Candidat Exemple ...).
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Recommendation Letter Generator
Two generation tracks, six letter types. All output goes to out/.
- Authored track (
scholarship,academic_position,industry_position,appreciation; French or English): Claude writes the body prose, the Python script wraps it in the shared scaffold. - Form track (
acceptance,dispense; French only): the script fills a fixed administrative template from the config fields. Do not paraphrase the fixed wording (objet line, immigration paragraph).
The script scripts/generate_letter.py is standard-library only (no pip
install). pdflatex compiles the PDF; if absent, the .tex is still produced.
Candidate status (drives how the candidate is named)
applicant: admission candidate, not yet a student -> "le candidat / M. X".current_student: on the team, not graduated -> "X, etudiant(e) au<programme>".graduated: degree completed -> "le Dr X" / "Dr. X" (uses candidate_title).
Funding provider (acceptance / dispense)
supervisor: the professor funds via an organism (MITACS, CRSNG, FRQNT, BEFM, internal RA/TA).candidate: the candidate's own funding (external scholarship, or self / family funded).combination: both.
Workflow
- Ingest candidate files from
$ARGUMENTS(a folder or a list of paths): CV, transcript, project description, motivation letter. Extract GPA, course names, publications, project facts, dates. Read PDFs/text directly. - Elicit gaps with AskUserQuestion:
- Round 1 context:
letter_type,language,target,target_institution,limit,reference_number; for form types alsoinvitation_pairandfunding_provider. - Round 2 profile:
candidate_name,candidate_gender,candidate_status,candidate_title,candidate_program. - Round 3 type-specific fields, plus a question for the professor's own
experience / relationship with the candidate (authored track).
Pre-fill from the ingested files; ask only what is missing or uncertain;
mark anything unknown
[A COMPLETER].
- Round 1 context:
- Confirm a JSON summary of all fields with the user before generating.
- Author
body_tex(authored track only): a direct opening verdict, the candidate's dossier highlights, a distinct paragraph on the professor's own experience, an honest weighing of strengths, and a closing offer of availability. Followreferences/quality-patterns.md. Style hygiene: no em dash, straight quotes, no invisible characters (AI-usage < 20%). Never fabricate a grade, a publication, or a funding amount; leave[A COMPLETER]. - Generate: write the config to a scratchpad JSON and run
python .claude/skills/recommendation-letter/scripts/generate_letter.py --config <json> --output out/. - Read the warnings (placeholder, over-limit, status/title mismatch, style hygiene, 120-day). Fix the body or fields and re-run as needed.
- Deliver the
.texand.pdffromout/(two of each wheninvitation_pair=both).
Notes
- The two form types reproduce the exact administrative wording; the script owns it. Do not rewrite the immigration paragraph.
- The dispense letter subject keeps "MOINS DE 120 JOURS" even when the stay is longer (the work-permit exemption threshold is the reference); the script warns and appends the extra immigration clause.
- All shipped eval / test data is synthetic (
Candidat Exemple ...). Never commit a real candidate's personal data to the repository.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

