ara-compiler
できること
このスキルは、論文、コードリポジトリ、実験ログなどの研究資料を、エージェントが読んで確認できる構造化されたパッケージにまとめます。ほかの人が再利用できる形で研究をまとめたい研究者向けです。
使う場面
- ✓論文とそのコードを、構造化された研究パッケージに変えたいとき。
- ✓実験ログとメモが、1つの記録として整理されるべきとき。
- ✓プロジェクトの主張と証拠を、追跡できるようにしたいとき。
スキルのリンク
https://github.com/Orchestra-Research/AI-Research-SKILLs/blob/main/22-agent-native-research-artifact/compiler/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“この論文とそのGitHubリポジトリを、私が確認できる構造化された研究の成果物に変えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは与えられた入力(論文、コード、ログ、メモを含む)を読み、主張、概念、設定、探索の記録を一連のファイルに抽出します。そのあと、パッケージを検証します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Universal ARA Compiler
You are the ARA Universal Compiler. Your job: take ANY research input and produce a complete, validated ARA artifact. You operate as a first-class Claude Code agent — use your native tools (Read, Write, Edit, Bash, Glob, Grep) directly. No API wrapper needed.
Input Philosophy
The compiler is open-ended. It accepts anything that contains research knowledge — there is no fixed input schema. Your job is to figure out what you've been given and extract maximum structured knowledge from it.
Possible inputs include (but are NOT limited to):
- PDF papers, arXiv links
- GitHub repositories (URLs or local paths)
- Code files, scripts, notebooks (
.py,.ipynb,.rs,.cpp, etc.) - Experiment logs, training outputs, evaluation results
- Configuration files, hyperparameter sweeps
- Raw research notes, brainstorm transcripts, meeting notes
- Data directories with results, checkpoints, figures
- Slack/email threads describing research decisions
- Combinations of the above
- A verbal description or conversation with the user about their research
- Nothing at all — the user may want to build an ARA interactively through dialogue
When arguments are provided ($ARGUMENTS), interpret them flexibly:
- File/directory paths → read them
- URLs → fetch or clone them
--output <dir>→ where to write the ARA (default:./ara-output/)--rubric <path>→ PaperBench rubric for coverage mapping- Anything else → treat as context or ask the user for clarification
Input Reading Strategy
Adapt to whatever you receive:
- Identify what you have. Glob, read, and explore the provided paths. Understand the nature of the input before committing to a generation plan.
- Maximize coverage. Cross-reference all available sources. A PDF gives narrative + claims; code gives ground-truth implementation; experiment logs give the exploration trajectory; notes give decisions and dead ends that never made it to paper.
- Ask when stuck. If the input is ambiguous or incomplete, ask the user to fill gaps rather than hallucinating. The user is a collaborator, not a passive consumer.
- Handle partial inputs gracefully. Not every ARA field will be fillable from every input. Populate what you can with high confidence, mark gaps explicitly with "Not available from provided input", and tell the user what's missing so they can supplement later.
Workflow
1. READ all inputs
2. REASON through the 4-stage epistemic protocol (see below)
3. GENERATE all ARA files using Write tool
4. COVERAGE CHECK loop (max 3 rounds): re-read source → diff against ARA → patch gaps
5. VALIDATE by running Seal Level 1
6. FIX any failures, re-validate
7. REPORT summary to user
Step 1: Read Inputs
Read ALL provided inputs thoroughly before generating anything. For PDFs, read every page, including appendices — appendices often carry reproduction-critical content and should be treated with the same priority as main-text pages.
For repos, prioritize: README → core algorithm files → configs → environment files.
Step 2: 4-Stage Epistemic Chain-of-Thought
Before writing any files, reason through these 4 stages. Think carefully about each stage.
Stage 1 — Semantic Deconstruction Strip narrative framing. Extract the raw knowledge atoms:
- Mathematical formulations and equations
- Architectural specifications and component descriptions
- Experimental configurations (hyperparameters, hardware, datasets, seeds)
- ALL numerical results and benchmarks (exact values, never rounded)
- Citation dependencies and their roles (imports, extends, bounds, refutes)
- Negative results, ablation findings, rejected alternatives
- Implementation tricks, convergence hacks, sensitivity observations
Before moving on, perform an evidence capture pass:
- For every source table or figure you plan to cite, first capture the original source identifier and caption exactly (
Table 2,Figure 4, etc.) - Transcribe the raw table/figure content before making any claim-specific summary
- If you create a filtered view for one claim, store it as a derived subset, not as the original table itself
- Never label a subset or merged summary as
Table Nunless it reproduces the original source table faithfully - If PDF extraction is ambiguous, re-read the page with layout preserved or inspect the page manually before writing evidence files
Stage 2 — Cognitive Mapping
Map extracted atoms to /logic/:
よくある質問
どんな入力を受け付けますか?
論文、GitHubリポジトリ、コードファイル、実験ログ、設定ファイル、生のメモです。
出力には何が含まれますか?
主張、概念、ヒューリスティックの層、設定とコードのスタブの層、そして裏付けとなる証拠です。
出力はどこに保存されますか?
初期設定では出力フォルダに保存され、オプションで変更できます。
詳細
作者による元の説明
Compiles any research input — PDF papers, GitHub repositories, experiment logs, code directories, or raw notes — into a complete Agent-Native Research Artifact (ARA) with cognitive layer (claims, concepts, heuristics), physical layer (configs, code stubs), exploration graph, and grounded evidence. Use when ingesting a paper or codebase into a structured, machine-executable knowledge package, building an ARA from scratch, or converting research outputs into a falsifiable, agent-traversable form.
人気
- GitHubのスター
- 14k
- ランキング
- #11174
- ライセンス
- MIT
- 更新日
- 2026/10/10
コメント
- …
このリポジトリの他のスキル
autoresearch
14kエージェントが、大まかなアイデアから実験、執筆まで、文献レビューを含むAI研究プロジェクト全体を、テストと見直しを繰り返しながら進められるよう支援します。
prompt-guard
14kエージェントが、Metaの小さな分類器を使い、AIアプリに届く前のテキストにプロンプトインジェクションやジェイルブレイクの試みがないか確認できるよう支援します。
pytorch-fsdp2
14kエージェントが、大規模なモデルを複数のGPUに分割して正しく保存できるよう、PyTorchのFSDP2を学習スクリプトに追加する方法を示します。
ml-training-recipes
14kエージェントが、モデルの選択、オプティマイザー、学習率、損失の急上昇への対処を含む、ニューラルネットワーク学習の実証済みの手順を使えるよう支援します。