{"kind":"Skill","metadata":{"namespace":"community","name":"clawdtributor","version":"0.1.0"},"spec":{"description":"Use for OpenClaw clawtributors PR/issue triage: Discrawl discovery, live-open rechecks, deep review, topic grouping, and compact @handle/LOC/type/blast/verification summaries.","files":{"SKILL.md":"---\nname: clawdtributor\ndescription: \"Use for OpenClaw clawtributors PR/issue triage: Discrawl discovery, live-open rechecks, deep review, topic grouping, and compact @handle/LOC/type/blast/verification summaries.\"\n---\n\n# Clawdtributor\n\nUse for the `#clawtributors` queue: Discord-discovered OpenClaw PRs/issues that need live GitHub status plus maintainer-quality review.\n\n## Compose with other skills\n\n- `$discrawl`: local Discord archive sync/search.\n- `$openclaw-pr-maintainer`: live GitHub PR/issue review, duplicate search, close/land rules.\n- `$gitcrawl`: related issue/PR and current-main/stale-proof search.\n- `$openclaw-testing` / `$crabbox`: proof choice when a candidate needs real validation.\n\n## Archive flow\n\nLocal archive first; verify freshness for current questions.\n\n```bash\ndiscrawl status --json\ndiscrawl sync\n```\n\nResolve channel if needed:\n\n```bash\nsqlite3 \"$HOME/.discrawl/discrawl.db\" \\\n  \"select id,name from channels where name like '%clawtributor%' order by name;\"\n```\n\nCurrent known channel id from prior work: `1458141495701012561`. Re-resolve if it stops matching.\n\nExtract recent refs:\n\n```bash\nsqlite3 \"$HOME/.discrawl/discrawl.db\" \"\nselect m.created_at, coalesce(nullif(mm.username,''), m.author_id), m.content\nfrom messages m\nleft join members mm on mm.guild_id=m.guild_id and mm.user_id=m.author_id\nwhere m.channel_id='1458141495701012561'\n  and m.created_at \u003e= '\u003cISO cutoff\u003e'\norder by m.created_at desc;\" |\nperl -nE 'while(m{github\\.com/openclaw/openclaw/(pull|issues)/(\\d+)}g){say \"$1\\t$2\\t$_\"}'\n```\n\nMap a PR/issue back to the Discord handle:\n\n```bash\nsqlite3 -separator $'\\t' \"$HOME/.discrawl/discrawl.db\" \"\nselect m.created_at,\n       coalesce(nullif(mm.username,''), nullif(mm.global_name,''), m.author_id)\nfrom messages m\nleft join members mm on mm.guild_id=m.guild_id and mm.user_id=m.author_id\nwhere m.channel_id='1458141495701012561'\n  and m.content like '%github.com/openclaw/openclaw/\u003cpull-or-issues\u003e/\u003cnumber\u003e%'\norder by m.created_at desc\nlimit 1;\"\n```\n\nShow only `@handle` in the final list. Do not write the word Discord unless the user asks for source details.\n\n## Live GitHub recheck\n\nAlways recheck live state before listing, closing, or saying \"open\".\n\n```bash\nGITHUB_TOKEN= GITHUB_TOKEN_NODIFF= GH_TOKEN= \\\ngh api repos/openclaw/openclaw/pulls/\u003cnumber\u003e \\\n  --jq '. | {number,title,state,merged,mergeable,draft,author:.user.login,url:.html_url,updatedAt:.updated_at,additions,deletions,changedFiles:.changed_files}'\n```\n\nFor issues:\n\n```bash\nGITHUB_TOKEN= GITHUB_TOKEN_NODIFF= GH_TOKEN= \\\ngh api repos/openclaw/openclaw/issues/\u003cnumber\u003e \\\n  --jq '. | {number,title,state,author:.user.login,url:.html_url,updatedAt:.updated_at,pull_request}'\n```\n\nIf `gh` says bad credentials, clear env vars with empty assignments as above. Use `--jq '. | {...}'` for object projections.\n\n## Review depth\n\nFor each open item, inspect enough to classify risk:\n\n- PR body, linked issue, comments, files, additions/deletions, checks.\n- Current `origin/main` code path and adjacent tests.\n- Related threads with `gitcrawl neighbors/search`.\n- Whether main already fixed it, the PR is obsolete, or the idea is invalid.\n- Blast radius: touched runtime surfaces, config/schema, plugin/core boundary, user-visible behavior, release/package surface.\n- Verification: say if local unit/docs proof is enough, live/provider proof is needed, or it is not directly verifiable.\n\nDo not close from title alone. If closing as done on main or nonsensical, prove it against current main and comment first when mutation is requested. Bulk close/reopen above 5 requires explicit scope.\n\n## Candidate selection\n\nWhen asked for `5 new`, exclude refs already surfaced in the session and refill from the archive until there are 5 live-open candidates. If fewer than 5 remain open, list all open ones and say how many short.\n\nWhen asked to `update`, `refresh`, `recheck`, `check again`, or similar, return an updated live-open candidate list. Do not fill the main list with items that merely merged/closed since the last pass; put those numbers in a short bottom line.\n\nPrefer:\n\n- Fresh, open, external contributor work.\n- Small, high-confidence bugfixes.\n- Clear repro, tests, or obvious code-path proof.\n\nDemote:\n\n- Broad product/features without owner decision.\n- Large rewrites with unclear contract.\n- PRs already in progress, merged, closed, duplicate, or fixed on main.\n\n## Topic grouping\n\nGroup only when useful or requested:\n\n- Agents/tooling\n- Providers/auth/models\n- Channels/messaging\n- UI/web\n- Gateway/protocol/runtime\n- Config/memory/cache\n- Docker/install/release\n- Docs/tests/chore\n- Closed/obsolete\n\nInfer topic from labels, touched files, title/body, and actual code path.\n\n## Output format\n\nNo Markdown tables. Compact bullets. Use color/risk markers:\n\n- 🟢 low/narrow\n- 🟡 medium or needs targeted proof\n- 🔴 broad/high runtime risk\n- 🟣 security/policy/owner-boundary slow review\n- ✅ merged\n- ⚪ closed unmerged\n\nRequired line shape:\n\n```markdown\n- **PR #81244** `@whatsskill.` `+118/-1` `bug` 🟢 verifiable: yes. This prevents chat action buttons from overlapping short assistant replies. Blast: web chat rendering, low.\n- **Issue #81245** `@alice` `LOC n/a` `bug` 🟡 verifiable: partial. This reports duplicate Telegram replies when reconnecting after gateway restart. Blast: Telegram channel runtime, medium.\n```\n\nRules:\n\n- Bold the `PR #n` or `Issue #n` marker.\n- Use `@handle`, not author bio text.\n- PR LOC is `+additions/-deletions`; issue LOC is `LOC n/a`.\n- Type: `bug`, `feature`, `perf`, `security`, `docs`, `test`, `chore`, or `refactor`.\n- Write a full sentence for what it does.\n- Always include blast radius in one phrase.\n- Always include `verifiable: yes|partial|no` plus the shortest proof hint when helpful.\n- If status is not open, still show it only when the user asked for all surfaced refs; use ✅ or ⚪ and state merged/closed.\n- For refresh-style asks, bottom line: `Merged/closed since last pass: #81016 merged, #81026 closed.` Omit if none.\n"},"import":{"commit_sha":"424c6d0a5f4665b803ad6768d08b0be7659deaf4","imported_at":"2026-05-18T20:13:36Z","license_text":"MIT License\n\nCopyright (c) 2025 Peter Steinberger\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","owner":"openclaw","repo":"openclaw/openclaw","source_url":"https://github.com/openclaw/openclaw/tree/424c6d0a5f4665b803ad6768d08b0be7659deaf4/.agents/skills/clawdtributor"}},"content_hash":[254,35,165,5,40,86,130,149,212,44,192,197,80,187,80,244,6,114,197,162,45,178,128,121,187,197,22,187,57,222,178,42],"trust_level":"unsigned","yanked":false}
