Logo Create Paper Skills

Create Paper Skills

Tổ chức
VectorSpaceLab
create-paper-skills

Creates reusable Agent Skills from an AI research paper using the Paper2Skills Distiller workflow. Use in Creator mode when the user provides a paper PDF, paper URL, arXiv id, paper title, or paper/repo pair, or asks to convert a scientific paper into skills with recovery experiments. Prefer a TOML run config; ask for missing paper, repo, recovery, runtime, and budget fields before expensive work.

Tổng quan

Nhà phát hànhVectorSpaceLab
Kho mãAREX-Skill
Tên kỹ năngcreate-paper-skills
Sao
341
Bản fork
26
Tệp đi kèm
3
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 3 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được VectorSpaceLab công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Create Paper Skills trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/VectorSpaceLab/AREX-Skill/tree/main/cli/packages/coding-agent/src/disco/skills/create-paper-skills
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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/create-paper-skills .claude/skills/create-paper-skills
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Create Paper Skills trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Create Paper Skills ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Create Paper Skills với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Create Paper Skills

Purpose

Use this skill as the DisCo entry point for paper-to-skill construction in Creator mode. It wraps the Paper2Skills Distiller workflow in the same peer role that create-repo-skill plays for repository/package construction: collect the input contract, route to the correct workflow skills, validate artifacts, run at least a meaningful recovery smoke experiment when allowed, and produce reusable module-level skills.

Prefer a filled TOML config over free-form prompt fields. The reusable template is bundled at assets/distiller-run-config-template.toml; a longer reusable agent prompt is bundled at assets/standard-distiller-run-prompt.md.

Distillation Anchor And Stages

Treat the paper, and any explicitly permitted implementation evidence, as the source anchor z for task-agnostic distillation. If the user instead starts from a concrete recovery or replication task, record the task anchor as tau = (q, D, E, g) and classify the run as task-oriented. Do not invent a task tuple for a paper-only request.

Organize the run as the same four stages used by distill-ml-knowledge:

  1. Scope the capabilities Q from paper understanding and module planning, including non-goals and verification targets.
  2. Ground Q in paper evidence X, with source/version provenance, implementation-evidence boundaries, exclusions, and assumptions.
  3. Construct candidate module graph G_tilde, including module boundaries, references, scripts, links, and recovery interfaces.
  4. Verify the candidate into accepted graph G and construction record R through module validation, executable recovery, analysis, refinement, final validation, deployment review, and handoff. A paper-only run uses representative recovery/operating checks; it does not claim a task-level outcome that was not part of the anchor.

Workflow Classification

  • When the primary knowledge source is a software repository or package, use create-repo-skill instead.
  • When the primary knowledge source is a paper, use this skill and then load paper-skills-distiller.
  • If the user provides both a paper and an implementation repository, treat the repository as pre-recovery evidence only. Recovery must not read it.
  • If the workflow classification is ambiguous and both repository and paper flows are plausible, ask one concise clarification before starting.

Required Input Contract

Before source downloads, environment setup, or recovery, identify these fields from the prompt or config. Ask only for values that cannot be inferred safely:

  • config_path: preferred path to a filled TOML config.
  • workspace_root: workspace that will contain distillation and generated-skill outputs.
  • paper_source: local PDF/text path, direct PDF URL, arXiv URL/id, or paper title.
  • paper_slug: stable snake_case id for this paper/version.
  • original_repo_source: local repo path, Git URL, none, or unknown.
  • source_acquisition: whether remote paper/repo sources may be downloaded/cloned and whether title top hits may be selected automatically.
  • repo_discovery_mode: ask, auto, or disabled when original_repo_source is unknown. Default is ask.
  • generated_skills_root: output root for generated module skills.
  • attempt_dir or permission to use the default distillation directory: <workspace_root>/<paper_slug>/distillation.
  • recovery_target: dataset, split, metric, target value, and whether the agent should propose the fastest faithful target first.
  • recovery_mode: hard or soft; default is hard.
  • runtime_constraints: model path, environment path, GPU ids, network/API setup, and environment mutation rules.
  • iteration_budget: maximum refine cycles after the first recovery. Default is 10; the user may set any non-negative integer.
  • language_preference: language for final user summaries. Generated skill artifacts stay in English.

If no config_path is supplied, create or request one based on assets/distiller-run-config-template.toml when the run is more than a quick one-off. For batch work, require a TOML config with one [[runs]] entry per paper.

Clarification Triggers

Ask before proceeding when:

  • The paper title or URL resolves to multiple plausible papers.
  • original_repo_source is unknown, repo_discovery_mode is ask, and the next step would search for an implementation repo.
  • Repo discovery returns multiple plausible candidates or the selected top candidate is not clearly tied to the paper.
  • The recovery target is unspecified and the next step would launch an expensive recovery; read the paper first, propose the fastest faithful target, and ask for confirmation.
  • Recovery mode is omitted and the user request implies reduced/proxy success might be acceptable; otherwise default to hard.
  • Runtime setup might mutate a shared conda/virtualenv environment.
  • The distillation directory already exists and repairing/resuming could overwrite evidence.

Required Workflow

Use the agent's todo/task-list mechanism for visibility. If workflow or subagent facilities are available, use them only where they help parallelize module skill generation or review; ordinary sequential Distiller stages do not require workflow orchestration.

  1. Load this skill and, for detailed rules, load ../paper-skills-distiller/SKILL.md.
  2. Validate the user input. If config_path exists, run:
bash
python <skills_root>/paper-skills-distiller/scripts/read_run_config.py \
  <config_path> \
  --output <workspace_root>/distiller_run_config.normalized.json

For one run in a batch, also write a selected normalized run JSON with --slug <paper_slug> --run-only.

  1. Resolve remote or title-based sources before distillation initialization. Prefer ../paper-skills-distiller/scripts/resolve_sources.py for local paths, direct URLs, arXiv ids/URLs, arXiv title search, Git repo URLs, and bounded GitHub repo discovery when repo_discovery_mode=auto. Record acquisition evidence, candidates, selected URLs, clone commands, and blockers.
  2. Initialize the distillation directory with ../paper-skills-distiller/scripts/init_run.py, preserving iteration_budget, recovery_mode, generated_skills_root, resolved paper_path, optional resolved original_repo_path, and selected normalized run config.
  3. Load ../plan-paper-skill-modules/SKILL.md. Extract/read the paper, create paper_profile.md, module_plan.json, and no more than five module documents under modules/.
  4. Validate modularization with ../plan-paper-skill-modules/scripts/validate_module_plan.py. Do not perform heavyweight model, package, dataset, or GPU probing before this succeeds.
  5. Load ../create-paper-module-skill/SKILL.md. Convert each module document into a generated skill under generated_skills_root.
  6. Validate every generated module skill with ../create-paper-module-skill/scripts/validate_skill_tree.py --run-tests and save a JSON log under generated_skills_validation/.
  7. Load ../prepare-paper-recovery-env/SKILL.md. Create environment/runtime_handoff.json and environment/logs/command_log.json from bounded runtime probes and active setup. When packages, model cache, datasets, or benchmark files are missing, use the prepare-env isolated environment/data acquisition path before deciding the stage is blocked.
  8. Load ../recover-paper-result/SKILL.md. Run the strongest feasible fast recovery experiment allowed by recovery_mode and runtime_constraints, using only allowed recovery sources. The recovery must exercise generated skills and save executable command evidence.
  9. Run the recovery experiment validator and save recovery/experiment_validation.json.
  10. Load ../analyze-paper-recovery/SKILL.md. Write analysis/analysis_report.json and analysis/feedback.md.
  11. If analysis returns refine, update the relevant module docs, generated skills, tests, runtime handoff usage, and recovery harness, then rerun validation, recovery, and analysis until accepted or the configured iteration_budget is exhausted.
  12. Run the final Distiller artifact validator and save final_validation.json.
  13. Write the organized final report with ../paper-skills-distiller/scripts/write_final_report.py, then validate the reported stage. Final reports belong under <attempt_dir>/reports/final/, not in the generated skill directory or a top-level Distiller directory.
  14. If the run is accepted and the generated operating graph passes final validation, assess the graph's reuse as a separate deployment decision. Select project scope at <project-dir>/.agents/skills/ when the modules are tied to this task, project layout, private data, evaluator, benchmark instance, or runtime; also select project when cross-project reuse remains uncertain. Select managed scope at ~/.disco/agent/skills/ only when the complete module graph is self-contained, source/version/provenance backed, independent of transient run state, verified on representative uses, and expected to apply across projects or research tasks. Use the Creator session's working directory as <project-dir> unless the user explicitly selected another project. Keep all module skills in one scope.
  15. Present the reusability rationale, exact generated graph revision, selected scope, all destination paths, entry skill, final validation evidence, unresolved limits, collisions, and shadowing impact. Ask for approval of that exact import. Any overwrite requires separate approval.
  16. After approval, resolve distill-ml-knowledge from the visible skill registry and run its scripts/import_operating_skill_graph.mjs once with every generated module skill root. Use --scope project --project-dir <project-dir> or --scope managed --agent-dir ~/.disco/agent as approved. Do not copy distillation, recovery, analysis, test, or report artifacts.
  17. Write researcher-handoff.md under the distillation directory with the task, paper source/version, reuse rationale, selected scope, exact imported paths, module skill ids, graph entry point, recovery and validation evidence, and unresolved limits. Suggest /researcher only after import, or clearly state that the skills remain staged when the user declines it.

Recovery Discipline

  • hard mode must not accept proxy, toy, reduced, fallback, cache-only, or smaller-model recovery as success.
  • soft mode may accept reduced/proxy recovery only when it is explicit, justified, executable, mechanism-checked, and validator-approved.
  • Recovery must not read the original implementation repo. Use the paper, module docs, generated module skills, runtime handoff, datasets, and general public package documentation only.
  • Do not report blocked merely because the active Python lacks packages (torch, transformers, vllm, nltk, etc.), because no local model cache exists, or because a dataset is absent locally. First run the allowed preparation steps: create/reuse an isolated environment under $DISCO_CODING_AGENT_DIR/envs/ or ~/.disco/agent/envs/, install the smallest required packages with timeouts, attempt permitted bounded model or dataset acquisition, and ask for missing credentials/permissions when they are truly required.
  • If a user permits temporary simplification for this run, still create at least one data item, run at least one real training/inference/evaluation command when the paper task involves runtime behavior, and save the trace.
  • Do not mark a run complete based on hand-written JSON artifacts alone. The primary recovery result must come from an executable command log.

Output Contract

By the end, the user should have:

  • A normalized run config or explicit record of prompt-derived fields.
  • One distillation directory with the Distiller artifact contract.
  • English module-level generated skills under generated_skills_root.
  • Validation logs for module plan, generated skills, recovery experiment, and final distillation contract.
  • reports/final/final_report.md and reports/final/final_report.json, alongside any verification or generated-skill review reports under reports/.
  • An operating-graph reusability decision, approved project/managed import result when requested, and researcher-handoff.md with exact live paths.
  • A final summary in the requested language explaining accepted status, blockers, recovery evidence, generated skill paths, and remaining gaps.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Create Paper Skills làm được gì?

Creates reusable Agent Skills from an AI research paper using the Paper2Skills Distiller workflow. Use in Creator mode when the user provides a paper PDF, paper URL, arXiv id, paper title, or paper/repo pair, or asks to convert a scientific paper into skills with recovery experiments. Prefer a TOML run config; ask for missing paper, repo, recovery, runtime, and budget fields before expensive work.

Vì sao nên dùng Create Paper Skills trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Create Paper Skills là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Create Paper Skills trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/VectorSpaceLab/AREX-Skill/tree/main/cli/packages/coding-agent/src/disco/skills/create-paper-skills. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Create Paper Skills?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Create Paper Skills với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Create Paper Skills với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Create Paper Skills có miễn phí không?

Có. Kỹ năng này được VectorSpaceLab phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇