requests Skill
Best practices for HTTP client usage with Requests including sessions, error handling, and timeouts. Published by microsoft in debugpy.
What is requests Skill?
Best practices for HTTP client usage with Requests including sessions, error handling, and timeouts. Published by microsoft in debugpy. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.
Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.
Key capabilities
- Includes SKILL.md support
- Reusable instructions support
- Security review
- Security review use cases
Technical details
- Install or run with Copy skill directory
When to use requests Skill
- Use it for security review.
Built with
Editorial notes
Source
- Creator: microsoft
- Repository: microsoft/debugpy
- Skill file: .claude/skills/requests/SKILL.md
What it does
Best practices for HTTP client usage with Requests including sessions, error handling, and timeouts.
Skill instructions
Skill: Requests Best practices for HTTP client usage with Requests including sessions, error handling, and timeouts. When to Use Apply this skill when making HTTP requests with the Requests library — sessions, auth, error handling, retries, and file uploads. Sessions - Use requests.Session() for connection pooling and persistent headers/cookies across multiple requests. - Configure session.headers for default auth tokens and user-agent strings. - Use session.mount() with HTTPAdapter for retry logic. Error Handling - Always call response.raiseforstatus() to surface HTTP errors as exceptions. - Always set timeout=(connecttimeout, readtimeout) — never use infinite timeouts. - Handle requests.ConnectionError, requests.Timeout, and requests.HTTPError explicitly. Retries - Use urllib3.util.Retry with HTTPAdapter for automatic retries with backoff. - Configure status-based retries for transient errors (429, 500, 502, 503, 504). Security - Never disable SSL verification (verify=False) in produ
Explore related resources
Frequently asked questions
What is requests?
requests is a open-source AI agent skill with Copy skill directory. Best practices for HTTP client usage with Requests including sessions, error handling, and timeouts.
Who is requests best for?
requests is best for reusing agent instructions, scripts, and references, security review workflows.
How do I install requests?
Install or run requests using Copy skill directory. Check requests for the latest setup command.
Is requests actively maintained?
requests may need a closer maintenance check before production use.
Auto-fetched from GitHub.