claude-code-my-workflow is a forkable setup for using Claude Code to produce and review academic papers, slides, data analyses, and replication packages. Researchers use its agents, skills, rules, hooks, and quality checks to coordinate these tasks and verify their results. The catalogue entries define the reusable workflow components for Claude Code.
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.
npx agentmods add skills/pedrohcgs/claude-code-my-workflow/validate-bibnpx skills add pedrohcgs/claude-code-my-workflow --skill validate-bibgit clone --depth 1 https://github.com/pedrohcgs/claude-code-my-workflowWrote 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.
[](https://agentmods.dev/skills/pedrohcgs/claude-code-my-workflow/validate-bib)<a href="https://agentmods.dev/skills/pedrohcgs/claude-code-my-workflow/validate-bib"><img src="https://agentmods.dev/badge/skills/pedrohcgs/claude-code-my-workflow/validate-bib.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00047 | $0.01627 |
| Opus 5 | $0.00023 | $0.00813 |
| Sonnet 5 | $0.00009 | $0.00325 |
| Haiku 4.5 | $0.00005 | $0.00163 |
Grade A, and why
validate-bib 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 2d 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- validate-bib — 94% identical, 5 lines differ
How it starts
The opening of the file, as written. The whole thing — 160 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Validate Bibliography
Cross-reference citations in lecture files against bibliography entries. Two modes:
- Default (structural): missing entries, unused entries, malformed fields, typo candidates.
--semantic: adds citation-drift detection (duplicate entries for the same paper), DOI verification via crossref, and citation-style consistency within each file.
Report saved to quality_reports/bib_audit_[structural|semantic].md.
Mode 1: Structural (default)
Steps
-
Read the bibliography file and extract all citation keys.
-
Scan lecture files for citation keys:
.tex:\cite{,\citet{,\citep{,\citeauthor{,\citeyear{,\textcite{,\parencite{.qmd/.md:@key,[@key],[@key1; @key2]- Extract all unique citation keys used.
-
Cross-reference:
- Missing entries (CRITICAL): cited in lectures, absent from
.bib. - Unused entries (informational): in
.bibbut never cited. - Typo candidates: keys within edit-distance 2 of a
.bibkey (e.g.,Smith2020vsSmth2020).
- Missing entries (CRITICAL): cited in lectures, absent from
-
Check entry quality:
- Required fields present (author, title, year, journal/booktitle).
- Author field properly formatted.
- Year in 1900–current.
- No malformed characters / encoding issues.
doifield normalized (no leadinghttps://doi.org/).
-
Write report to
quality_reports/bib_audit_structural.md.
Files scanned
Slides/*.tex
Quarto/*.qmd
guide/*.qmd
master_supporting_docs/**/*.tex
Bibliography location
Bibliography_base.bib at repo root by default; override via CLAUDE.md.
Mode 2: Semantic (--semantic)
Everything in Mode 1, plus:
2a. Citation drift detection
Multiple .bib entries describing the same paper under different keys. Symptoms:
Smith2020+Smith2020awith identical DOI or title.CallawaySantAnna2021+CS2021both pointing to the same paper.- Collaborator-merged
.bibfiles.
Detection heuristics (any → FLAG):
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.
- 2d ago First seen · 160 lines · 47 tokens per session scan A f9045d13966d
validate-bib is a skill published in the GitHub repository pedrohcgs/claude-code-my-workflow (1,562 stars, last pushed 12d ago), licensed MIT. It adds 47 tokens to every session and 1,627 once invoked, about $0.0002 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-09-03.
Other skills, from other repositories
fin-paper-figure
Generate academic-quality figures (>=300 DPI) for economics and finance papers.
fin-paper-writing
经济金融论文写作编排器。根据PAPEROUTLINE.md和REFINEDDESIGN.md,编排调用fin-paper-draft(正文写作)、fin-paper-figure(图表生成)、fin-review-loop(review循环),管理版本并确保章节间的一致性。.
fin-viz-launch
Skill "fin-viz-launch" from csmar432/finai-research, covering fin-viz-launch, 触发条件, 三种工作模式, 模式一:快速模式 (quick mode) and 关键词 → 预设映射.
fin-data-acquisition
根据REFINEDDESIGN.md中的变量定义,自动获取所需数据并生成可执行的回归分析脚本(Python/Stata)。.
fin-lit-review
经济金融领域的系统性文献综述。整合 Semantic Scholar + ArXiv + OpenAlex + NBER 构建引文网络,识别研究缺口,生成结构化文献地图。.
fin-submit-check
根据目标期刊要求,对论文进行投稿前全面检查,涵盖格式、引用、图表、数据可用性等所有投稿必需项。.