ara-compiler
它能做什么
这项技能把论文、代码仓库和实验日志等研究材料编译成结构化的软件包,智能体可以读取并检查它。适合希望以他人可以复用的形式保存自己工作的研究人员。
适用场景
- ✓当你想把一篇论文及其代码转化为结构化研究包的时候。
- ✓当你有实验日志和笔记,希望把它们整理为一份记录的时候。
- ✓当你希望一个项目中的主张和证据可以追溯的时候。
技能链接
https://github.com/Orchestra-Research/AI-Research-SKILLs/blob/main/22-agent-native-research-artifact/compiler/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 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让你的智能体在文本进入你的 AI 应用之前,使用 Meta 的小型分类器检查其中是否含有提示注入和越狱尝试。
pytorch-fsdp2
14k向你的智能体展示如何在训练脚本中加入 PyTorch FSDP2,使大型模型能被拆分到多张 GPU 上并正确保存。
ml-training-recipes
14k为你的智能体提供经过验证的神经网络训练方案,涵盖模型选择、优化器、学习率以及处理损失骤升的方法。