{"id":"993261ff-b4dc-4bb5-97c9-a362d14feb08","shortId":"EVwURJ","kind":"skill","title":"Record and replay HTTP fixtures for deterministic Python tests with VCR.py","tagline":"Use VCR.py when an agent needs to turn flaky, slow, or rate-limited Python tests into stable runs by recording real HTTP interactions once and replaying them from cassette files. The agent decides which requests belong in fixtures, refreshes stale cassettes when upstream APIs cha","description":"# Record and replay HTTP fixtures for deterministic Python tests with VCR.py\n\nUse VCR.py when an agent needs to turn flaky, slow, or rate-limited Python tests into stable runs by recording real HTTP interactions once and replaying them from cassette files. The agent decides which requests belong in fixtures, refreshes stale cassettes when upstream APIs change, and keeps external traffic out of the repeat test loop.\n\n## Prerequisites\n\nPython plus VCR.py integrated into the project's test framework\n\n## Installation\n\nRequirements and caveats from upstream:\n- |PyPI| |Python versions| |Build Status| |CodeCov| |Gitter|\n- This is a Python version of Ruby's VCR\n- :target: https://pypi.python.org/pypi/vcrpy\n\nBasic usage or getting-started notes:\n- first time you run code that is inside a VCR.py context manager or\n- recognizes from the original test run and return the responses that\n- to do is delete your existing cassette files, and run your tests again.\n\n- Source: https://github.com/kevin1024/vcrpy\n- Extracted from upstream docs: https://raw.githubusercontent.com/kevin1024/vcrpy/HEAD/README.rst\n\n## Documentation\n\n- https://vcrpy.readthedocs.io/\n\n## Source\n\n- [Agent Skill Exchange](https://agentskillexchange.com/skills/record-and-replay-http-fixtures-for-deterministic-python-tests-with-vcr-py/)","tags":["record","and","replay","http","fixtures","for","deterministic","python","tests","with","vcr","skills"],"capabilities":["skill","source-agentskillexchange","skill-record-and-replay-http-fixtures-for-deterministic-python-tests-with-vcr-py","topic-agent-skills","topic-ai-agents","topic-ai-tools","topic-awesome-list","topic-claude-code","topic-codex","topic-cursor","topic-llm","topic-mcp","topic-npx-skills","topic-openclaw","topic-skills-catalog"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/agentskillexchange/skills/record-and-replay-http-fixtures-for-deterministic-python-tests-with-vcr-py","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add agentskillexchange/skills","source_repo":"https://github.com/agentskillexchange/skills","install_from":"skills.sh"}},"qualityScore":"0.454","qualityRationale":"deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,306 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:12:02.320Z","embedding":null,"createdAt":"2026-05-18T13:18:46.919Z","updatedAt":"2026-05-18T19:12:02.320Z","lastSeenAt":"2026-05-18T19:12:02.320Z","tsv":"'/kevin1024/vcrpy':209 '/kevin1024/vcrpy/head/readme.rst':216 '/pypi/vcrpy':161 '/skills/record-and-replay-http-fixtures-for-deterministic-python-tests-with-vcr-py/)':225 'agent':16,44,73,101,220 'agentskillexchange.com':224 'agentskillexchange.com/skills/record-and-replay-http-fixtures-for-deterministic-python-tests-with-vcr-py/)':223 'api':56,113 'basic':162 'belong':48,105 'build':145 'cassett':41,53,98,110,199 'caveat':139 'cha':57 'chang':114 'code':173 'codecov':147 'context':179 'decid':45,102 'delet':196 'determinist':7,64 'doc':213 'document':217 'exchang':222 'exist':198 'extern':117 'extract':210 'file':42,99,200 'first':169 'fixtur':5,50,62,107 'flaki':20,77 'framework':135 'get':166 'getting-start':165 'github.com':208 'github.com/kevin1024/vcrpy':207 'gitter':148 'http':4,34,61,91 'insid':176 'instal':136 'integr':129 'interact':35,92 'keep':116 'limit':25,82 'loop':124 'manag':180 'need':17,74 'note':168 'origin':185 'plus':127 'prerequisit':125 'project':132 'pypi':142 'pypi.python.org':160 'pypi.python.org/pypi/vcrpy':159 'python':8,26,65,83,126,143,152 'rate':24,81 'rate-limit':23,80 'raw.githubusercontent.com':215 'raw.githubusercontent.com/kevin1024/vcrpy/head/readme.rst':214 'real':33,90 'recogn':182 'record':1,32,58,89 'refresh':51,108 'repeat':122 'replay':3,38,60,95 'request':47,104 'requir':137 'respons':191 'return':189 'rubi':155 'run':30,87,172,187,202 'skill':221 'skill-record-and-replay-http-fixtures-for-deterministic-python-tests-with-vcr-py' 'slow':21,78 'sourc':206,219 'source-agentskillexchange' 'stabl':29,86 'stale':52,109 'start':167 'status':146 'target':158 'test':9,27,66,84,123,134,186,204 'time':170 'topic-agent-skills' 'topic-ai-agents' 'topic-ai-tools' 'topic-awesome-list' 'topic-claude-code' 'topic-codex' 'topic-cursor' 'topic-llm' 'topic-mcp' 'topic-npx-skills' 'topic-openclaw' 'topic-skills-catalog' 'traffic':118 'turn':19,76 'upstream':55,112,141,212 'usag':163 'use':12,69 'vcr':157 'vcr.py':11,13,68,70,128,178 'vcrpy.readthedocs.io':218 'version':144,153","prices":[{"id":"5479e66e-ad42-4ea9-a529-437146792462","listingId":"993261ff-b4dc-4bb5-97c9-a362d14feb08","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"agentskillexchange","category":"skills","install_from":"skills.sh"},"createdAt":"2026-05-18T13:18:46.919Z"}],"sources":[{"listingId":"993261ff-b4dc-4bb5-97c9-a362d14feb08","source":"github","sourceId":"agentskillexchange/skills/record-and-replay-http-fixtures-for-deterministic-python-tests-with-vcr-py","sourceUrl":"https://github.com/agentskillexchange/skills/tree/main/skills/record-and-replay-http-fixtures-for-deterministic-python-tests-with-vcr-py","isPrimary":false,"firstSeenAt":"2026-05-18T13:18:46.919Z","lastSeenAt":"2026-05-18T19:12:02.320Z"}],"details":{"listingId":"993261ff-b4dc-4bb5-97c9-a362d14feb08","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"agentskillexchange","slug":"record-and-replay-http-fixtures-for-deterministic-python-tests-with-vcr-py","github":{"repo":"agentskillexchange/skills","stars":8,"topics":["agent-skills","ai-agents","ai-tools","awesome-list","claude-code","codex","cursor","llm","mcp","npx-skills","openclaw","skills-catalog"],"license":"mit","html_url":"https://github.com/agentskillexchange/skills","pushed_at":"2026-05-18T19:02:17Z","description":"The open catalog of AI agent skills — 2,000+ security-scanned skills for Claude Code, Cursor, Codex, and more.","skill_md_sha":"74ea64137755c060e95fc209507b2eb964fba315","skill_md_path":"skills/record-and-replay-http-fixtures-for-deterministic-python-tests-with-vcr-py/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/agentskillexchange/skills/tree/main/skills/record-and-replay-http-fixtures-for-deterministic-python-tests-with-vcr-py"},"layout":"multi","source":"github","category":"skills","frontmatter":{"name":"Record and replay HTTP fixtures for deterministic Python tests with VCR.py","description":"Use VCR.py when an agent needs to turn flaky, slow, or rate-limited Python tests into stable runs by recording real HTTP interactions once and replaying them from cassette files. The agent decides which requests belong in fixtures, refreshes stale cassettes when upstream APIs change, and keeps external traffic out of the repeat test loop."},"skills_sh_url":"https://skills.sh/agentskillexchange/skills/record-and-replay-http-fixtures-for-deterministic-python-tests-with-vcr-py"},"updatedAt":"2026-05-18T19:12:02.320Z"}}