[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74YA6HPF5K3T9XEQJRP3S2Z":3,"skill-same:01M74YA6HPF5K3T9XEQJRP3S2Z":68},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":35,"ownerHtmlUrl":36,"ownerBlogUrl":37,"ownerDescription":38,"updatedAt":39,"install":40,"resources":53},"01M74YA6HPF5K3T9XEQJRP3S2Z","ara-compiler",null,"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.","KalarisLabs\u002Fresearch-agent-skills","KalarisLabs","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F300878568?v=4","01M74Y7MT23GXXC56VM6TVSXZY","Kalarislabs","01M74Y7MTQM9REXZX4SNXWX95C",132,"MIT","https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fara-compiler\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: ara-compiler\ndescription: 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.\nlicense: MIT\nmetadata:\n  version: 1.0.0\n  category: research-automation\n  maintainer: Kalaris Labs\n  tags: ARA, Research Artifacts, Knowledge Extraction, Paper Ingestion, Exploration Graph, Provenance, Research Tooling, Epistemic Compilation\n  dependencies: ''\n---\n\n# Universal ARA Compiler\n\nYou are the ARA Universal Compiler. Your job: take ANY research input and produce a complete,\nvalidated ARA artifact. You operate as a first-class Claude Code agent — use your native tools\n(Read, Write, Edit, Bash, Glob, Grep) directly. No API wrapper needed.\n\n## Input Philosophy\n\nThe compiler is **open-ended**. It accepts anything that contains research knowledge — there is\nno fixed input schema. Your job is to figure out what you've been given and extract maximum\nstructured knowledge from it.\n\nPossible inputs include (but are NOT limited to):\n- PDF papers, arXiv links\n- GitHub repositories (URLs or local paths)\n- Code files, scripts, notebooks (`.py`, `.ipynb`, `.rs`, `.cpp`, etc.)\n- Experiment logs, training outputs, evaluation results\n- Configuration files, hyperparameter sweeps\n- Raw research notes, brainstorm transcripts, meeting notes\n- Data directories with results, checkpoints, figures\n- Slack\u002Femail threads describing research decisions\n- Combinations of the above\n- A verbal description or conversation with the user about their research\n- Nothing at all — the user may want to build an ARA interactively through dialogue\n\nWhen arguments are provided (`$ARGUMENTS`), interpret them flexibly:\n- File\u002Fdirectory paths → read them\n- URLs → fetch or clone them\n- `--output \u003Cdir>` → where to write the ARA (default: `.\u002Fara-output\u002F`)\n- `--rubric \u003Cpath>` → PaperBench rubric for coverage mapping\n- Anything else → treat as context or ask the user for clarification\n\n### Input Reading Strategy\n\nAdapt to whatever you receive:\n1. **Identify what you have.** Glob, read, and explore the provided paths. Understand the nature\n   of the input before committing to a generation plan.\n2. **Maximize coverage.** Cross-reference all available sources. A PDF gives narrative + claims;\n   code gives ground-truth implementation; experiment logs give the exploration trajectory;\n   notes give decisions and dead ends that never made it to paper.\n3. **Ask when stuck.** If the input is ambiguous or incomplete, ask the user to fill gaps rather\n   than hallucinating. The user is a collaborator, not a passive consumer.\n4. **Handle partial inputs gracefully.** Not every ARA field will be fillable from every input.\n   Populate what you can with high confidence, mark gaps explicitly with \"Not available from\n   provided input\", and tell the user what's missing so they can supplement later.\n\n## Workflow\n\n```text\n1. READ all inputs\n2. REASON through the 4-stage epistemic protocol (see below)\n3. GENERATE all ARA files using Write tool\n4. COVERAGE CHECK loop (max 3 rounds): re-read source → diff against ARA → patch gaps\n5. VALIDATE by running Seal Level 1\n6. FIX any failures, re-validate\n7. REPORT summary to user\n```\n\n### Step 1: Read Inputs\n\nRead ALL provided inputs thoroughly before generating anything. For PDFs, read every page,\n**including appendices** — appendices often carry reproduction-critical content and should\nbe treated with the same priority as main-text pages.\n\nFor repos, prioritize: README → core algorithm files → configs → environment files.\n\n### Step 2: 4-Stage Epistemic Chain-of-Thought\n\nBefore writing any files, reason through these 4 stages. Think carefully about each stage.\n\n**Stage 1 — Semantic Deconstruction**\nStrip narrative framing. Extract the raw knowledge atoms:\n- Mathematical formulations and equations\n- Architectural specifications and component descriptions\n- Experimental configurations (hyperparameters, hardware, datasets, seeds)\n- ALL numerical results and benchmarks (exact values, never rounded)\n- Citation dependencies and their roles (imports, extends, bounds, refutes)\n- Negative results, ablation findings, rejected alternatives\n- Implementation tricks, convergence hacks, sensitivity observations\n\nBefore moving on, perform an **evidence capture pass**:\n- For every source table or figure you plan to cite, first capture the original source identifier and caption exactly (`Table 2`, `Figure 4`, etc.)\n- Transcribe the raw table\u002Ffigure content before making any claim-specific summary\n- If you create a filtered view for one claim, store it as a **derived subset**, not as the original table itself\n- Never label a subset or merged summary as `Table N` unless it reproduces the original source table faithfully\n- If PDF extraction is ambiguous, re-read the page with layout preserved or inspect the page manually before writing evidence files\n\n**Stage 2 — Cognitive Mapping**\nMap extracted atoms to `\u002Flogic\u002F`:\n- **problem.md**: observations (with numbers) → gaps → key insight → assumptions\n- **claims.md**: falsifiable claims with proof pointers to experiment IDs (E01, E02...), plus a separation between direct evidence basis and higher-level interpretation\n- **concepts.md**: ≥5 formal definitions with notation and boundary conditions\n- **experiments.md**: ≥3 declarative verification plans (NO exact numbers — directional only)\n- **solution\u002F**: architecture (component graph), algorithm (math + pseudocode), constraints, heuristics\n- **related_work.md**: typed dependency graph (imports\u002Fextends\u002Fbounds\u002Fbaseline\u002Frefutes)\n\nAppendix content (worked examples, prompt templates, enumerated taxonomies, annotation\nschemas, extended analyses, prescriptive content) should be routed into the ARA layers\nwhere it fits best, preserving the granularity the source uses. Never silently drop an\nappendix section.\n\nWhen writing claims:\n- Phrase the main `Statement` at the strongest level directly supported by the cited evidence\n- Put raw support in `Evidence basis`\n- Put any broader synthesis in `Interpretation`\n- 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\n\n`related_work.md` should reflect the paper's full citation footprint, not only the\nclosest predecessors. Works with a specific technical delta get full `RW` blocks; remaining\ncitations from the paper's References list should still be captured (more briefly) so the\nintellectual neighborhood is preserved.\n\n**Stage 3 — Physical Stubbing**\nGenerate `\u002Fsrc\u002F`:\n- **configs\u002F**: exact hyperparameter values with rationale and sensitivity\n- **execution\u002F**: ≥1 Python code stub implementing the NOVEL contribution (typed signatures, no boilerplate)\n- **environment.md**: Python version, framework, hardware, dependencies, seeds\n- If repo available: use actual code to improve stub precision\n- If rubric provided: produce `rubric\u002Frequirements.md` mapping every leaf node\n\n**Stage 4 — Exploration Graph Extraction**\nReconstruct the research DAG for `\u002Ftrace\u002Fexploration_tree.yaml`:\n- Root nodes = central research questions\n- Experiments and decisions nest as children\n- Dead ends from ablations\u002Frejected alternatives = typed leaf nodes\n- ≥8 nodes, must include dead_end and decision types\n- Use `also_depends_on` for DAG convergence points\n- Every node must declare whether it is `explicit` from source material or `inferred` from reconstruction\n- Explicit nodes should carry source references (table\u002Ffigure\u002Fsection labels)\n- Inferred nodes are allowed only when they help reconstruct the paper's logic without pretending to be literal session logs\n\n### Step 3: Generate Files\n\nWrite ALL mandatory files. See [references\u002Fara-schema.md](references\u002Fara-schema.md) for the complete\ndirectory structure and field-level requirements for every file.\n\n**Mandatory files** (all must exist and be non-trivial):\n- `PAPER.md` — YAML frontmatter (title, authors, year, venue, doi, ara_version, domain, keywords, claims_summary, abstract) + Layer Index\n- `logic\u002Fproblem.md` — Observations (O1, O2...), Gaps (G1, G2...), Key Insight, Assumptions\n- `logic\u002Fclaims.md` — Claims (C01, C02...) each with Statement, Status, Falsification criteria, Proof, Evidence basis, Interpretation, Dependencies, Tags\n- `logic\u002Fconcepts.md` — ≥5 concepts each with Notation, Definition, Boundary conditions, Related concepts\n- `logic\u002Fexperiments.md` — ≥3 experiments (E01, E02...) each with Verifies, Setup, Procedure, Metrics, Expected outcome (directional only!), Baselines, Dependencies\n- `logic\u002Fsolution\u002Farchitecture.md` — Component graph with inputs\u002Foutputs\n- `logic\u002Fsolution\u002Falgorithm.md` — Math formulation + pseudocode + complexity\n- `logic\u002Fsolution\u002Fconstraints.md` — Boundary conditions and limitations\n- `logic\u002Fsolution\u002Fheuristics.md` — Heuristics (H01, H02...) each with Rationale, Sensitivity, Bounds, Code ref, Source\n- `logic\u002Frelated_work.md` — Related work (RW01, RW02...) each with DOI, Type, Delta, Claims affected\n- `src\u002Fconfigs\u002Ftraining.md` — Hyperparameters with Value, Rationale, Search range, Sensitivity, Source\n- `src\u002Fconfigs\u002Fmodel.md` — Model\u002Farchitecture configs\n- `src\u002Fexecution\u002F{module}.py` — ≥1 code stub with typed signatures\n- `src\u002Fenvironment.md` — Python version, framework, hardware, dependencies, seeds\n- `trace\u002Fexploration_tree.yaml` — Research DAG (≥8 nodes, nested YAML)\n- `evidence\u002FREADME.md` — Index table mapping every evidence file to claims\n- `evidence\u002Ftables\u002F*.md` — ALL result tables (exact cell values, never rounded)\n- `evidence\u002Ffigures\u002F*.md` — ALL quantitative figures (extracted data points)\n\nEvidence-generation rules:\n- Preserve **raw source tables** separately from any **derived subset** views\n- A file named after a source object (for example `table3_...`) must match that source object's caption and contents\n- If only a subset is included, the filename must say `derived_`, `subset_`, or equivalent, and the file must state what it was derived from\n- Do not merge rows from different source tables into one evidence file unless the file is explicitly labeled as a derived comparison\n\n### Step 4: Coverage Check Loop (max 3 rounds)\n\nBefore running Seal validation, verify that the ARA faithfully covers the source material.\nRepeat up to **3 rounds**; stop early if a round produces no patches.\n\n**Each round:** re-read the source, identify anything not yet captured or only shallowly\ncaptured in the ARA, patch those gaps, then note how many fixes were made. If zero, exit\nearly. Pay particular attention to appendix content and to citations from the paper's\nReferences list, which are easy to miss on the first pass.\n\nThe coverage loop does not replace validation — it ensures the ARA is semantically complete\nbefore structural checks run.\n\n### Step 5: Validate\n\nRun ARA Seal Level 1 validation. Perform these checks:\n- All mandatory dirs exist: `logic\u002F`, `logic\u002Fsolution\u002F`, `src\u002F`, `src\u002Fconfigs\u002F`, `trace\u002F`, `evidence\u002F`\n- All mandatory files exist and are non-empty\n- PAPER.md has YAML frontmatter with title, authors, year\n- PAPER.md has Layer Index section\n- claims.md has C01+ blocks with Statement, Status, Falsification criteria, Proof fields\n- experiments.md has E01+ blocks with Verifies, Setup, Procedure, Expected outcome fields\n- heuristics.md has H01+ blocks with Rationale, Sensitivity, Bounds fields\n- concepts.md has ≥5 concept sections\n- experiments.md has ≥3 experiment plans\n- exploration_tree.yaml parses as valid YAML with ≥8 nodes, has dead_end and decision types\n- Claim Proof references (E01, E02...) resolve to experiments.md\n- Experiment Verifies references (C01, C02...) resolve to claims.md\n- Heuristic Code ref paths resolve to actual files in src\u002Fexecution\u002F\n- Evidence files contain Markdown tables with **Source** fields\n- Evidence file names, source labels, and captions agree on the original table\u002Ffigure identifier\n- Any file named like a raw source table is a faithful transcription rather than a filtered subset\n- Claims only cite experiments whose evidence actually contains the compared rows or measurements\n- Claim wording does not outrun the evidence type (for example, validation tables alone should not be used to claim training-dynamics improvements)\n- Trace nodes declare `support_level: explicit|inferred`\n- Trace nodes with `support_level: explicit` include source references\n\n### Step 6: Fix & Iterate\n\nFor each validation failure:\n1. Read the failing file\n2. Apply targeted edits (prefer Edit over full rewrite to preserve correct content)\n3. Re-validate after all fixes\n\nTypically converges in 2-3 rounds.\n\n### Step 7: Report\n\nPrint a summary:\n- Artifact location\n- File count and total size\n- Validation result (pass\u002Ffail with details)\n- Key statistics: number of claims, experiments, heuristics, concepts, tree nodes, evidence files\n\n## Critical Rules\n\n1. **Exact numbers**: All numerical values copied EXACTLY from source — never round or approximate\n2. **No hallucination**: Never invent claims, results, or heuristics not in the source material\n3. **Experiments have NO exact numbers**: `experiments.md` contains only directional\u002Frelative expected outcomes. Exact numbers go in `evidence\u002F`\n4. **Every claim has proof**: Proof field references experiment IDs (E01, E02), not file paths\n5. **Cross-layer binding**: Claims ↔ Experiments ↔ Evidence ↔ Code refs must all resolve\n6. **Dead ends matter**: Include failed approaches, rejected alternatives, ablation findings\n7. **\"Not specified\"**: If information is genuinely unavailable, write \"Not specified in paper\" — never guess\n8. **No fake source labels**: Never call a derived subset `Table N` or `Figure N` unless it faithfully reproduces the original source object\n9. **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\n10. **Evidence-limited wording**: Do not use stronger language than the evidence supports; separate direct observations from interpretation\n\n## Reference Files\n\nFor detailed schema specifications, load these on demand:\n- [references\u002Fara-schema.md](references\u002Fara-schema.md) — Complete ARA directory schema with field-level format for every file\n- [references\u002Fexploration-tree-spec.md](references\u002Fexploration-tree-spec.md) — Detailed exploration tree YAML specification with examples\n- [references\u002Fvalidation-checklist.md](references\u002Fvalidation-checklist.md) — All Seal Level 1 checks (what the validator looks for)\n\n## Agent operating procedure\n\n1. **Check the environment.** Confirm the objective, evaluation metric, budget (time, compute, money) and stopping criteria.\n2. **Pin down the inputs.** Confirm formats, identifiers and parameters from the data or the user. Ask rather than guess any value that changes the result.\n3. **Run a small version first.** Run one iteration end to end and inspect logs before scaling up.\n4. **Execute the full task** using the instructions and references above.\n5. **Validate the result.** Evaluate on held-out data; keep an audit trail of every iteration, hypothesis and result.\n6. **Report.** State what was run (versions, commands, parameters), what was checked, and what is still uncertain.\n\n| If this happens | Do this |\n|---|---|\n| An iteration produces suspiciously large gains | Check for leakage or evaluation bugs before accepting the result. |\n| A function, flag or endpoint in these instructions is missing in the installed version | Check the installed version's own documentation (`help()`, `--help`, official docs), adapt, and tell the user. Never invent an API. |\n| A required input, identifier or parameter is ambiguous | Ask the user, or state the assumption explicitly before running. |\n\n**Integrity rules**\n\n- Never fabricate results, parameters, identifiers, citations or statistics. If something cannot be run or verified, say so plainly.\n- Record negative results; never select or report only favourable runs.\n- Treat version-specific details here as possibly outdated: confirm them against the official documentation for the installed version.\n- Ask before actions that cost money, consume shared GPUs or cloud quota, touch personal or patient data, or cannot be undone.\n\n## Related skills\n\n- `ara-research-manager`: Records research provenance at the end of a coding or research session by scanning the conversation and writing decisions, experiments, dea…\n- `ara-rigor-reviewer`: Performs ARA Seal Level 2 semantic epistemic review of an Agent-Native Research Artifact directory, reading PAPER.md, logic\u002Fclaims.md, logi…\n","# Universal ARA Compiler\n\nYou are the ARA Universal Compiler. Your job: take ANY research input and produce a complete,\nvalidated ARA artifact. You operate as a first-class Claude Code agent — use your native tools\n(Read, Write, Edit, Bash, Glob, Grep) directly. No API wrapper needed.\n\n## Input Philosophy\n\nThe compiler is **open-ended**. It accepts anything that contains research knowledge — there is\nno fixed input schema. Your job is to figure out what you've been given and extract maximum\nstructured knowledge from it.\n\nPossible inputs include (but are NOT limited to):\n- PDF papers, arXiv links\n- GitHub repositories (URLs or local paths)\n- Code files, scripts, notebooks (`.py`, `.ipynb`, `.rs`, `.cpp`, etc.)\n- Experiment logs, training outputs, evaluation results\n- Configuration files, hyperparameter sweeps\n- Raw research notes, brainstorm transcripts, meeting notes\n- Data directories with results, checkpoints, figures\n- Slack\u002Femail threads describing research decisions\n- Combinations of the above\n- A verbal description or conversation with the user about their research\n- Nothing at all — the user may want to build an ARA interactively through dialogue\n\nWhen arguments are provided (`$ARGUMENTS`), interpret them flexibly:\n- File\u002Fdirectory paths → read them\n- URLs → fetch or clone them\n- `--output \u003Cdir>` → where to write the ARA (default: `.\u002Fara-output\u002F`)\n- `--rubric \u003Cpath>` → PaperBench rubric for coverage mapping\n- Anything else → treat as context or ask the user for clarification\n\n### Input Reading Strategy\n\nAdapt to whatever you receive:\n1. **Identify what you have.** Glob, read, and explore the provided paths. Understand the nature\n   of the input before committing to a generation plan.\n2. **Maximize coverage.** Cross-reference all available sources. A PDF gives narrative + claims;\n   code gives ground-truth implementation; experiment logs give the exploration trajectory;\n   notes give decisions and dead ends that never made it to paper.\n3. **Ask when stuck.** If the input is ambiguous or incomplete, ask the user to fill gaps rather\n   than hallucinating. The user is a collaborator, not a passive consumer.\n4. **Handle partial inputs gracefully.** Not every ARA field will be fillable from every input.\n   Populate what you can with high confidence, mark gaps explicitly with \"Not available from\n   provided input\", and tell the user what's missing so they can supplement later.\n\n## Workflow\n\n```text\n1. READ all inputs\n2. REASON through the 4-stage epistemic protocol (see below)\n3. GENERATE all ARA files using Write tool\n4. COVERAGE CHECK loop (max 3 rounds): re-read source → diff against ARA → patch gaps\n5. VALIDATE by running Seal Level 1\n6. FIX any failures, re-validate\n7. REPORT summary to user\n```\n\n### Step 1: Read Inputs\n\nRead ALL provided inputs thoroughly before generating anything. For PDFs, read every page,\n**including appendices** — appendices often carry reproduction-critical content and should\nbe treated with the same priority as main-text pages.\n\nFor repos, prioritize: README → core algorithm files → configs → environment files.\n\n### Step 2: 4-Stage Epistemic Chain-of-Thought\n\nBefore writing any files, reason through these 4 stages. Think carefully about each stage.\n\n**Stage 1 — Semantic Deconstruction**\nStrip narrative framing. Extract the raw knowledge atoms:\n- Mathematical formulations and equations\n- Architectural specifications and component descriptions\n- Experimental configurations (hyperparameters, hardware, datasets, seeds)\n- ALL numerical results and benchmarks (exact values, never rounded)\n- Citation dependencies and their roles (imports, extends, bounds, refutes)\n- Negative results, ablation findings, rejected alternatives\n- Implementation tricks, convergence hacks, sensitivity observations\n\nBefore moving on, perform an **evidence capture pass**:\n- For every source table or figure you plan to cite, first capture the original source identifier and caption exactly (`Table 2`, `Figure 4`, etc.)\n- Transcribe the raw table\u002Ffigure content before making any claim-specific summary\n- If you create a filtered view for one claim, store it as a **derived subset**, not as the original table itself\n- Never label a subset or merged summary as `Table N` unless it reproduces the original source table faithfully\n- If PDF extraction is ambiguous, re-read the page with layout preserved or inspect the page manually before writing evidence files\n\n**Stage 2 — Cognitive Mapping**\nMap extracted atoms to `\u002Flogic\u002F`:\n- **problem.md**: observations (with numbers) → gaps → key insight → assumptions\n- **claims.md**: falsifiable claims with proof pointers to experiment IDs (E01, E02...), plus a separation between direct evidence basis and higher-level interpretation\n- **concepts.md**: ≥5 formal definitions with notation and boundary conditions\n- **experiments.md**: ≥3 declarative verification plans (NO exact numbers — directional only)\n- **solution\u002F**: architecture (component graph), algorithm (math + pseudocode), constraints, heuristics\n- **related_work.md**: typed dependency graph (imports\u002Fextends\u002Fbounds\u002Fbaseline\u002Frefutes)\n\nAppendix content (worked examples, prompt templates, enumerated taxonomies, annotation\nschemas, extended analyses, prescriptive content) should be routed into the ARA layers\nwhere it fits best, preserving the granularity the source uses. Never silently drop an\nappendix section.\n\nWhen writing claims:\n- Phrase the main `Statement` at the strongest level directly supported by the cited evidence\n- Put raw support in `Evidence basis`\n- Put any broader synthesis in `Interpretation`\n- 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\n\n`related_work.md` should reflect the paper's full citation footprint, not only the\nclosest predecessors. Works with a specific technical delta get full `RW` blocks; remaining\ncitations from the paper's References list should still be captured (more briefly) so the\nintellectual neighborhood is preserved.\n\n**Stage 3 — Physical Stubbing**\nGenerate `\u002Fsrc\u002F`:\n- **configs\u002F**: exact hyperparameter values with rationale and sensitivity\n- **execution\u002F**: ≥1 Python code stub implementing the NOVEL contribution (typed signatures, no boilerplate)\n- **environment.md**: Python version, framework, hardware, dependencies, seeds\n- If repo available: use actual code to improve stub precision\n- If rubric provided: produce `rubric\u002Frequirements.md` mapping every leaf node\n\n**Stage 4 — Exploration Graph Extraction**\nReconstruct the research DAG for `\u002Ftrace\u002Fexploration_tree.yaml`:\n- Root nodes = central research questions\n- Experiments and decisions nest as children\n- Dead ends from ablations\u002Frejected alternatives = typed leaf nodes\n- ≥8 nodes, must include dead_end and decision types\n- Use `also_depends_on` for DAG convergence points\n- Every node must declare whether it is `explicit` from source material or `inferred` from reconstruction\n- Explicit nodes should carry source references (table\u002Ffigure\u002Fsection labels)\n- Inferred nodes are allowed only when they help reconstruct the paper's logic without pretending to be literal session logs\n\n### Step 3: Generate Files\n\nWrite ALL mandatory files. See [references\u002Fara-schema.md](references\u002Fara-schema.md) for the complete\ndirectory structure and field-level requirements for every file.\n\n**Mandatory files** (all must exist and be non-trivial):\n- `PAPER.md` — YAML frontmatter (title, authors, year, venue, doi, ara_version, domain, keywords, claims_summary, abstract) + Layer Index\n- `logic\u002Fproblem.md` — Observations (O1, O2...), Gaps (G1, G2...), Key Insight, Assumptions\n- `logic\u002Fclaims.md` — Claims (C01, C02...) each with Statement, Status, Falsification criteria, Proof, Evidence basis, Interpretation, Dependencies, Tags\n- `logic\u002Fconcepts.md` — ≥5 concepts each with Notation, Definition, Boundary conditions, Related concepts\n- `logic\u002Fexperiments.md` — ≥3 experiments (E01, E02...) each with Verifies, Setup, Procedure, Metrics, Expected outcome (directional only!), Baselines, Dependencies\n- `logic\u002Fsolution\u002Farchitecture.md` — Component graph with inputs\u002Foutputs\n- `logic\u002Fsolution\u002Falgorithm.md` — Math formulation + pseudocode + complexity\n- `logic\u002Fsolution\u002Fconstraints.md` — Boundary conditions and limitations\n- `logic\u002Fsolution\u002Fheuristics.md` — Heuristics (H01, H02...) each with Rationale, Sensitivity, Bounds, Code ref, Source\n- `logic\u002Frelated_work.md` — Related work (RW01, RW02...) each with DOI, Type, Delta, Claims affected\n- `src\u002Fconfigs\u002Ftraining.md` — Hyperparameters with Value, Rationale, Search range, Sensitivity, Source\n- `src\u002Fconfigs\u002Fmodel.md` — Model\u002Farchitecture configs\n- `src\u002Fexecution\u002F{module}.py` — ≥1 code stub with typed signatures\n- `src\u002Fenvironment.md` — Python version, framework, hardware, dependencies, seeds\n- `trace\u002Fexploration_tree.yaml` — Research DAG (≥8 nodes, nested YAML)\n- `evidence\u002FREADME.md` — Index table mapping every evidence file to claims\n- `evidence\u002Ftables\u002F*.md` — ALL result tables (exact cell values, never rounded)\n- `evidence\u002Ffigures\u002F*.md` — ALL quantitative figures (extracted data points)\n\nEvidence-generation rules:\n- Preserve **raw source tables** separately from any **derived subset** views\n- A file named after a source object (for example `table3_...`) must match that source object's caption and contents\n- If only a subset is included, the filename must say `derived_`, `subset_`, or equivalent, and the file must state what it was derived from\n- Do not merge rows from different source tables into one evidence file unless the file is explicitly labeled as a derived comparison\n\n### Step 4: Coverage Check Loop (max 3 rounds)\n\nBefore running Seal validation, verify that the ARA faithfully covers the source material.\nRepeat up to **3 rounds**; stop early if a round produces no patches.\n\n**Each round:** re-read the source, identify anything not yet captured or only shallowly\ncaptured in the ARA, patch those gaps, then note how many fixes were made. If zero, exit\nearly. Pay particular attention to appendix content and to citations from the paper's\nReferences list, which are easy to miss on the first pass.\n\nThe coverage loop does not replace validation — it ensures the ARA is semantically complete\nbefore structural checks run.\n\n### Step 5: Validate\n\nRun ARA Seal Level 1 validation. Perform these checks:\n- All mandatory dirs exist: `logic\u002F`, `logic\u002Fsolution\u002F`, `src\u002F`, `src\u002Fconfigs\u002F`, `trace\u002F`, `evidence\u002F`\n- All mandatory files exist and are non-empty\n- PAPER.md has YAML frontmatter with title, authors, year\n- PAPER.md has Layer Index section\n- claims.md has C01+ blocks with Statement, Status, Falsification criteria, Proof fields\n- experiments.md has E01+ blocks with Verifies, Setup, Procedure, Expected outcome fields\n- heuristics.md has H01+ blocks with Rationale, Sensitivity, Bounds fields\n- concepts.md has ≥5 concept sections\n- experiments.md has ≥3 experiment plans\n- exploration_tree.yaml parses as valid YAML with ≥8 nodes, has dead_end and decision types\n- Claim Proof references (E01, E02...) resolve to experiments.md\n- Experiment Verifies references (C01, C02...) resolve to claims.md\n- Heuristic Code ref paths resolve to actual files in src\u002Fexecution\u002F\n- Evidence files contain Markdown tables with **Source** fields\n- Evidence file names, source labels, and captions agree on the original table\u002Ffigure identifier\n- Any file named like a raw source table is a faithful transcription rather than a filtered subset\n- Claims only cite experiments whose evidence actually contains the compared rows or measurements\n- Claim wording does not outrun the evidence type (for example, validation tables alone should not be used to claim training-dynamics improvements)\n- Trace nodes declare `support_level: explicit|inferred`\n- Trace nodes with `support_level: explicit` include source references\n\n### Step 6: Fix & Iterate\n\nFor each validation failure:\n1. Read the failing file\n2. Apply targeted edits (prefer Edit over full rewrite to preserve correct content)\n3. Re-validate after all fixes\n\nTypically converges in 2-3 rounds.\n\n### Step 7: Report\n\nPrint a summary:\n- Artifact location\n- File count and total size\n- Validation result (pass\u002Ffail with details)\n- Key statistics: number of claims, experiments, heuristics, concepts, tree nodes, evidence files\n\n## Critical Rules\n\n1. **Exact numbers**: All numerical values copied EXACTLY from source — never round or approximate\n2. **No hallucination**: Never invent claims, results, or heuristics not in the source material\n3. **Experiments have NO exact numbers**: `experiments.md` contains only directional\u002Frelative expected outcomes. Exact numbers go in `evidence\u002F`\n4. **Every claim has proof**: Proof field references experiment IDs (E01, E02), not file paths\n5. **Cross-layer binding**: Claims ↔ Experiments ↔ Evidence ↔ Code refs must all resolve\n6. **Dead ends matter**: Include failed approaches, rejected alternatives, ablation findings\n7. **\"Not specified\"**: If information is genuinely unavailable, write \"Not specified in paper\" — never guess\n8. **No fake source labels**: Never call a derived subset `Table N` or `Figure N` unless it faithfully reproduces the original source object\n9. **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\n10. **Evidence-limited wording**: Do not use stronger language than the evidence supports; separate direct observations from interpretation\n\n## Reference Files\n\nFor detailed schema specifications, load these on demand:\n- [references\u002Fara-schema.md](references\u002Fara-schema.md) — Complete ARA directory schema with field-level format for every file\n- [references\u002Fexploration-tree-spec.md](references\u002Fexploration-tree-spec.md) — Detailed exploration tree YAML specification with examples\n- [references\u002Fvalidation-checklist.md](references\u002Fvalidation-checklist.md) — All Seal Level 1 checks (what the validator looks for)\n\n## Agent operating procedure\n\n1. **Check the environment.** Confirm the objective, evaluation metric, budget (time, compute, money) and stopping criteria.\n2. **Pin down the inputs.** Confirm formats, identifiers and parameters from the data or the user. Ask rather than guess any value that changes the result.\n3. **Run a small version first.** Run one iteration end to end and inspect logs before scaling up.\n4. **Execute the full task** using the instructions and references above.\n5. **Validate the result.** Evaluate on held-out data; keep an audit trail of every iteration, hypothesis and result.\n6. **Report.** State what was run (versions, commands, parameters), what was checked, and what is still uncertain.\n\n| If this happens | Do this |\n|---|---|\n| An iteration produces suspiciously large gains | Check for leakage or evaluation bugs before accepting the result. |\n| A function, flag or endpoint in these instructions is missing in the installed version | Check the installed version's own documentation (`help()`, `--help`, official docs), adapt, and tell the user. Never invent an API. |\n| A required input, identifier or parameter is ambiguous | Ask the user, or state the assumption explicitly before running. |\n\n**Integrity rules**\n\n- Never fabricate results, parameters, identifiers, citations or statistics. If something cannot be run or verified, say so plainly.\n- Record negative results; never select or report only favourable runs.\n- Treat version-specific details here as possibly outdated: confirm them against the official documentation for the installed version.\n- Ask before actions that cost money, consume shared GPUs or cloud quota, touch personal or patient data, or cannot be undone.\n\n## Related skills\n\n- `ara-research-manager`: Records research provenance at the end of a coding or research session by scanning the conversation and writing decisions, experiments, dea…\n- `ara-rigor-reviewer`: Performs ARA Seal Level 2 semantic epistemic review of an Agent-Native Research Artifact directory, reading PAPER.md, logic\u002Fclaims.md, logi…\n",{"name":5,"license":15,"metadata":24,"description":7},{"tags":25,"version":26,"category":27,"maintainer":28,"dependencies":29},"ARA, Research Artifacts, Knowledge Extraction, Paper Ingestion, Exploration Graph, Provenance, Research Tooling, Epistemic Compilation","1.0.0","research-automation","Kalaris Labs","","main","29fe36d26127205057d5e0ed8425f6b0e9a8c13a","skills\u002Fara-compiler",16,"https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills","https:\u002F\u002Fdocs.kalarislabs.com\u002Fresearch-agent-skills","https:\u002F\u002Fgithub.com\u002FKalarisLabs","kalarislabs.com","Applied AI lab building the infrastructure for the agentic era","2026-11-14 17:49:08",{"source":8,"skillName":5,"commands":41,"prompt":51,"zipAvailable":52},[42,45,48],{"tool":43,"command":44},"npx","npx skills add KalarisLabs\u002Fresearch-agent-skills --skill ara-compiler",{"tool":46,"command":47},"bunx","bunx skills add KalarisLabs\u002Fresearch-agent-skills --skill ara-compiler",{"tool":49,"command":50},"pnpm","pnpm dlx skills add KalarisLabs\u002Fresearch-agent-skills --skill ara-compiler","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fara-compiler\u002FSKILL.md",true,[54,60,64],{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Fara-schema.md","REFERENCE","参考文档",12926,"https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fara-compiler\u002Freferences\u002Fara-schema.md",{"path":61,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Fexploration-tree-spec.md",4577,"https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fara-compiler\u002Freferences\u002Fexploration-tree-spec.md",{"path":65,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Fvalidation-checklist.md",5005,"https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fara-compiler\u002Freferences\u002Fvalidation-checklist.md",[69,76,83,90,97,104],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M74Z8MGT305R11SNY5G28QH5","plos","Prepare manuscripts for PLOS journals (PLOS ONE, PLOS Biology, PLOS Computational Biology, PLOS Genetics, PLOS Medicine, PLOS Pathogens, PLOS Neglected Tropical Diseases, PLOS Global Public Health and others), covering structure, abstract and author summary, Vancouver-style references, the mandatory data availability policy, ethics and financial disclosure statements, figure requirements (PACE), the PLOS LaTeX template, reporting guidelines and PLOS ONE's publication criteria. Use when targeting any PLOS journal or checking compliance with PLOS policies.","https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fplos\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M74Z8CCN9APXYHNQ95V1EBGT","pkpd-modeling","Pharmacokinetic and pharmacodynamic modelling and simulation - non-compartmental analysis, compartmental and population PK, PK\u002FPD and exposure-response, TMDD, PBPK orientation, bioequivalence, allometric scaling and first-in-human dose, drug interaction prediction, and Bayesian therapeutic drug monitoring. Use when analysing concentration-time data, deriving exposure metrics, fitting PK or PD models, or evaluating dosing regimens. Triggers include \"pharmacokinetics\", \"pharmacodynamics\", \"PK\u002FPD\", \"NCA\", \"non-compartmental\", \"AUC\", \"Cmax\", \"lambda z\", \"half-life\", \"clearance\", \"volume of distribution\", \"compartmental model\", \"population PK\", \"popPK\", \"NONMEM\", \"nlmixr2\", \"Pharmpy\", \"Monolix\", \"exposure-response\", \"Emax\", \"EC50\", \"indirect response\", \"effect compartment\", \"TMDD\", \"PBPK\", \"bioequivalence\", \"RSABE\", \"ABEL\", \"allometric scaling\", \"first-in-human\", \"MABEL\", \"drug-drug interaction\", \"DDI\", \"ICH M12\", \"concentration-QTc\", \"therapeutic drug monitoring\", \"MIPD\", and \"dosing regimen\".","https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpkpd-modeling\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M74Z86YHJJ1FM3X87BHN76KZ","pinecone","Guides use of Pinecone, a managed serverless vector database, through its Python client and the LangChain and LlamaIndex integrations. Covers creating indexes, upserting and querying vectors, metadata filtering, namespaces, hybrid dense and sparse search, index management, and deleting vectors. Use when building a production RAG system on a hosted vector store, adding semantic search or recommendations without running infrastructure, isolating per-user or per-tenant data with namespaces, combining dense and sparse vectors in one query, or filtering results by metadata. Do not use for self-hosted or local stores (Chroma, Weaviate) or offline similarity search (FAISS).","https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpinecone\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M74Z80T6E89SAJ8MYDD0767Q","pi-agent","Build with and use Pi, the minimal terminal coding harness. Use for installing Pi, configuring providers\u002Fmodels\u002Fsettings\u002Fenvironment variables, creating Pi skills\u002Fextensions\u002Fpackages\u002Fthemes\u002Fprompt templates, embedding Pi through the SDK, integrating over RPC or JSON event streams, parsing sessions, running local models through the llama.cpp router, developing custom Pi providers and TUI components, or using ecosystem packages such as pi-subagents (delegation\u002Forchestration), pi-mcp-adapter (MCP servers), pi-interview (interactive forms), and pi-web-access (web search, fetching, video understanding).","https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpi-agent\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M74Z7WF1Y8Q3VFAQPPPRAFMV","phoenix-observability","Open-source AI observability platform for LLM tracing, evaluation, and monitoring. Use when debugging LLM applications with detailed traces, running evaluations on datasets, or monitoring production AI systems with real-time insights.","https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fphoenix-observability\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":19},"01M74Z7HNEH1A2AVYR3G1X2QV6","peft-fine-tuning","Fine-tunes LLMs with Hugging Face PEFT, using LoRA, QLoRA, IA3, AdaLoRA, prefix tuning, and prompt tuning so that under 1% of parameters are trained. Covers rank, alpha, and target module selection, loading and merging adapters, multi-adapter serving, and integration with TRL SFTTrainer, Axolotl, and vLLM. Use when fine-tuning 7B-70B models on limited GPU memory, when running QLoRA on a single 24GB GPU, when choosing LoRA rank and alpha, when merging or swapping adapters on one base model, or when debugging CUDA OOM or an adapter that does not apply. Not for full fine-tuning of small models under 1B parameters or cases needing all weights updated.","https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpeft-fine-tuning\u002FSKILL.md",[],[]]