Paper Checkのロゴ

Paper Check

コミュニティ
fcakyon
paper-check

Check a paper against its code, results and citations before submission (numbers, terms, code vs paper, formulas vs code, BibTeX and cited claims via DBLP and Crossref, eval integrity), and prepare its code for open-source release. Use when the user says "verify claims" / "verify paper against code", "check numbers" / "do the numbers match" / "are my numbers right", "formula vs code", "audit my paper", "cross-check claims or results", "paper consistency check", "check citations", "verify BibTeX", "publish code" / "open source release" / "code release", "structure a research repository for publication", "create reproducible research artifacts", "reproducibility checklist for a code release", or "prepare for publication".

概要

公開者fcakyon
リポジトリlabrat
スキル名paper-check
スター
438
フォーク
38
同梱ファイル
1
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 1個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    fcakyonがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Paper Check」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/fcakyon/labrat/tree/main/plugin/skills/paper-check
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/fcakyon/labrat.git /tmp/labrat
mkdir -p .claude/skills
cp -r /tmp/labrat/plugin/skills/paper-check .claude/skills/paper-check
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでPaper Checkを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にPaper Checkを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Paper Checkは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Paper Check

Every number, method claim and citation in the paper must trace to code, data, results or a cited source. Output a prioritized list of issues with specific fixes.

For a code release request, follow references/code-release.md and skip Steps 1-4.

Step 1: Discover Files

  1. Find the paper's .tex files (Glob for **/*.tex)
  2. Identify the main .tex file (usually imports other sections) and the document structure
  3. Find .bib files for citation checking
  4. Locate result files (JSON, CSV, logs), configs, evaluation scripts and training logs
  5. Identify the key code modules referenced by the paper's methods

When you run the checks yourself, read the full paper, or the sections the user names. When you hand checks to subagents, pass them the file paths from items 1-5 instead.

Step 2: Run the Six Checks

Run all six checks by default. When the user names specific checks (for example only citations or BibTeX), run only those, and only the Step 1 items they need (check 5 needs just the .bib files and the \cite sites).

The checks are independent. If the harness supports subagents, they can run in parallel, one check each. Each check returns a structured list of findings.

1. Numbers

For every number in the paper (dataset sizes, metric values, percentages, counts):

  1. Extract the number and its context (section, sentence) from the .tex file
  2. Trace it to its source: result file, code output, config, log, or tracking system
  3. Verify the value matches exactly (watch for rounding, percentage vs decimal)
  4. Note rounding conventions and check they are consistent
  5. Flag any number that does not match its source or cannot be traced

Record each number as a row of the Numerical Audit table in Output Format.

Common numerical errors:

  • Rounding inconsistencies (3.14 in text, 3.1415 in table)
  • Stale numbers from earlier experiments not updated after re-runs
  • Percentage vs absolute confusion
  • Off-by-one in dataset counts (headers counted, or not)

2. Terms

  1. Extract all defined terms from the methods section
  2. Search for each term across ALL sections
  3. Flag any inconsistent usage:
    • Same concept, different names (e.g., "tag head" vs "classification head")
    • Same name, different meanings across sections
    • Defined but never used, or used but never defined

3. Code vs Paper

For each method or algorithm described in the paper:

  1. Find the corresponding code (function, class, module)
  2. Compare the paper's description with the actual implementation
  3. Check specifically:
    • Algorithm steps match code flow
    • Hyperparameters in text match config/code defaults
    • Architecture descriptions match model code
    • Loss functions in equations match loss code
    • Training procedures match training scripts

Common mismatches:

  • Paper describes an idealized version, code has edge cases not mentioned
  • Hyperparameters changed during development but paper not updated
  • Paper describes a method that was later modified or removed from code

4. Formulas vs Code

For each equation in the paper:

  1. Identify the equation and its variables
  2. Find the code that implements it
  3. Map each mathematical operation to its code equivalent
  4. Verify:
    • Summation bounds match loop bounds
    • Division operations handle edge cases
    • Normalization factors match
    • Gradient flow matches (detach, no_grad)
    • Reduction operations (mean vs sum) match

5. Citations

Read the .bib file(s). Search the .tex files for citation patterns (\cite{...}, \citep{...}, \citet{...}) to find where each entry is used. Check every entry. For a quick pass, spot-check the 5 most important citations.

  1. Extract the claim and the cited paper key.

    Use paper-search tool get_crossref_paper_by_doi <doi> to retrieve the cited record. For an arXiv paper, use paper-search download arxiv <id> and paper-search read arxiv <id>. Follow paper search setup if the CLI is missing. Inspect the PDF itself when text extraction loses table or equation layout.

  2. Verify BibTeX metadata against DBLP. Search DBLP for the paper title via web search (query: site:dblp.org "paper title") and check:

    • Author names (exact spelling, correct order, completeness)
    • Paper title (exact, from the published version, not the preprint title), and cite the published version when one exists
    • Venue (conference or journal name) and year (publication year, not submission or preprint year), confirmed against the actual publication

    Flag any discrepancy with the corrected value.

  3. For cited claims with specific numbers:

    • Locate the exact table, figure or text in the cited paper
    • Verify the number matches what the citing paper states
    • If the claim cannot be verified, or the cited paper does not make the claim at all, suggest qualitative language instead

6. Eval Integrity

Read the evaluation scripts and result files. Check for:

  • Data leakage between train/val/test splits
  • Off-by-one errors in metric computation
  • Wrong aggregation methods (micro vs macro)
  • Mismatched ground-truth and prediction alignment
  • Zero-division edge cases
  • Results that don't reproduce from the evaluation scripts

Run the evaluation if possible and compare its output to the paper's values.

Step 3: Merge Findings

Merge all findings into one prioritized list:

  • HIGH (must fix before submission): incorrect numbers, wrong claims, missing citations
  • MEDIUM (should address): terminology inconsistencies, stale but close numbers
  • LOW (nice to have): minor formatting, optional improvements

Before reporting, check the findings:

  1. Every flagged issue is backed by specific evidence (file path, line number, exact value)
  2. Numerical comparisons are exact, not approximate
  3. Verified issues are kept apart from suspected issues
  4. Each suggested fix is specific enough to act on

Refine any finding that fails these checks.

Output Format

## Paper Check Report

### Summary
- Files checked: N .tex files, M code files, K result files
- Issues found: X HIGH, Y MEDIUM, Z LOW

### HIGH
1. [Check] Description
   - Paper says: "..." (file:line)
   - Code/data shows: "..." (file:line)
   - Suggested fix: specific replacement text

### MEDIUM
[Same format]

### LOW
[Same format]

### Numerical Audit
| Paper claim | Location (.tex) | Source file/code | Source value | Match? |
|-------------|-----------------|-----------------|-------------|--------|

### Unverified Claims
| .tex location | Claim | Cited paper | Status | Suggestion |
|--------------|-------|------------|--------|------------|

### Corrected BibTeX Entries
(Ready-to-paste corrected entries for any that need fixing, each with a comment naming its DBLP or Crossref source)

### Verified Claims
(Claims checked and correct)

Tag each issue with its check name.

Step 4: Auto-Fix Offer

For HIGH priority issues that have clear fixes (wrong numbers, typos, stale values):

  • Show the exact .tex location and current text
  • Show the verified correct value from the source
  • Ask the user for confirmation before applying fixes

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Paper Check」では何ができますか?

Check a paper against its code, results and citations before submission (numbers, terms, code vs paper, formulas vs code, BibTeX and cited claims via DBLP and Crossref, eval integrity), and prepare its code for open-source release. Use when the user says "verify claims" / "verify paper against code", "check numbers" / "do the numbers match" / "are my numbers right", "formula vs code", "audit my paper", "cross-check claims or results", "paper consistency check", "check citations", "verify BibTeX", "publish code" / "open source release" / "code release", "structure a research repository for p...

TypingMindでPaper Checkを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Paper Checkはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにPaper Checkをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/fcakyon/labrat/tree/main/plugin/skills/paper-checkを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Paper Checkを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Paper Checkで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもPaper Checkを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Paper Check」は無料ですか?

はい。fcakyonがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇