Token导航 LogoToken导航TokenDH.com
研究检索只读clawhub未标认证来源可访问clear审计通过

paper-repro-pythonpaper repro Python 搜索

Agent Skill

用于辅助 Python 项目开发、测试、依赖管理和常见框架工作流。它适合让 Agent 阅读 Python 代码、定位测试问题、整理运行命令、生成脚本或分析数据处理逻辑。使用时需要确认项目虚拟环境、依赖版本和测试入口;涉及执行脚本、读写文件、访问数据库或调用外部 API 时,应先明确运行目录和输入输出范围,避免误改生产数据。

总安装

9,599

周安装

396

GitHub Stars

公开资料未说明

下载量

3,136
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:paper-repro-python(paper repro Python 搜索)
来源仓库:https://github.com/celynnmoonlight/paper-repro-python
安装命令:
openclaw skills install paper-repro-python
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install paper-repro-python

简介

当用户要求“复制一篇论文”、“用Python实现论文方法”、“将论文内容提取到Markdown”或在论文上工作时,应该使用这个技能。

SKILL.md

name
paper-repro-python
description
This skill should be used when the user asks to "reproduce a paper", "implement paper methods in Python", "extract paper content to Markdown", or works on paper reproduction tasks. Use for TeX-first extraction, modular Python implementation, and bilingual documentation.
metadata
openclaw
emoji
📄

Follow this workflow end-to-end unless the user explicitly asks to skip steps

1) Intake and scope

  • Confirm input artifacts: TeX source path(s), PDF path, supplementary files, target repository, and expected outputs.
  • State assumptions explicitly when information is missing.
  • Keep approach adaptable to the specific paper; do not force a fixed dependency stack or rigid project template.
  • Check whether the working folder already contains paper source files (.tex, .bib, style files, figures).
  • Check whether the working folder contains user-preprocessed documents (.md, .json, images such as .png, .jpg, .svg).
  • Source priority rule (read in order, stop when sufficient):

1. TeX sources (preferred): If usable TeX source files (.tex, .bib, style files) are present, use them as the primary source. 2. User-preprocessed documents (secondary): If TeX is absent or incomplete, read user-provided documents (.md, .json) and images (.png, .jpg, .svg) that may contain pre-extracted paper content. 3. PDF fallback (last resort): Only when both TeX and user-preprocessed documents are unavailable or insufficient, fall back to PDF extraction.

2) Source extraction (TeX → preprocessed docs → PDF)

  • TeX path (highest priority):

- Parse and read the main TeX project structure first (main.tex or equivalent entry file and includes). - Preserve original scientific wording when converting relevant content to Markdown notes. - Resolve equations, theorem blocks, citations, and appendices from source files whenever possible. - Record unresolved include/bibliography issues explicitly; do not invent missing content.

  • User-preprocessed documents path (secondary):

- Read Markdown files (.md) that may contain paper content extracted by the user. - Read JSON files (.json) that may contain structured paper data (metadata, sections, references). - View images (.png, .jpg, .svg) that may contain paper figures, tables, or scanned pages. - Preserve original content; do not summarize or paraphrase. - Note the source of each piece of information (which file, which section).

  • PDF fallback path (lowest priority, when all else fails):

- Extract paper content page by page into Markdown, preserving the original wording. - Do not summarize, paraphrase, or rewrite scientific statements. - Preserve structure faithfully: - Title, authors, affiliations, abstract, sections, subsections. - Equations (LaTeX-friendly when possible), theorem/lemma/proposition blocks. - Tables, figure captions, references, appendices, footnotes. - If a PDF is scanned or partially unreadable: - Run OCR and mark uncertain spans clearly. - Never silently invent missing text. - Include image references/placeholders when figures cannot be represented as plain text. - Produce one primary output file such as paper_fulltext.md.

3) Extraction quality checks

  • Validate completeness before moving to reproduction:

- Section/headings coverage matches the TeX project or PDF source used. - Key equations and algorithm blocks are present. - References and appendices are included if present in the source.

  • Report known extraction limitations and exact affected files/pages/segments.

4) Reproduction planning (paper-specific)

  • Build a reproduction plan from the extracted source materials (TeX-derived notes and/or Markdown), not from memory.
  • Identify:

- Problem definition, notation, assumptions, and objective functions. - Algorithm steps and required components. - Dataset generation/loading, training/optimization, and evaluation protocol. - Baselines and ablations required for faithful reproduction.

  • If details are missing or ambiguous, call out the gap and provide a conservative implementation choice with rationale.

5) Python implementation principles

  • Implement with modular design and clear boundaries:

- Separate concerns (data, models/algorithms, training/solver loop, evaluation, utils, config). - Prefer low coupling and high cohesion.

  • Avoid monolithic scripts:

- Split code into modules whenever responsibilities can be separated. - Prefer one clear responsibility per file.

  • File size guideline:

- Keep a single source file under ~200 lines whenever practical. - If a file grows beyond ~200 lines, refactor into submodules unless there is a clear reason not to.

  • Keep dependencies minimal and paper-driven; choose tools based on the paper's actual needs.
  • Avoid over-engineering early; start from the minimum reproducible core, then extend.
  • Add tests/checks for critical math or pipeline steps where feasible.
  • Preserve reproducibility:

- deterministic seeds when applicable, - explicit config for key hyperparameters, - clear experiment entry points.

6) Logging and data persistence

  • All reproduction experiments must save execution logs and output data:

- Logs: Save console output, training progress, and error messages to timestamped log files (e.g., logs/experiment_YYYYMMDD_HHMMSS.log). - Data: Save all generated data (metrics, model checkpoints, intermediate results) to structured files (e.g., JSON, CSV, or pickle) in a dedicated outputs/ or results/ directory. - Configuration snapshot: Save the exact configuration/hyperparameters used for each run alongside the outputs.

  • Logging should capture enough detail to:

- Trace the execution flow for debugging. - Compare results across multiple runs. - Identify the exact conditions under which results were produced.

7) Result verification and comparison

  • After running reproduction experiments, compare results against the paper's reported data:

- Extract quantitative metrics (tables, figures) from the paper source. - Compute the same metrics from reproduction outputs. - Document both paper-reported values and reproduction values side by side.

  • Identify discrepancies:

- If reproduction results deviate significantly from paper results, investigate potential causes: - Implementation errors (algorithm bugs, missing steps). - Hyperparameter differences. - Random seed or initialization differences. - Dataset or preprocessing differences. - Document all findings and fixes applied.

  • Validation criteria:

- Define acceptable tolerance for numerical differences based on the paper's domain. - Flag results outside tolerance for further review.

  • The goal of reproduction is accurate reconstruction of paper results; verification is mandatory, not optional.

8) README header requirements (paper metadata)

  • Every reproduction project README must start with paper metadata before any other content:

- Paper title (original title as published) - Authors (full names, affiliations, and email addresses if available) - Abstract (verbatim copy of the original abstract)

  • For README_zh-CN.md:

- Paper title: provide Chinese translation if original is in English; keep original if paper is in Chinese. - Authors: keep original names and affiliations; translate country/region names if needed. - Abstract: provide faithful Chinese translation of the abstract.

  • Format example (English README):
  # [Paper Title]

  **Authors:** Author Name¹, Co-Author Name²
  **Affiliations:**
  ¹ Department, University, Country (email@university.edu)
  ² Lab, Institution, Country (email@institution.edu)

  ## Abstract

  [Verbatim abstract text from the paper]

  ---

  [Then reproduction project content begins...]

9) README update requirements (bilingual + images)

  • Generate and maintain two README files after code changes:

- README.md (English original) - README_zh-CN.md (Chinese translation aligned with the English version)

  • After the paper metadata header, ensure both files include:

- paper citation and target claims to reproduce, - environment/setup commands, - project structure overview and module responsibilities, - how to run main experiments, - expected outputs/metrics and where artifacts are saved, - known deviations from the paper and why.

  • Insert generated figures/images into both README files using valid relative Markdown image paths.
  • Image output granularity rule: unless multi-panel comparison is explicitly needed, save one chart per image file (one figure per file).
  • Keep both README files aligned with actual code paths and commands.
  • Keep Chinese content as faithful translation of English technical content (no missing key steps).

10) Output contract

  • Deliver:

- source-derived extraction notes/file(s) (TeX-first, PDF fallback when needed), - implemented/updated Python code, - README.md and README_zh-CN.md with embedded generated images.

  • Clearly separate:

- exact extracted content (verbatim from source), - your implementation notes and engineering decisions.

  • Report reproduction status:

- which claims/experiments were successfully reproduced, - known gaps or deviations from paper results, with reasons.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

89.12%
按下载量换算2,795

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills