Registry / posterus-ltd

posterus-ltd/yarkr-public/python-optimization-patterns

Speed up a profiled Python hotspot - better algorithms and data structures, hoisting work out of hot loops, batching I/O, caching, NumPy/pandas vectorisation, __slots__, and when to reach for compiled code or concurrency. Use after profiling has identified the slow path and you need to choose and verify a fix.

Agent skill · version 0.0.0-arks-library.1792108574.gbefeb5a · from posterus-ltd/yarkr-public

Install

npx yarkr-cli add skill:posterus-ltd/yarkr-public/python-optimization-patterns

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:posterus-ltd/yarkr-public/python-optimization-patterns
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:posterus-ltd/yarkr-public/python-optimization-patterns

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:posterus-ltd/yarkr-public/python-optimization-patterns

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.