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-patternsWithout 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-patternsOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:posterus-ltd/yarkr-public/python-optimization-patternsWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.