Cover letter

From bahayonghang/academic-writing-skills · View interactive version

Cover letter is an AI agent skill from the GitHub repository bahayonghang/academic-writing-skills. Submission cover-letter assistant for existing LaTeX manuscripts. Use to generate, optimize, align-check, preflight, and journal-fit-check cover letters against paper evidence, novelty claims, and target venue expectations. Also handles Chinese requests (写投稿信 / 致编辑信). Do not use for editing main.tex

How to use this skill

Skill file

Cover Letter Skill (Academic Submission)

Generate, optimize, align-check, journal-fit-check, and pre-submission-check a submission cover letter using the user's existing LaTeX manuscript as the evidence source. The core differentiating capability is align-check: every claim the letter makes must trace to visible manuscript evidence; generation and optimization plug into that contract by default.

Capability Summary

Triggering

Use when the user has a LaTeX manuscript and wants a cover letter generated, an existing letter polished/reviewed, claims verified against the manuscript, a journal-fit assessment, or pre-submission declaration/length/phrasing checks. Prefer this skill over generic prose tools whenever the request mentions "cover letter," "submission letter," "投稿信," or "editor letter" with a paper / journal / conference context.

Do Not Use

Module Router

| Module | Use when | Primary command | Read next |

| --- | --- | --- | --- |

| generate | Draft a letter from a manuscript | uv run python -B $SKILL_DIR/scripts/cover_letter.py --mode generate --manuscript main.tex --journal nature --json | references/LETTER_STRUCTURE.md, references/JOURNAL_TIERS.md, templates/<venue>.md |

| optimize | Polish an existing draft | uv run python -B $SKILL_DIR/scripts/cover_letter.py --mode optimize --letter cover_letter.md --manuscript main.tex --journal nature --json | references/PRESUBMISSION_RULES.md, references/FORBIDDEN_PHRASES.md |

| align-check | Verify letter claims against the manuscript | uv run python -B $SKILL_DIR/scripts/cover_letter.py --mode align-check --letter cover_letter.md --manuscript main.tex --json | references/CLAIM_EVIDENCE_CONTRACT.md, references/ISSUE_SCHEMA.md |

| journal-fit | Is the letter framed for the target venue? | uv run python -B $SKILL_DIR/scripts/cover_letter.py --mode journal-fit --letter cover_letter.md --journal nature --json | references/JOURNAL_TIERS.md, templates/<venue>.md |

| presubmission | Declaration, length, cliché, tone checks only | uv run python -B $SKILL_DIR/scripts/cover_letter.py --mode presubmission --letter cover_letter.md --journal nature --json | references/PRESUBMISSION_RULES.md, templates/<venue>.md |

Required Inputs

If a required argument is missing, ask only for the missing piece.

Output Contract

Workflow

  1. Parse $ARGUMENTS; prefer explicit --mode. If the user did not name a mode, infer only when unambiguous: manuscript-only → generate; letter + manuscript → optimize; explicit "align" → align-check; explicit "fit" → journal-fit; explicit "declaration/checklist" → presubmission.
  2. Run the Module Router command for the active mode, then follow the per-mode phase steps in references/MODE_GUIDE.md (inputs, which references/templates to read, align-check integration matrix, routing rules). Key invariants: generate synthesizes prose from the facts blob + templates/<journal>.md, then runs presubmission and align-check on any saved draft; optimize proposes % MODULE [Severity] comment rewrites and re-runs align-check on saved rewrites; journal-fit reports per-axis verdicts with the quotes that triggered them.
  3. When a script fails, stop the current mode, report the exact command + exit code, and recommend the next smallest useful fallback.

Portable Execution

Frontmatter allowed-tools is Claude-compatible metadata. It is not a mandatory permission list on other platforms. Map this skill's read / search / exec / delegate needs onto the current session's available capabilities. Script and semantic contracts do not depend on the literal names Read, Glob, Grep, Bash, or Task.

If this session has a native delegate, use it only for work that the current tool actually spawned as an independent child. If this session has no native delegate, run the same checks sequentially in one agent and say so. Do not claim a capability this session did not provide.

Keep root-cause analysis, academic judgment, severity, and final acceptance on a strong model. Cheap-model work stays inside an approved file and test boundary. Escalate when a new interface appears, the change crosses unapproved directories, an academic conclusion changes, or a failure falls outside the plan.

Safety Boundaries

Reference Map

Read only the file that matches the active mode.

Example Requests

See examples/ for complete request-to-command walkthroughs.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.