author

author is a command for Claude Code from reggiechan74/cc-plugins. It costs 18 tokens per session (5,045 once invoked), scanned A, original, MIT.

An interactive tool for creating a mathematical paper section by section, including prose, equations, and checked Python code.

In plain words
What is it for?
Use it to develop a new math paper or continue one using findings from an earlier review file.
Why use it?
It helps turn informal ideas into a structured paper while validating each section before continuing.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the math-paper-creator plugin — 7 commands shipped together

Good fit Use it to develop a new math paper or continue one using findings from an earlier review file.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add reggiechan74/cc-plugins
Claude Code
/plugin install math-paper-creator

Made for: Claude Code.

Or install math-paper-creator, the plugin that ships this one along with the rest of its 7 commands.

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 author

README.md
[![agentmods](https://agentmods.dev/badge/commands/reggiechan74/cc-plugins/author/github.svg)](https://agentmods.dev/commands/reggiechan74/cc-plugins/author)
Your own site
<a href="https://agentmods.dev/commands/reggiechan74/cc-plugins/author"><img src="https://agentmods.dev/badge/commands/reggiechan74/cc-plugins/author/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 author

Your own site · 80×15
<a href="https://agentmods.dev/commands/reggiechan74/cc-plugins/author"><img src="https://agentmods.dev/badge/commands/reggiechan74/cc-plugins/author.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,045 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.00018 $0.05045
Opus 5.5 $0.00007 $0.02018
Sonnet 5.5 $0.00004 $0.01009
Haiku 4.5 $0.00002 $0.00505

Measured 1mo ago against content hash da0fb0c21b3f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

author 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 1mo 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.

math-paper-creator/commands/author.md · 420 lines

How it starts

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

Author a Math Paper

Create a new .model.md document through interactive ideation. You describe concepts — Claude formalizes them into complete paper sections with prose, display math, and validated Python blocks. Each section is written and validated before moving on.

Step 1: Initialize

New paper (no path given, or file doesn't exist):

  1. Check for review findings. If the user provides a .review.md file as the path argument, or if a <basename>.review.md file exists adjacent to the target .model.md path, read the review findings. These contain a recommended template, outline, and key decisions from a prior /math-paper-creator:review session. Tell the user: "I found review findings from a prior session. I'll use these to guide template selection and authoring." Skip items 1-3 below and proceed directly to Step 1.5 with the review context loaded. If no review file is found, continue with item 1.
  2. Ask the user to describe the problem domain. Accept anything from a vague concept ("I want to model workforce optimization under constraints") to a specific sketch ("I have sets I, J, P and an allocation variable x_ijp").
  3. Create the .model.md file with YAML frontmatter:
    ---
    title: <derived from user description>
    date: <today>
    author: <ask or infer>
    version: 0.1
    ---
    
  4. Initialize an empty running symbol name registry (a list you maintain across sections).
  5. Proceed to Step 2.

Resume (path to an existing .model.md file):

  1. Read the file.
  2. Run the meta-compiler check to rebuild the symbol state:
    cd ${CLAUDE_PLUGIN_ROOT} && PYTHONPATH=src python3 -m meta_compiler.cli check "<file_path>"
    
  3. Rebuild the running symbol name registry from the existing validate blocks (read all symbol names already registered).
  4. Show the user a summary: number of sections, symbol count by type, any warnings.
  5. Ask where they want to continue. Proceed to the authoring loop (Step 3).

Step 1.5: Template selection

Read the full file on GitHub · 420 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. 1mo ago First seen · 420 lines · 18 tokens per session scan A da0fb0c21b3f

Subscribe to this mod's changes

author is a command published in the GitHub repository reggiechan74/cc-plugins (7 stars, last pushed 5mo ago), licensed MIT. It adds 18 tokens to every session and 5,045 once invoked, about $0.0001 per session on Opus 5.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-31.