[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CF61R5JYEDV5ZKPRF5YPDH":3,"skill-same:01M7CF61R5JYEDV5ZKPRF5YPDH":55},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":15,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":5,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7CF61R5JYEDV5ZKPRF5YPDH","http-error-triage",null,"Run before concluding anything from an HTTP error on a third-party API. Separates a real credential\u002Fentitlement problem from a CDN or WAF block, a wrong endpoint, or a client-signature ban. Use whenever an API returns 401\u002F403\u002F402\u002F429 and you are about to say \"the key is dead\", \"credits are exhausted\", \"the plan lacks access\", or \"we are rate limited\".","getedgehq\u002Fskills","getedgehq","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F327350993?v=4","01M7CEH5YJQYF1PB3MDG9PA5HX","01M7CEH5ZAPY8TX4H3E04KM875",5,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fgetedgehq\u002Fskills\u002Fblob\u002Fmain\u002Fhttp-error-triage\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fgetedgehq\u002Fskills\u002Fblob\u002Fmain\u002Fhttp-error-triage\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: http-error-triage\ndescription: Run before concluding anything from an HTTP error on a third-party API. Separates a real credential\u002Fentitlement problem from a CDN or WAF block, a wrong endpoint, or a client-signature ban. Use whenever an API returns 401\u002F403\u002F402\u002F429 and you are about to say \"the key is dead\", \"credits are exhausted\", \"the plan lacks access\", or \"we are rate limited\".\n---\n\n# HTTP error triage\n\nAn HTTP error tells you a request failed. It usually does **not** tell you why.\nConcluding \"the key is dead\" from a 403 is a guess wearing a number.\n\nBorn from a real incident (2026-07-30): a third-party contact-enrichment API\nreturned `403 error code: 1010` to every call for six days. It was read as \"key\nnot entitled\", \"credits exhausted\", \"monthly quota reached\". A 756-line browser\nautomation workaround was built on that belief, and a customer was nearly asked\nto check a plan that was fine. The actual cause was a missing `User-Agent`, so\nthe CDN banned the client at the edge. One header fixed it: 200 OK, full data,\nand the credit balance had been there the whole time.\n\n## Run these three controls before you diagnose\n\n**1. The invalid-credential control.** Send the same request with a deliberately\ngarbage credential, and again with none at all.\n\n```python\nfor label, key in [(\"real\", REAL_KEY), (\"garbage\", \"0\"*36), (\"empty\", \"\")]:\n    ...  # same URL, same method, same headers\n```\n\nIf all three return the **same** status and body, the error is not about your\ncredential. It carries zero information about entitlement, quota or validity.\nStop reasoning about the key.\n\n**2. The nonsense-path control.** Request a path that certainly does not exist,\nand the site root.\n\n```\nGET https:\u002F\u002Fapi.example.com\u002Fdefinitely-not-a-real-path-12345\nGET https:\u002F\u002Fapi.example.com\u002F\nGET https:\u002F\u002Fwww.example.com\u002F          # their marketing site\n```\n\nIf the API error also comes back from the marketing site, you are being blocked\n**in front of** the origin. Nothing about the API call will help.\n\n**3. Read the response headers, not just the body.**\n\n```python\nexcept urllib.error.HTTPError as e:\n    print(e.code, e.headers.get(\"server\"), e.read()[:200])\n```\n\n`server: cloudflare` on an \"auth\" error is the giveaway. So are `cf-ray`,\n`x-amzn-waf`, `akamai`. Those are infrastructure, not the API.\n\n## Known signatures\n\n| Symptom | Real cause | Fix |\n|---|---|---|\n| `403` + body `error code: 1010`, `server: cloudflare` | Cloudflare banned the client signature | Send a real browser `User-Agent` |\n| Same error for every path incl. `\u002F` | Edge\u002FWAF block or IP ban | Change UA, then IP\u002Fproxy |\n| `402` | Genuinely out of credits: the request **authenticated** | Top up; the key is fine |\n| `429` right after a success | Real rate limit | Pace requests, add backoff |\n| `400` with a field message | You reached the API and auth passed | Fix the payload; this is good news |\n\nA `400` validation error is a **success signal** for triage: it proves auth was\naccepted.\n\n## Default headers for any server-side API call\n\nPython's `urllib` sends `User-Agent: Python-urllib\u002F3.x`, which many WAFs ban\noutright. Always set:\n\n```python\nheaders = {\n    \"User-Agent\": \"Mozilla\u002F5.0 (Macintosh; Intel Mac OS X 10_15_7) \"\n                  \"AppleWebKit\u002F537.36 (KHTML, like Gecko) Chrome\u002F126.0 Safari\u002F537.36\",\n    \"Accept\": \"application\u002Fjson\",\n    \"Content-Type\": \"application\u002Fjson\",\n}\n```\n\n## Then measure cost before any sweep\n\nOnce it works, do not estimate spend. Read usage before and after one call, and\nread the provider's own billing field in the response.\n\n```python\nbefore = usage(); result = call(); after = usage()\nprint(\"charged:\", result.get(\"billing\"), \"| measured:\", before - after)\n```\n\n## What to report\n\nState what you tested and what remains unknown. \"Both keys 403\" is not a finding\nif an empty key returns the same 403. Say instead: \"403 is uninformative here, a\nnull credential returns it too; the cause is upstream of auth.\"\n","# HTTP error triage\n\nAn HTTP error tells you a request failed. It usually does **not** tell you why.\nConcluding \"the key is dead\" from a 403 is a guess wearing a number.\n\nBorn from a real incident (2026-07-30): a third-party contact-enrichment API\nreturned `403 error code: 1010` to every call for six days. It was read as \"key\nnot entitled\", \"credits exhausted\", \"monthly quota reached\". A 756-line browser\nautomation workaround was built on that belief, and a customer was nearly asked\nto check a plan that was fine. The actual cause was a missing `User-Agent`, so\nthe CDN banned the client at the edge. One header fixed it: 200 OK, full data,\nand the credit balance had been there the whole time.\n\n## Run these three controls before you diagnose\n\n**1. The invalid-credential control.** Send the same request with a deliberately\ngarbage credential, and again with none at all.\n\n```python\nfor label, key in [(\"real\", REAL_KEY), (\"garbage\", \"0\"*36), (\"empty\", \"\")]:\n    ...  # same URL, same method, same headers\n```\n\nIf all three return the **same** status and body, the error is not about your\ncredential. It carries zero information about entitlement, quota or validity.\nStop reasoning about the key.\n\n**2. The nonsense-path control.** Request a path that certainly does not exist,\nand the site root.\n\n```\nGET https:\u002F\u002Fapi.example.com\u002Fdefinitely-not-a-real-path-12345\nGET https:\u002F\u002Fapi.example.com\u002F\nGET https:\u002F\u002Fwww.example.com\u002F          # their marketing site\n```\n\nIf the API error also comes back from the marketing site, you are being blocked\n**in front of** the origin. Nothing about the API call will help.\n\n**3. Read the response headers, not just the body.**\n\n```python\nexcept urllib.error.HTTPError as e:\n    print(e.code, e.headers.get(\"server\"), e.read()[:200])\n```\n\n`server: cloudflare` on an \"auth\" error is the giveaway. So are `cf-ray`,\n`x-amzn-waf`, `akamai`. Those are infrastructure, not the API.\n\n## Known signatures\n\n| Symptom | Real cause | Fix |\n|---|---|---|\n| `403` + body `error code: 1010`, `server: cloudflare` | Cloudflare banned the client signature | Send a real browser `User-Agent` |\n| Same error for every path incl. `\u002F` | Edge\u002FWAF block or IP ban | Change UA, then IP\u002Fproxy |\n| `402` | Genuinely out of credits: the request **authenticated** | Top up; the key is fine |\n| `429` right after a success | Real rate limit | Pace requests, add backoff |\n| `400` with a field message | You reached the API and auth passed | Fix the payload; this is good news |\n\nA `400` validation error is a **success signal** for triage: it proves auth was\naccepted.\n\n## Default headers for any server-side API call\n\nPython's `urllib` sends `User-Agent: Python-urllib\u002F3.x`, which many WAFs ban\noutright. Always set:\n\n```python\nheaders = {\n    \"User-Agent\": \"Mozilla\u002F5.0 (Macintosh; Intel Mac OS X 10_15_7) \"\n                  \"AppleWebKit\u002F537.36 (KHTML, like Gecko) Chrome\u002F126.0 Safari\u002F537.36\",\n    \"Accept\": \"application\u002Fjson\",\n    \"Content-Type\": \"application\u002Fjson\",\n}\n```\n\n## Then measure cost before any sweep\n\nOnce it works, do not estimate spend. Read usage before and after one call, and\nread the provider's own billing field in the response.\n\n```python\nbefore = usage(); result = call(); after = usage()\nprint(\"charged:\", result.get(\"billing\"), \"| measured:\", before - after)\n```\n\n## What to report\n\nState what you tested and what remains unknown. \"Both keys 403\" is not a finding\nif an empty key returns the same 403. Say instead: \"403 is uninformative here, a\nnull credential returns it too; the cause is upstream of auth.\"\n",{"name":5,"description":7},"main","01960aeb08909dbd0c1a2d4f219cdb300099b8b9",0,"https:\u002F\u002Fgithub.com\u002Fgetedgehq\u002Fskills","https:\u002F\u002Fgetedge.cc","https:\u002F\u002Fgithub.com\u002Fgetedgehq","2026-11-12 10:05:02",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add getedgehq\u002Fskills --skill http-error-triage",{"tool":37,"command":38},"bunx","bunx skills add getedgehq\u002Fskills --skill http-error-triage",{"tool":40,"command":41},"pnpm","pnpm dlx skills add getedgehq\u002Fskills --skill http-error-triage","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgetedgehq\u002Fskills\u002Fblob\u002Fmain\u002Fhttp-error-triage\u002FSKILL.md",true,[45,51],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"DERIVATION.json","REFERENCE","参考文档",2916,"https:\u002F\u002Fgithub.com\u002Fgetedgehq\u002Fskills\u002Fblob\u002Fmain\u002Fhttp-error-triage\u002FDERIVATION.json",{"path":52,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":15},"LICENSE","许可证",10756,[56,64,72,79,86,94],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":60,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M7CFVPC1P7JN60J5AN9AZZ5G","zero-downtime-cloud-move","Runbook for moving a live app from one cloud to another (Google Cloud to AWS, AWS to Google Cloud, a PaaS to your own account, or one storage provider to another) without downtime. The agent inventories what is really running, builds the new stack next to the old one, keeps a one-line rollback for every phase, proves the new stack with real workloads before any traffic moves, cuts over with a checklist, watches a fixed window after the switch, copies data with an idempotent job whose second pass must report 0 left, and deletes the old cloud last. Use when someone asks to migrate, move or replatform a production app, switch cloud providers, move a backend, database files or object storage, plan a DNS cutover, or decommission an old cloud account.","https:\u002F\u002Fgithub.com\u002Fgetedgehq\u002Fskills\u002Fblob\u002Fmain\u002Fzero-downtime-cloud-move\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fgetedgehq\u002Fskills\u002Fblob\u002Fmain\u002Fzero-downtime-cloud-move\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":68,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7CFVH8VN6G2KE8PBFD1CRMN","zayats-ceo-branding","Build an evidence-based CEO positioning paper, Personal Branding Roadmap, and editorial workflow using Marina Zayats's public method. Use for executive branding, LinkedIn ghostwriting briefs, profile strategy, and recurring CEO-approved content planning.","https:\u002F\u002Fgithub.com\u002Fgetedgehq\u002Fskills\u002Fblob\u002Fmain\u002Fzayats-ceo-branding\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fgetedgehq\u002Fskills\u002Fblob\u002Fmain\u002Fzayats-ceo-branding\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7CFV9BB7G8K8CX9RKZ3GECX","yc-app-roast","YC App Roast: roast a YC or a16z Speedrun application. Use when a founder wants their YC or Speedrun answers scored, asks \"what would a YC partner think\", wants the weak answers found or rewritten, or wants their draft checked before they submit. Scores every answer 0-10 against public advice from YC and Speedrun partners, names the top issue with the exact words that cost points, and writes a rewrite from the founder's own facts. Works for YC and a16z Speedrun. Not affiliated with Y Combinator or a16z.","https:\u002F\u002Fgithub.com\u002Fgetedgehq\u002Fskills\u002Fblob\u002Fmain\u002Fyc-app-roast\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7CFV11Z1HB9EEWFQ6PCJ98X","yc-app-review","YC App Review: get a YC or a16z Speedrun application reviewed by people you trust. Use when a founder wants friends, mentors or alumni to review their YC or Speedrun application, or asks to share their draft for feedback. Builds a shareable review page (one HTML file, application-portal look) where reviewers leave notes per question and press \"Send my notes\" to send them back as text, then parses the notes into proposed rewrites. Optional tracked private links per reviewer. Works for YC and a16z Speedrun. Not affiliated with Y Combinator or a16z.","https:\u002F\u002Fgithub.com\u002Fgetedgehq\u002Fskills\u002Fblob\u002Fmain\u002Fyc-app-review\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":90,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7CFTSVJV7XCSW62W39MX8CZ","x-growth-playbook","X Growth Playbook. Analyse a person's own X (Twitter) posts and tell them what to post next, with the numbers behind every claim. Compares quote posts vs originals, links vs no links, short vs long, time of day in their timezone, media vs text and the topics they name, reports medians with n, then writes a 10-step plan and the next 7 posts in their voice. Use when the user says \"analyse my X posts\", \"what works on my Twitter\", \"how do I grow on X\", \"what should I post next on X\", \"audit my X account\", or shares an X data archive, X API export or a list of their posts. Runs on the user's computer.","https:\u002F\u002Fgithub.com\u002Fgetedgehq\u002Fskills\u002Fblob\u002Fmain\u002Fx-growth-playbook\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fgetedgehq\u002Fskills\u002Fblob\u002Fmain\u002Fx-growth-playbook\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":98,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M7CFTK101S3P00MQ129G5YNH","workplan","Create, update, or close work plans for multi-step tasks. Use when starting refactors, bug lists, feature work, migrations, or any task with 2+ steps. Also use after auto-compaction to re-orient. Triggers: \"workplan\", \"work plan\", \"create a plan\", \"what's the plan\", \"where was I\", or when Claude detects a multi-step task that needs tracking.","https:\u002F\u002Fgithub.com\u002Fgetedgehq\u002Fskills\u002Fblob\u002Fmain\u002Fworkplan\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fgetedgehq\u002Fskills\u002Fblob\u002Fmain\u002Fworkplan\u002FSKILL.md",[],[]]