dsh-aris-panel 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +98 -0
- package/README_CN.md +87 -0
- package/dsh/checkout.patch.yml +38 -0
- package/dsh/client.js +634 -0
- package/dsh/cordis.patch.yml +44 -0
- package/dsh/index.mjs +76 -0
- package/dsh/run-status.mjs +182 -0
- package/dsh/scope-limits.mjs +50 -0
- package/dsh/workbench.mjs +291 -0
- package/mcp-servers/claude-review/README.md +93 -0
- package/mcp-servers/claude-review/run_with_claude_aws.sh +49 -0
- package/mcp-servers/claude-review/server.py +718 -0
- package/mcp-servers/codex-image2/README.md +65 -0
- package/mcp-servers/codex-image2/server.py +893 -0
- package/mcp-servers/feishu-bridge/requirements.txt +1 -0
- package/mcp-servers/feishu-bridge/server.py +240 -0
- package/mcp-servers/gemini-review/README.md +171 -0
- package/mcp-servers/gemini-review/server.py +1856 -0
- package/mcp-servers/llm-chat/requirements.txt +1 -0
- package/mcp-servers/llm-chat/server.py +664 -0
- package/mcp-servers/manual-review/README.md +133 -0
- package/mcp-servers/manual-review/server.py +910 -0
- package/mcp-servers/manual-review/ui.html +279 -0
- package/mcp-servers/minimax-chat/requirements.txt +1 -0
- package/mcp-servers/minimax-chat/server.py +381 -0
- package/package.json +51 -0
- package/skills/ablation-planner/SKILL.md +123 -0
- package/skills/alphaxiv/SKILL.md +196 -0
- package/skills/analyze-results/SKILL.md +46 -0
- package/skills/arxiv/SKILL.md +248 -0
- package/skills/auto-paper-improvement-loop/SKILL.md +651 -0
- package/skills/auto-review-loop/SKILL.md +1137 -0
- package/skills/auto-review-loop-llm/SKILL.md +259 -0
- package/skills/auto-review-loop-minimax/SKILL.md +302 -0
- package/skills/citation-audit/SKILL.md +502 -0
- package/skills/claims-drafting/SKILL.md +227 -0
- package/skills/comm-lit-review/SKILL.md +297 -0
- package/skills/deepxiv/SKILL.md +263 -0
- package/skills/dse-loop/SKILL.md +296 -0
- package/skills/embodiment-description/SKILL.md +129 -0
- package/skills/exa-search/SKILL.md +205 -0
- package/skills/experiment-audit/SKILL.md +311 -0
- package/skills/experiment-bridge/SKILL.md +376 -0
- package/skills/experiment-plan/SKILL.md +249 -0
- package/skills/experiment-queue/SKILL.md +431 -0
- package/skills/experiment-queue/scripts/build_manifest.py +142 -0
- package/skills/experiment-queue/scripts/queue_manager.py +433 -0
- package/skills/feishu-notify/SKILL.md +156 -0
- package/skills/figure-description/SKILL.md +138 -0
- package/skills/figure-spec/SKILL.md +262 -0
- package/skills/figure-spec/scripts/figure_renderer.py +799 -0
- package/skills/formula-derivation/SKILL.md +280 -0
- package/skills/gemini-search/SKILL.md +231 -0
- package/skills/grant-proposal/SKILL.md +698 -0
- package/skills/idea-creator/SKILL.md +542 -0
- package/skills/idea-discovery/SKILL.md +521 -0
- package/skills/idea-discovery-robot/SKILL.md +363 -0
- package/skills/integrity-forensics/SKILL.md +284 -0
- package/skills/interview-cheatsheet/SKILL.md +245 -0
- package/skills/invention-structuring/SKILL.md +188 -0
- package/skills/jurisdiction-format/SKILL.md +192 -0
- package/skills/kill-argument/SKILL.md +437 -0
- package/skills/mermaid-diagram/SKILL.md +419 -0
- package/skills/meta-apply/SKILL.md +141 -0
- package/skills/meta-optimize/SKILL.md +437 -0
- package/skills/monitor-experiment/SKILL.md +140 -0
- package/skills/novelty-check/SKILL.md +101 -0
- package/skills/openalex/SKILL.md +237 -0
- package/skills/overleaf-sync/SKILL.md +220 -0
- package/skills/paper-claim-audit/SKILL.md +348 -0
- package/skills/paper-compile/SKILL.md +266 -0
- package/skills/paper-figure/SKILL.md +312 -0
- package/skills/paper-illustration/SKILL.md +736 -0
- package/skills/paper-illustration-image2/SKILL.md +391 -0
- package/skills/paper-illustration-image2/scripts/paper_illustration_image2.py +255 -0
- package/skills/paper-plan/SKILL.md +386 -0
- package/skills/paper-poster/SKILL.md +19 -0
- package/skills/paper-poster-html/DESIGN_FINAL.md +176 -0
- package/skills/paper-poster-html/IMPLEMENTATION_CONVENTIONS.md +161 -0
- package/skills/paper-poster-html/LICENSES/posterly-MIT.txt +21 -0
- package/skills/paper-poster-html/NOTICE.md +57 -0
- package/skills/paper-poster-html/SKILL.md +323 -0
- package/skills/paper-poster-html/scripts/_posterly/__init__.py +0 -0
- package/skills/paper-poster-html/scripts/_posterly/canvas.py +200 -0
- package/skills/paper-poster-html/scripts/_posterly/measure.py +588 -0
- package/skills/paper-poster-html/scripts/_posterly/polish.py +498 -0
- package/skills/paper-poster-html/scripts/_posterly/preflight.py +489 -0
- package/skills/paper-poster-html/scripts/_posterly/render.py +215 -0
- package/skills/paper-poster-html/scripts/_posterly/textutil.py +16 -0
- package/skills/paper-poster-html/scripts/_posterly/verify_final.py +171 -0
- package/skills/paper-poster-html/scripts/asset_check.py +897 -0
- package/skills/paper-poster-html/scripts/extract_pdf_figures.py +666 -0
- package/skills/paper-poster-html/scripts/poster_check.py +251 -0
- package/skills/paper-poster-html/scripts/preprocess_figures.py +238 -0
- package/skills/paper-poster-html/scripts/render_preview.py +217 -0
- package/skills/paper-poster-html/scripts/run_gates.py +556 -0
- package/skills/paper-poster-html/scripts/style_check.py +1324 -0
- package/skills/paper-poster-html/templates/COMPONENTS.md +462 -0
- package/skills/paper-poster-html/templates/README.md +170 -0
- package/skills/paper-poster-html/templates/landscape_4col.html +1032 -0
- package/skills/paper-poster-html/templates/landscape_hero.html +1046 -0
- package/skills/paper-poster-html/templates/portrait_2col.html +947 -0
- package/skills/paper-poster-html/templates/tokens/acl.json +9 -0
- package/skills/paper-poster-html/templates/tokens/cvpr.json +9 -0
- package/skills/paper-poster-html/templates/tokens/generic.json +9 -0
- package/skills/paper-poster-html/templates/tokens/iclr.json +9 -0
- package/skills/paper-poster-html/templates/tokens/icml.json +9 -0
- package/skills/paper-poster-html/templates/tokens/neurips.json +9 -0
- package/skills/paper-slides/SKILL.md +635 -0
- package/skills/paper-talk/SKILL.md +381 -0
- package/skills/paper-write/SKILL.md +604 -0
- package/skills/paper-write/templates/IEEEtran.bst +2409 -0
- package/skills/paper-write/templates/IEEEtran.cls +6347 -0
- package/skills/paper-write/templates/iclr2026.tex +84 -0
- package/skills/paper-write/templates/icml2025.tex +87 -0
- package/skills/paper-write/templates/ieee_conference.tex +89 -0
- package/skills/paper-write/templates/ieee_journal.tex +93 -0
- package/skills/paper-write/templates/math_commands.tex +48 -0
- package/skills/paper-write/templates/neurips2025.tex +80 -0
- package/skills/paper-writing/SKILL.md +916 -0
- package/skills/patent-novelty-check/SKILL.md +153 -0
- package/skills/patent-pipeline/SKILL.md +344 -0
- package/skills/patent-review/SKILL.md +203 -0
- package/skills/pixel-art/SKILL.md +137 -0
- package/skills/prior-art-search/SKILL.md +146 -0
- package/skills/proof-checker/SKILL.md +866 -0
- package/skills/proof-orchestrator/NOTICE.md +24 -0
- package/skills/proof-orchestrator/SKILL.md +254 -0
- package/skills/proof-orchestrator/references/audit-output-contract.md +126 -0
- package/skills/proof-orchestrator/references/deepseek-routing.md +74 -0
- package/skills/proof-orchestrator/references/dispatch-prompts.md +227 -0
- package/skills/proof-orchestrator/references/notation-audit.md +135 -0
- package/skills/proof-orchestrator/references/proof-audit-rubric.md +70 -0
- package/skills/proof-orchestrator/references/stress-tests.md +38 -0
- package/skills/proof-writer/SKILL.md +223 -0
- package/skills/qzcli/SKILL.md +324 -0
- package/skills/rebuttal/SKILL.md +376 -0
- package/skills/render-html/SKILL.md +316 -0
- package/skills/render-html/scripts/render_html.py +1006 -0
- package/skills/render-html/scripts/templates/academic.html +703 -0
- package/skills/render-html/scripts/templates/dashboard.html +333 -0
- package/skills/research-lit/SKILL.md +756 -0
- package/skills/research-pipeline/SKILL.md +384 -0
- package/skills/research-refine/SKILL.md +770 -0
- package/skills/research-refine-pipeline/SKILL.md +186 -0
- package/skills/research-review/SKILL.md +198 -0
- package/skills/research-wiki/SKILL.md +461 -0
- package/skills/resubmit-pipeline/SKILL.md +447 -0
- package/skills/result-to-claim/SKILL.md +311 -0
- package/skills/run-experiment/SKILL.md +313 -0
- package/skills/semantic-scholar/SKILL.md +236 -0
- package/skills/serverless-modal/SKILL.md +335 -0
- package/skills/shared-references/acceptance-gate.md +324 -0
- package/skills/shared-references/assurance-contract.md +248 -0
- package/skills/shared-references/capture-antipatterns.md +78 -0
- package/skills/shared-references/citation-discipline.md +583 -0
- package/skills/shared-references/compute-env-contract.md +163 -0
- package/skills/shared-references/effort-contract.md +183 -0
- package/skills/shared-references/evidence-precheck.md +65 -0
- package/skills/shared-references/experiment-integrity.md +49 -0
- package/skills/shared-references/external-cadence.md +326 -0
- package/skills/shared-references/fan-out-pattern.md +366 -0
- package/skills/shared-references/injection-hygiene.md +127 -0
- package/skills/shared-references/integration-contract.md +461 -0
- package/skills/shared-references/output-composition.md +93 -0
- package/skills/shared-references/output-language.md +45 -0
- package/skills/shared-references/output-manifest.md +49 -0
- package/skills/shared-references/output-versioning.md +111 -0
- package/skills/shared-references/patent-format-cn.md +199 -0
- package/skills/shared-references/patent-format-ep.md +173 -0
- package/skills/shared-references/patent-format-us.md +161 -0
- package/skills/shared-references/patent-writing-principles.md +197 -0
- package/skills/shared-references/prior-art-databases.md +141 -0
- package/skills/shared-references/resumable-runs.md +109 -0
- package/skills/shared-references/review-scope-limits.md +81 -0
- package/skills/shared-references/review-tracing.md +391 -0
- package/skills/shared-references/reviewer-independence.md +79 -0
- package/skills/shared-references/reviewer-routing.md +852 -0
- package/skills/shared-references/skill-governance.md +104 -0
- package/skills/shared-references/taste-calibration.md +85 -0
- package/skills/shared-references/venue-checklists.md +114 -0
- package/skills/shared-references/wiki-helper-resolution.md +134 -0
- package/skills/shared-references/writing-principles.md +525 -0
- package/skills/skills-codex/README.md +102 -0
- package/skills/skills-codex/README_CN.md +100 -0
- package/skills/skills-codex/ablation-planner/SKILL.md +126 -0
- package/skills/skills-codex/alphaxiv/SKILL.md +186 -0
- package/skills/skills-codex/analyze-results/SKILL.md +45 -0
- package/skills/skills-codex/arxiv/SKILL.md +210 -0
- package/skills/skills-codex/auto-paper-improvement-loop/SKILL.md +574 -0
- package/skills/skills-codex/auto-review-loop/SKILL.md +500 -0
- package/skills/skills-codex/auto-review-loop-llm/SKILL.md +247 -0
- package/skills/skills-codex/auto-review-loop-minimax/SKILL.md +290 -0
- package/skills/skills-codex/citation-audit/SKILL.md +504 -0
- package/skills/skills-codex/claims-drafting/SKILL.md +239 -0
- package/skills/skills-codex/comm-lit-review/SKILL.md +299 -0
- package/skills/skills-codex/comm-lit-review/references/domain-taxonomy.md +57 -0
- package/skills/skills-codex/comm-lit-review/references/output-template.md +37 -0
- package/skills/skills-codex/comm-lit-review/references/source-policy.md +99 -0
- package/skills/skills-codex/comm-lit-review/references/venue-tiering.md +112 -0
- package/skills/skills-codex/deepxiv/SKILL.md +142 -0
- package/skills/skills-codex/dse-loop/SKILL.md +285 -0
- package/skills/skills-codex/embodiment-description/SKILL.md +129 -0
- package/skills/skills-codex/exa-search/SKILL.md +192 -0
- package/skills/skills-codex/experiment-audit/SKILL.md +286 -0
- package/skills/skills-codex/experiment-bridge/SKILL.md +356 -0
- package/skills/skills-codex/experiment-plan/SKILL.md +249 -0
- package/skills/skills-codex/experiment-queue/SKILL.md +401 -0
- package/skills/skills-codex/feishu-notify/SKILL.md +155 -0
- package/skills/skills-codex/figure-description/SKILL.md +138 -0
- package/skills/skills-codex/figure-spec/SKILL.md +252 -0
- package/skills/skills-codex/formula-derivation/SKILL.md +280 -0
- package/skills/skills-codex/gemini-search/SKILL.md +205 -0
- package/skills/skills-codex/grant-proposal/SKILL.md +626 -0
- package/skills/skills-codex/idea-creator/SKILL.md +405 -0
- package/skills/skills-codex/idea-discovery/SKILL.md +475 -0
- package/skills/skills-codex/idea-discovery-robot/SKILL.md +362 -0
- package/skills/skills-codex/integrity-forensics/SKILL.md +106 -0
- package/skills/skills-codex/interview-cheatsheet/SKILL.md +245 -0
- package/skills/skills-codex/invention-structuring/SKILL.md +188 -0
- package/skills/skills-codex/jurisdiction-format/SKILL.md +192 -0
- package/skills/skills-codex/kill-argument/SKILL.md +403 -0
- package/skills/skills-codex/mermaid-diagram/SKILL.md +379 -0
- package/skills/skills-codex/meta-apply/SKILL.md +154 -0
- package/skills/skills-codex/meta-optimize/SKILL.md +348 -0
- package/skills/skills-codex/monitor-experiment/SKILL.md +98 -0
- package/skills/skills-codex/novelty-check/SKILL.md +89 -0
- package/skills/skills-codex/openalex/SKILL.md +228 -0
- package/skills/skills-codex/overleaf-sync/SKILL.md +220 -0
- package/skills/skills-codex/paper-claim-audit/SKILL.md +350 -0
- package/skills/skills-codex/paper-compile/SKILL.md +253 -0
- package/skills/skills-codex/paper-figure/SKILL.md +311 -0
- package/skills/skills-codex/paper-illustration/SKILL.md +690 -0
- package/skills/skills-codex/paper-illustration-image2/SKILL.md +383 -0
- package/skills/skills-codex/paper-illustration-image2/scripts/paper_illustration_image2.py +255 -0
- package/skills/skills-codex/paper-plan/SKILL.md +278 -0
- package/skills/skills-codex/paper-poster/SKILL.md +19 -0
- package/skills/skills-codex/paper-poster-html/SKILL.md +377 -0
- package/skills/skills-codex/paper-slides/SKILL.md +571 -0
- package/skills/skills-codex/paper-talk/SKILL.md +381 -0
- package/skills/skills-codex/paper-write/SKILL.md +411 -0
- package/skills/skills-codex/paper-write/templates/IEEEtran.bst +2409 -0
- package/skills/skills-codex/paper-write/templates/IEEEtran.cls +6347 -0
- package/skills/skills-codex/paper-write/templates/aaai2026.bst +1493 -0
- package/skills/skills-codex/paper-write/templates/aaai2026.sty +315 -0
- package/skills/skills-codex/paper-write/templates/aaai2026.tex +952 -0
- package/skills/skills-codex/paper-write/templates/acl.sty +312 -0
- package/skills/skills-codex/paper-write/templates/acl2026.tex +377 -0
- package/skills/skills-codex/paper-write/templates/acl_natbib.bst +1940 -0
- package/skills/skills-codex/paper-write/templates/acm.bst +3081 -0
- package/skills/skills-codex/paper-write/templates/acm_mm2026.tex +204 -0
- package/skills/skills-codex/paper-write/templates/acmart.cls +3520 -0
- package/skills/skills-codex/paper-write/templates/cvpr.bst +1448 -0
- package/skills/skills-codex/paper-write/templates/cvpr.sty +508 -0
- package/skills/skills-codex/paper-write/templates/cvpr2026.tex +63 -0
- package/skills/skills-codex/paper-write/templates/iclr2026.tex +84 -0
- package/skills/skills-codex/paper-write/templates/iclr2026_conference.bst +1440 -0
- package/skills/skills-codex/paper-write/templates/iclr2026_conference.sty +246 -0
- package/skills/skills-codex/paper-write/templates/icml2026.sty +767 -0
- package/skills/skills-codex/paper-write/templates/icml2026.tex +662 -0
- package/skills/skills-codex/paper-write/templates/ieee_conference.tex +89 -0
- package/skills/skills-codex/paper-write/templates/ieee_journal.tex +93 -0
- package/skills/skills-codex/paper-write/templates/math_commands.tex +48 -0
- package/skills/skills-codex/paper-write/templates/neurips2026.tex +493 -0
- package/skills/skills-codex/paper-write/templates/neurips_2026.sty +437 -0
- package/skills/skills-codex/paper-writing/SKILL.md +731 -0
- package/skills/skills-codex/patent-novelty-check/SKILL.md +153 -0
- package/skills/skills-codex/patent-pipeline/SKILL.md +344 -0
- package/skills/skills-codex/patent-review/SKILL.md +202 -0
- package/skills/skills-codex/pixel-art/SKILL.md +139 -0
- package/skills/skills-codex/prior-art-search/SKILL.md +146 -0
- package/skills/skills-codex/proof-checker/SKILL.md +554 -0
- package/skills/skills-codex/proof-orchestrator/SKILL.md +260 -0
- package/skills/skills-codex/proof-orchestrator/references/audit-output-contract.md +126 -0
- package/skills/skills-codex/proof-orchestrator/references/deepseek-routing.md +76 -0
- package/skills/skills-codex/proof-orchestrator/references/dispatch-prompts.md +227 -0
- package/skills/skills-codex/proof-orchestrator/references/notation-audit.md +135 -0
- package/skills/skills-codex/proof-orchestrator/references/proof-audit-rubric.md +70 -0
- package/skills/skills-codex/proof-orchestrator/references/stress-tests.md +38 -0
- package/skills/skills-codex/proof-writer/SKILL.md +222 -0
- package/skills/skills-codex/qzcli/SKILL.md +324 -0
- package/skills/skills-codex/rebuttal/SKILL.md +305 -0
- package/skills/skills-codex/render-html/SKILL.md +305 -0
- package/skills/skills-codex/render-html/scripts/__pycache__/render_html.cpython-314.pyc +0 -0
- package/skills/skills-codex/render-html/scripts/render_html.py +909 -0
- package/skills/skills-codex/render-html/scripts/templates/academic.html +342 -0
- package/skills/skills-codex/render-html/scripts/templates/dashboard.html +333 -0
- package/skills/skills-codex/research-lit/SKILL.md +464 -0
- package/skills/skills-codex/research-pipeline/SKILL.md +340 -0
- package/skills/skills-codex/research-refine/SKILL.md +721 -0
- package/skills/skills-codex/research-refine-pipeline/SKILL.md +186 -0
- package/skills/skills-codex/research-review/SKILL.md +135 -0
- package/skills/skills-codex/research-wiki/SKILL.md +421 -0
- package/skills/skills-codex/resubmit-pipeline/SKILL.md +444 -0
- package/skills/skills-codex/result-to-claim/SKILL.md +246 -0
- package/skills/skills-codex/run-experiment/SKILL.md +236 -0
- package/skills/skills-codex/semantic-scholar/SKILL.md +219 -0
- package/skills/skills-codex/serverless-modal/SKILL.md +335 -0
- package/skills/skills-codex/shared-references/acceptance-gate.md +336 -0
- package/skills/skills-codex/shared-references/assurance-contract.md +139 -0
- package/skills/skills-codex/shared-references/capture-antipatterns.md +84 -0
- package/skills/skills-codex/shared-references/citation-discipline.md +452 -0
- package/skills/skills-codex/shared-references/compute-env-contract.md +163 -0
- package/skills/skills-codex/shared-references/effort-contract.md +143 -0
- package/skills/skills-codex/shared-references/evidence-precheck.md +73 -0
- package/skills/skills-codex/shared-references/experiment-integrity.md +49 -0
- package/skills/skills-codex/shared-references/external-cadence.md +334 -0
- package/skills/skills-codex/shared-references/fan-out-pattern.md +375 -0
- package/skills/skills-codex/shared-references/injection-hygiene.md +132 -0
- package/skills/skills-codex/shared-references/integration-contract.md +372 -0
- package/skills/skills-codex/shared-references/output-composition.md +98 -0
- package/skills/skills-codex/shared-references/output-language.md +45 -0
- package/skills/skills-codex/shared-references/output-manifest.md +40 -0
- package/skills/skills-codex/shared-references/output-versioning.md +111 -0
- package/skills/skills-codex/shared-references/patent-format-cn.md +199 -0
- package/skills/skills-codex/shared-references/patent-format-ep.md +173 -0
- package/skills/skills-codex/shared-references/patent-format-us.md +161 -0
- package/skills/skills-codex/shared-references/patent-writing-principles.md +197 -0
- package/skills/skills-codex/shared-references/prior-art-databases.md +141 -0
- package/skills/skills-codex/shared-references/resumable-runs.md +125 -0
- package/skills/skills-codex/shared-references/review-scope-limits.md +81 -0
- package/skills/skills-codex/shared-references/review-tracing.md +144 -0
- package/skills/skills-codex/shared-references/reviewer-independence.md +66 -0
- package/skills/skills-codex/shared-references/reviewer-routing.md +128 -0
- package/skills/skills-codex/shared-references/skill-governance.md +119 -0
- package/skills/skills-codex/shared-references/taste-calibration.md +90 -0
- package/skills/skills-codex/shared-references/venue-checklists.md +73 -0
- package/skills/skills-codex/shared-references/wiki-helper-resolution.md +69 -0
- package/skills/skills-codex/shared-references/writing-principles.md +525 -0
- package/skills/skills-codex/slides-polish/SKILL.md +563 -0
- package/skills/skills-codex/specification-writing/SKILL.md +211 -0
- package/skills/skills-codex/system-profile/SKILL.md +103 -0
- package/skills/skills-codex/training-check/SKILL.md +83 -0
- package/skills/skills-codex/vast-gpu/SKILL.md +394 -0
- package/skills/skills-codex/web-debug-search/SKILL.md +334 -0
- package/skills/skills-codex/wiki-enrich/SKILL.md +255 -0
- package/skills/skills-codex/writing-systems-papers/SKILL.md +184 -0
- package/skills/skills-codex-claude-review/README.md +79 -0
- package/skills/skills-codex-claude-review/README_CN.md +78 -0
- package/skills/skills-codex-claude-review/auto-paper-improvement-loop/SKILL.md +581 -0
- package/skills/skills-codex-claude-review/auto-review-loop/SKILL.md +510 -0
- package/skills/skills-codex-claude-review/novelty-check/SKILL.md +102 -0
- package/skills/skills-codex-claude-review/paper-figure/SKILL.md +319 -0
- package/skills/skills-codex-claude-review/paper-plan/SKILL.md +287 -0
- package/skills/skills-codex-claude-review/paper-write/SKILL.md +420 -0
- package/skills/skills-codex-claude-review/research-refine/SKILL.md +732 -0
- package/skills/skills-codex-claude-review/research-review/SKILL.md +149 -0
- package/skills/skills-codex-gemini-review/README.md +176 -0
- package/skills/skills-codex-gemini-review/README_CN.md +175 -0
- package/skills/skills-codex-gemini-review/auto-paper-improvement-loop/SKILL.md +331 -0
- package/skills/skills-codex-gemini-review/auto-review-loop/SKILL.md +304 -0
- package/skills/skills-codex-gemini-review/grant-proposal/SKILL.md +630 -0
- package/skills/skills-codex-gemini-review/idea-creator/SKILL.md +263 -0
- package/skills/skills-codex-gemini-review/idea-discovery/SKILL.md +275 -0
- package/skills/skills-codex-gemini-review/idea-discovery-robot/SKILL.md +365 -0
- package/skills/skills-codex-gemini-review/novelty-check/SKILL.md +92 -0
- package/skills/skills-codex-gemini-review/paper-figure/SKILL.md +289 -0
- package/skills/skills-codex-gemini-review/paper-plan/SKILL.md +265 -0
- package/skills/skills-codex-gemini-review/paper-poster-html/SKILL.md +102 -0
- package/skills/skills-codex-gemini-review/paper-slides/SKILL.md +582 -0
- package/skills/skills-codex-gemini-review/paper-write/SKILL.md +346 -0
- package/skills/skills-codex-gemini-review/paper-writing/SKILL.md +312 -0
- package/skills/skills-codex-gemini-review/research-refine/SKILL.md +674 -0
- package/skills/skills-codex-gemini-review/research-review/SKILL.md +112 -0
- package/skills/slides-polish/SKILL.md +565 -0
- package/skills/specification-writing/SKILL.md +211 -0
- package/skills/system-profile/SKILL.md +103 -0
- package/skills/training-check/SKILL.md +132 -0
- package/skills/vast-gpu/SKILL.md +394 -0
- package/skills/web-debug-search/SKILL.md +334 -0
- package/skills/wiki-enrich/SKILL.md +257 -0
- package/skills/writing-systems-papers/SKILL.md +184 -0
- package/templates/CLAUDE_MD_TEMPLATE.md +29 -0
- package/templates/EXPERIMENT_LOG_TEMPLATE.md +47 -0
- package/templates/EXPERIMENT_PLAN_TEMPLATE.md +51 -0
- package/templates/EXPERIMENT_PLAN_TEMPLATE_CN.md +53 -0
- package/templates/FINDINGS_TEMPLATE.md +52 -0
- package/templates/IDEA_CANDIDATES_TEMPLATE.md +47 -0
- package/templates/IDEA_CANDIDATES_TEMPLATE_CN.md +47 -0
- package/templates/INVENTION_BRIEF_TEMPLATE.md +87 -0
- package/templates/MANIFEST_TEMPLATE.md +7 -0
- package/templates/NARRATIVE_REPORT_TEMPLATE.md +49 -0
- package/templates/PAPER_PLAN_TEMPLATE.md +47 -0
- package/templates/PATENT_CLAIMS_TEMPLATE.md +78 -0
- package/templates/PATENT_SPECIFICATION_TEMPLATE.md +68 -0
- package/templates/README.md +57 -0
- package/templates/RESEARCH_BRIEF_TEMPLATE.md +35 -0
- package/templates/RESEARCH_BRIEF_TEMPLATE_CN.md +41 -0
- package/templates/RESEARCH_CONTRACT_TEMPLATE.md +60 -0
- package/templates/claude-hooks/corpus_write_guard.json +16 -0
- package/templates/claude-hooks/corpus_write_guard.py +85 -0
- package/templates/claude-hooks/meta_logging.json +74 -0
- package/templates/gitignore-trace.txt +3 -0
- package/tools/__pycache__/check_skills_inventory.cpython-314.pyc +0 -0
- package/tools/arxiv_fetch.py +311 -0
- package/tools/capture_filter.py +126 -0
- package/tools/check_skills_inventory.py +273 -0
- package/tools/convert_skills_to_llm_chat.py +282 -0
- package/tools/copilot_native_evidence.py +818 -0
- package/tools/deepxiv_fetch.py +213 -0
- package/tools/evidence_check.py +212 -0
- package/tools/exa_search.py +425 -0
- package/tools/experiment_queue/README.md +118 -0
- package/tools/experiment_queue/build_manifest.py +44 -0
- package/tools/experiment_queue/queue_manager.py +44 -0
- package/tools/extract_paper_style.py +560 -0
- package/tools/figure_renderer.py +69 -0
- package/tools/forensics_gate.py +669 -0
- package/tools/generate_codex_claude_review_overrides.py +299 -0
- package/tools/idea_discovery_gate.py +256 -0
- package/tools/install_aris.ps1 +1372 -0
- package/tools/install_aris.sh +1370 -0
- package/tools/install_aris_codex.sh +1023 -0
- package/tools/install_aris_copilot.sh +1052 -0
- package/tools/iteration_log.py +143 -0
- package/tools/lint_skills_helpers.sh +84 -0
- package/tools/meta_opt/check_ready.sh +80 -0
- package/tools/meta_opt/log_event.sh +91 -0
- package/tools/meta_opt/trigger_eval.py +280 -0
- package/tools/meta_opt/trigger_evals.sample.json +28 -0
- package/tools/openalex_fetch.py +326 -0
- package/tools/overleaf_audit.sh +104 -0
- package/tools/overleaf_setup.sh +150 -0
- package/tools/paper_illustration_image2.py +62 -0
- package/tools/provenance.py +294 -0
- package/tools/research_wiki.py +1720 -0
- package/tools/review_gate.py +502 -0
- package/tools/run_state.py +399 -0
- package/tools/save_trace.sh +477 -0
- package/tools/semantic_scholar_fetch.py +438 -0
- package/tools/skill-groups.tsv +116 -0
- package/tools/skill_picker.py +238 -0
- package/tools/smart_update.ps1 +521 -0
- package/tools/smart_update.sh +591 -0
- package/tools/smart_update_codex.sh +419 -0
- package/tools/smart_update_copilot.sh +605 -0
- package/tools/threat_scan.py +222 -0
- package/tools/verify_paper_audits.sh +487 -0
- package/tools/verify_papers.py +613 -0
- package/tools/verify_wiki_coverage.sh +176 -0
- package/tools/watchdog.py +485 -0
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: interview-cheatsheet
|
|
3
|
+
description: "Generate a long-form Chinese interview-prep cheat sheet on a specific ML/LLM topic — formulas with derivations, from-scratch PyTorch code, comparison tables, and 25 高频面试题 (L1 必会 / L2 进阶 / L3 顶级 lab). Use when the user says '写面试 cheat sheet', '写一份 X 教程', '帮我准备 Y 面试题', '出一份 X 速查', or wants a 600-1000 line Chinese tutorial on a specific ML topic."
|
|
4
|
+
argument-hint: '<topic> [--effort balanced|max] [--byline "Name (姓名), Affiliation"] [--commit false]'
|
|
5
|
+
allowed-tools: Bash(*), Read, Write, Edit, mcp__codex__codex
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# /interview-cheatsheet — long-form Chinese ML/LLM interview prep
|
|
9
|
+
|
|
10
|
+
Generate one comprehensive Chinese cheat sheet per invocation: formulas + derivations + from-scratch code + 25 高频题. Output passes cross-model math/code review before rendering. **Detect-only by default: never auto-commits.**
|
|
11
|
+
|
|
12
|
+
## Inputs
|
|
13
|
+
|
|
14
|
+
- **`<topic>`** (required) — narrow enough for one 600-1000 line tutorial. Good: "RLHF / DPO / PPO", "MoE", "KV Cache + Speculative Decoding". Bad (too broad): "all of LLM training", "diffusion" (split into Forward Process / Sampling / CFG separately).
|
|
15
|
+
- **`--effort`** (default `balanced`) — `balanced` ≈ 600 lines, `max` ≈ 1000 lines with deeper proofs and more L3 questions.
|
|
16
|
+
- **`--byline`** (default `"<Your Name>, <Affiliation>"`) — passed to `/render-html --author`.
|
|
17
|
+
- **`--commit`** (default `false`) — if `false` (default), stop after rendering; user reviews and commits. Never push without explicit user approval.
|
|
18
|
+
|
|
19
|
+
## Style guide — STRICT (read `docs/tutorials/attention_tutorial.md` as canonical reference)
|
|
20
|
+
|
|
21
|
+
### Section skeleton (12-14 sections)
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
## §0 TL;DR — callout intro line + numbered list of 5-7 takeaways
|
|
25
|
+
## §1 直觉 — why this matters; analogy; one-paragraph mental model
|
|
26
|
+
## §2 核心公式 — main formula + derivation (variance / scaling / boundary)
|
|
27
|
+
## §3 实现细节 — 50-80 line from-scratch PyTorch
|
|
28
|
+
## §4-7 变体 / 工程实践 / 常见 bug — variants, comparison tables, footguns
|
|
29
|
+
## §8 复杂度 / 资源 — time + memory complexity
|
|
30
|
+
## §9 与相关方法对比 — placement in the ecosystem
|
|
31
|
+
## §10 25 高频面试题 — L1 (10 必会) + L2 (10 进阶) + L3 (5 顶级 lab), all with <details><summary> collapsible answers
|
|
32
|
+
## §A 附录 (optional) — sanity-check output, reference list
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Conventions — bake the established lessons in
|
|
36
|
+
|
|
37
|
+
| Rule | Why | Example |
|
|
38
|
+
|---|---|---|
|
|
39
|
+
| Heading format `## §N Title` with **space after §N** | Older versions had `§0TL;DR` glued | `## §0 TL;DR Cheat Sheet` |
|
|
40
|
+
| Math in table cells: use `\lvert ... \rvert` not `\|...\|` | `\|` inside markdown table = cell separator → row break | `$\text{score}_{ij} - m \cdot \lvert i-j \rvert$` |
|
|
41
|
+
| Callouts with body list: **split** into callout intro line + separate list | Otherwise the list's first item is swallowed by the callout, then items 2..N restart numbering at 1 | `> 💡 **Sampler 选择** — 按 NFE/质量排序如下。`<br/>`- Euler …`<br/>`- Heun …` |
|
|
42
|
+
| Callout prefixes only: `💡` `⚠️` `✅` `❌` (others won't get class) | renderer maps these to `callout-info/warn/good/bad` | `> ⚠️ **FP16 overflow** — 即使除了 √d_k …` |
|
|
43
|
+
| Math: `$...$` inline, `$$...$$` display, `$$\boxed{...}$$` for key boxes | MathJax CDN; literal in source | — |
|
|
44
|
+
| Code: ```python fences, **real PyTorch that would run** | reviewer will check executability | — |
|
|
45
|
+
| Personal-info banlist: owner's institution/lab/center names, degree-program affiliations, private server aliases, job-search context, `/Users/...` paths, specific lab/company names | reviewer flags as FAIL | byline goes via `--author` at render time, not in body |
|
|
46
|
+
| Language: Chinese primary, English technical terms in-place | matches established cheat-sheet style | "softmax 饱和", "vector field" |
|
|
47
|
+
|
|
48
|
+
### Eyebrow / subtitle / title naming
|
|
49
|
+
|
|
50
|
+
| Field | Pattern |
|
|
51
|
+
|---|---|
|
|
52
|
+
| `--eyebrow` | `Interview Prep · <Topic>` |
|
|
53
|
+
| `--subtitle` | one Chinese sentence describing scope (e.g. `公式推导 + From-Scratch 代码 + 25 高频题(L1 必会 · L2 进阶 · L3 顶级 lab)`) |
|
|
54
|
+
| `--title` | `<Topic> 面试 Cheat Sheet` or `<Topic> Quick Reference` |
|
|
55
|
+
| `--lang` | `zh-CN` |
|
|
56
|
+
|
|
57
|
+
### Slug
|
|
58
|
+
`<topic>` → kebab/snake-case `<slug>` for filenames. e.g. "RLHF / DPO / PPO" → `rlhf_dpo_ppo`.
|
|
59
|
+
|
|
60
|
+
## Workflow
|
|
61
|
+
|
|
62
|
+
### Step 1 — Plan structure (no files written)
|
|
63
|
+
|
|
64
|
+
Internally sketch:
|
|
65
|
+
- 12-14 section titles
|
|
66
|
+
- List of major formulas (with derivation outline for each)
|
|
67
|
+
- List of code blocks (skeleton + what it demonstrates)
|
|
68
|
+
- 25 interview questions sorted by L1 / L2 / L3 difficulty (each with one-line expected answer)
|
|
69
|
+
- Comparison table topics (e.g., "RLHF vs DPO vs IPO vs SimPO")
|
|
70
|
+
|
|
71
|
+
If the topic is too broad to fit in one cheat sheet, **stop and ask the user to scope** before drafting.
|
|
72
|
+
|
|
73
|
+
### Step 2 — Draft MD
|
|
74
|
+
|
|
75
|
+
Write directly to `docs/tutorials/<slug>_tutorial.md`. Follow the style guide. Length target: 600 lines (balanced) or 1000 lines (max), ±20%.
|
|
76
|
+
|
|
77
|
+
### Step 3 — Cross-model math/code review (codex gpt-5.6-sol xhigh, FRESH thread)
|
|
78
|
+
|
|
79
|
+
Invoke `mcp__codex__codex` with `model: gpt-5.6-sol`, `config: {model_reasoning_effort: xhigh}`, `sandbox: read-only`, fresh thread (never `codex-reply`).
|
|
80
|
+
|
|
81
|
+
Reviewer prompt:
|
|
82
|
+
|
|
83
|
+
```
|
|
84
|
+
You are reviewing a long-form Chinese interview-prep tutorial on <TOPIC> for math/code/factual correctness and style discipline.
|
|
85
|
+
|
|
86
|
+
## Files to read (READ-ONLY)
|
|
87
|
+
- Draft MD: <MD_PATH>
|
|
88
|
+
- Style reference: docs/tutorials/attention_tutorial.md
|
|
89
|
+
(Read this only for STYLE — do NOT score the draft against the reference's content topic.)
|
|
90
|
+
|
|
91
|
+
## Return JSON with these 10 checks
|
|
92
|
+
|
|
93
|
+
1. formula_correctness — Independently re-derive each $$ display formula. Flag any error with file:line.
|
|
94
|
+
2. code_correctness — For each python block: would it run? Does it implement the stated math? Imports / shapes / device handling consistent?
|
|
95
|
+
3. interview_answer_correctness — Each L1/L2/L3 question's <details> answer. Specifically flag wrong year / wrong paper / wrong author / off-by-one indexing / inverted comparison.
|
|
96
|
+
4. historical_citations — Paper authors + year + venue. Flag wrong attributions (e.g., "DPO: Rafailov 2023 NeurIPS" must be checkable).
|
|
97
|
+
5. table_pipe_escape — Any markdown table cell containing `|x|` math (not `\lvert x \rvert`)? Cite line.
|
|
98
|
+
6. callout_list_collision — Any line matching the pattern `^> (?:💡|⚠️|✅|❌) \*\*[^*]+\*\* — (?:- |\d+\. )`? That swallows the list.
|
|
99
|
+
7. heading_consistency — All `## §N` and `### N.M` follow style guide (space after §N, no glued chars).
|
|
100
|
+
8. section_completeness — Sections §0..§10 (and §A if effort=max) present and non-trivial.
|
|
101
|
+
9. length_target — Within ±20% of target (600 for balanced, 1000 for max).
|
|
102
|
+
10. personal_info_leak — None of: the owner's institution / lab / center names, degree-program affiliations, private server aliases, job-search or recruitment context, absolute `/Users/...` paths. (Keep the concrete string banlist in local untracked notes — the public SKILL defines only the CATEGORIES; listing the real values here would itself be the leak.)
|
|
103
|
+
|
|
104
|
+
Return JSON:
|
|
105
|
+
{
|
|
106
|
+
"verdict": "PASS | WARN | FAIL",
|
|
107
|
+
"checks": {<check_name>: "pass|warn|fail with one-line note + file:line if applicable"},
|
|
108
|
+
"blocking_issues": ["..."],
|
|
109
|
+
"warnings": ["..."]
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
Verdict: PASS = all pass, WARN = at most cosmetic issues (length slight off / cosmetic style), FAIL = any math/code/factual error OR personal-info leak OR table-pipe / callout-list bug.
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
### Step 4 — Fix and loop (no hard cap — judge by trajectory)
|
|
116
|
+
|
|
117
|
+
For each FAIL issue, edit the MD. Then re-invoke codex with a **fresh thread** (never reuse threadId). Stop when verdict = PASS or WARN with no FAIL items.
|
|
118
|
+
|
|
119
|
+
**No hard round cap.** Use these heuristics instead:
|
|
120
|
+
|
|
121
|
+
- ✅ **Keep going** if each round's FAIL items are *shrinking, concrete, enumerable* (e.g., citation year fixes, off-by-one, single-line code bugs). The reviewer is doing useful work — let it converge.
|
|
122
|
+
- ⛔ **Stop and report** if the same issue keeps coming back (loop detected), or if the FAIL items shift to architectural / scope concerns that need user input, or if the round count exceeds ~6 without convergence.
|
|
123
|
+
|
|
124
|
+
Most tutorials converge in 3-5 rounds. Going to 5-6 rounds is fine if substantive bugs are still being caught — the Video Generation tutorial (May 2026) went to 5 rounds and the final 2 rounds caught real citation errors and an over-attribution to Sora's patch size that would have shipped otherwise.
|
|
125
|
+
|
|
126
|
+
### Step 5 — Render via /render-html
|
|
127
|
+
|
|
128
|
+
Call directly (do not invoke `/render-html` as a sub-skill; call its python script — gives clear control):
|
|
129
|
+
|
|
130
|
+
```bash
|
|
131
|
+
python3 skills/render-html/scripts/render_html.py docs/tutorials/<slug>_tutorial.md \
|
|
132
|
+
--template academic \
|
|
133
|
+
--out docs/tutorials/<slug>_tutorial.html \
|
|
134
|
+
--title "<Topic> 面试 Cheat Sheet" \
|
|
135
|
+
--subtitle "<one-line scope summary>" \
|
|
136
|
+
--eyebrow "Interview Prep · <Topic>" \
|
|
137
|
+
--author "<byline>" \
|
|
138
|
+
--lang zh-CN
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
`render_html.py` runs its own 13-check codex review automatically. If that FAILs, fix the MD (often a table-pipe or callout-list issue the math/code reviewer missed) and re-render. Note that `render_html.py` itself writes `<slug>_tutorial.review.json` for the render-stage audit.
|
|
142
|
+
|
|
143
|
+
### Step 6 — Combine audit trail
|
|
144
|
+
|
|
145
|
+
After both reviews pass, merge math/code review history + render review history into one `docs/tutorials/<slug>_tutorial.review.json`:
|
|
146
|
+
|
|
147
|
+
```json
|
|
148
|
+
{
|
|
149
|
+
"skill": "interview-cheatsheet",
|
|
150
|
+
"source": "docs/tutorials/<slug>_tutorial.md",
|
|
151
|
+
"source_sha256_prefix": "<16-char prefix>",
|
|
152
|
+
"output": "docs/tutorials/<slug>_tutorial.html",
|
|
153
|
+
"topic": "<TOPIC>",
|
|
154
|
+
"effort": "balanced | max",
|
|
155
|
+
"byline": "<author string>",
|
|
156
|
+
"math_code_review": {
|
|
157
|
+
"verdict": "PASS",
|
|
158
|
+
"rounds": [
|
|
159
|
+
{"run": 1, "verdict": "...", "thread_id": "...", "issue": "...", "fix": "..."},
|
|
160
|
+
...
|
|
161
|
+
]
|
|
162
|
+
},
|
|
163
|
+
"render_review": {
|
|
164
|
+
"verdict": "PASS",
|
|
165
|
+
"rounds": [...]
|
|
166
|
+
},
|
|
167
|
+
"summary": "<one-line: N-round math/code review + M-round render review settled at PASS>",
|
|
168
|
+
"rendered_at": "<YYYY-MM-DD>"
|
|
169
|
+
}
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
### Step 7 — Stop. Report to user.
|
|
173
|
+
|
|
174
|
+
Do **NOT** `git add` / `git commit` / `git push`. Report:
|
|
175
|
+
|
|
176
|
+
```
|
|
177
|
+
✅ /interview-cheatsheet "<TOPIC>" complete.
|
|
178
|
+
|
|
179
|
+
Files:
|
|
180
|
+
docs/tutorials/<slug>_tutorial.md (<lines> lines, <bytes> bytes)
|
|
181
|
+
docs/tutorials/<slug>_tutorial.html (<bytes> bytes, <TOC> TOC entries)
|
|
182
|
+
docs/tutorials/<slug>_tutorial.review.json
|
|
183
|
+
|
|
184
|
+
Math/code review: PASS after <N> rounds (<thread IDs>)
|
|
185
|
+
Render review: PASS after <M> rounds
|
|
186
|
+
Length: <actual> lines (target <effort>)
|
|
187
|
+
|
|
188
|
+
Issues caught + fixed during review:
|
|
189
|
+
- <one line per non-trivial fix>
|
|
190
|
+
|
|
191
|
+
Suggested commit message:
|
|
192
|
+
docs(tutorials): add <Topic> cheat sheet (rendered via /render-html)
|
|
193
|
+
|
|
194
|
+
⚠️ Did NOT auto-commit — user reviews and pushes manually.
|
|
195
|
+
Also update docs/tutorials/README.md to add the new row.
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
## Update the index
|
|
199
|
+
|
|
200
|
+
After the tutorial passes, optionally append a row to `docs/tutorials/README.md`:
|
|
201
|
+
|
|
202
|
+
```
|
|
203
|
+
| **<Topic> 面试 Cheat Sheet** | [`<slug>_tutorial.md`](<slug>_tutorial.md) | [`<slug>_tutorial.html`](https://wanshuiyin.github.io/Auto-claude-code-research-in-sleep/tutorials/<slug>_tutorial.html) | <one-line topic list> |
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
Suggest the row to the user but let them edit it in themselves if they want to curate.
|
|
207
|
+
|
|
208
|
+
## Key invariants (the ARIS rules baked in)
|
|
209
|
+
|
|
210
|
+
| Invariant | How it's enforced |
|
|
211
|
+
|---|---|
|
|
212
|
+
| Executor != reviewer family | Claude drafts; gpt-5.6-sol reviews (math/code stage); gpt-5.6-sol reviews again (render stage) |
|
|
213
|
+
| Fresh thread per reviewer call | Step 3 + render's own gate both use `mcp__codex__codex` not `codex-reply` |
|
|
214
|
+
| Codex reasoning = xhigh | Hardcoded in Step 3 reviewer config |
|
|
215
|
+
| Personal info redaction | Both math/code reviewer and render reviewer check; banlist in style guide |
|
|
216
|
+
| Lessons-learned encoded | Table-pipe + callout-list collision rules in style guide AND review checks 5+6 |
|
|
217
|
+
| No silent failure | If review FAILs and the FAIL set is no longer shrinking (loop) or hits ~6 rounds without convergence, stop and report — don't push |
|
|
218
|
+
|
|
219
|
+
## When NOT to use
|
|
220
|
+
|
|
221
|
+
- Topic too broad — split into smaller scopes first
|
|
222
|
+
- Topic outside ML/LLM core — this style guide assumes math + code + Chinese; for general topics use a different format or write directly
|
|
223
|
+
- Already have a draft you want to edit — use Edit directly, this skill is for greenfield generation
|
|
224
|
+
- Don't want HTML output — call `/render-html` separately or skip Step 5
|
|
225
|
+
|
|
226
|
+
## Reference invocations
|
|
227
|
+
|
|
228
|
+
```
|
|
229
|
+
/interview-cheatsheet "RLHF / DPO / PPO"
|
|
230
|
+
/interview-cheatsheet "MoE (Mixture-of-Experts)" — effort: max
|
|
231
|
+
/interview-cheatsheet "KV Cache + Speculative Decoding"
|
|
232
|
+
/interview-cheatsheet "Long-context: RoPE / YaRN / NTK / MLA"
|
|
233
|
+
/interview-cheatsheet "Distributed Training (DDP / FSDP / ZeRO / TP / PP)"
|
|
234
|
+
/interview-cheatsheet "Quantization (GPTQ / AWQ / INT4 / FP8 / SmoothQuant)"
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
## Reference style files
|
|
238
|
+
|
|
239
|
+
- Style canonical: `docs/tutorials/attention_tutorial.md` + `.html`
|
|
240
|
+
- Style secondary: `docs/tutorials/flow_matching_tutorial.md` + `.html`
|
|
241
|
+
- Review audit format: `docs/tutorials/attention_tutorial.review.json`
|
|
242
|
+
|
|
243
|
+
## Provenance
|
|
244
|
+
|
|
245
|
+
Extracted from the two pilot tutorials (Attention + Flow Matching, May 2026). Both passed cross-model review; the attention tutorial required 3 review rounds — catching a table-pipe collision and a callout-list collision that were not obvious from the rendered output. Those lessons are now baked into the style guide and reviewer checks 5+6 so future tutorials don't repeat them.
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: invention-structuring
|
|
3
|
+
description: "Structure a raw invention idea into a formal invention disclosure. Use when user says \"构建发明\", \"structure invention\", \"发明构建\", \"invention disclosure\", or wants to formalize a rough idea into a patent-ready structure."
|
|
4
|
+
argument-hint: "[invention-description-or-brief-path]"
|
|
5
|
+
allowed-tools: Bash(*), Read, Write, Edit, Grep, Glob, mcp__codex__codex
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Invention Structuring
|
|
9
|
+
|
|
10
|
+
Structure the invention into a formal disclosure based on: **$ARGUMENTS**
|
|
11
|
+
|
|
12
|
+
Adapted from the refinement pattern in `/research-refine` for patent invention decomposition.
|
|
13
|
+
|
|
14
|
+
## Constants
|
|
15
|
+
|
|
16
|
+
- `REVIEWER_MODEL = gpt-5.6-sol` — External reviewer for invention decomposition validation
|
|
17
|
+
- `MAX_REFINEMENT_ROUNDS = 3` — Maximum structuring iterations
|
|
18
|
+
|
|
19
|
+
## Inputs
|
|
20
|
+
|
|
21
|
+
1. Invention description from `$ARGUMENTS`
|
|
22
|
+
2. `patent/INVENTION_BRIEF.md` if exists
|
|
23
|
+
3. `patent/PRIOR_ART_REPORT.md` — prior art landscape
|
|
24
|
+
4. `patent/NOVELTY_ASSESSMENT.md` — novelty analysis
|
|
25
|
+
|
|
26
|
+
## Shared References
|
|
27
|
+
|
|
28
|
+
Load `../shared-references/patent-writing-principles.md` for the Problem-Solution-Advantage framework and claimable subject matter guidelines.
|
|
29
|
+
|
|
30
|
+
## Workflow
|
|
31
|
+
|
|
32
|
+
### Step 1: Problem-Solution-Advantage Framework
|
|
33
|
+
|
|
34
|
+
Structure the invention using the universal patent framework:
|
|
35
|
+
|
|
36
|
+
**Technical Problem (要解决的技术问题)**:
|
|
37
|
+
- Derived from prior art deficiencies identified in NOVELTY_ASSESSMENT.md
|
|
38
|
+
- Must be a specific, technical problem (not a commercial or social problem)
|
|
39
|
+
- Statement format: "The technical problem to be solved is how to [specific technical objective] given [specific technical constraint]."
|
|
40
|
+
|
|
41
|
+
**Technical Solution (技术方案)**:
|
|
42
|
+
- The invention's specific technical contribution
|
|
43
|
+
- Focus on the mechanism, not the result
|
|
44
|
+
- Must be described at a level that matches the intended claim scope
|
|
45
|
+
- Identify which features are known vs. inventive
|
|
46
|
+
|
|
47
|
+
**Advantages (有益效果)**:
|
|
48
|
+
- Measurable or quantifiable improvements over prior art
|
|
49
|
+
- Must result from the inventive features, not just good engineering
|
|
50
|
+
- Include specific technical effects if known (e.g., "reduces processing time by 40%")
|
|
51
|
+
|
|
52
|
+
### Step 2: Invention Decomposition
|
|
53
|
+
|
|
54
|
+
Break the invention into three layers:
|
|
55
|
+
|
|
56
|
+
**Core Inventive Concept (核心发明构思)**:
|
|
57
|
+
- The minimal set of features that make the invention patentable
|
|
58
|
+
- This maps to the independent claim scope
|
|
59
|
+
- Test: if you remove this feature, the invention is no longer novel
|
|
60
|
+
|
|
61
|
+
**Supporting Features (支撑性特征)**:
|
|
62
|
+
- Features that make the invention work well in practice
|
|
63
|
+
- These become dependent claim material
|
|
64
|
+
- They narrow the scope but add practical value
|
|
65
|
+
|
|
66
|
+
**Optional Features (可选特征)**:
|
|
67
|
+
- Implementation details, preferred parameters, alternatives
|
|
68
|
+
- These become embodiment material
|
|
69
|
+
- They support broader claim interpretation
|
|
70
|
+
|
|
71
|
+
### Step 3: Claimable Subject Matter Identification
|
|
72
|
+
|
|
73
|
+
For the core inventive concept, determine what categories of claims to draft:
|
|
74
|
+
|
|
75
|
+
| Category | Applicability | Content |
|
|
76
|
+
|----------|-------------|---------|
|
|
77
|
+
| Method/process | If invention involves steps | Process flow, algorithm, workflow |
|
|
78
|
+
| System/apparatus | If invention involves components | Hardware structure, modules, connections |
|
|
79
|
+
| Product | If invention is a physical device | Shape, structure, composition |
|
|
80
|
+
| Computer-readable medium | If software invention (US) | Stored instructions, non-transitory medium |
|
|
81
|
+
| Product-by-process | If structure is hard to define | Product defined by how it is made |
|
|
82
|
+
|
|
83
|
+
### Step 4: Drawing Plan
|
|
84
|
+
|
|
85
|
+
Plan what figures are needed to support the claims and specification:
|
|
86
|
+
|
|
87
|
+
| Figure | Type | Shows | Supports Claim Elements |
|
|
88
|
+
|--------|------|-------|------------------------|
|
|
89
|
+
| FIG. 1 | Block diagram | System architecture | System claim components |
|
|
90
|
+
| FIG. 2 | Flowchart | Method steps | Method claim steps |
|
|
91
|
+
| FIG. 3 | Sequence diagram | Interaction between components | Specific implementation details |
|
|
92
|
+
|
|
93
|
+
If user has provided figures, reference them here. If figures are missing, note what is needed.
|
|
94
|
+
|
|
95
|
+
### Step 5: Dependency Mapping
|
|
96
|
+
|
|
97
|
+
Map feature dependencies to plan the claim hierarchy:
|
|
98
|
+
|
|
99
|
+
```
|
|
100
|
+
Independent Claim 1 (method, broadest scope)
|
|
101
|
+
├── Core inventive feature A
|
|
102
|
+
├── Core inventive feature B
|
|
103
|
+
└── Known feature C (for context)
|
|
104
|
+
|
|
105
|
+
Dependent Claim 2 → narrows feature A with specific implementation
|
|
106
|
+
Dependent Claim 3 → narrows feature B with specific parameters
|
|
107
|
+
Dependent Claim 4 → depends on 2, adds optional feature D
|
|
108
|
+
Dependent Claim 5 → alternative implementation of feature A
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
### Step 6: Cross-Model Validation
|
|
112
|
+
|
|
113
|
+
Call `REVIEWER_MODEL` via `mcp__codex__codex` with xhigh reasoning:
|
|
114
|
+
|
|
115
|
+
```
|
|
116
|
+
mcp__codex__codex:
|
|
117
|
+
model: gpt-5.6-sol
|
|
118
|
+
config: {"model_reasoning_effort": "xhigh"}
|
|
119
|
+
prompt: |
|
|
120
|
+
You are a patent attorney reviewing an invention disclosure.
|
|
121
|
+
Evaluate the structuring choices:
|
|
122
|
+
|
|
123
|
+
INVENTION: [Problem-Solution-Advantage summary]
|
|
124
|
+
DECOMPOSITION: [Core/Supporting/Optional features]
|
|
125
|
+
CLAIM PLAN: [intended claim categories and hierarchy]
|
|
126
|
+
|
|
127
|
+
Please assess:
|
|
128
|
+
1. Is the Problem-Solution-Advantage framework correctly applied?
|
|
129
|
+
2. Is the core inventive concept correctly identified? Are there features that should be core but are listed as supporting (or vice versa)?
|
|
130
|
+
3. Are the planned claim categories sufficient to protect the invention?
|
|
131
|
+
4. Is the drawing plan adequate for enablement?
|
|
132
|
+
5. Are there any claimable aspects being missed?
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
### Step 7: Output
|
|
136
|
+
|
|
137
|
+
Write `patent/INVENTION_DISCLOSURE.md`:
|
|
138
|
+
|
|
139
|
+
```markdown
|
|
140
|
+
## Invention Disclosure
|
|
141
|
+
|
|
142
|
+
### Title
|
|
143
|
+
[invention title]
|
|
144
|
+
|
|
145
|
+
### Technical Problem
|
|
146
|
+
[formal problem statement]
|
|
147
|
+
|
|
148
|
+
### Technical Solution
|
|
149
|
+
[formal solution description]
|
|
150
|
+
|
|
151
|
+
### Advantages
|
|
152
|
+
[measurable advantages]
|
|
153
|
+
|
|
154
|
+
### Feature Decomposition
|
|
155
|
+
|
|
156
|
+
#### Core Inventive Concept
|
|
157
|
+
[features that define independent claim scope]
|
|
158
|
+
|
|
159
|
+
#### Supporting Features
|
|
160
|
+
[features for dependent claims]
|
|
161
|
+
|
|
162
|
+
#### Optional Features
|
|
163
|
+
[features for embodiments]
|
|
164
|
+
|
|
165
|
+
### Claimable Subject Matter
|
|
166
|
+
[method, system, product, medium claims planned]
|
|
167
|
+
|
|
168
|
+
### Drawing Plan
|
|
169
|
+
[figures needed, what each shows]
|
|
170
|
+
|
|
171
|
+
### Dependency Map
|
|
172
|
+
[claim hierarchy plan]
|
|
173
|
+
|
|
174
|
+
### Inventor Information
|
|
175
|
+
[names, contributions]
|
|
176
|
+
|
|
177
|
+
### Target Jurisdiction
|
|
178
|
+
[CN/US/EP/ALL]
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
## Key Rules
|
|
182
|
+
|
|
183
|
+
- The Problem must come from prior art deficiencies, not from commercial needs.
|
|
184
|
+
- The Solution must describe the technical mechanism, not just the result.
|
|
185
|
+
- The core inventive concept must be the minimum set of features for patentability.
|
|
186
|
+
- Supporting features should be independently valuable -- each should provide a meaningful technical benefit even if other supporting features are removed.
|
|
187
|
+
- Never invent embodiments that do not correspond to the actual invention or user-provided materials.
|
|
188
|
+
- If `mcp__codex__codex` is not available, skip cross-model validation and note it in the output.
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: jurisdiction-format
|
|
3
|
+
description: "Compile patent application into jurisdiction-specific filing format. Use when user says \"格式转换\", \"jurisdiction format\", \"国家格式\", \"compile patent\", or wants formatted patent documents for CN/US/EP filing."
|
|
4
|
+
argument-hint: "[patent-directory-or-jurisdiction]"
|
|
5
|
+
allowed-tools: Bash(*), Read, Write, Edit, Grep, Glob
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Jurisdiction Format: Patent Filing Compilation
|
|
9
|
+
|
|
10
|
+
Compile the patent application into filing-ready format based on: **$ARGUMENTS**
|
|
11
|
+
|
|
12
|
+
Analogous to `/paper-compile` but for patent document formatting instead of LaTeX.
|
|
13
|
+
|
|
14
|
+
## Constants
|
|
15
|
+
|
|
16
|
+
- `JURISDICTION = "auto"` — From pipeline or args: `CN`, `US`, `EP`, `ALL`
|
|
17
|
+
- `PATENT_TYPE = "invention"` — `invention` (发明专利) or `utility_model` (实用新型, CN only)
|
|
18
|
+
- `OUTPUT_FORMAT = "markdown"` — `markdown` (for review) or `docx` (for filing, requires python-docx)
|
|
19
|
+
- `OUTPUT_DIR = "patent/output/"` — Base output directory
|
|
20
|
+
|
|
21
|
+
## Inputs
|
|
22
|
+
|
|
23
|
+
1. `patent/CLAIMS.md` — drafted claims
|
|
24
|
+
2. `patent/specification/` — all specification sections (title, technical_field, background, summary, drawings_description, detailed_description, abstract)
|
|
25
|
+
3. `patent/figures/` — figure descriptions and numeral index
|
|
26
|
+
4. `patent/INVENTION_DISCLOSURE.md` — for metadata
|
|
27
|
+
|
|
28
|
+
## Shared References
|
|
29
|
+
|
|
30
|
+
Load `../shared-references/patent-format-cn.md` for CNIPA document structure and formatting rules.
|
|
31
|
+
Load `../shared-references/patent-format-us.md` for USPTO document structure.
|
|
32
|
+
Load `../shared-references/patent-format-ep.md` for EPO document structure.
|
|
33
|
+
|
|
34
|
+
## Workflow
|
|
35
|
+
|
|
36
|
+
### Step 1: Determine Output Jurisdictions
|
|
37
|
+
|
|
38
|
+
From `$ARGUMENTS` or constant:
|
|
39
|
+
- `CN` -> Generate CNIPA format only
|
|
40
|
+
- `US` -> Generate USPTO format only
|
|
41
|
+
- `EP` -> Generate EPO format only
|
|
42
|
+
- `ALL` -> Generate all three formats
|
|
43
|
+
|
|
44
|
+
### Step 2: Generate CN Format (if CN or ALL)
|
|
45
|
+
|
|
46
|
+
Output to `patent/output/CN/`:
|
|
47
|
+
|
|
48
|
+
#### 权利要求书 (Claims)
|
|
49
|
+
- Extract claims from `patent/CLAIMS.md`
|
|
50
|
+
- Format per CNIPA conventions:
|
|
51
|
+
- Independent claims: "1. 一种[主题]的方法,...其特征在于..."
|
|
52
|
+
- Dependent claims: "2. 根据权利要求1所述的方法,其特征在于..."
|
|
53
|
+
- Ensure Chinese terminology is correct (所述, 其特征在于, 包括, 等)
|
|
54
|
+
|
|
55
|
+
#### 说明书 (Description)
|
|
56
|
+
Combine all specification sections in CNIPA order:
|
|
57
|
+
1. 发明名称 (from title.md)
|
|
58
|
+
2. 技术领域 (from technical_field.md)
|
|
59
|
+
3. 背景技术 (from background.md)
|
|
60
|
+
4. 发明内容 (from summary.md — split into 技术问题/技术方案/有益效果)
|
|
61
|
+
5. 附图说明 (from drawings_description.md)
|
|
62
|
+
6. 具体实施方式 (from detailed_description.md)
|
|
63
|
+
|
|
64
|
+
#### 说明书摘要 (Abstract)
|
|
65
|
+
- Extract from abstract.md
|
|
66
|
+
- Verify word count <= 300 Chinese characters
|
|
67
|
+
- Include most representative claim
|
|
68
|
+
|
|
69
|
+
#### Format as markdown or docx
|
|
70
|
+
If `OUTPUT_FORMAT = "markdown"`:
|
|
71
|
+
- Write as separate .md files with clear section headers
|
|
72
|
+
|
|
73
|
+
If `OUTPUT_FORMAT = "docx"`:
|
|
74
|
+
- Use python-docx to create Word documents matching CNIPA templates
|
|
75
|
+
- Set font to 宋体 (SimSun) for body, 黑体 (SimHei) for headers
|
|
76
|
+
- Standard margins (上下 2.54cm, 左右 3.17cm)
|
|
77
|
+
|
|
78
|
+
### Step 3: Generate US Format (if US or ALL)
|
|
79
|
+
|
|
80
|
+
Output to `patent/output/US/`:
|
|
81
|
+
|
|
82
|
+
#### Claims Section
|
|
83
|
+
- Number all claims sequentially (1, 2, 3, ...)
|
|
84
|
+
- Format per US conventions:
|
|
85
|
+
- "1. A method for [purpose], comprising:"
|
|
86
|
+
- "2. The method of claim 1, wherein..."
|
|
87
|
+
- Ensure antecedent basis is correct ("a" -> "the")
|
|
88
|
+
|
|
89
|
+
#### Specification
|
|
90
|
+
Combine all sections in USPTO order:
|
|
91
|
+
1. Title
|
|
92
|
+
2. Cross-Reference to Related Applications (if any)
|
|
93
|
+
3. Field of the Invention
|
|
94
|
+
4. Background of the Invention
|
|
95
|
+
5. Brief Summary of the Invention
|
|
96
|
+
6. Brief Description of the Drawings
|
|
97
|
+
7. Detailed Description of Preferred Embodiments
|
|
98
|
+
8. Abstract
|
|
99
|
+
|
|
100
|
+
Format drawings references as "FIG. 1" (not "Figure 1").
|
|
101
|
+
|
|
102
|
+
#### Abstract
|
|
103
|
+
- Extract from abstract.md
|
|
104
|
+
- Verify word count <= 150 words / 2500 characters
|
|
105
|
+
|
|
106
|
+
#### Application Data Sheet (ADS) Template
|
|
107
|
+
Generate a skeleton ADS with:
|
|
108
|
+
- Title
|
|
109
|
+
- Inventor information (placeholder)
|
|
110
|
+
- Application type
|
|
111
|
+
- Entity status (small/micro/large)
|
|
112
|
+
|
|
113
|
+
### Step 4: Generate EP Format (if EP or ALL)
|
|
114
|
+
|
|
115
|
+
Output to `patent/output/EP/`:
|
|
116
|
+
|
|
117
|
+
#### Claims Section
|
|
118
|
+
- Format in two-part form per Rule 43(1) EPC:
|
|
119
|
+
- "1. A method for [purpose], comprising [known features], characterised in that [inventive features]."
|
|
120
|
+
- Ensure the "characterised in that" phrase is present in all independent claims
|
|
121
|
+
|
|
122
|
+
#### Description
|
|
123
|
+
Combine all sections in EPO Rule 42 order:
|
|
124
|
+
1. Title of the Invention
|
|
125
|
+
2. Technical Field
|
|
126
|
+
3. Background Art
|
|
127
|
+
4. Disclosure of the Invention (problem-solution-advantage)
|
|
128
|
+
5. Description of Embodiments
|
|
129
|
+
6. Brief Description of Drawings
|
|
130
|
+
7. Reference Signs List (mandatory at EPO)
|
|
131
|
+
|
|
132
|
+
Format drawings references as "FIG. 1" or "Figure 1".
|
|
133
|
+
|
|
134
|
+
#### Abstract
|
|
135
|
+
- Extract from abstract.md
|
|
136
|
+
- ~150 words limit
|
|
137
|
+
|
|
138
|
+
### Step 5: Consistency Check
|
|
139
|
+
|
|
140
|
+
Verify across all generated formats:
|
|
141
|
+
- [ ] All claims are present in every format
|
|
142
|
+
- [ ] Claim numbering is consistent
|
|
143
|
+
- [ ] Reference numerals match specification across all formats
|
|
144
|
+
- [ ] No format-specific requirements are violated
|
|
145
|
+
- [ ] Language is correct for each jurisdiction (Chinese for CN, English for US/EP)
|
|
146
|
+
|
|
147
|
+
### Step 6: Output Summary
|
|
148
|
+
|
|
149
|
+
Write `patent/output/OUTPUT_SUMMARY.md`:
|
|
150
|
+
|
|
151
|
+
```markdown
|
|
152
|
+
## Patent Filing Documents
|
|
153
|
+
|
|
154
|
+
### Generated Files
|
|
155
|
+
|
|
156
|
+
#### CN (CNIPA)
|
|
157
|
+
| File | Description | Status |
|
|
158
|
+
|------|-------------|--------|
|
|
159
|
+
| 权利要求书.md | Claims in CN format | Complete |
|
|
160
|
+
| 说明书.md | Description in CN format | Complete |
|
|
161
|
+
| 说明书摘要.md | Abstract (CN) | Complete |
|
|
162
|
+
|
|
163
|
+
#### US (USPTO)
|
|
164
|
+
| File | Description | Status |
|
|
165
|
+
|------|-------------|--------|
|
|
166
|
+
| claims.md | Claims in US format | Complete |
|
|
167
|
+
| specification.md | Description in US format | Complete |
|
|
168
|
+
| abstract.md | Abstract (US) | Complete |
|
|
169
|
+
| ads_template.md | Application Data Sheet skeleton | Complete |
|
|
170
|
+
|
|
171
|
+
#### EP (EPO)
|
|
172
|
+
| File | Description | Status |
|
|
173
|
+
|------|-------------|--------|
|
|
174
|
+
| claims.md | Claims in EP format | Complete |
|
|
175
|
+
| description.md | Description in EP format | Complete |
|
|
176
|
+
| abstract.md | Abstract (EP) | Complete |
|
|
177
|
+
|
|
178
|
+
### Consistency Check
|
|
179
|
+
- [ ] All claims present in all formats
|
|
180
|
+
- [ ] Reference numerals consistent
|
|
181
|
+
- [ ] Language correct per jurisdiction
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
## Key Rules
|
|
185
|
+
|
|
186
|
+
- Never mix jurisdiction formats (e.g., do not include "其特征在于" in US claims).
|
|
187
|
+
- Claims must be identical in technical content across jurisdictions, only the format differs.
|
|
188
|
+
- For CN output, verify Chinese patent terminology is correct and consistent.
|
|
189
|
+
- For EP output, the two-part claim form is mandatory -- every independent claim must have "characterised in that."
|
|
190
|
+
- Abstract word limits are jurisdiction-specific and must be verified.
|
|
191
|
+
- The jurisdiction-format skill does NOT modify claim content -- it reformats existing content only.
|
|
192
|
+
- If `OUTPUT_FORMAT = "docx"`, check that python-docx is available; if not, fall back to markdown.
|