[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M783FNHQ6CSRY1K6G0K2H7E9":3,"skill-same:01M783FNHQ6CSRY1K6G0K2H7E9":56},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":34,"ownerDescription":6,"updatedAt":35,"install":36,"resources":49},"01M783FNHQ6CSRY1K6G0K2H7E9","incident-response",null,"Run a live incident: impact first, stabilise before root cause, roll back before you debug, one change at a time, an append-only timeline, recovery only on an observed signal. Includes the leaked-secret containment order (revoke or rotate, scope the exposure, purge, prove the old credential dead, record).","theselfruleorg\u002Fpolyrob","theselfruleorg","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128891129?v=4","01M783D1MFDP1D5ZXSNZMKHARH","01M783D1NEE9ATD39KJYCRR09J",12,"MIT","https:\u002F\u002Fgithub.com\u002Ftheselfruleorg\u002Fpolyrob\u002Fblob\u002Fmain\u002Fdata\u002Fprompts\u002Fskills\u002Fincident-response\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: incident-response\ndescription: 'Run a live incident: impact first, stabilise before root cause, roll back before you debug, one change at a time, an append-only timeline, recovery only on an observed signal. Includes the leaked-secret containment order (revoke or rotate, scope the exposure, purge, prove the old credential dead, record).'\nlicense: MIT\nmetadata:\n  polyrob-when: 'Something is broken live, or a secret leaked'\n  polyrob-priority: '2'\n  polyrob-owner-only: 'true'\n  polyrob-requires: '[\"secret-handling\"]'\n  polyrob-version: '2'\n---\n# Incident Response\n\nAn incident is something broken or unsafe RIGHT NOW: a service down or wrong,\nmoney moving that should not, a credential in the wrong hands. The job is to\nstop the damage first and understand it second. Recommended procedure — adapt\nit to what you can reach this session.\n\n## When to use\n- A production service, bot, app or endpoint is down, erroring or giving wrong\n  results for real users.\n- Funds moved, or are about to move, in a way nobody approved.\n- A key, token, password, seed phrase or private key was exposed (pasted,\n  committed, logged, posted).\n\nNot for: an ordinary bug with no live impact (use `coding-workflow`), or a\nreview after the fact with nothing still broken (write the record from\n`references\u002Fincident-record.md` and stop).\n\n## The rules\n\n1. **Impact first.** Before any fix, establish: what is broken, for whom,\n   since when, whether money or a secret is at risk, and whether it is getting\n   worse. Set a severity (S1\u002FS2\u002FS3, defined in the reference) from what you\n   observed, not from how alarming the alert sounds. If you cannot measure the\n   reach yet, use the higher level until you can.\n2. **Tell the owner early.** Your first `send_message` goes out as soon as\n   you know the impact — not after you know the cause. See \"Telling the owner\".\n3. **Stabilise before root cause.** Stop the bleeding with the smallest safe\n   action: roll back, turn a feature off, pause a loop, stop a job. Root-cause\n   work starts only when the damage has stopped.\n4. **Roll back before you debug.** If the trouble started after a change (a\n   deploy, a config edit, a new dependency, a new goal or cron job), returning\n   to the last known good state is the default first move. ⚠️ Never edit files\n   on a live server and never copy a single file onto it. Roll back or fix\n   forward only through the normal deploy path (for this codebase, the deploy\n   scripts and their backup). If you cannot deploy, give the owner the exact\n   rollback target and the command.\n5. **One change at a time.** Say what you will change before you change it,\n   record it after, and watch the signal before the next change. Two changes\n   at once make it impossible to tell which one helped or hurt.\n6. **A mitigation is not a fix.** For each one, record what changed, where,\n   whether it is temporary, and what will remove it. A temporary measure\n   nobody wrote down becomes permanent.\n7. **Recovery is observed, never assumed.** Name the signal (an error rate, a\n   health check, a balance, a successful test call), the value that counts as\n   healthy, the value you saw and when. \"I applied the fix\" is not recovery. If\n   the signal itself is unavailable, the incident stays open and you say which\n   signal is missing.\n8. **Keep an append-only timeline** in the session workspace (format in the\n   reference): what was seen, what was changed, what was decided, each with a\n   time and the reason as believed then. Correct an entry with a new entry;\n   never rewrite one.\n\n## When money is at risk\n\n- Ask the owner to `\u002Fpause` the affected scope (e.g. trading) or `\u002Fhalt`\n  everything. Call `autonomy_control` yourself only when the owner explicitly\n  asks you to stop; only the owner can `\u002Fresume`.\n- Do not move funds on your own initiative to \"save\" them. Moving funds is an\n  owner decision: if the owner wants it, put the move in front of them with\n  `propose_action` (a `\u002Fsend` quote card they confirm). If that action is\n  unavailable, give the `\u002Fsend …` line WITHOUT `go`, and say that no card was\n  made.\n- A refusal \"unaccounted wallet submission … reconcile before …\" (another send,\n  or further spending) freezes every on-chain and x402 send by design. Do not\n  retry. Read the tx (`defi_data.wallet_activity` or the explorer), give the\n  owner the reference, and say that the release is an operator step on the\n  server (the terminal commands `polyrob wallet submissions`, then\n  `polyrob wallet release-submission \u003Cref> --charge-usd N`, labeled as terminal\n  commands).\n- Cut standing authority in this order: the dapp session\n  (`dapp_browser.dapp_disconnect`; the owner's `\u002Fdapp revoke \u003Csession-id>`),\n  then the token allowance (`defi_trade.revoke_approval`) or the NFT operator\n  approval (`defi_trade.nft_revoke_approval`), then the open approvals on an\n  owned NFT account (`agent_nft_revoke_all`). Dry-run each revoke first. If the turn cannot broadcast it,\n  give the owner the verb to run.\n- A transfer that says `BROADCAST BUT NOT CONFIRMED` and a bridge that is\n  `in_flight` are never sent again: check the reference first (`defi-bridge`).\n- `wallet_sign_status` lists the stored site credentials (ids and\n  fingerprints only); a leaked one is cut at the site that issued it.\n- Do not touch an unknown token, airdrop or contract that appeared in the\n  wallet. Interacting with it can be the attack.\n\n## Leaked secret — containment order\n\nFollow the `secret-handling` skill throughout: never repeat the value, refer to\nthe credential by its env-var name, show at most a fingerprint. Then work in\nthis order:\n\n1. **Revoke or rotate first.** Every minute the old value works is exposure.\n   Have the owner issue a replacement at the provider, set it under the same\n   env-var name, and restart; then revoke the old one at the issuer. The env\n   files are the owner's to edit — never yours. If revoking first would break a\n   critical service, the owner may rotate in first; the old value still dies\n   within this incident, not later.\n2. **Scope the exposure.** What the credential could reach (read, write,\n   spend, admin), where it leaked (chat, a commit, a public repo, a log, a\n   post), whether that place is public, and the exposure window from the first\n   leak to the revoke. Read the issuer's access log for that window if you can,\n   or ask the owner to. Note any use you cannot attribute.\n3. **Purge.** Remove the value from the files, logs, memory entries, notes\n   and drafts you control. Rewriting git history is the owner's decision, comes\n   only AFTER rotation, and does not reach clones, forks, caches or anyone who\n   already read a public push — that is why step 1 comes first.\n4. **Prove the old credential is dead.** A successful revoke command only\n   says the request was accepted. Proof is a call with the old credential\n   being rejected, or the issuer's console showing it revoked. If you cannot\n   check without handling the old value, ask the owner to confirm.\n5. **Record.** In the timeline: the credential's name and fingerprint, where\n   it leaked, the window, what the issuer log showed, each step and its proof,\n   and what will stop a repeat (an ignore rule, a pre-commit secret scan).\n\n⚠️ A wallet seed phrase or private key cannot be revoked or rotated. The only\ncontainment is moving the funds to a new wallet the owner creates — an owner\ndecision, and an urgent one. Tell the owner at once, send nothing more to the\nexposed address, and never ask the owner to show you the seed.\n\n## Telling the owner\n\n- `send_message` is your only reply channel. A notice counts as sent only when\n  the call returns success; if it fails, record that and try another reachable\n  route (e.g. `email`).\n- First message: what is broken, who is affected, the severity, what you are\n  doing now, what you need from the owner, and when you will update next.\n- Then update on each change of state, not on a timer. State only causes you\n  observed and recoveries you verified. Say \"suspected\" when it is a guess.\n- For a decision with a few clear options (roll back or hold), use\n  `owner_ask(question=…, options=[…])`. An autonomous run cannot wait, so keep the\n  safe state until the owner answers.\n- Never include a secret value, a full key or a seed phrase in any message,\n  even to the owner.\n\n## Closing\n\nClose only when: recovery is observed on the named signal, every temporary\nmitigation is removed or listed as a follow-up with an owner, and, for a\nleaked secret, the old credential is proven dead. Then write the closing\nrecord with\n`read_skill_resource(skill_id=\"incident-response\", resource_path=\"references\u002Fincident-record.md\")`\nas the template, and send the owner a short summary.\n","# Incident Response\n\nAn incident is something broken or unsafe RIGHT NOW: a service down or wrong,\nmoney moving that should not, a credential in the wrong hands. The job is to\nstop the damage first and understand it second. Recommended procedure — adapt\nit to what you can reach this session.\n\n## When to use\n- A production service, bot, app or endpoint is down, erroring or giving wrong\n  results for real users.\n- Funds moved, or are about to move, in a way nobody approved.\n- A key, token, password, seed phrase or private key was exposed (pasted,\n  committed, logged, posted).\n\nNot for: an ordinary bug with no live impact (use `coding-workflow`), or a\nreview after the fact with nothing still broken (write the record from\n`references\u002Fincident-record.md` and stop).\n\n## The rules\n\n1. **Impact first.** Before any fix, establish: what is broken, for whom,\n   since when, whether money or a secret is at risk, and whether it is getting\n   worse. Set a severity (S1\u002FS2\u002FS3, defined in the reference) from what you\n   observed, not from how alarming the alert sounds. If you cannot measure the\n   reach yet, use the higher level until you can.\n2. **Tell the owner early.** Your first `send_message` goes out as soon as\n   you know the impact — not after you know the cause. See \"Telling the owner\".\n3. **Stabilise before root cause.** Stop the bleeding with the smallest safe\n   action: roll back, turn a feature off, pause a loop, stop a job. Root-cause\n   work starts only when the damage has stopped.\n4. **Roll back before you debug.** If the trouble started after a change (a\n   deploy, a config edit, a new dependency, a new goal or cron job), returning\n   to the last known good state is the default first move. ⚠️ Never edit files\n   on a live server and never copy a single file onto it. Roll back or fix\n   forward only through the normal deploy path (for this codebase, the deploy\n   scripts and their backup). If you cannot deploy, give the owner the exact\n   rollback target and the command.\n5. **One change at a time.** Say what you will change before you change it,\n   record it after, and watch the signal before the next change. Two changes\n   at once make it impossible to tell which one helped or hurt.\n6. **A mitigation is not a fix.** For each one, record what changed, where,\n   whether it is temporary, and what will remove it. A temporary measure\n   nobody wrote down becomes permanent.\n7. **Recovery is observed, never assumed.** Name the signal (an error rate, a\n   health check, a balance, a successful test call), the value that counts as\n   healthy, the value you saw and when. \"I applied the fix\" is not recovery. If\n   the signal itself is unavailable, the incident stays open and you say which\n   signal is missing.\n8. **Keep an append-only timeline** in the session workspace (format in the\n   reference): what was seen, what was changed, what was decided, each with a\n   time and the reason as believed then. Correct an entry with a new entry;\n   never rewrite one.\n\n## When money is at risk\n\n- Ask the owner to `\u002Fpause` the affected scope (e.g. trading) or `\u002Fhalt`\n  everything. Call `autonomy_control` yourself only when the owner explicitly\n  asks you to stop; only the owner can `\u002Fresume`.\n- Do not move funds on your own initiative to \"save\" them. Moving funds is an\n  owner decision: if the owner wants it, put the move in front of them with\n  `propose_action` (a `\u002Fsend` quote card they confirm). If that action is\n  unavailable, give the `\u002Fsend …` line WITHOUT `go`, and say that no card was\n  made.\n- A refusal \"unaccounted wallet submission … reconcile before …\" (another send,\n  or further spending) freezes every on-chain and x402 send by design. Do not\n  retry. Read the tx (`defi_data.wallet_activity` or the explorer), give the\n  owner the reference, and say that the release is an operator step on the\n  server (the terminal commands `polyrob wallet submissions`, then\n  `polyrob wallet release-submission \u003Cref> --charge-usd N`, labeled as terminal\n  commands).\n- Cut standing authority in this order: the dapp session\n  (`dapp_browser.dapp_disconnect`; the owner's `\u002Fdapp revoke \u003Csession-id>`),\n  then the token allowance (`defi_trade.revoke_approval`) or the NFT operator\n  approval (`defi_trade.nft_revoke_approval`), then the open approvals on an\n  owned NFT account (`agent_nft_revoke_all`). Dry-run each revoke first. If the turn cannot broadcast it,\n  give the owner the verb to run.\n- A transfer that says `BROADCAST BUT NOT CONFIRMED` and a bridge that is\n  `in_flight` are never sent again: check the reference first (`defi-bridge`).\n- `wallet_sign_status` lists the stored site credentials (ids and\n  fingerprints only); a leaked one is cut at the site that issued it.\n- Do not touch an unknown token, airdrop or contract that appeared in the\n  wallet. Interacting with it can be the attack.\n\n## Leaked secret — containment order\n\nFollow the `secret-handling` skill throughout: never repeat the value, refer to\nthe credential by its env-var name, show at most a fingerprint. Then work in\nthis order:\n\n1. **Revoke or rotate first.** Every minute the old value works is exposure.\n   Have the owner issue a replacement at the provider, set it under the same\n   env-var name, and restart; then revoke the old one at the issuer. The env\n   files are the owner's to edit — never yours. If revoking first would break a\n   critical service, the owner may rotate in first; the old value still dies\n   within this incident, not later.\n2. **Scope the exposure.** What the credential could reach (read, write,\n   spend, admin), where it leaked (chat, a commit, a public repo, a log, a\n   post), whether that place is public, and the exposure window from the first\n   leak to the revoke. Read the issuer's access log for that window if you can,\n   or ask the owner to. Note any use you cannot attribute.\n3. **Purge.** Remove the value from the files, logs, memory entries, notes\n   and drafts you control. Rewriting git history is the owner's decision, comes\n   only AFTER rotation, and does not reach clones, forks, caches or anyone who\n   already read a public push — that is why step 1 comes first.\n4. **Prove the old credential is dead.** A successful revoke command only\n   says the request was accepted. Proof is a call with the old credential\n   being rejected, or the issuer's console showing it revoked. If you cannot\n   check without handling the old value, ask the owner to confirm.\n5. **Record.** In the timeline: the credential's name and fingerprint, where\n   it leaked, the window, what the issuer log showed, each step and its proof,\n   and what will stop a repeat (an ignore rule, a pre-commit secret scan).\n\n⚠️ A wallet seed phrase or private key cannot be revoked or rotated. The only\ncontainment is moving the funds to a new wallet the owner creates — an owner\ndecision, and an urgent one. Tell the owner at once, send nothing more to the\nexposed address, and never ask the owner to show you the seed.\n\n## Telling the owner\n\n- `send_message` is your only reply channel. A notice counts as sent only when\n  the call returns success; if it fails, record that and try another reachable\n  route (e.g. `email`).\n- First message: what is broken, who is affected, the severity, what you are\n  doing now, what you need from the owner, and when you will update next.\n- Then update on each change of state, not on a timer. State only causes you\n  observed and recoveries you verified. Say \"suspected\" when it is a guess.\n- For a decision with a few clear options (roll back or hold), use\n  `owner_ask(question=…, options=[…])`. An autonomous run cannot wait, so keep the\n  safe state until the owner answers.\n- Never include a secret value, a full key or a seed phrase in any message,\n  even to the owner.\n\n## Closing\n\nClose only when: recovery is observed on the named signal, every temporary\nmitigation is removed or listed as a follow-up with an owner, and, for a\nleaked secret, the old credential is proven dead. Then write the closing\nrecord with\n`read_skill_resource(skill_id=\"incident-response\", resource_path=\"references\u002Fincident-record.md\")`\nas the template, and send the owner a short summary.\n",{"name":5,"license":14,"metadata":23,"description":7},{"polyrob-when":24,"polyrob-version":25,"polyrob-priority":25,"polyrob-requires":26,"polyrob-owner-only":27},"Something is broken live, or a secret leaked","2","[\"secret-handling\"]","true","main","3a595c0e3db5aa91acc53dd80673c4d80e0721d1","data\u002Fprompts\u002Fskills\u002Fincident-response",2,"https:\u002F\u002Fgithub.com\u002Ftheselfruleorg\u002Fpolyrob","https:\u002F\u002Fgithub.com\u002Ftheselfruleorg","https:\u002F\u002Ftheselfrule.org","2026-11-14 16:54:43",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add theselfruleorg\u002Fpolyrob --skill incident-response",{"tool":42,"command":43},"bunx","bunx skills add theselfruleorg\u002Fpolyrob --skill incident-response",{"tool":45,"command":46},"pnpm","pnpm dlx skills add theselfruleorg\u002Fpolyrob --skill incident-response","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ftheselfruleorg\u002Fpolyrob\u002Fblob\u002Fmain\u002Fdata\u002Fprompts\u002Fskills\u002Fincident-response\u002FSKILL.md",true,[50],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Fincident-record.md","REFERENCE","参考文档",3693,"https:\u002F\u002Fgithub.com\u002Ftheselfruleorg\u002Fpolyrob\u002Fblob\u002Fmain\u002Fdata\u002Fprompts\u002Fskills\u002Fincident-response\u002Freferences\u002Fincident-record.md",[57,64,71,78,85,92],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":18},"01M783NSEPG1S13E7W3GEQMG6J","echo-basics","How to use the echo tool from the echo fixture pack.","https:\u002F\u002Fgithub.com\u002Ftheselfruleorg\u002Fpolyrob\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fpacks\u002Fecho\u002Fpolyrob_echo\u002Fskills\u002Fecho-basics\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":18},"01M783NM911CND5PQCYDHA9GGV","x-engagement","Operate X account communication on the API rail (the captured-browser rail only where the owner chose it)—read inboxes, post\u002Freply, send DMs, set up the account, with the real write gates and completion evidence","https:\u002F\u002Fgithub.com\u002Ftheselfruleorg\u002Fpolyrob\u002Fblob\u002Fmain\u002Fpacks\u002Fx\u002Fpolyrob_x\u002Fskills\u002Fx-engagement\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M783NGQ43PGVT6F9XQR4ZNP2","social-discovery","Discover public X\u002Fsocial accounts and conversations with AnySite first (anysite_describe, then anysite_api), using native X account reads where they are authoritative and preserving write gates","https:\u002F\u002Fgithub.com\u002Ftheselfruleorg\u002Fpolyrob\u002Fblob\u002Fmain\u002Fpacks\u002Fx\u002Fpolyrob_x\u002Fskills\u002Fsocial-discovery\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M783NDAEPJT10SD3DNR56H96","polymarket-trading","GATED: place\u002Fcancel Polymarket orders. Owner-only, read-first, >$500 confirmation gate; references crypto-trading-safety","https:\u002F\u002Fgithub.com\u002Ftheselfruleorg\u002Fpolyrob\u002Fblob\u002Fmain\u002Fpacks\u002Fmarkets\u002Fpolyrob_markets\u002Fskills\u002Fpolymarket-trading\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":18},"01M783N8GADTQMKKBQT4Z3JJ84","polymarket-portfolio-review","Read the configured Polymarket account's positions and trade history from the public Data API (no address parameter); summarize exposure and P&L","https:\u002F\u002Fgithub.com\u002Ftheselfruleorg\u002Fpolyrob\u002Fblob\u002Fmain\u002Fpacks\u002Fmarkets\u002Fpolyrob_markets\u002Fskills\u002Fpolymarket-portfolio-review\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":18},"01M783N5KTTTRRRSM7XY8SY4NF","polymarket-market-research","Read Polymarket markets (discover, details, price as implied probability, orderbook, spread, volume) with no wallet","https:\u002F\u002Fgithub.com\u002Ftheselfruleorg\u002Fpolyrob\u002Fblob\u002Fmain\u002Fpacks\u002Fmarkets\u002Fpolyrob_markets\u002Fskills\u002Fpolymarket-market-research\u002FSKILL.md",[],[]]