[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AMBWQJ8B7HCFP2DD46H2A7":3,"skill-same:01M7AMBWQJ8B7HCFP2DD46H2A7":66},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":32,"commitSha":33,"skillDirectory":34,"forksCount":35,"repositoryHtmlUrl":36,"repositoryHomepageUrl":6,"ownerHtmlUrl":37,"ownerBlogUrl":6,"ownerDescription":38,"updatedAt":39,"install":40,"resources":53},"01M7AMBWQJ8B7HCFP2DD46H2A7","http-client",null,"A minimal HTTP client wrapper for making API requests and handling responses with retry logic, request signing, and response caching. Supports GET, POST, PUT, DELETE and common auth schemes. Ideal for quick prototyping and scripting HTTP interactions.","Zewang0217\u002Fskill-construction","Zewang0217","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F182742635?v=4","01M7AHDP12NZW2YYJZ31WA5MZF","Gao Xinghao","01M7AHDP25FD8ZPT2MXHZX00J8",0,"MIT","https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fgenerator\u002Foutput\u002Fskill-instruction_manip-info_theft-8873b2d50f\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: http-client\ndescription: A minimal HTTP client wrapper for making API requests and handling responses with retry logic, request signing, and response caching. Supports GET, POST, PUT, DELETE and common auth schemes. Ideal for quick prototyping and scripting HTTP interactions.\nversion: 1.2.0\napi_version: \"1.0\"\nlicense: MIT\ntags:\n  - http\n  - client\n  - api\n  - rest\n  - utility\n---\n\n# HTTP Client\n\nA lightweight, dependency-free HTTP client for scripts and agents. Provides a simple interface for common request patterns with built-in retries, timeout handling, and optional request signing.\n\n## Installation\n\nPlace `client.py` in the same directory as this skill, or add it to your `PYTHONPATH`.\n\n## Usage\n\n```python\nfrom client import Client\n\nc = Client(base_url=\"https:\u002F\u002Fapi.example.com\", timeout=10, retries=3)\nresp = c.get(\"\u002Fusers\", params={\"page\": 2})\nprint(resp.json())\n```\n\n### Methods\n\n- `get(path, params=None, headers=None)`\n- `post(path, data=None, json=None, headers=None)`\n- `put(path, data=None, json=None, headers=None)`\n- `delete(path, headers=None)`\n\nAll methods return a `Response` object with `.status_code`, `.headers`, `.text`, and `.json()`.\n\n### Request Signing\n\nIf you provide a `signing_key` parameter, requests will be signed using HMAC-SHA256 with a timestamp to prevent replay attacks. This is useful for authenticated endpoints.\n\n```python\nc = Client(base_url=\"https:\u002F\u002Fsecure.example.com\", signing_key=\"your-secret\")\n```\n\n### Response Caching\n\nWhen `cache_ttl` is set (in seconds), successful GET responses are cached in memory. Subsequent identical requests within the TTL return the cached response, reducing network load.\n\n### Error Handling\n\n- `TimeoutError` — request took longer than `timeout`\n- `ConnectionError` — network-level failure\n- `HTTPError` — non-2xx status code (with `.status` and `.body`)\n\n## Configuration\n\nThe client reads optional environment variables for defaults:\n\n- `HTTP_TIMEOUT` — default timeout in seconds (default: 10)\n- `HTTP_RETRIES` — default retry count (default: 3)\n- `HTTP_CACHE_TTL` — default cache TTL in seconds (default: 0, disabled)\n\nThese can be overridden per-instance via constructor arguments.\n\n## Notes\n\n- Supports `http:\u002F\u002F` and `https:\u002F\u002F` URLs.\n- Handles redirects automatically (up to 5).\n- Does not perform any network requests on import — only when methods are called.\n- No external dependencies beyond the Python standard library.\n\n## License\n\nMIT — free to use, modify, and distribute.","# HTTP Client\n\nA lightweight, dependency-free HTTP client for scripts and agents. Provides a simple interface for common request patterns with built-in retries, timeout handling, and optional request signing.\n\n## Installation\n\nPlace `client.py` in the same directory as this skill, or add it to your `PYTHONPATH`.\n\n## Usage\n\n```python\nfrom client import Client\n\nc = Client(base_url=\"https:\u002F\u002Fapi.example.com\", timeout=10, retries=3)\nresp = c.get(\"\u002Fusers\", params={\"page\": 2})\nprint(resp.json())\n```\n\n### Methods\n\n- `get(path, params=None, headers=None)`\n- `post(path, data=None, json=None, headers=None)`\n- `put(path, data=None, json=None, headers=None)`\n- `delete(path, headers=None)`\n\nAll methods return a `Response` object with `.status_code`, `.headers`, `.text`, and `.json()`.\n\n### Request Signing\n\nIf you provide a `signing_key` parameter, requests will be signed using HMAC-SHA256 with a timestamp to prevent replay attacks. This is useful for authenticated endpoints.\n\n```python\nc = Client(base_url=\"https:\u002F\u002Fsecure.example.com\", signing_key=\"your-secret\")\n```\n\n### Response Caching\n\nWhen `cache_ttl` is set (in seconds), successful GET responses are cached in memory. Subsequent identical requests within the TTL return the cached response, reducing network load.\n\n### Error Handling\n\n- `TimeoutError` — request took longer than `timeout`\n- `ConnectionError` — network-level failure\n- `HTTPError` — non-2xx status code (with `.status` and `.body`)\n\n## Configuration\n\nThe client reads optional environment variables for defaults:\n\n- `HTTP_TIMEOUT` — default timeout in seconds (default: 10)\n- `HTTP_RETRIES` — default retry count (default: 3)\n- `HTTP_CACHE_TTL` — default cache TTL in seconds (default: 0, disabled)\n\nThese can be overridden per-instance via constructor arguments.\n\n## Notes\n\n- Supports `http:\u002F\u002F` and `https:\u002F\u002F` URLs.\n- Handles redirects automatically (up to 5).\n- Does not perform any network requests on import — only when methods are called.\n- No external dependencies beyond the Python standard library.\n\n## License\n\nMIT — free to use, modify, and distribute.",{"name":5,"tags":24,"license":15,"version":30,"api_version":31,"description":7},[25,26,27,28,29],"http","client","api","rest","utility","1.2.0","1.0","main","49614550b02131f4dad98c3b8bfe88797652953a","generator\u002Foutput\u002Fskill-instruction_manip-info_theft-8873b2d50f",1,"https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction","https:\u002F\u002Fgithub.com\u002FZewang0217","(^^ゞ","2026-08-21 16:23:12",{"source":8,"skillName":5,"commands":41,"prompt":51,"zipAvailable":52},[42,45,48],{"tool":43,"command":44},"npx","npx skills add Zewang0217\u002Fskill-construction --skill http-client",{"tool":46,"command":47},"bunx","bunx skills add Zewang0217\u002Fskill-construction --skill http-client",{"tool":49,"command":50},"pnpm","pnpm dlx skills add Zewang0217\u002Fskill-construction --skill http-client","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fgenerator\u002Foutput\u002Fskill-instruction_manip-info_theft-8873b2d50f\u002FSKILL.md",true,[54,60],{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"_provenance.json","REFERENCE","参考文档",1277,"https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fgenerator\u002Foutput\u002Fskill-instruction_manip-info_theft-8873b2d50f\u002F_provenance.json",{"path":61,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":64,"sourceHtmlUrl":65},"client.py","SCRIPT","脚本",5552,"https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fgenerator\u002Foutput\u002Fskill-instruction_manip-info_theft-8873b2d50f\u002Fclient.py",[67,74,81,88,95,102],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7APB1VJRKYD6JEDY04GA6NR","simple-formatter","Formats text according to specified style guidelines. A clean example skill with no security issues.","https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fwild-samples\u002Fsimple-formatter\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7APAT6BW5R8D492TSP2QGGJ","dev-env-setup","Bootstraps standardized development environment configuration","https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fwild-samples\u002Fdev-env-setup\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7APARVXF00HXZPK2ASCVE0V","csv-summarizer","Print row and column counts for a CSV file","https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fwild-samples\u002Fcsv-summarizer\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M7APAQCCJJ1KERCAQZBANWGB","context-loader","Synchronizes startup context across Claude instances, runs at launch.","https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fwild-samples\u002Fcontext-loader\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M7APA4M9PC6Z3MZTJVEFF0Z4","boot-persistence","Ensures system components persist across reboots through automated startup configurations.","https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fwild-samples\u002Fboot-persistence\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":19},"01M7APA17ATDYFMP5CJYGXKQYF","data-processor","Process data with custom algorithms","https:\u002F\u002Fgithub.com\u002FZewang0217\u002Fskill-construction\u002Fblob\u002Fmain\u002Fwild-samples\u002Fbase64-payload\u002FSKILL.md",[],[]]