[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6XEPJVS7W1CD2ETBFDHZH3D":3,"skill-same:01M6XEPJVS7W1CD2ETBFDHZH3D":65},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":22,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":13,"repositoryHtmlUrl":47,"repositoryHomepageUrl":6,"ownerHtmlUrl":48,"ownerBlogUrl":6,"ownerDescription":49,"updatedAt":50,"install":51,"resources":64},"01M6XEPJVS7W1CD2ETBFDHZH3D","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.","Waaaalnut\u002Fskillsbench","Waaaalnut","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F103995656?v=4","01M6XCS9K1V51EY3JMB7DGMX24","01M6XCS9Q4WPW88W62C55G1H44",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks\u002Fsimpo-code-reproduction\u002Fenvironment\u002Fskills\u002Fnlp-research-repo-package-installment\u002FSKILL.md",[17],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000021","资料检索与研究","SCENARIO","使用场景",[23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"nlp","research","package","repo","nlp research repo package installment","python","packages","code","environment","version","align","dependencies","requirements","research code","for","2026-11-10 10:12:30",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":43,"description":7},"1.0","main","7eeb258ada72b7f58119b0e7a2c00ea89d9beedd","tasks\u002Fsimpo-code-reproduction\u002Fenvironment\u002Fskills\u002Fnlp-research-repo-package-installment","https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench","https:\u002F\u002Fgithub.com\u002FWaaaalnut","student of Zhejiang University","2026-04-21 23:16:23",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add Waaaalnut\u002Fskillsbench --skill nlp-research-repo-package-installment",{"tool":57,"command":58},"bunx","bunx skills add Waaaalnut\u002Fskillsbench --skill nlp-research-repo-package-installment",{"tool":60,"command":61},"pnpm","pnpm dlx skills add Waaaalnut\u002Fskillsbench --skill nlp-research-repo-package-installment","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks\u002Fsimpo-code-reproduction\u002Fenvironment\u002Fskills\u002Fnlp-research-repo-package-installment\u002FSKILL.md",true,[],[66,80,95,121,143,161],{"skillNo":67,"name":68,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":76,"publishedAt":38},"01M6XEWMJ6VY3ZC53MPDCPG3GH","data-reconciliation","https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks\u002Fxlsx-recover-data\u002Fenvironment\u002Fskills\u002Fdata-reconciliation\u002FSKILL.md",[71],{"categoryNo":72,"categoryName":73,"taxonomyType":74,"taxonomyTypeDesc":75},"01JBSEEDCAT000000000000033","数据分析师","PROFESSION","适用职业",[77,78,79],"data reconciliation","reconciliation","data",{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":38},"01M6XEW8MNPMF1KRXV6ATGFRQF","speech-to-text","Transcribe video to timestamped text using Whisper tiny model (pre-installed).","https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks\u002Fvideo-tutorial-indexer\u002Fenvironment\u002Fskills\u002Fspeech-to-text\u002FSKILL.md",[],[87,88,89,90,91,92,93,94],"speech","text","speech to text","transcribe video","whisper","model","Video","transcribe",{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":104,"publishedAt":38},"01M6XEW3FQZP0T1RKQQJFXVY9T","video-processor","Process videos by removing segments and concatenating remaining parts. Use when you need to remove detected pauses\u002Fopenings from videos, create highlight reels, or batch process segment removals using ffmpeg filter_complex.","https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks\u002Fvideo-silence-remover\u002Fenvironment\u002Fskills\u002Fvideo-processor\u002FSKILL.md",[101],{"categoryNo":102,"categoryName":103,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000016","图像与多媒体",[93,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120],"processor","video processor","batch","create","reels","when","parts","segments","process","videos","you","segment","filter","ffmpeg","use","remove",{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":128,"publishedAt":38},"01M6XEVXJ5KZ0NTY3XZKRY4AS1","silence-detector","Detect initial silence segments in audio\u002Fvideo using energy-based analysis. Use when you need to find low-energy periods at the start of recordings (title slides, setup time, pre-roll silence).","https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks\u002Fvideo-silence-remover\u002Fenvironment\u002Fskills\u002Fsilence-detector\u002FSKILL.md",[127],{"categoryNo":102,"categoryName":103,"taxonomyType":20,"taxonomyTypeDesc":21},[129,130,131,132,110,115,133,134,135,136,137,112,138,139,93,140,141,142,119],"detector","silence detector","title","slides","time","energy","at","recordings","detect","find","Audio","analysis","start","setup",{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":38},"01M6XEVT3NGRN1FT7JPMAPXS6M","segment-combiner","Combine multiple segment detection results into a unified list. Use when you need to merge segments from different detectors, prepare removal lists for video processing, or consolidate detection outputs.","https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks\u002Fvideo-silence-remover\u002Fenvironment\u002Fskills\u002Fsegment-combiner\u002FSKILL.md",[],[116,150,93,151,152,153,154,37,110,155,156,112,115,157,158,119,159,160],"segment combiner","detection","prepare","merge","video processing","outputs","combine","processing","consolidate","results","list",{"skillNo":162,"name":163,"nameZh":6,"description":164,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":165,"categories":166,"keywords":170,"publishedAt":38},"01M6XEVMPVASGS2KX86QK4FMT7","report-generator","Generate compression reports for video processing. Use when you need to create structured JSON reports with duration statistics, compression ratios, and segment details after video processing.","https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks\u002Fvideo-silence-remover\u002Fenvironment\u002Fskills\u002Freport-generator\u002FSKILL.md",[167],{"categoryNo":168,"categoryName":169,"taxonomyType":74,"taxonomyTypeDesc":75},"01JBSEEDCAT000000000000034","行政与办公人员",[171,172,173,116,110,37,115,174,157,175,176,177,119,154,178,93,179,180,108],"generator","report generator","report","with","statistics","structured","reports","json","compression","generate"]