publish

publish is a command for Claude Code from nguyenvanduocit/research-kit. It costs 5 tokens per session (3,127 once invoked), scanned A, original, from a forked repository, MIT.

A command for turning synthesised research findings into a complete article intended for submission to a journal or conference.

In plain words
What is it for?
Use it after synthesis to write research articles with narrative prose, analysis, specific evidence, and footnote citations.
Why use it?
It helps produce a full evidence-based publication instead of leaving the research as notes, an outline, or a short summary.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

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.

agentmods
npx agentmods add commands/nguyenvanduocit/research-kit/publish
Clone the repo
git clone --depth 1 https://github.com/nguyenvanduocit/research-kit

Made for: Claude Code.

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 publish

README.md
[![agentmods](https://agentmods.dev/badge/commands/nguyenvanduocit/research-kit/publish.svg)](https://agentmods.dev/commands/nguyenvanduocit/research-kit/publish)
Your own site
<a href="https://agentmods.dev/commands/nguyenvanduocit/research-kit/publish"><img src="https://agentmods.dev/badge/commands/nguyenvanduocit/research-kit/publish.svg" alt="Measured on agentmods" height="20"></a>
Per session 5 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,127 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin fork From a forked repository.
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.00005 $0.03127
Opus 5 $0.00003 $0.01563
Sonnet 5 $0.00001 $0.00625
Haiku 4.5 $0.00001 $0.00313

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

Security

Grade A, and why

publish 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.

templates/commands/publish.md · 387 lines

How it starts

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

User Input

$ARGUMENTS

Outline

This command creates publication-ready research articles that are rich, informative, and submission-ready. Run this after /research.synthesize.

CRITICAL: Writing Quality Requirements

Your publication MUST be a complete, submission-ready article — NOT a summary or outline.

The Problem with AI-Generated Research

AI often produces:

  • ❌ Skeleton outlines with placeholder text
  • ❌ Excessive bullet points instead of prose
  • ❌ Mechanical, repetitive sentence structures
  • ❌ Surface-level summaries that waste the reader's time
  • ❌ Missing evidence and citations
  • ❌ Generic statements without specific insights

What This Publication MUST Be

  • Rich narrative prose — Write in flowing paragraphs, not bullet lists
  • Evidence-dense — Every claim backed by footnotes with exact quotes
  • Insightful — Provide analysis, synthesis, and original insights
  • Complete — Ready for journal/conference submission as-is
  • Human-quality writing — Varied sentence structure, engaging flow
  • Specific and concrete — Numbers, examples, case studies, not vague generalizations

Footnote Citation Format (MANDATORY)

Every significant claim MUST have a footnote citation with:

  1. The exact quote from the source (in quotation marks)
  2. The file:line reference

Footnote Format

The research demonstrates significant improvements in model accuracy.[^1]

[^1]: "Our experiments showed a 34.7% improvement in accuracy compared to the baseline, with statistical significance at p < 0.001" — sources/papers/smith-2024-ml-safety.md:145-147

Multiple Sources for One Claim

This finding aligns with the broader consensus in the field.[^2]

[^2]: "Transformer architectures have become the dominant paradigm" — sources/papers/vaswani-2017-attention.md:23; See also: "The shift to attention-based models represents a fundamental change" — sources/papers/brown-2020-gpt3.md:89-91

Read the full file on GitHub · 387 lines

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 · 387 lines · 5 tokens per session scan A 58da0bbb4fcd

Subscribe to this mod's changes

publish is a command published in the GitHub repository nguyenvanduocit/research-kit (20 stars, last pushed 5mo ago), licensed MIT. It adds 5 tokens to every session and 3,127 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. It comes from a forked repository.