Run the CLI commands in the terminal:
Initialize a new PaperKit paper project. Sets up directory structure, LaTeX templates, and configuration.
./paperkit init # Initialize new paper project
./paperkit init --help # Show initialization optionsDisplay available commands, options, and examples.
./paperkit helpGenerate IDE-specific agent files (GitHub Copilot, OpenAI Codex) from the canonical .paperkit/ definitions. Use --check to verify if regeneration is needed.
./paperkit generate
./paperkit generate --target=copilot
./paperkit generate --target=codex
./paperkit generate --target=all
./paperkit generate --checkValidate agent definitions, workflow schemas, and tool configurations. Checks YAML structure, required fields, and manifest consistency.
./paperkit validateView current version and detailed version metadata. Version management commands (modify/bump) require paperkit-dev.
./paperkit version # Show current version
./paperkit version --info # Show full version info (JSON)
./paperkit version --help # Show version helpFor version modification commands, see Developer Commands.
Compile academic papers, check LaTeX syntax, and preview PDF output. Build runs multiple passes for bibliography and cross-references.
./paperkit latex build # Compile PDF (3-pass with BibTeX)
./paperkit latex lint # Check LaTeX syntax
./paperkit latex open # Open compiled PDFFor a comprehensive guide on how the LaTeX document is assembled from modular components, see LATEX-ASSEMBLY.md.
Extract text evidence from PDF files based on search terms. Useful for forensic audits and citation verification.
./paperkit evidence --dir <pdf_dir> --output <output_md> [--terms "term1" "term2" ...]
./paperkit evidence --help # Show evidence extraction help