cite

cite is a command for Claude Code from Abhinavbwj/AEC-Scholar. It costs 21 tokens per session (381 once invoked), scanned A, original, MIT.

A command for creating properly formatted citations and reference lists in styles such as APA, IEEE, Chicago, and Vancouver.

In plain words
What is it for?
Use it to format books, articles, conference papers, theses, standards, datasets, and reports, complete verifiable metadata from a DOI or URL, and produce in-text citations, full references, or BibTeX.
Why use it?
It reduces manual formatting work and helps ensure that bibliographic details and citation rules are handled consistently without inventing missing information.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the aec-scholar plugin — 11 skills, 36 commands, 10 agents, 1 hook shipped together

Good fit Use it to format books, articles, conference papers, theses, standards, datasets, and…

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/abhinavbwj/aec-scholar/cite
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/Abhinavbwj/AEC-Scholar

Made for: Claude Code.

Or install aec-scholar, the plugin that ships this one along with the rest of its 11 skills, 36 commands, 10 agents, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cite

README.md
[![agentmods](https://agentmods.dev/badge/commands/abhinavbwj/aec-scholar/cite.svg)](https://agentmods.dev/commands/abhinavbwj/aec-scholar/cite)
Your own site
<a href="https://agentmods.dev/commands/abhinavbwj/aec-scholar/cite"><img src="https://agentmods.dev/badge/commands/abhinavbwj/aec-scholar/cite.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 381 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.00381
Opus 5 $0.00010 $0.00191
Sonnet 5 $0.00004 $0.00076
Haiku 4.5 $0.00002 $0.00038

Measured 6d ago against content hash 335f15867474, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

cite scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

aec-scholar/commands/cite.md · 27 lines

What it actually says

Format the reference(s): $ARGUMENTS

Use the citation-manager agent and the citation-formats skill.

  1. Determine the style. Use the --style flag if given; otherwise infer from the target venue the user names (ASCE → ASCE author–date; IEEE → IEEE numbered; Elsevier AEC journal → numbered/Elsevier; management venue → APA/Harvard). If unknown, ask or default to APA 7 and say so.

  2. Gather complete metadata. If only a DOI/URL/partial detail is given, look it up to complete the fields (authors, year, title, venue, volume/issue, pages, DOI). Report what you found.

  3. Output both the in-text citation and the full reference in the chosen style, correctly applying that style's rules (case, et al. cutoff, journal abbreviation, DOI format). Handle the source type correctly (journal article, conference paper, book/chapter, thesis, standard, dataset, report).

  4. Offer conversions to other styles and a BibTeX entry (/aec-scholar:bibtex).

Integrity (hard rule): never fabricate any field. If a detail can't be verified, insert a clearly marked placeholder like <<VERIFY: issue number>> and tell the user to confirm it on the DOI/publisher page. Never present an unverified reference as confirmed.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 27 lines · 21 tokens per session scan A 335f15867474

Subscribe to this mod's changes

cite is a command published in the GitHub repository Abhinavbwj/AEC-Scholar (18 stars, last pushed 2mo ago), licensed MIT. It adds 21 tokens to every session and 381 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.