ara-compiler
Skill1 starsChanged 56 days agoMITView on 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.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- yuchenmiao04/My_skillsword for word, first seen Jul 2, 2026
Other versions1 project uses a version of this.
Word for word · 1
- yuchenmiao04/My_skills★ 8100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository97 other files it gives its agents.
- autoresearchSkill
- academic-plottingSkill
- huggingface-accelerateSkill
- evolving-ai-agentsSkill
- audiocraft-audio-generationSkill
- autogpt-agentsSkill
- awq-quantizationSkill
- axolotlSkill
- evaluating-code-modelsSkill
- quantizing-models-bitsandbytesSkill
- blip-2-vision-languageSkill
- brainstorming-research-ideasSkill
- chromaSkill
- clipSkill
- constitutional-aiSkill
- evaluating-cosmos-policySkill
- creative-thinking-for-researchSkill
- crewai-multi-agentSkill
- deepspeedSkill
- dspySkill
- faissSkill
- optimizing-attention-flashSkill
- gguf-quantizationSkill
- gptqSkill
- grpo-rl-trainingSkill
- guidanceSkill
- hqq-quantizationSkill
- huggingface-tokenizersSkill
- instructorSkill
- knowledge-distillationSkill
- lambda-labs-gpu-cloudSkill
- langchainSkill
- langsmith-observabilitySkill
- implementing-llms-litgptSkill
- llama-cppSkill
- llama-factorySkill
- llamaguardSkill
- llamaindexSkill
- llavaSkill
- evaluating-llms-harnessSkill
- long-contextSkill
- mamba-architectureSkill
- training-llms-megatronSkill
- miles-rl-trainingSkill
- mlflowSkill
- ml-paper-writingSkill
- ml-training-recipesSkill
- modal-serverless-gpuSkill
- model-mergingSkill
- model-pruningSkill
- moe-trainingSkill
- nanogptSkill
- nemo-curatorSkill
- nemo-evaluator-sdkSkill
- nemo-guardrailsSkill
- nnsight-remote-interpretabilitySkill
- fine-tuning-serving-openpiSkill
- openrlhf-trainingSkill
- fine-tuning-openvla-oftSkill
- outlinesSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
31 rules. About 0 are common, 21 are distinctive, and 10 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈21
Distinctive · estimate
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 36
When arguments are provided ($ARGUMENTS), interpret them flexibly:
- Distinctive: line 51
Ask when stuck: If the input is ambiguous or incomplete, ask the user to fill gaps rather than hallucinating.
- Distinctive: line 53
Handle partial inputs gracefully: Not every ARA field will be fillable from every input.
- Distinctive: line 71
Read ALL provided inputs thoroughly before generating anything.
- Distinctive: line 79
Before writing any files, reason through these 4 stages.
- Distinctive: line 86
ALL numerical results and benchmarks (exact values, never rounded)
- Distinctive: line 91
Before moving on, perform an evidence capture pass:
- Distinctive: line 94
If you create a filtered view for one claim, store it as a derived subset, not as the original table itself
- Very specific: line 95
Never label a subset or merged summary as Table N unless it reproduces the original source table faithfully
- Distinctive: line 96
If PDF extraction is ambiguous, re-read the page with layout preserved or inspect the page manually before writing evidence files
- Very specific: line 114
Put raw support in Evidence basis
- Very specific: line 115
Put any broader synthesis in Interpretation
- Distinctive: line 116
If the evidence only shows validation metrics, do not upgrade the claim to training dynamics or optimization quality unless training-side …
- Distinctive: line 128
If repo available: use actual code to improve stub precision
- Very specific: line 129
If rubric provided: produce rubric/requirements.md mapping every leaf node
- Very specific: line 137
Use also_depends_on for DAG convergence points
- Very specific: line 138
Every node must declare whether it is explicit from source material or inferred from reconstruction
- Distinctive: line 144
Write ALL mandatory files.
- Very specific: line 170
If only a subset is included, the filename must say derived_, subset_, or equivalent, and the file must state what it was derived from
- Distinctive: line 171
Do not merge rows from different source tables into one evidence file unless the file is explicitly labeled as a derived comparison
- Distinctive: line 175
Before running Seal validation, verify that the ARA faithfully covers the source material.
- Distinctive: line 188
Run ARA Seal Level 1 validation.
- Very specific: line 189
All mandatory dirs exist: logic/, logic/solution/, src/, src/configs/, trace/, evidence/
- Distinctive: line 190
All mandatory files exist and are non-empty
- Distinctive: line 213
Read the failing file
- Distinctive: line 229
Exact numbers: All numerical values copied EXACTLY from source — never round or approximate
- Distinctive: line 230
No hallucination: Never invent claims, results, or heuristics not in the source material
- Distinctive: line 235
"Not specified": If information is genuinely unavailable, write "Not specified in paper" — never guess
- Very specific: line 236
No fake source labels: Never call a derived subset Table N or Figure N unless it faithfully reproduces the original source object
- Distinctive: line 237
No synthetic trace history: Do not invent decisions, dead ends, or experiments that are not explicit in the provided inputs.
- Distinctive: line 238
Evidence-limited wording: Do not use stronger language than the evidence supports.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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 userStep 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/:
- problem.md: observations (with numbers) → gaps → key insight → assumptions
- claims.md: falsifiable claims with proof pointers to experiment IDs (E01, E02...), plus a separation between direct evidence basis and higher-level interpretation
- concepts.md: ≥5 formal definitions with notation and boundary conditions
- experiments.md: ≥3 declarative verification plans (NO exact numbers — directional only)
- solution/: architecture (component graph), algorithm (math + pseudocode), constraints, heuristics
- related_work.md: typed dependency graph (imports/extends/bounds/baseline/refutes)
Appendix content (worked examples, prompt templates, enumerated taxonomies, annotation schemas, extended analyses, prescriptive content) should be routed into the ARA layers where it fits best, preserving the granularity the source uses. Never silently drop an appendix section.
When writing claims:
- Phrase the main
Statementat the strongest level directly supported by the cited evidence - Put raw support in
Evidence basis - Put any broader synthesis in
Interpretation - If the evidence only shows validation metrics, do not upgrade the claim to training dynamics or optimization quality unless training-side evidence is also captured
related_work.md should reflect the paper's full citation footprint, not only the
closest predecessors. Works with a specific technical delta get full RW blocks; remaining
citations from the paper's References list should still be captured (more briefly) so the
intellectual neighborhood is preserved.
Stage 3 — Physical Stubbing
Generate /src/:
- configs/: exact hyperparameter values with rationale and sensitivity
- execution/: ≥1 Python code stub implementing the NOVEL contribution (typed signatures, no boilerplate)
- environment.md: Python version, framework, hardware, dependencies, seeds
- If repo available: use actual code to improve stub precision
- If rubric provided: produce
rubric/requirements.mdmapping every leaf node
Stage 4 — Exploration Graph Extraction
Reconstruct the research DAG for /trace/exploration_tree.yaml:
- Root nodes = central research questions
- Experiments and decisions nest as children
- Dead ends from ablations/rejected alternatives = typed leaf nodes
- ≥8 nodes, must include dead_end and decision types
- Use
also_depends_onfor DAG convergence points - Every node must declare whether it is
explicitfrom source material orinferredfrom reconstruction - Explicit nodes should carry source references (table/figure/section labels)
- Inferred nodes are allowed only when they help reconstruct the paper's logic without pretending to be literal session logs
Step 3: Generate Files
Write ALL mandatory files. See references/ara-schema.md for the complete directory structure and field-level requirements for every file.
Mandatory files (all must exist and be non-trivial):
PAPER.md— YAML frontmatter (title, authors, year, venue, doi, ara_version, domain, keywords, claims_summary, abstract) + Layer Indexlogic/problem.md— Observations (O1, O2...), Gaps (G1, G2...), Key Insight, Assumptionslogic/claims.md— Claims (C01, C02...) each with Statement, Status, Falsification criteria, Proof, Evidence basis, Interpretation, Dependencies, Tagslogic/concepts.md— ≥5 concepts each with Notation, Definition, Boundary conditions, Related conceptslogic/experiments.md— ≥3 experiments (E01, E02...) each with Verifies, Setup, Procedure, Metrics, Expected outcome (directional only!), Baselines, Dependencieslogic/solution/architecture.md— Component graph with inputs/outputslogic/solution/algorithm.md— Math formulation + pseudocode + complexitylogic/solution/constraints.md— Boundary conditions and limitationslogic/solution/heuristics.md— Heuristics (H01, H02...) each with Rationale, Sensitivity, Bounds, Code ref, Sourcelogic/related_work.md— Related work (RW01, RW02...) each with DOI, Type, Delta, Claims affectedsrc/configs/training.md— Hyperparameters with Value, Rationale, Search range, Sensitivity, Sourcesrc/configs/model.md— Model/architecture configssrc/execution/{module}.py— ≥1 code stub with typed signaturessrc/environment.md— Python version, framework, hardware, dependencies, seedstrace/exploration_tree.yaml— Research DAG (≥8 nodes, nested YAML)evidence/README.md— Index table mapping every evidence file to claimsevidence/tables/*.md— ALL result tables (exact cell values, never rounded)evidence/figures/*.md— ALL quantitative figures (extracted data points)
Evidence-generation rules:
- Preserve raw source tables separately from any derived subset views
- A file named after a source object (for example
table3_...) must match that source object's caption and contents - If only a subset is included, the filename must say
derived_,subset_, or equivalent, and the file must state what it was derived from - Do not merge rows from different source tables into one evidence file unless the file is explicitly labeled as a derived comparison
Step 4: Coverage Check Loop (max 3 rounds)
Before running Seal validation, verify that the ARA faithfully covers the source material. Repeat up to 3 rounds; stop early if a round produces no patches.
Each round: re-read the source, identify anything not yet captured or only shallowly captured in the ARA, patch those gaps, then note how many fixes were made. If zero, exit early. Pay particular attention to appendix content and to citations from the paper's References list, which are easy to miss on the first pass.
The coverage loop does not replace validation — it ensures the ARA is semantically complete before structural checks run.
Step 5: Validate
Run ARA Seal Level 1 validation. Perform these checks:
- All mandatory dirs exist:
logic/,logic/solution/,src/,src/configs/,trace/,evidence/ - All mandatory files exist and are non-empty
- PAPER.md has YAML frontmatter with title, authors, year
- PAPER.md has Layer Index section
- claims.md has C01+ blocks with Statement, Status, Falsification criteria, Proof fields
- experiments.md has E01+ blocks with Verifies, Setup, Procedure, Expected outcome fields
- heuristics.md has H01+ blocks with Rationale, Sensitivity, Bounds fields
- concepts.md has ≥5 concept sections
- experiments.md has ≥3 experiment plans
- exploration_tree.yaml parses as valid YAML with ≥8 nodes, has dead_end and decision types
- Claim Proof references (E01, E02...) resolve to experiments.md
- Experiment Verifies references (C01, C02...) resolve to claims.md
- Heuristic Code ref paths resolve to actual files in src/execution/
- Evidence files contain Markdown tables with Source fields
- Evidence file names, source labels, and captions agree on the original table/figure identifier
- Any file named like a raw source table is a faithful transcription rather than a filtered subset
- Claims only cite experiments whose evidence actually contains the compared rows or measurements
- Claim wording does not outrun the evidence type (for example, validation tables alone should not be used to claim training-dynamics improvements)
- Trace nodes declare
support_level: explicit|inferred - Trace nodes with
support_level: explicitinclude source references
Step 6: Fix & Iterate
For each validation failure:
- Read the failing file
- Apply targeted edits (prefer Edit over full rewrite to preserve correct content)
- Re-validate after all fixes
Typically converges in 2-3 rounds.
Step 7: Report
Print a summary:
- Artifact location
- File count and total size
- Validation result (pass/fail with details)
- Key statistics: number of claims, experiments, heuristics, concepts, tree nodes, evidence files
Critical Rules
- Exact numbers: All numerical values copied EXACTLY from source — never round or approximate
- No hallucination: Never invent claims, results, or heuristics not in the source material
- Experiments have NO exact numbers:
experiments.mdcontains only directional/relative expected outcomes. Exact numbers go inevidence/ - Every claim has proof: Proof field references experiment IDs (E01, E02), not file paths
- Cross-layer binding: Claims ↔ Experiments ↔ Evidence ↔ Code refs must all resolve
- Dead ends matter: Include failed approaches, rejected alternatives, ablation findings
- "Not specified": If information is genuinely unavailable, write "Not specified in paper" — never guess
- No fake source labels: Never call a derived subset
Table NorFigure Nunless it faithfully reproduces the original source object - No synthetic trace history: Do not invent decisions, dead ends, or experiments that are not explicit in the provided inputs; if a trajectory is inferred, mark it as inferred or omit it
- Evidence-limited wording: Do not use stronger language than the evidence supports; separate direct observations from interpretation
Reference Files
For detailed schema specifications, load these on demand:
- references/ara-schema.md — Complete ARA directory schema with field-level format for every file
- references/exploration-tree-spec.md — Detailed exploration tree YAML specification with examples
- references/validation-checklist.md — All Seal Level 1 checks (what the validator looks for)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

