cite-placement

cite-placement is a skill for Claude Code from kennethkhoocy/legal-scholarship-skills. It costs 181 tokens per session (4,182 once invoked), scanned A, a copy of cite-placement, MIT.

A citation tool for placing screened literature references into LaTeX or Word manuscripts, or changing existing citations from one style to another.

In plain words
What is it for?
Use it to add author-date citations, create legal or academic footnotes, format styles such as Bluebook and OSCOLA, or restyle existing footnotes.
Why use it?
It removes the manual work of matching sources to claims and formatting citations consistently in inline citations or footnotes.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents; mentions Claude Code.

Part of the legal-scholarship plugin — 7 skills shipped together

Good fit Use it to add author-date citations, create legal or academic footnotes, format styles such as Bluebook and OSCOLA, or restyle existing footnotes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kennethkhoocy/legal-scholarship-skills/cite-placement
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.

Any agent
npx skills add kennethkhoocy/legal-scholarship-skills --skill cite-placement
Clone the repo
git clone --depth 1 https://github.com/kennethkhoocy/legal-scholarship-skills

Made for: Claude Code.

Or install legal-scholarship, the plugin that ships this one along with the rest of its 7 skills.

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-placement

README.md
[![agentmods](https://agentmods.dev/badge/skills/kennethkhoocy/legal-scholarship-skills/cite-placement/github.svg)](https://agentmods.dev/skills/kennethkhoocy/legal-scholarship-skills/cite-placement)
Your own site
<a href="https://agentmods.dev/skills/kennethkhoocy/legal-scholarship-skills/cite-placement"><img src="https://agentmods.dev/badge/skills/kennethkhoocy/legal-scholarship-skills/cite-placement/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cite-placement

Your own site · 80×15
<a href="https://agentmods.dev/skills/kennethkhoocy/legal-scholarship-skills/cite-placement"><img src="https://agentmods.dev/badge/skills/kennethkhoocy/legal-scholarship-skills/cite-placement.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 181 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,182 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 100% copy Near-identical to another mod 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.00181 $0.04182
Opus 5 $0.00090 $0.02091
Sonnet 5 $0.00036 $0.00836
Haiku 4.5 $0.00018 $0.00418

Measured 12d ago against content hash 855cb1862d92, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

cite-placement 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 12d ago.

The scan reads SKILL.md. This mod also ships 26 executable files (scripts/core/__init__.py, scripts/core/docx_support/__init__.py, scripts/core/docx_support/audit_ooxml.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

This is a copy

100% identical to cite-placement — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/legal-scholarship/skills/cite-placement/SKILL.md · 257 lines

How it starts

The opening of the file, as written. The whole thing — 257 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Citation Placement

Unified router for three citation workflows. A single Tkinter launcher collects inputs and writes run_config.json; the "pipeline" value selects one of three modes, each with its own detailed workflow document.

Modes and Routing

Mode pipeline value What it does Workflow doc
Inline placement inline Places screened citations as inline \cite{} / \citet{} / \citep{} commands with a compiled references.bib. For economics, finance, and social-science journals (APA, MLA, Harvard, Chicago author-date, IEEE, Vancouver). .tex only. references/phase-details-inline.md
Footnote placement footnotes Places screened citations as full formatted \footnote{} (LaTeX) or native OOXML footnotes (Word), with one-click legal/notes style selection (Bluebook, OSCOLA, Chicago notes-bib, APA 7th, McGill) and Id./supra short-form post-processing. .tex or .docx. references/phase-details-footnotes.md
Restyle restyle Converts ALL existing footnote citations (hand-written or pipeline-placed) from one style to another. No spreadsheet required. .tex or .docx. Restyle Pipeline section of references/phase-details-footnotes.md

Read the relevant workflow document at the start of each phase.

Launcher-First Protocol

When the user triggers this skill:

  1. Run the launcher with a 10-minute timeout (the user needs time to browse and configure), using the skill's known absolute directory as [skill-dir], not the current working directory:
    python "[skill-dir]/scripts/launcher.py"
    
    Call it via the Bash tool with timeout: 600000.
  2. The unified GUI presents the file fields and options for all three modes and offers three run buttons — Inline Placement, Footnote Placement, and Restyle — plus a Utilities area (Strip All Citations; Regenerate / Reorder Cross-Refs, with or without an existing registry). On any run button the launcher validates inputs and writes placement/run_config.json in the output file's parent directory, then prints machine-readable status lines to stdout.
  3. Parse the launcher's stdout:
    • LAUNCHER_STATUS: success — proceed. If missing or cancelled, stop.
    • LAUNCHER_CONFIG_PATH: <path> — the absolute path to run_config.json. Use this path for all subsequent phases. All paths inside the config are absolute; do not assume the config lives in the current working directory.
  4. Read run_config.json and route on config["pipeline"]:
    • "inline" → run the inline placement pipeline (references/phase-details-inline.md).
    • "footnotes" → run the footnote placement pipeline (references/phase-details-footnotes.md).
    • "restyle" → run the restyle pipeline (Restyle Pipeline section of references/phase-details-footnotes.md).
  5. Run the selected pipeline end-to-end without asking questions or waiting for confirmation between phases. The only pause is the Phase 4 human-in-the-loop gate in the two placement modes, and only when auto_approve is false.

Read the full file on GitHub · 257 lines

Files

What ships with it

43 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 257 lines · 181 tokens per session scan A 855cb1862d92

Subscribe to this mod's changes

cite-placement is a skill published in the GitHub repository kennethkhoocy/legal-scholarship-skills (9 stars, last pushed 7d ago), licensed MIT. It adds 181 tokens to every session and 4,182 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to cite-placement, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

literature-searcher

Search CrossRef, OpenAlex, PubMed, Semantic Scholar, and optional Scopus; deduplicate results, download open-access PDFs by DOI, classify papers, monitor new results, and analyze coverage. Use when asked to search literature, monitor a topic, download an open-access paper, classify papers, or analyze literature gaps.

Dianel555/DSkills · 72 tokens

latex-empirical-tables

Set up, format, fix, and clean up LaTeX regression and estimation tables in empirical economics or finance papers. Use when (a) creating a .tex, results.tex, main.tex, or preamble to display regression or estimation output from Python (pyfixest), Stata, or R — including any mention of estout, esttab, estauto, estwide…

kennethkhoocy/applied-micro-skills · 240 tokens

cite-placement

Place pre-screened literature citations into a LaTeX or Word manuscript, or restyle the citations already in one. Three modes: (1) inline placement — inline \cite{}/\citet{}/\citep{} with a compiled references.bib, for author-date journals (APA, MLA, Harvard, Chicago author-date, IEEE, Vancouver); (2) footnote…

kennethkhoocy/applied-micro-skills · 181 tokens

adversarial-empirical-review

N-round adversarial review pipeline for empirical research output — the chain from data to LaTeX tables to a manuscript that cites them. A Claude drafter proposes minimal diffs, a deterministic mechanical battery gates every diff from a clean state with a regression gate, a Codex reviewer files check-backed critiques…

kennethkhoocy/applied-micro-skills · 208 tokens

event-study-cars

Complete methodology for computing publication-quality cumulative abnormal returns with proper event-study test statistics, matching the robustness of Kaspereit's eventstudy2 for Stata. Covers dateline construction, event-date mapping, estimation and event windows, thin-trading adjustment, OLS with Theil prediction…

kennethkhoocy/applied-micro-skills · 153 tokens

stata

Use this skill whenever the user asks to run Stata commands, estimate econometric models, work with .dta files, run a .do file, generate Stata output, or do any statistical analysis where Stata is involved. Also trigger when the user mentions Stata variables, Stata syntax, or econometric tasks where Stata is the…

kennethkhoocy/applied-micro-skills · 165 tokens