Table Schemaのロゴ

Table Schema

コミュニティ
WILLOSCAR
table-schema

Define evidence-first table schemas for a survey: what each table must answer, row unit, columns, and which evidence-pack fields are required to fill it.

概要

公開者WILLOSCAR
リポジトリresearch-units-pipeline-skills
スキル名table-schema
スター
513
フォーク
39
同梱ファイル
1
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 1個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

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

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

スキルの指示

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

Table Schema (two layers: index vs Appendix)

Triggers & routing

  • Trigger: table schema, schema-first tables, table design, 表格 schema, 先 schema 后填充.
  • Use when: you want survey tables that are verifiable and fillable before LaTeX (typically Stage C4, after evidence packs exist).

Tables are not decorations; they are compression.

A common failure mode in this pipeline: the first table that gets generated looks like an internal index. So we separate tables into two layers:

  1. outline/tables_index.md (internal)
  • purpose: coverage/debugging + fast evidence scan
  • allowed to be more exhaustive
  • should NOT be inserted into the paper
  1. outline/tables_appendix.md (reader-facing)
  • purpose: publishable survey tables (clean layout + high information density)
  • can be inserted into the final PDF as Appendix

This skill designs both layers before filling.

Default mode: semantic (LLM-first)

Treat this as a design task, not running a script.

If a column cannot be filled from existing evidence packs without guessing, the schema is wrong.

Roles (use explicitly)

Table Designer (reader lens)

Mission: choose tables that answer reader questions, not pipeline questions.

Do:

  • make each table answer one question
  • keep tables small enough to fill (two good tables beat one impossible mega-table)

Avoid:

  • internal/log-style tables inside the paper
  • column labels that only make sense inside this repo

Evidence Steward (fillability)

Mission: refuse schemas that require invented facts.

Do:

  • map every column to concrete upstream fields
  • reject columns that would force long paragraph cells

Avoid:

  • TODO columns
  • placeholders ("TBD", "...", "(placeholder)")

Workflow (explicit inputs)

  • Use GOAL.md to keep the reader question and scope stable.
  • Read queries.md:draft_profile when present; it controls the table budget, not the evidence standard.
  • Use outline/outline.yml to align table row units with the paper structure.
  • Use outline/subsection_briefs.jsonl to ground table dimensions/axes in the approved structure.
  • Use outline/evidence_drafts.jsonl to ensure every planned column is fillable without guessing.

Inputs

  • outline/outline.yml
  • outline/subsection_briefs.jsonl
  • outline/evidence_drafts.jsonl
  • Optional: GOAL.md

Output

  • outline/table_schema.md

Non-negotiables (schema contract)

  • Minimum definitions by draft_profile:
    • course_paper: >=1 Index table and >=1 Appendix table
    • survey / deep: >=2 Index tables and >=2 Appendix tables
  • Every table definition must include:
    • the question it answers
    • the row unit (H3 / benchmark / work / failure mode)
    • columns (with cell style constraints)
    • evidence mapping (which upstream fields fill which columns)
  • Cell style: short phrases; avoid paragraph cells.
  • Paper voice: Appendix table captions/columns must be publishable (no pipeline jargon).

Recommended defaults (arxiv-survey family)

For course_paper, use I1 and A1 as the compact default. Add I2 or A2 only when the evidence supports a distinct reader question. For survey and deep, use the full I1/I2/A1/A2 set below.

Index tables (for table-filler -> outline/tables_index.md)

I1) Subsection map (axes + representative works)

  • Row unit: H3
  • Columns: subsection; axes; representative works
  • Evidence sources: subsection_briefs.axes + citations from evidence_drafts

I2) Concrete anchors (benchmarks / numbers / caveats)

  • Row unit: H3
  • Columns: subsection; anchor facts; representative works
  • Evidence sources: anchor_sheet.anchors

Appendix tables (for appendix-table-writer -> outline/tables_appendix.md)

A1) Method/architecture map (representative works)

  • Row unit: work/system line
  • Columns: work; core idea; loop + interface assumptions; key refs
  • Evidence sources: evidence_drafts (comparisons + definitions) + anchor_sheet

A2) Evaluation protocol / benchmark map

  • Row unit: benchmark or evaluation setting (fallback: protocol dimension)
  • Columns: benchmark/setting; task+metric; key protocol constraints; key refs
  • Evidence sources: anchor_sheet + evidence_drafts.evaluation_protocol

Positive / negative examples

Good (publishable question + fillable columns):

  • Question: "Which benchmarks anchor evaluation in this area, and what task/metric/constraints do they imply?"
  • Columns: Benchmark; Task+metric; Protocol constraints; Key refs
  • Evidence mapping: evidence_drafts.evaluation_protocol + anchor_sheet

Bad (internal/pipeline voice):

  • Question: "What is evidence readiness + verification needs?"
  • Columns: evidence levels, missing fields, TODO checklist

If you want internal diagnostics, put them in an audit report, not in reader-facing tables.

Script (optional bootstrap)

Quick Start

  • uv run python .codex/skills/table-schema/scripts/run.py --help
  • uv run python .codex/skills/table-schema/scripts/run.py --workspace <workspace>

All Options

  • --workspace <workspace> (required)
  • --unit-id <id> (optional; used only for runner bookkeeping)
  • --inputs <outline;briefs;packs;goal> (optional; override inputs)
  • --outputs <relpath> (optional; defaults to outline/table_schema.md)
  • --checkpoint <C#> (optional; ignored by the bootstrapper)

Examples

  • Bootstrap a two-layer schema (index + Appendix):

    uv run python .codex/skills/table-schema/scripts/run.py --workspace <workspace>

  • Write to a custom schema path (rare):

    uv run python .codex/skills/table-schema/scripts/run.py --workspace <workspace> --outputs outline/table_schema.md

Notes:

  • Use the script as a starting point, then refine the schema as a paper artifact.
  • If a column cannot be filled from evidence packs without guessing, the schema is wrong.

同梱ファイル

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

よくある質問

AIスキル「Table Schema」では何ができますか?

Define evidence-first table schemas for a survey: what each table must answer, row unit, columns, and which evidence-pack fields are required to fill it.

TypingMindでTable Schemaを使うメリットは何ですか?

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

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

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

Table Schemaを使えるAIモデルはどれですか?

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

Table Schemaは何個のAIモデルで使えますか?

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

AIスキル「Table Schema」は無料ですか?

WILLOSCARがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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