AGENT SKILL

model-acquisition

Plan safe artifact acquisition and inspect selected PINTO_model_zoo model folders.

License 许可
MIT
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
model-acquisition
license
MIT
metadata
{ "disco-role": "operating" }
description
Plan safe artifact acquisition and inspect selected PINTO_model_zoo model folders.
disable-model-invocation
true

02 资源文件 3

03 SKILL.md 正文

Model Acquisition

Use this sub-skill when a user asks how to obtain, inspect, or validate artifacts for a selected PINTO_model_zoo model folder.

Route here for

  • Planning or dry-running download*.sh in a selected model folder.
  • Answering whether a download script is safe to run, what it is likely to fetch, and which explicit output files it writes.
  • Diagnosing Google Drive confirmation, quota, cookie, credential, proxy, or partial-download failures.
  • Checking whether a selected folder has the expected artifacts for ONNX, TensorFlow Lite, OpenVINO, CoreML, TFJS, TensorFlow, EdgeTPU, or other listed formats.
  • Reviewing per-folder license constraints before use, copying, publishing, or redistribution.

Do not use this sub-skill to run demos, convert models, quantize models, or prove a backend runtime. Route those follow-up tasks to the inference or conversion/deployment sub-skills after acquisition is understood.

Required safety gate

Before running any user checkout script or command that reaches the network:

  1. Confirm the exact selected model folder and requested backend/artifact family.
  2. Review any per-folder LICENSE, NOTICE, or model-specific license text in the selected folder. Treat license absence as unresolved for redistribution.
  3. Dry-run every candidate download*.sh with the bundled helper:
    • python scripts/inspect_download_plan.py <selected-model-folder> --json
    • or, for one script: python scripts/inspect_download_plan.py <selected-model-folder>/download.sh --json
  4. Explain network hosts, likely Google Drive IDs, explicit -o outputs, cookie/confirmation behavior, archive extraction or cleanup risk, and expected storage impact.
  5. Ask for explicit user approval before any network execution. Keep credentials, cookies, and downloaded artifacts out of commits unless the user explicitly instructs otherwise.

Stop instead of executing if approval is missing, credentials are required but unavailable, free storage is insufficient, the requested backend is unsupported by the selected folder, or the license does not allow the intended use.

Bundled resources

  • scripts/inspect_download_plan.py parses a selected download*.sh file or a directory containing such scripts without executing shell or network commands.
  • references/download-workflows.md gives the safe acquisition workflow, dry-run interpretation, and folder inspection handoff.
  • references/troubleshooting.md covers common acquisition and artifact-validation failures.
  • The root skill's references/model-catalog.json is the self-contained catalog for choosing candidate folders and listed format flags.
  • The root skill's scripts/check_model_folder.py is the folder/artifact inspection helper. From this sub-skill directory it is addressed as ../../scripts/check_model_folder.py when present.

Operating pattern

  1. Use the bundled catalog to narrow the model directory and format flag when the user has not already selected a folder.
  2. Treat the selected folder as user-supplied checkout content. Inspect only the folder and bundled skill resources needed for the request.
  3. Run the dry-run parser before considering execution of any download script.
  4. Use the root folder checker after downloads or when the user asks whether required artifacts already exist.
  5. Return a plan or diagnosis with clear stop conditions and the next owner: acquisition, inference, conversion/deployment, or user action.

Handoff fields to include

  • Selected model folder and requested artifact/backend family.
  • License status: acceptable, unacceptable, or unresolved, with the relative license file names checked.
  • Dry-run parser summary: scripts inspected, Google Drive IDs, explicit output filenames, cookie/confirmation signals, archive/cleanup signals, and network warning.
  • Folder inspection summary: expected artifact extensions/pairs and files present or missing.
  • Approval status for network, credentials, storage, and backend/hardware requirements.
  • Safe next command only when all stop conditions are cleared.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-triton-opt

Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-solve

END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-skill

PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-pattern-fusion

Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-orchestrate

Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-feedback

Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).

★ 351