[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FBJX7M4GFZ85ZRATWCSX7A":3,"skill-same:01M7FBJX7M4GFZ85ZRATWCSX7A":67},{"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":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":34,"updatedAt":35,"install":36,"resources":48},"01M7FBJX7M4GFZ85ZRATWCSX7A","runtime-and-scaling",null,"Install, start, probe, and scale PySR runtime without tuning equations.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fpysr\u002Fsub-skills\u002Fruntime-and-scaling\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: runtime-and-scaling\ndescription: \"Install, start, probe, and scale PySR runtime without tuning equations.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\nlicense: Apache 2.0\n---\n\n# PySR runtime and scaling\n\nUse this sub-skill when the task is about making PySR import, start its Julia\u002FSymbolicRegression backend, run within a resource budget, use threads\u002Fprocesses\u002FSlurm safely, or call PySR's command-line test wrapper. Keep equation design, operators, constraints, losses, and objective debugging routed to `customization-and-constraints`; keep hall-of-fame CSVs, checkpoints, SymPy\u002FLaTeX\u002FJAX\u002FTorch export, and reload work routed to `export-and-artifacts`.\n\n## Route within this sub-skill\n\n| Request | Use |\n| --- | --- |\n| Install PySR, choose pip\u002Fconda\u002Fsource, explain first import, set JuliaCall environment variables, containers, backend checkout | `references\u002Finstall-runtime.md` |\n| Pick `parallelism`, `procs`, Slurm settings, batching, time\u002Fevaluation budgets, deterministic recipe | `references\u002Fscaling-and-parallelism.md` |\n| Run or interpret `python -m pysr` commands and native test subsets | `references\u002Fcli-reference.md` |\n| Diagnose import hangs, Julia package resolution, stdin\u002Fnotebook hangs, GLIBCXX, worker, Slurm, and reproducibility symptoms | `references\u002Ftroubleshooting.md` |\n| Probe an environment without fitting a model | `scripts\u002Fpysr_environment_probe.py` |\n\n## Non-negotiable runtime facts\n\n- `import pysr` imports JuliaCall and loads the SymbolicRegression Julia backend. On a fresh environment, the first import can download or resolve Julia packages; the first fit can spend additional time compiling Julia code. Do not diagnose that alone as a failed search.\n- Set JuliaCall environment variables **before** any `import pysr` or `import juliacall`. PySR sets sensible defaults only if JuliaCall was not already imported. For thread control use `PYTHON_JULIACALL_THREADS=\u003Cn>` or `auto` before import; `JULIA_NUM_THREADS` is not the PySR\u002FJuliaCall control path.\n- In notebooks, embedded shells, CI, or noninteractive runners that may not provide usable stdin, pass `input_stream=\"devnull\"` to `PySRRegressor` and bound the run with `timeout_in_seconds` or `max_evals`.\n- The default search is multithreaded. Use `parallelism=\"serial\"` only for tiny checks or deterministic reproduction; use `parallelism=\"multiprocessing\"` with `procs=...` only when the extra Julia worker startup cost is worth it.\n- Slurm is launched from one Python process inside an existing allocation: `parallelism=\"multiprocessing\", cluster_manager=\"slurm\", procs=\u003Ctotal allocation tasks>`. Do not wrap the Python script in `srun`.\n- Deterministic runs require all three: `deterministic=True`, a fixed `random_state`, and `parallelism=\"serial\"`. Seeded parallel runs remain stochastic.\n\n## Fast safe probe\n\nThe bundled probe never fits a model. Start with the no-import form when you only need package metadata and environment-variable state:\n\n```bash\npython scripts\u002Fpysr_environment_probe.py --skip-import --json\n```\n\nThen, when a first import\u002FJulia initialization is acceptable:\n\n```bash\npython scripts\u002Fpysr_environment_probe.py --json\npython scripts\u002Fpysr_environment_probe.py --json --check-cli\n```\n\n`--check-cli` is intentionally optional because `python -m pysr --help` imports the package and can trigger the same first-import Julia setup.\n\n## Minimal bounded run template\n\n```python\nimport os\n\n# Must happen before import pysr\u002Fjuliacall if overriding the default thread policy.\nos.environ.setdefault(\"PYTHON_JULIACALL_THREADS\", \"auto\")\n\nimport numpy as np\nfrom pysr import PySRRegressor\n\nrng = np.random.RandomState(0)\nX = rng.randn(200, 2)\ny = X[:, 0] + 2 * X[:, 1]\n\nmodel = PySRRegressor(\n    niterations=20,\n    timeout_in_seconds=120,\n    max_evals=50_000,\n    binary_operators=[\"+\", \"*\", \"-\"],\n    parallelism=\"multithreading\",\n    input_stream=\"devnull\",\n    random_state=0,\n)\nmodel.fit(X, y)\nprint(model.equations_)\n```\n\nFor operator or loss changes in this template, route to `customization-and-constraints`. For inspecting the resulting equation table or persisted files, route to `export-and-artifacts`.\n","# PySR runtime and scaling\n\nUse this sub-skill when the task is about making PySR import, start its Julia\u002FSymbolicRegression backend, run within a resource budget, use threads\u002Fprocesses\u002FSlurm safely, or call PySR's command-line test wrapper. Keep equation design, operators, constraints, losses, and objective debugging routed to `customization-and-constraints`; keep hall-of-fame CSVs, checkpoints, SymPy\u002FLaTeX\u002FJAX\u002FTorch export, and reload work routed to `export-and-artifacts`.\n\n## Route within this sub-skill\n\n| Request | Use |\n| --- | --- |\n| Install PySR, choose pip\u002Fconda\u002Fsource, explain first import, set JuliaCall environment variables, containers, backend checkout | `references\u002Finstall-runtime.md` |\n| Pick `parallelism`, `procs`, Slurm settings, batching, time\u002Fevaluation budgets, deterministic recipe | `references\u002Fscaling-and-parallelism.md` |\n| Run or interpret `python -m pysr` commands and native test subsets | `references\u002Fcli-reference.md` |\n| Diagnose import hangs, Julia package resolution, stdin\u002Fnotebook hangs, GLIBCXX, worker, Slurm, and reproducibility symptoms | `references\u002Ftroubleshooting.md` |\n| Probe an environment without fitting a model | `scripts\u002Fpysr_environment_probe.py` |\n\n## Non-negotiable runtime facts\n\n- `import pysr` imports JuliaCall and loads the SymbolicRegression Julia backend. On a fresh environment, the first import can download or resolve Julia packages; the first fit can spend additional time compiling Julia code. Do not diagnose that alone as a failed search.\n- Set JuliaCall environment variables **before** any `import pysr` or `import juliacall`. PySR sets sensible defaults only if JuliaCall was not already imported. For thread control use `PYTHON_JULIACALL_THREADS=\u003Cn>` or `auto` before import; `JULIA_NUM_THREADS` is not the PySR\u002FJuliaCall control path.\n- In notebooks, embedded shells, CI, or noninteractive runners that may not provide usable stdin, pass `input_stream=\"devnull\"` to `PySRRegressor` and bound the run with `timeout_in_seconds` or `max_evals`.\n- The default search is multithreaded. Use `parallelism=\"serial\"` only for tiny checks or deterministic reproduction; use `parallelism=\"multiprocessing\"` with `procs=...` only when the extra Julia worker startup cost is worth it.\n- Slurm is launched from one Python process inside an existing allocation: `parallelism=\"multiprocessing\", cluster_manager=\"slurm\", procs=\u003Ctotal allocation tasks>`. Do not wrap the Python script in `srun`.\n- Deterministic runs require all three: `deterministic=True`, a fixed `random_state`, and `parallelism=\"serial\"`. Seeded parallel runs remain stochastic.\n\n## Fast safe probe\n\nThe bundled probe never fits a model. Start with the no-import form when you only need package metadata and environment-variable state:\n\n```bash\npython scripts\u002Fpysr_environment_probe.py --skip-import --json\n```\n\nThen, when a first import\u002FJulia initialization is acceptable:\n\n```bash\npython scripts\u002Fpysr_environment_probe.py --json\npython scripts\u002Fpysr_environment_probe.py --json --check-cli\n```\n\n`--check-cli` is intentionally optional because `python -m pysr --help` imports the package and can trigger the same first-import Julia setup.\n\n## Minimal bounded run template\n\n```python\nimport os\n\n# Must happen before import pysr\u002Fjuliacall if overriding the default thread policy.\nos.environ.setdefault(\"PYTHON_JULIACALL_THREADS\", \"auto\")\n\nimport numpy as np\nfrom pysr import PySRRegressor\n\nrng = np.random.RandomState(0)\nX = rng.randn(200, 2)\ny = X[:, 0] + 2 * X[:, 1]\n\nmodel = PySRRegressor(\n    niterations=20,\n    timeout_in_seconds=120,\n    max_evals=50_000,\n    binary_operators=[\"+\", \"*\", \"-\"],\n    parallelism=\"multithreading\",\n    input_stream=\"devnull\",\n    random_state=0,\n)\nmodel.fit(X, y)\nprint(model.equations_)\n```\n\nFor operator or loss changes in this template, route to `customization-and-constraints`. For inspecting the resulting equation table or persisted files, route to `export-and-artifacts`.\n",{"name":5,"license":24,"metadata":25,"description":7,"disable-model-invocation":27},"Apache 2.0",{"disco-role":26},"operating",true,"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","06-前端与设计\u002Fpysr\u002Fsub-skills\u002Fruntime-and-scaling",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":27},[38,41,44],{"tool":39,"command":40},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill runtime-and-scaling",{"tool":42,"command":43},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill runtime-and-scaling",{"tool":45,"command":46},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill runtime-and-scaling","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fpysr\u002Fsub-skills\u002Fruntime-and-scaling\u002FSKILL.md",[49,55,59,63],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fcli-reference.md","REFERENCE","参考文档",3240,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fpysr\u002Fsub-skills\u002Fruntime-and-scaling\u002Freferences\u002Fcli-reference.md",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Finstall-runtime.md",6679,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fpysr\u002Fsub-skills\u002Fruntime-and-scaling\u002Freferences\u002Finstall-runtime.md",{"path":60,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Fscaling-and-parallelism.md",7423,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fpysr\u002Fsub-skills\u002Fruntime-and-scaling\u002Freferences\u002Fscaling-and-parallelism.md",{"path":64,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":65,"sourceHtmlUrl":66},"references\u002Ftroubleshooting.md",6559,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fpysr\u002Fsub-skills\u002Fruntime-and-scaling\u002Freferences\u002Ftroubleshooting.md",[68,76,81,88,95,102],{"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":72,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":77,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]