# Submission Packager

Package a G6-approved mathematical-modeling paper and its exact supporting code, data...

- Repository: https://github.com/zhnnky329/MathModeling-skills (1073 stars)
- Category: Engineering
- License: MIT
- Last updated: 2026-09-24
- Runs scripts: yes, review before use

## Install

Claude Code: `npx skills add zhnnky329/MathModeling-skills --skill submission-packager -g -a claude-code -y`
Codex: `npx skills add zhnnky329/MathModeling-skills --skill submission-packager -g -a codex -y`
Cursor: `npx skills add zhnnky329/MathModeling-skills --skill submission-packager -g -a cursor -y`
Gemini CLI: `npx skills add zhnnky329/MathModeling-skills --skill submission-packager -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add zhnnky329/MathModeling-skills`

## Description

Package a G6-approved mathematical-modeling paper and its exact supporting code, data, results, and figures without changing their behavior or the workspace.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Purpose

Create one paper Markdown and one `支撑材料/` directory after the submission audits. Preserve selected code, inputs, and outputs under their workspace-relative paths. The packaged code must retain its module imports, CSV parsing, and normal working-directory paths. A packaging manifest stays outside the package at `planning/submission_packaging_manifest.json`.

# Preconditions

- `planning/session_config.json` selects `rigor_profile: submission`.
- Every `planning/manifests/Qx.json` is at G6 and allows final assembly.
- `paper/audits/cross_media_consistency_audit.md`, `paper/audits/completeness_audit.md`, and `paper/qa_report.md` each contain an explicit `Verdict: PASSED` line. Ask the relevant auditor to record the verdict when an older report omits it; do not infer passage from file existence.
- The paper and freezes have not changed after those audits. Renew affected audits when they have.
- Each Qx has a current `frozen_numbers.json`. Its source files identify one successful experiment round; that round's `run_summary.json` lists `scripts`, `inputs`, and `outputs` as workspace-relative paths. Update canonical run evidence through the normal workflow when a field is missing. Never select a round by its number alone.
- A final `paper/main.md` exists, or supply another Markdown with `--paper`.

If the human explicitly authorizes packaging before G6, record their choice and rationale as a `DECIDED` human `packaging_waiver` in a decision ledger. Pass its `decision_id` with `--allow-unaudited`. The package manifest records this waiver and every failed gate or audit; never label it G6-approved.

# Workflow

The rest: https://github.com/zhnnky329/MathModeling-skills/blob/HEAD/.claude/skills/submission-packager/SKILL.md
