[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M72WQ1989ZX613G3PY8Z492J":3,"skill-same:01M72WQ1989ZX613G3PY8Z492J":47},{"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":30,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M72WQ1989ZX613G3PY8Z492J","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.","agentscope-ai\u002FPawBench","agentscope-ai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F211762292?v=4","01M6CRT6543BZGGVK3P85GC08Q","AgentScope-AI","01M72WJAXCYDAXK74090327ER7",127,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fagentscope-ai\u002FPawBench\u002Fblob\u002Fmain\u002Fdata\u002Fpawbench-v1.0\u002Fassets\u002FT138_skillsbench_simpo-code-reproduction\u002Fskills\u002Fnlp-research-repo-package-installment\u002FSKILL.md",[],[],"2026-11-10 22:39:42",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","0f794a8bb6c27aa9ee4091b2691fa30e4ed9cc8f","data\u002Fpawbench-v1.0\u002Fassets\u002FT138_skillsbench_simpo-code-reproduction\u002Fskills\u002Fnlp-research-repo-package-installment",24,"https:\u002F\u002Fgithub.com\u002Fagentscope-ai\u002FPawBench","https:\u002F\u002Fagentscope-ai.github.io\u002FPawBench\u002F","https:\u002F\u002Fgithub.com\u002Fagentscope-ai","2026-08-03 20:09:53",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add agentscope-ai\u002FPawBench --skill nlp-research-repo-package-installment",{"tool":39,"command":40},"bunx","bunx skills add agentscope-ai\u002FPawBench --skill nlp-research-repo-package-installment",{"tool":42,"command":43},"pnpm","pnpm dlx skills add agentscope-ai\u002FPawBench --skill nlp-research-repo-package-installment","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fagentscope-ai\u002FPawBench\u002Fblob\u002Fmain\u002Fdata\u002Fpawbench-v1.0\u002Fassets\u002FT138_skillsbench_simpo-code-reproduction\u002Fskills\u002Fnlp-research-repo-package-installment\u002FSKILL.md",true,[],[48,54,61,68,75,82],{"skillNo":49,"name":50,"nameZh":6,"description":6,"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},"01M72WQCJKBJZB6SC8MMYK3C8R","data-reconciliation","https:\u002F\u002Fgithub.com\u002Fagentscope-ai\u002FPawBench\u002Fblob\u002Fmain\u002Fdata\u002Fpawbench-v1.0\u002Fassets\u002FT140_skillsbench_xlsx-recover-data\u002Fskills\u002Fdata-reconciliation\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},"01M72WQ8R4DZKK1CT397C0ARQD","hierarchical-taxonomy-clustering","Build unified multi-level category taxonomy from hierarchical product category paths from any e-commerce companies using embedding-based recursive clustering with intelligent category naming via weighted word frequency analysis.","https:\u002F\u002Fgithub.com\u002Fagentscope-ai\u002FPawBench\u002Fblob\u002Fmain\u002Fdata\u002Fpawbench-v1.0\u002Fassets\u002FT139_skillsbench_taxonomy-tree-merge\u002Fskills\u002Fhierarchical-taxonomy-clustering\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},"01M72WPZ828E746PAB3WCCQARW","state-space-linearization","Linearizing nonlinear dynamics around operating points for control design.","https:\u002F\u002Fgithub.com\u002Fagentscope-ai\u002FPawBench\u002Fblob\u002Fmain\u002Fdata\u002Fpawbench-v1.0\u002Fassets\u002FT137_skillsbench_r2r-mpc-control\u002Fskills\u002Fstate-space-linearization\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M72WPXFXKWDFVTGAYX0B1TSA","mpc-horizon-tuning","Selecting MPC prediction horizon and cost matrices for web handling.","https:\u002F\u002Fgithub.com\u002Fagentscope-ai\u002FPawBench\u002Fblob\u002Fmain\u002Fdata\u002Fpawbench-v1.0\u002Fassets\u002FT137_skillsbench_r2r-mpc-control\u002Fskills\u002Fmpc-horizon-tuning\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M72WPW3863555HM0CACRCCFK","integral-action-design","Adding integral action to MPC for offset-free tension tracking.","https:\u002F\u002Fgithub.com\u002Fagentscope-ai\u002FPawBench\u002Fblob\u002Fmain\u002Fdata\u002Fpawbench-v1.0\u002Fassets\u002FT137_skillsbench_r2r-mpc-control\u002Fskills\u002Fintegral-action-design\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M72WPTB069R65ZYFG2B2NY4Q","finite-horizon-lqr","Solving finite-horizon LQR via dynamic programming for MPC.","https:\u002F\u002Fgithub.com\u002Fagentscope-ai\u002FPawBench\u002Fblob\u002Fmain\u002Fdata\u002Fpawbench-v1.0\u002Fassets\u002FT137_skillsbench_r2r-mpc-control\u002Fskills\u002Ffinite-horizon-lqr\u002FSKILL.md",[],[]]