[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BT4KVGFS94K66CTCZKZHS1":3,"skill-same:01M7BT4KVGFS94K66CTCZKZHS1":46},{"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":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M7BT4KVGFS94K66CTCZKZHS1","nlp-research-repo-package-installment",null,"Align Python version and repo-declared dependencies (requirements.txt \u002F environment.yml) before installing packages for NLP research code reproduction.","linyouxue\u002Fskill-repair-benchmark","linyouxue","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F216151464?v=4","01M7BJEVCXKD74KH6FG9CBVSQB","林宥学","01M7BJEVE02NP217V93BKZFC0J",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fevaluation\u002Fresults\u002FMMG2Skill-GPT52-Gold31-20260923\u002Foriginals\u002Fsimpo-code-reproduction\u002Fskills\u002Fnlp-research-repo-package-installment\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: nlp-research-repo-package-installment\nversion: \"1.0\"\ndescription: Align Python version and repo-declared dependencies (requirements.txt \u002F environment.yml) before installing packages for NLP research code reproduction.\n---\n\n# NLP Research Repo Package Installment\n\nWhen reproducing an NLP research repo, **always align the environment to the repo’s declared dependencies first**. Most failures come from **Python version mismatch** or installing packages without following `requirements.txt` \u002F `environment.yml`.\n\n## What to do (must run before any install)\n\n1. **Read the repo dependency files**\n- Prefer `environment.yml` \u002F `environment.yaml` (often pins **Python** + channels + non-pip deps)\n- Otherwise use `requirements.txt` (pip deps)\n- If both exist, treat `environment.yml` as the base, `requirements.txt` as supplemental unless README says otherwise\n\n2. **Log the current environment (Python version is critical)**  \nWrite `\u002Froot\u002Fpython_int.txt` containing:\n- `python -VV` *(required; Python version is often the root cause)*\n- `python -m pip --version`\n- `python -m pip freeze`\n\n3. **Compare & decide**\n- If the repo expects a specific Python major\u002Fminor and the current Python does not match, it’s usually best to **set up a matching environment**  before installing dependencies.\n        Example: set up a fresh Python 3.11 environment (Docker \u002F Ubuntu) with uv\n        # Install uv\n        apt-get update\n        apt-get install -y --no-install-recommends curl ca-certificates\n        rm -rf \u002Fvar\u002Flib\u002Fapt\u002Flists\u002F*\n        curl -LsSf https:\u002F\u002Fastral.sh\u002Fuv\u002F0.9.7\u002Finstall.sh | sh\n        export PATH=\"\u002Froot\u002F.local\u002Fbin:$PATH\"\n\n        # Install Python + create a venv\n        uv python install 3.11.8\n        uv venv --python 3.11.8 \u002Fopt\u002Fpy311\n\n        # Use the new Python for installs\u002Fruns\n        \u002Fopt\u002Fpy311\u002Fbin\u002Fpython -VV\n        \u002Fopt\u002Fpy311\u002Fbin\u002Fpython -m pip install -U pip setuptools wheel\n\n- Prefer installing from the repo’s dependency files (avoid random upgrades), then run a quick import\u002Fsmoke test.\n","# NLP Research Repo Package Installment\n\nWhen reproducing an NLP research repo, **always align the environment to the repo’s declared dependencies first**. Most failures come from **Python version mismatch** or installing packages without following `requirements.txt` \u002F `environment.yml`.\n\n## What to do (must run before any install)\n\n1. **Read the repo dependency files**\n- Prefer `environment.yml` \u002F `environment.yaml` (often pins **Python** + channels + non-pip deps)\n- Otherwise use `requirements.txt` (pip deps)\n- If both exist, treat `environment.yml` as the base, `requirements.txt` as supplemental unless README says otherwise\n\n2. **Log the current environment (Python version is critical)**  \nWrite `\u002Froot\u002Fpython_int.txt` containing:\n- `python -VV` *(required; Python version is often the root cause)*\n- `python -m pip --version`\n- `python -m pip freeze`\n\n3. **Compare & decide**\n- If the repo expects a specific Python major\u002Fminor and the current Python does not match, it’s usually best to **set up a matching environment**  before installing dependencies.\n        Example: set up a fresh Python 3.11 environment (Docker \u002F Ubuntu) with uv\n        # Install uv\n        apt-get update\n        apt-get install -y --no-install-recommends curl ca-certificates\n        rm -rf \u002Fvar\u002Flib\u002Fapt\u002Flists\u002F*\n        curl -LsSf https:\u002F\u002Fastral.sh\u002Fuv\u002F0.9.7\u002Finstall.sh | sh\n        export PATH=\"\u002Froot\u002F.local\u002Fbin:$PATH\"\n\n        # Install Python + create a venv\n        uv python install 3.11.8\n        uv venv --python 3.11.8 \u002Fopt\u002Fpy311\n\n        # Use the new Python for installs\u002Fruns\n        \u002Fopt\u002Fpy311\u002Fbin\u002Fpython -VV\n        \u002Fopt\u002Fpy311\u002Fbin\u002Fpython -m pip install -U pip setuptools wheel\n\n- Prefer installing from the repo’s dependency files (avoid random upgrades), then run a quick import\u002Fsmoke test.\n",{"name":5,"version":24,"description":7},"1.0","main","cdcb6d230f3b15c3c33f8a2bdd16439f43602cbe","evaluation\u002Fresults\u002FMMG2Skill-GPT52-Gold31-20260923\u002Foriginals\u002Fsimpo-code-reproduction\u002Fskills\u002Fnlp-research-repo-package-installment",1,"https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark","https:\u002F\u002Fgithub.com\u002Flinyouxue","2026-11-14 20:28:35",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add linyouxue\u002Fskill-repair-benchmark --skill nlp-research-repo-package-installment",{"tool":38,"command":39},"bunx","bunx skills add linyouxue\u002Fskill-repair-benchmark --skill nlp-research-repo-package-installment",{"tool":41,"command":42},"pnpm","pnpm dlx skills add linyouxue\u002Fskill-repair-benchmark --skill nlp-research-repo-package-installment","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fevaluation\u002Fresults\u002FMMG2Skill-GPT52-Gold31-20260923\u002Foriginals\u002Fsimpo-code-reproduction\u002Fskills\u002Fnlp-research-repo-package-installment\u002FSKILL.md",true,[],[47,54,61,68,73,78],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7E1HGVRY73NBJ022CJG13X6","video-frame-extraction","Extract frames from video files and save them as images using OpenCV","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_03\u002Finputs\u002Fskills\u002Fvideo-frame-extraction\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7E1HAG5R7CJ9C8NYJS771MB","openai-vision","Analyze images and multi-frame sequences using OpenAI GPT vision models","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_03\u002Finputs\u002Fskills\u002Fopenai-vision\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7E1H7DADKB6QBWKC2KQ63SZ","image-ocr","Extract text content from images using Tesseract OCR via Python, including structured field extraction from receipts and forms","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_03\u002Finputs\u002Fskills\u002Fimage-ocr\u002FSKILL.md",[],[],{"skillNo":69,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7E1H0WBNT43TENGQY7AVZHD","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_02\u002Finputs\u002Fskills\u002Fvideo-frame-extraction\u002FSKILL.md",[],[],{"skillNo":74,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7E1GTC7D4N4Q2EF03875J9E","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_02\u002Finputs\u002Fskills\u002Fopenai-vision\u002FSKILL.md",[],[],{"skillNo":79,"name":63,"nameZh":6,"description":64,"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},"01M7E1GQ92CWFMGH53KSSE4WER","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_02\u002Finputs\u002Fskills\u002Fimage-ocr\u002FSKILL.md",[],[]]