[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MEZBB2W9NEE9PQWQZQSTF5":3,"skill-same:01M6MEZBB2W9NEE9PQWQZQSTF5":81},{"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":42,"linkOnly":43,"markdownContent":44,"markdownBody":45,"frontMatter":46,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":52,"ownerHtmlUrl":53,"ownerBlogUrl":54,"ownerDescription":55,"updatedAt":56,"install":57,"resources":70},"01M6MEZBB2W9NEE9PQWQZQSTF5","optimize-python-parallelism",null,"Analyze and, when the task authorizes source optimization, refactor a concrete long-running Python entrypoint containing repeated independent work. Use for explicit Python speedup or parallelization requests and evidence-backed long-running entrypoints; skip ordinary Python edits, test execution alone, short scripts, and projects that merely contain Python files.","hashgraph-online\u002Fawesome-codex-plugins","hashgraph-online","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160371962?v=4","01M6CNB6NRJVNNGN14TR01Q6D3","HOL (Hashgraph Online)","01M6JT1HSKKG9V68KQAQGBA7XP",1575,"MPL-2.0","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcloudguo123\u002Fatomlane\u002Fskills\u002Foptimize-python-parallelism\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41],"optimize python","optimize python parallelism","python","optimize","files","running","when","source","for","contain","test execution","long","scripts","evidence","use","short","work","parallelization","analyze","projects","execution","refactor","Optimization","2026-11-10 10:12:30",false,"---\nname: optimize-python-parallelism\ndescription: Analyze and, when the task authorizes source optimization, refactor a concrete long-running Python entrypoint containing repeated independent work. Use for explicit Python speedup or parallelization requests and evidence-backed long-running entrypoints; skip ordinary Python edits, test execution alone, short scripts, and projects that merely contain Python files.\nlicense: MPL-2.0\n---\n\n# AtomLane Python Advisor\n\nImprove a program only after separating three questions: where time is spent,\nwhether iterations are semantically independent, and whether the proposed\nexecutor is likely to beat its overhead. A long runtime is a reason to inspect,\nnot proof that parallel execution is legal or useful.\n\n## Keep analysis and execution separate\n\nUse `python_parallel_advisor` for bounded source analysis. It reads strict\nproject-local UTF-8 Python, builds a conservative same-module call\u002Feffect\nsummary, and may return a source-hash-bound rewrite preview. It never imports\nor executes target code and never changes files.\n\nRead [references\u002Fpython-program-ir.md](references\u002Fpython-program-ir.md) before\ninterpreting or applying a candidate. It defines classification, proof gates,\nGIL\u002Fspawn constraints, rewrite validity, and the verification certificate.\n\nCall the advisor with:\n\n- an absolute `project_path`;\n- concrete `paths` when the entrypoint is known, otherwise bounded discovery;\n- caller-observed hotspots only when they are real serial measurements;\n- the actual `execution_context`, so an inner pool is not multiplied by an\n  AtomLane or native worker pool;\n- an explicit worker ceiling only as a ceiling, never as a safety override.\n- `target_platform` when the optimized program will deploy somewhere other\n  than the analysis host.\n\nDo not run a workload merely to obtain a profile when repeating it may mutate\nstate, incur cost, or affect an external system.\n\n## Treat each classification precisely\n\n- `reviewable_rewrite` is the strongest static result, not a runtime proof.\n  Its patch is still conditional on pickling, import, memory, correctness, and\n  measured-performance checks.\n- `advisory_only` identifies a plausible I\u002FO, network, subprocess, or otherwise\n  conditional opportunity. Explain the missing guarantees; do not apply its\n  outline as an automatic transformation.\n- `prefer_native` means vectorization or a library-owned worker pool should be\n  considered before another Python pool.\n- `already_parallel` requires one coordinated outer\u002Finner resource budget.\n- `blocked` remains serial until every hard blocker is removed by evidence or a\n  semantics-preserving redesign. A confidence score cannot override a blocker.\n\nIf the current task does not authorize editing source, stop at advice. A\nrequest to analyze performance alone does not authorize a refactor.\n\n## Apply only a minimal, current rewrite\n\nBefore using a preview, recompute the source SHA-256 and require an exact match.\nIf source, runtime evidence, executor choice, or resource assumptions changed,\ndiscard the preview and analyze again.\n\nFor the initial supported CPU pattern, preserve ordered map semantics with\n`ProcessPoolExecutor.map`; require a module-level worker and a spawn-safe\n`if __name__ == \"__main__\"` boundary. Do not move logging, file writes,\ndatabase work, randomness, environment reads, or unknown calls into speculative\nworkers. Keep exception, cancellation, result order, and deterministic merge\nbehavior explicit.\n\nChoose by workload rather than syntax:\n\n- pure Python CPU work: processes, after spawn and pickling review;\n- blocking read-only I\u002FO: bounded threads, after exception and resource review;\n- established async call chains: bounded async tasks and cancellation design;\n- NumPy, BLAS, OpenMP, PyTorch, and similar native kernels: vectorize or use\n  their own workers, then cap outer concurrency;\n- subprocess batches: prefer AtomLane task atoms with declared effects when\n  source modification adds no value.\n\n## Verify before claiming an improvement\n\nAfter an authorized edit:\n\n1. Compile the source without importing it.\n2. Run focused unit\u002Fintegration tests.\n3. Differentially compare serial and parallel return values, ordering,\n   exceptions, stdout\u002Fstderr, files, hashes, random seeds, and numeric tolerance.\n4. Exercise process candidates with an explicit `multiprocessing` `spawn`\n   context on every platform. Windows process pools have a 61-worker ceiling;\n   treat it as an upper bound, not a useful default.\n5. For safe repeatable work, compare multiple serial and parallel samples and\n   report p50\u002Fp90, throughput, peak memory, worker count, and break-even size.\n6. Revert only the newly proposed refactor if correctness fails or measured\n   performance regresses; preserve unrelated user changes.\n\nUse the existing AtomLane plan\u002Fexecution path when several validation commands\nare independently runnable, but treat a Python program that owns an inner pool\nas one native-parallel compound atom unless the combined budget proves nested\nconcurrency safe.\n\nFinish with a parallelization certificate containing the source and candidate\nhashes, satisfied and unresolved proof obligations, executor\u002Fresource choice,\ncorrectness evidence, measured or explicitly modeled benefit, limitations, and\nrollback boundary. Never describe a modeled projection as measured speedup.\n","# AtomLane Python Advisor\n\nImprove a program only after separating three questions: where time is spent,\nwhether iterations are semantically independent, and whether the proposed\nexecutor is likely to beat its overhead. A long runtime is a reason to inspect,\nnot proof that parallel execution is legal or useful.\n\n## Keep analysis and execution separate\n\nUse `python_parallel_advisor` for bounded source analysis. It reads strict\nproject-local UTF-8 Python, builds a conservative same-module call\u002Feffect\nsummary, and may return a source-hash-bound rewrite preview. It never imports\nor executes target code and never changes files.\n\nRead [references\u002Fpython-program-ir.md](references\u002Fpython-program-ir.md) before\ninterpreting or applying a candidate. It defines classification, proof gates,\nGIL\u002Fspawn constraints, rewrite validity, and the verification certificate.\n\nCall the advisor with:\n\n- an absolute `project_path`;\n- concrete `paths` when the entrypoint is known, otherwise bounded discovery;\n- caller-observed hotspots only when they are real serial measurements;\n- the actual `execution_context`, so an inner pool is not multiplied by an\n  AtomLane or native worker pool;\n- an explicit worker ceiling only as a ceiling, never as a safety override.\n- `target_platform` when the optimized program will deploy somewhere other\n  than the analysis host.\n\nDo not run a workload merely to obtain a profile when repeating it may mutate\nstate, incur cost, or affect an external system.\n\n## Treat each classification precisely\n\n- `reviewable_rewrite` is the strongest static result, not a runtime proof.\n  Its patch is still conditional on pickling, import, memory, correctness, and\n  measured-performance checks.\n- `advisory_only` identifies a plausible I\u002FO, network, subprocess, or otherwise\n  conditional opportunity. Explain the missing guarantees; do not apply its\n  outline as an automatic transformation.\n- `prefer_native` means vectorization or a library-owned worker pool should be\n  considered before another Python pool.\n- `already_parallel` requires one coordinated outer\u002Finner resource budget.\n- `blocked` remains serial until every hard blocker is removed by evidence or a\n  semantics-preserving redesign. A confidence score cannot override a blocker.\n\nIf the current task does not authorize editing source, stop at advice. A\nrequest to analyze performance alone does not authorize a refactor.\n\n## Apply only a minimal, current rewrite\n\nBefore using a preview, recompute the source SHA-256 and require an exact match.\nIf source, runtime evidence, executor choice, or resource assumptions changed,\ndiscard the preview and analyze again.\n\nFor the initial supported CPU pattern, preserve ordered map semantics with\n`ProcessPoolExecutor.map`; require a module-level worker and a spawn-safe\n`if __name__ == \"__main__\"` boundary. Do not move logging, file writes,\ndatabase work, randomness, environment reads, or unknown calls into speculative\nworkers. Keep exception, cancellation, result order, and deterministic merge\nbehavior explicit.\n\nChoose by workload rather than syntax:\n\n- pure Python CPU work: processes, after spawn and pickling review;\n- blocking read-only I\u002FO: bounded threads, after exception and resource review;\n- established async call chains: bounded async tasks and cancellation design;\n- NumPy, BLAS, OpenMP, PyTorch, and similar native kernels: vectorize or use\n  their own workers, then cap outer concurrency;\n- subprocess batches: prefer AtomLane task atoms with declared effects when\n  source modification adds no value.\n\n## Verify before claiming an improvement\n\nAfter an authorized edit:\n\n1. Compile the source without importing it.\n2. Run focused unit\u002Fintegration tests.\n3. Differentially compare serial and parallel return values, ordering,\n   exceptions, stdout\u002Fstderr, files, hashes, random seeds, and numeric tolerance.\n4. Exercise process candidates with an explicit `multiprocessing` `spawn`\n   context on every platform. Windows process pools have a 61-worker ceiling;\n   treat it as an upper bound, not a useful default.\n5. For safe repeatable work, compare multiple serial and parallel samples and\n   report p50\u002Fp90, throughput, peak memory, worker count, and break-even size.\n6. Revert only the newly proposed refactor if correctness fails or measured\n   performance regresses; preserve unrelated user changes.\n\nUse the existing AtomLane plan\u002Fexecution path when several validation commands\nare independently runnable, but treat a Python program that owns an inner pool\nas one native-parallel compound atom unless the combined budget proves nested\nconcurrency safe.\n\nFinish with a parallelization certificate containing the source and candidate\nhashes, satisfied and unresolved proof obligations, executor\u002Fresource choice,\ncorrectness evidence, measured or explicitly modeled benefit, limitations, and\nrollback boundary. Never describe a modeled projection as measured speedup.\n",{"name":5,"license":15,"description":7},"main","2b63f856ce19c2a797929cacabd9e0fc936812fa","plugins\u002Fcloudguo123\u002Fatomlane\u002Fskills\u002Foptimize-python-parallelism",491,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins","https:\u002F\u002Fhol.org\u002Fplugins\u002Fbest-codex-plugins","https:\u002F\u002Fgithub.com\u002Fhashgraph-online","https:\u002F\u002Fhol.org","Open-source standards and developer tools for interoperable AI agents: discovery, identity, communication, payments, privacy and security.","2026-11-14 14:06:13",{"source":8,"skillName":5,"commands":58,"prompt":68,"zipAvailable":69},[59,62,65],{"tool":60,"command":61},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill optimize-python-parallelism",{"tool":63,"command":64},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill optimize-python-parallelism",{"tool":66,"command":67},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill optimize-python-parallelism","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcloudguo123\u002Fatomlane\u002Fskills\u002Foptimize-python-parallelism\u002FSKILL.md",true,[71,77],{"path":72,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":75,"sourceHtmlUrl":76},"agents\u002Fopenai.yaml","REFERENCE","参考文档",275,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcloudguo123\u002Fatomlane\u002Fskills\u002Foptimize-python-parallelism\u002Fagents\u002Fopenai.yaml",{"path":78,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":79,"sourceHtmlUrl":80},"references\u002Fpython-program-ir.md",6404,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcloudguo123\u002Fatomlane\u002Fskills\u002Foptimize-python-parallelism\u002Freferences\u002Fpython-program-ir.md",[82,92,100,108,116,124],{"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":86,"licenseFileUrl":87,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":91},"01M7DV332YQMGD8WTRJ9DZQXTB","worktable-review-with-annotations","Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.","MIT","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":86,"licenseFileUrl":96,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":91},"01M7DV2YGHCZVBEB1AHYB6CGHE","worktable-find-and-synthesize-context","Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":86,"licenseFileUrl":104,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":91},"01M7DV2TQN1H11ME2SAF9MXN7V","worktable-create-or-update-docs","Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FSKILL.md",[],[],{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":86,"licenseFileUrl":112,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":91},"01M7DV2NE452NEA8TXATKSNAJH","worktable-create-or-manage-records","Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FSKILL.md",[],[],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":86,"licenseFileUrl":120,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":91},"01M7DV2HENRBR2KSCVM064WH0Y","worktable-create-or-manage-interactive-html","Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FSKILL.md",[],[],{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":86,"licenseFileUrl":128,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":91},"01M7DV2CADR5R7RQFFYPNAGR9Y","worktable-collaborate-threads","Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FSKILL.md",[],[]]