agentleFS
rafeeqinearafeeqinea/claude-academic-toolkit/skills/writing/cite/SKILL.md

cite

Skill0 starsChanged 9 months agoMITView on GitHub

Format citations and reference lists in APA, IEEE, Harvard, Vancouver, Nature, and Chicago styles. Trigger phrases: /cite, "format citation", "convert references", "fix my bibliography", "cite this paper"

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

15 rules. About 0 are common, 14 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈14

    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
  1. Distinctive:

    Paper title only: Search for the paper to find full metadata

    line 60
  2. Distinctive:

    A file containing references: Read and batch process

    line 65
  3. Distinctive:

    All author names (full first names if available, initials at minimum)

    line 70
  4. Very specific:

    If metadata is incomplete, flag which fields are missing and ask the user.

    line 80
  5. Distinctive:

    When processing multiple references:

    line 105
  6. Distinctive:

    Read the input file or list

    line 107
  7. Distinctive:

    arXiv preprint: Use arXiv ID, include subject area

    line 125
  8. Distinctive:

    Before presenting formatted citations:

    line 132
  9. Distinctive:

    Do NOT confuse APA 6th and 7th edition (7th lists up to 20 authors, 6th stopped at 7)

    line 145
  10. Distinctive:

    Do NOT alphabetise IEEE references (they are numbered by order of appearance)

    line 146
  11. Distinctive:

    Do NOT use title case for APA article titles (sentence case only)

    line 147
  12. Distinctive:

    Do NOT omit the DOI if it exists -- modern styles require it

    line 148
  13. Distinctive:

    Do NOT use "Retrieved from" for DOIs in APA 7 (just give the URL)

    line 149
  14. Distinctive:

    Do NOT abbreviate journal names in APA or Chicago (use full names)

    line 150
  15. Distinctive:

    DO abbreviate journal names in IEEE and Vancouver (use standard abbreviations)

    line 151

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Citation Formatting Skill

Purpose

Convert paper metadata (title, DOI, URL, or BibTeX) into correctly formatted citations and reference list entries. Supports single citations and batch processing of entire reference lists.

Supported Styles

1. APA 7th Edition

  • Author, A. A., & Author, B. B. (Year). Title of article. Journal Name, volume(issue), pages. https://doi.org/xxxxx
  • Up to 20 authors listed; 21+ use first 19 ... last author
  • Hanging indent, double-spaced
  • In-text: (Author & Author, Year) or Author and Author (Year)

2. IEEE

  • [1] A. A. Author and B. B. Author, "Title of article," Journal Name, vol. X, no. Y, pp. Z-Z, Mon. Year. doi: xxxxx.
  • Numbered in order of appearance, NOT alphabetical
  • In-text: [1], [1]-[3], [1, 4, 7]

3. Harvard

  • Author, A.A. and Author, B.B. (Year) 'Title of article', Journal Name, volume(issue), pp. pages. doi: xxxxx.
  • Alphabetical by first author surname
  • In-text: (Author and Author, Year) or Author and Author (Year)

4. Vancouver

  • Author AA, Author BB. Title of article. Journal Name. Year;Volume(Issue):Pages. doi: xxxxx.
  • Numbered in order of appearance
  • In-text: superscript numbers or (1) depending on journal variant

5. Nature

  • Author, A. A. & Author, B. B. Title of article. Journal Name volume, pages (Year).
  • Numbered in order of appearance
  • In-text: superscript numbers

6. Chicago (Author-Date, 17th Edition)

  • Author, First A., and First B. Author. Year. "Title of Article." Journal Name volume (issue): pages. https://doi.org/xxxxx.
  • In-text: (Author and Author Year, page)

Workflow

Step 1: Determine Input Format

The user may provide any of:

  • Paper title only: Search for the paper to find full metadata
  • DOI: Resolve metadata from the DOI
  • URL: Extract metadata from the page (arXiv, publisher site, Google Scholar)
  • BibTeX entry: Parse directly
  • Raw/messy citation: Parse and reformat
  • A file containing references: Read and batch process

Step 2: Extract Metadata

For each reference, extract:

  • All author names (full first names if available, initials at minimum)
  • Publication year
  • Article/paper title
  • Journal/conference name (use official abbreviation for IEEE/Vancouver)
  • Volume, issue, page numbers
  • DOI or URL
  • Publisher (for books)
  • Edition (for books)
  • Chapter (for book chapters)

If metadata is incomplete, flag which fields are missing and ask the user. Never fabricate metadata -- missing fields must be marked as [missing].

Step 3: Format Output

Apply the requested citation style precisely. Pay attention to:

  • Punctuation: Commas, periods, colons -- every style has specific rules
  • Italics: Journal names are italicised in most styles (use asterisks in markdown, \textit{} in LaTeX)
  • Capitalisation: Title case vs sentence case varies by style
    • APA: Sentence case for article titles, title case for journal names
    • IEEE: Sentence case for article titles, italic title case for journal names
    • Chicago: Title case for article titles in bibliography
  • Author formatting: "A. A. Author" (IEEE) vs "Author, A. A." (APA) vs "Author AA" (Vancouver)
  • Ampersand vs "and": APA uses & in parenthetical, "and" in narrative; IEEE uses "and"
  • Et al. rules: Vary by style (APA: 3+ in-text, list up to 20 in references)

Step 4: Provide Both Formats

Always output:

  1. Markdown (for documents and notes)
  2. LaTeX (for papers and reports, using \bibitem or BibTeX @article{} entry)
  3. In-text citation example (parenthetical and narrative forms where applicable)

Batch Mode

When processing multiple references:

  1. Read the input file or list
  2. Parse each entry
  3. Output a complete formatted reference list in the requested style
  4. Sort correctly (alphabetical for APA/Harvard/Chicago, numerical for IEEE/Vancouver/Nature)
  5. Number references if the style requires it
  6. Flag any entries with missing or ambiguous metadata

For BibTeX conversion, output a complete .bib file with consistent citation keys in the format authorYear (e.g., smith2024).

Reference Type Templates

Handle all common reference types:

  • Journal article: Standard format as above
  • Conference paper: Include conference name, location, pages, publisher
  • Book: Include publisher, edition, city
  • Book chapter: Include editors, book title, chapter pages
  • Thesis/dissertation: Include institution, degree type
  • arXiv preprint: Use arXiv ID, include subject area
  • Website: Include access date, URL
  • Software/code: Include version, repository URL
  • Dataset: Include repository, version, identifier

Quality Checks

Before presenting formatted citations:

  • All author names are correctly ordered and formatted
  • Year is present and plausible
  • Journal/conference name matches the style's abbreviation conventions
  • DOI is formatted as a URL (https://doi.org/...) or bare identifier per style
  • Punctuation matches the style exactly
  • Capitalisation rules are applied correctly
  • No metadata has been fabricated -- missing fields are flagged
  • In-text citation format matches the reference list style

Common Pitfalls to Avoid

  • Do NOT confuse APA 6th and 7th edition (7th lists up to 20 authors, 6th stopped at 7)
  • Do NOT alphabetise IEEE references (they are numbered by order of appearance)
  • Do NOT use title case for APA article titles (sentence case only)
  • Do NOT omit the DOI if it exists -- modern styles require it
  • Do NOT use "Retrieved from" for DOIs in APA 7 (just give the URL)
  • Do NOT abbreviate journal names in APA or Chicago (use full names)
  • DO abbreviate journal names in IEEE and Vancouver (use standard abbreviations)

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.