Analyze Paper Recovery logo

Analyze Paper Recovery

Organization
VectorSpaceLab
analyze-paper-recovery

Analyze the gap between a recovered paper result and the paper target, decide whether generated skills are acceptable, and produce actionable module-level feedback for another distillation cycle.

Overview

PublisherVectorSpaceLab
RepositoryAREX-Skill
Skill nameanalyze-paper-recovery
Stars
341
Forks
26
Bundled files
1
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by VectorSpaceLab on GitHub. Read the source before you install it.

Installation

Install the Analyze Paper Recovery AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/VectorSpaceLab/AREX-Skill/tree/main/cli/packages/coding-agent/src/disco/skills/analyze-paper-recovery
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/VectorSpaceLab/AREX-Skill.git /tmp/AREX-Skill
mkdir -p .claude/skills
cp -r /tmp/AREX-Skill/cli/packages/coding-agent/src/disco/skills/analyze-paper-recovery .claude/skills/analyze-paper-recovery
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Analyze Paper Recovery in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Analyze Paper Recovery on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Analyze Paper Recovery is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Analyze Paper Recovery

Use this skill after recover-paper-result has produced recovery/recovery_result.json. The goal is to decide whether the generated skills are good enough or whether specific module skills need refinement.

Write all analysis artifacts in English.

Inputs

  • paper_profile.md
  • module_plan.json
  • modules/*.md
  • generated skill validation JSON files
  • environment/runtime_handoff.json
  • environment/logs/command_log.json
  • recovery/source_manifest.json
  • recovery/recovery_result.json
  • recovery/experiment_validation.json

Outputs

  • analysis/analysis_report.json
  • analysis/feedback.md

Workflow

  1. Confirm the recovery respected the source boundary. If the source manifest includes the original repo, return refine.
  2. Confirm recovery/recovery_result.json.paper_target matches module_plan.json.fast_recovery_target for dataset, metric, and target value. If the recovery target drifted, return refine until the plan or recovery is corrected.
  3. Compare recovered metrics against the target declared in module_plan.json.fast_recovery_target.
  4. Inspect recovery_result.json.mechanism_checks when present. Metric success is not sufficient if the recovery skipped required searches, injected unsupported facts, or failed to exercise a core module contract.
  5. Separate full-result gaps from proxy-result gaps:
    • Full result: compare directly to the paper metric.
    • Proxy result: evaluate whether the proxy exercised the method contracts and whether the proxy metric passed its declared threshold.
  6. Inspect generated skill validation logs for failures or weak coverage.
  7. Inspect recovery/experiment_validation.json or run recover-paper-result/scripts/validate_recovery_experiment.py. Do not accept a run whose experiment gate fails.
  8. Produce a decision:
    • accept: skills are usable and recovery/proxy evidence is sufficient.
    • refine: skills need another cycle.
  9. When refining, assign feedback to concrete module ids and explain what to change.

Decision Heuristics

Accept if all are true:

  • Source boundary is valid.
  • The declared module-plan target and the recovered-result target metadata match.
  • All module skill validations passed.
  • Recovery produced a numeric metric.
  • recovery/experiment_validation.json reports ok: true.
  • Recovery has executable command evidence, not only hand-written result JSON.
  • The generated skill invocation log proves each claimed core module was called, imported, or cross-checked.
  • Mechanism checks pass when the recovery harness records them.
  • For full reproduction, the primary metric gap is within the configured tolerance.
  • For proxy reproduction, the proxy is justified and exercises the core paper mechanism.

Refine if any are true:

  • A module skill test failed.
  • The run reports missing packages, model cache, dataset, benchmark files, or search credentials as a blocker, but environment/logs/command_log.json does not show the allowed setup attempts first: isolated environment creation/reuse under the DisCo-private env root, targeted package installs, permitted model/dataset downloads, configured network/VPN or mirror retries, or a user credential/permission request when credentials are genuinely required. Treat this as refine of environment preparation, not a terminal blocker.
  • environment/runtime_handoff.json points to a private recovery Python, but the recovery experiment command log or source manifest shows the experiment used the host/shared conda Python instead.
  • The recovery result targets a different dataset, metric, or paper value than the module plan.
  • A proxy recovery omits mechanism_checks; proxy acceptance requires explicit evidence that the paper mechanism was exercised.
  • A nontrivial recovery run lacks environment/runtime_handoff.json, or recovery ignores a handoff blocker by claiming a full runtime succeeded without matching package/model evidence.
  • Environment preparation lacks environment/logs/command_log.json, or that file does not contain a command list for subprocess probes, installs, downloads, clone attempts, and version checks.
  • recovery/experiment_plan.md, recovery/logs/experiment_command_log.json, recovery/logs/generated_skill_invocations.json, or recovery/experiment_validation.json is missing.
  • The experiment command log has no successful command, no command strings, or cannot be tied to the produced recovery result.
  • A benchmark/runtime source was obtained, but the recovery item is only described as benchmark-style and does not record concrete resource-file provenance when resource-derived construction was feasible.
  • A recovery reuses a benchmark checkout from another attempt or workspace path without recording the fresh-fetch blocker, reused path, commit/version, concrete files used, and a current-attempt snapshot or copy of those resource files. Reusing previous attempt generated data, prompts, outputs, training logs, or recovery results as evidence should return refine.
  • A reduced data-generation/training recovery lacks recovery/logs/generated_data_item.json or a discoverable primary training trace with loss/metric before and after, parameter or optimizer-change evidence, and fallback/full-runtime booleans. Prefer params_before and params_after in the trace; parameters_before and parameters_after may appear as readable aliases.
  • The recovery claims to exercise a generated loss, scoring, retrieval, or prompting module but bypasses that module with duplicate harness logic and provides no cross-check or equivalence log.
  • A trajectory-derived skill puts failed or invalid actions into golden_workflow instead of keeping them in mistake_analysis, unless the paper requires retaining failed attempts in the ideal plan.
  • A prompt-separation test rejects ordinary task/environment words instead of privileged-only skill content; refine the test contract rather than weakening the prompt-separation invariant.
  • The recovery metric passes but the mechanism check shows missing required searches, unsupported Reason-in-Documents facts, or no live search events.
  • Recovery skipped a core method component.
  • The result relies on original repo code.
  • The metric gap is large and unexplained.
  • The raw answer is semantically correct but the extracted/evaluated answer fails due to a missing answer-formatting or canonicalization rule.
  • A retrieval/document-refinement module injects final-answer text or other downstream-control text that is outside its output contract.
  • The run used a mutable environment change that was not authorized or not recorded.
  • The artifacts are not sufficient for a future agent run to repeat the experiment.

Scripts

  • scripts/compare_recovery.py: compare recovery metrics and produce analysis_report.json.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Analyze Paper Recovery AI skill do?

Analyze the gap between a recovered paper result and the paper target, decide whether generated skills are acceptable, and produce actionable module-level feedback for another distillation cycle.

Why use Analyze Paper Recovery on TypingMind?

Because you install it once and use it with any model. Analyze Paper Recovery is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Analyze Paper Recovery in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/VectorSpaceLab/AREX-Skill/tree/main/cli/packages/coding-agent/src/disco/skills/analyze-paper-recovery. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Analyze Paper Recovery?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Analyze Paper Recovery?

As many as you like. As long as a model supports skills, you can use Analyze Paper Recovery with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Analyze Paper Recovery AI skill free?

Yes. It is published on GitHub by VectorSpaceLab under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇