law-resubmit

law-resubmit is a skill for Claude Code, Codex from li-ch/law-skills. It costs 54 tokens per session (482 once invoked), scanned A, original, MIT.

A workflow for preparing a LaTeX research paper for submission to a different conference or publication venue after rejection. It changes the paper's venue-specific template and keeps the project's Git history.

In plain words
What is it for?
Use it to copy a paper repository, switch templates and citation styles, archive old PDFs and reviews, update venue details, and create a resubmission commit.
Why use it?
It reduces the manual work and risk of carrying old formatting, reviews, or generated files into a new submission.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Good fit Use it to copy a paper repository, switch templates and citation styles, archive old PDFs and reviews, update venue details, and create a resubmission commit.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/li-ch/law-skills/law-resubmit
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 li-ch/law-skills --skill law-resubmit
Clone the repo
git clone --depth 1 https://github.com/li-ch/law-skills

Made for: Claude Code, Codex.

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 law-resubmit

README.md
[![agentmods](https://agentmods.dev/badge/skills/li-ch/law-skills/law-resubmit/github.svg)](https://agentmods.dev/skills/li-ch/law-skills/law-resubmit)
Your own site
<a href="https://agentmods.dev/skills/li-ch/law-skills/law-resubmit"><img src="https://agentmods.dev/badge/skills/li-ch/law-skills/law-resubmit/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 law-resubmit

Your own site · 80×15
<a href="https://agentmods.dev/skills/li-ch/law-skills/law-resubmit"><img src="https://agentmods.dev/badge/skills/li-ch/law-skills/law-resubmit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 482 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.00054 $0.00482
Opus 5.5 $0.00022 $0.00193
Sonnet 5.5 $0.00011 $0.00096
Haiku 4.5 $0.00005 $0.00048

Measured 11d ago against content hash 887d20cff83e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

law-resubmit 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 11d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/resubmit.sh, tests/run-tests.sh), 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.

law-resubmit/SKILL.md · 53 lines

What it actually says

LAW Resubmit

Prepare a paper for resubmission to a new venue. Copies the repo, swaps templates, archives old artifacts, and continues git history.

Workflow

Step 1: Gather parameters

Ask the user for:

  • New venue (nsdi, sp (IEEE S&P), sigcomm, apnet, arxiv)
  • New year
  • New cycle (optional)

Same interactive prompt flow as law-bootstrap.

Step 2: Run resubmit script

bash scripts/resubmit.sh --venue <venue> --year <year> [--cycle <cycle>]

The script:

  1. Copies the entire paper repo to {name}-{new-venue}-{new-year}[-{new-cycle}]
  2. Swaps document class, style files, and citation style for the new venue
  3. Updates AGENTS.md with the new venue name
  4. Strips venue-specific formatting (e.g., ACM copyright block → remove for arxiv submission)
  5. Moves old timestamped PDFs (main-*.pdf) to archive/
  6. Moves old reviews/ contents to archive/
  7. Commits: git add -A && git commit -m "resubmit: switch venue to {new-venue} {new-year}"

Step 3: Safety checks

  • If the target directory already exists: warn and ask for confirmation
  • If the new venue is the same as the old venue: warn (should use a different cycle/year)
  • Never delete the original paper repo — only copy and modify the copy

What gets archived

Only main-*.pdf files and reviews/ contents go to archive/. Everything else is overwritten in-place in the new repo.

What stays the same

  • All section content (sections/*.tex)
  • All figures (figs/*)
  • All data (data/*)
  • Paper narrative in CLAUDE.md
  • Git history continues (no fresh git init)
Files

What ships with it

2 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. 11d ago Changed 887d20cff83e
  2. 2mo ago First seen · 53 lines · 54 tokens per session scan A 111be7c486e2

Subscribe to this mod's changes

law-resubmit is a skill published in the GitHub repository li-ch/law-skills (11 stars, last pushed 9d ago), licensed MIT. It adds 54 tokens to every session and 482 once invoked, about $0.0002 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-30.

Related

law-resubmit compared with skills from other repositories

law-resubmit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
law-resubmitli-ch/law-skillsSkill119d agoMITA54Claude Code, Codex
clinical-case-reportnexu-io/open-designSkill106kyesterdayApache-2.0A73Claude Code, Codex
instrument-data-to-allotropeanthropics/knowledge-work-pluginsSkill35k2d agoApache-2.0A123Claude Code
pydicomK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA52Claude Code, Codex
nature-paper2wordYuan1z0825/nature-skillsSkill52k2d agoApache-2.0A233Codex
nature-paper-transYuan1z0825/nature-skillsSkill52k2d agoApache-2.0A68Codex
nature-experiment-logYuan1z0825/nature-skillsSkill52k2d agoApache-2.0A45Codex