[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6XDQCR3N6VB6SBRAY53DGPB":3,"skill-same:01M6XDQCR3N6VB6SBRAY53DGPB":60},{"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":17,"publishedAt":33,"linkOnly":34,"markdownContent":35,"markdownBody":36,"frontMatter":37,"refName":39,"commitSha":40,"skillDirectory":41,"forksCount":13,"repositoryHtmlUrl":42,"repositoryHomepageUrl":6,"ownerHtmlUrl":43,"ownerBlogUrl":6,"ownerDescription":44,"updatedAt":45,"install":46,"resources":59},"01M6XDQCR3N6VB6SBRAY53DGPB","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-no-skills\u002Fsimpo-code-reproduction\u002Fenvironment\u002Fskills\u002Fnlp-research-repo-package-installment\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32],"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":38,"description":7},"1.0","main","7eeb258ada72b7f58119b0e7a2c00ea89d9beedd","tasks-no-skills\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":47,"prompt":57,"zipAvailable":58},[48,51,54],{"tool":49,"command":50},"npx","npx skills add Waaaalnut\u002Fskillsbench --skill nlp-research-repo-package-installment",{"tool":52,"command":53},"bunx","bunx skills add Waaaalnut\u002Fskillsbench --skill nlp-research-repo-package-installment",{"tool":55,"command":56},"pnpm","pnpm dlx skills add Waaaalnut\u002Fskillsbench --skill nlp-research-repo-package-installment","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks-no-skills\u002Fsimpo-code-reproduction\u002Fenvironment\u002Fskills\u002Fnlp-research-repo-package-installment\u002FSKILL.md",true,[],[61,70,85,108,129,147],{"skillNo":62,"name":63,"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":64,"categories":65,"keywords":66,"publishedAt":33},"01M6XEWMJ6VY3ZC53MPDCPG3GH","data-reconciliation","https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks\u002Fxlsx-recover-data\u002Fenvironment\u002Fskills\u002Fdata-reconciliation\u002FSKILL.md",[],[67,68,69],"data reconciliation","reconciliation","data",{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":33},"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",[],[77,78,79,80,81,82,83,84],"speech","text","speech to text","transcribe video","whisper","model","Video","transcribe",{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":33},"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",[],[83,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107],"processor","video processor","batch","create","reels","when","parts","segments","process","videos","you","segment","filter","ffmpeg","use","remove",{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":33},"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",[],[115,116,117,118,97,102,119,120,121,122,123,99,124,125,83,126,127,128,106],"detector","silence detector","title","slides","time","energy","at","recordings","detect","find","Audio","analysis","start","setup",{"skillNo":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":33},"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",[],[103,136,83,137,138,139,140,32,97,141,142,99,102,143,144,106,145,146],"segment combiner","detection","prepare","merge","video processing","outputs","combine","processing","consolidate","results","list",{"skillNo":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":33},"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",[],[154,155,156,103,97,32,102,157,143,158,159,160,106,140,161,83,162,163,95],"generator","report generator","report","with","statistics","structured","reports","json","compression","generate"]