[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M698R35WC54MFGCJA69AYEW5":3,"skill-same:01M698R35WC54MFGCJA69AYEW5":61},{"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":26,"linkOnly":27,"markdownContent":28,"markdownBody":29,"frontMatter":30,"refName":31,"commitSha":32,"skillDirectory":33,"forksCount":34,"repositoryHtmlUrl":35,"repositoryHomepageUrl":36,"ownerHtmlUrl":37,"ownerBlogUrl":38,"ownerDescription":39,"updatedAt":40,"install":41,"resources":54},"01M698R35WC54MFGCJA69AYEW5","local-clawsweeper-review",null,"Run local ClawSweeper exact-item or committed-range reviews without GitHub mutation.","openclaw\u002Fclawsweeper","openclaw","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F252820863?v=4","01M698P3FSAZ6B4R928ZF19KPT","01M698QZGH3RJX0DA5MQ7GXGVR",2006,"MIT","https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fclawsweeper\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Flocal-clawsweeper-review\u002FSKILL.md",[],[18,19,20,21,22,23,24,25],"clawsweeper","review","local clawsweeper review","local","github","run","mutation","reviews","2026-11-10 10:12:30",false,"---\nname: local-clawsweeper-review\ndescription: Run local ClawSweeper exact-item or committed-range reviews without GitHub mutation.\n---\n\n# Local ClawSweeper Review\n\nUse this skill when someone wants read-only local ClawSweeper output before\nsubmitting, updating, or re-reviewing an issue or PR.\n\n## Safety Boundary\n\n- Run only `pnpm run review -- --local-only` for an existing GitHub item, or\n  `pnpm run review -- --local-range` for a pre-submission committed range.\n- Do not run `apply-artifacts`, `apply-decisions`, GitHub comment posting, or\n  merge\u002Fautofix commands unless the user explicitly asks for that mutation.\n- Do not print `OPENAI_API_KEY`, `CODEX_API_KEY`, `CODEX_ACCESS_TOKEN`, GitHub\n  tokens, or Codex auth material.\n- Treat generated review artifacts as local proof. Do not claim ClawSweeper\n  posted or synced anything unless a separate explicit mutation command did it.\n\n## Locate ClawSweeper\n\nPrefer the current repository when its `package.json` name is\n`@openclaw\u002Fclawsweeper`. Otherwise use a known clean local checkout:\n\n- Windows: `C:\\oc-work\\clawsweeper-source`\n- POSIX fallback: `~\u002FProjects\u002Fclawsweeper`\n\nInspect `git status --short` before making changes. If another ClawSweeper clone\nis dirty or ambiguous, do not use it for the local review runner.\n\n## First-Time Setup\n\nFrom the ClawSweeper checkout:\n\n```sh\ncorepack enable\npnpm install\npnpm run build:all\npnpm run codex:local:check -- --diagnostics\n```\n\nThe diagnostics mode checks the selected Codex binary and login status without\na model request. It does not prove model access or review readiness. Omit\n`--diagnostics` for the existing model smoke test, which consumes model usage.\n\nIf the Codex check says the CLI is not logged in, have the operator authenticate\ntheir own Codex CLI. Device auth is the simplest shareable setup:\n\n```sh\ncodex login --device-auth -c 'service_tier=\"fast\"'\n```\n\nFor API-key setup, pass the key through the shell only for the login command and\nthen clear it from the environment. Do not put the key in docs, scripts, shell\nhistory, or committed files.\n\nPowerShell:\n\n```powershell\n$env:OPENAI_API_KEY = Read-Host \"OpenAI API key\"\n$env:OPENAI_API_KEY | codex login --with-api-key -c 'service_tier=\"fast\"'\nRemove-Item Env:OPENAI_API_KEY\n```\n\nPOSIX shell:\n\n```sh\nprintf '%s' \"$OPENAI_API_KEY\" | codex login --with-api-key -c 'service_tier=\"fast\"'\nunset OPENAI_API_KEY\n```\n\nIf the wrong Codex binary is used, set `CODEX_BIN` in the local shell for that\nrun. Otherwise, `--local-only` uses the first spawnable `codex` command on\n`PATH`, including on Windows. If no Windows PATH command is spawnable, it falls\nback to the installed Codex Desktop binary.\n\n## Target Checkout Modes\n\nBy default, an exact local PR review manages its own target checkout under\n`artifacts\u002Flocal-review-\u003Cpr-number>\u002Ftarget`.\n\nBy default, `--local-range` reviews the clean checkout where the command was\ninvoked. It does not manage or switch that checkout. Pass `--target-dir` when\nthe branch to review is elsewhere.\n\nIn a built source checkout, `node dist\u002Fclawsweeper-local.js review` is the\nlocal-only entrypoint for the same full committed-range engine. Its `--help`\nand `--version` paths do not load the review engine or invoke Codex. It does not\nprovide diagnostics yet; `codex:local:check` remains the existing model smoke\ntest. This entrypoint does not publish hosted action-ledger or cache metadata.\n\nPass `--target-dir` when the operator wants to review an existing checkout or\nan issue.\n\nUse a clean target checkout of the repository being reviewed. Prefer a dedicated\nreview checkout if the normal worktree is dirty:\n\n- Windows: `C:\\oc-work\\clawsweeper-local-target-openclaw`\n- POSIX fallback: `..\u002Fopenclaw`\n\nBefore reviewing against `main`, update the target checkout only when it is\nclean:\n\n```sh\ngit -C \u003Ctarget-dir> status --short\ngit -C \u003Ctarget-dir> fetch origin main\ngit -C \u003Ctarget-dir> switch main\ngit -C \u003Ctarget-dir> pull --ff-only origin main\n```\n\nDo not switch branches, pull, or overwrite files in a dirty target checkout.\n\n## Run A Local Review\n\nUse the exact issue or PR number. If the number is not provided and the current\nbranch has an open PR, use `gh pr view --json number,url,headRefOid` to identify\nit.\n\nFrom the ClawSweeper checkout:\n\n```sh\npnpm run review -- --local-only --item-number \u003Cpr-number>\n```\n\nTo use a supplied checkout or review an issue:\n\n```sh\npnpm run review -- --local-only \\\n  --item-number \u003Cissue-or-pr-number> \\\n  --target-dir \u003Ctarget-dir>\n```\n\nTo review committed branch work before a PR exists:\n\n```sh\npnpm run review -- --local-range \\\n  --target-repo \u003Cowner\u002Frepo> \\\n  --base origin\u002Fmain\n```\n\nThe range is `merge-base(\u003Cbase>, HEAD)..HEAD`. It must be clean and contain at\nleast one commit beyond the base. This path withholds GitHub credentials,\nisolates cached `gh` auth, disables web search, and skips host-side URL\u002Fmedia\npreprocessing. It still calls the configured Codex model service; do not call it\nair-gapped or fully network-offline.\n\nThe exact local command prints a human-readable progress summary by default. Add\n`--verbose` only when debugging checkout, selection, or Codex process details.\n\nFor quick smoke tests, lower `--batch-size`, `--shard-count`, `--max-pages`, and\n`--codex-timeout-ms`, but label the result as a smoke run rather than a full\nlocal review.\n\n## Read The Artifact\n\nThe default OpenClaw report is written to:\n\n```text\n\u003Cartifact-dir>\u002F\u003Cissue-or-pr-number>.md\n```\n\nRead the artifact and summarize:\n\n- `review_status`\n- `main_sha`\n- `pull_head_sha` for PRs\n- decision\u002Fconfidence\u002Faction fields when present\n- findings or blockers\n- exact Codex\u002Fauth\u002Fruntime failure if the run failed\n\nIf the failure is Codex auth, stop after providing the local setup command. If\nthe failure is runner\u002Fruntime behavior, include the artifact path and a concise\nstderr or log summary.\n\n## Closeout\n\nBefore reporting success:\n\n- Confirm the command used `review --local-only` or `review --local-range`.\n- Confirm no GitHub comments, labels, merges, or apply commands were run.\n- Confirm the target checkout is still clean.\n- If findings exist, list the actionable items and the next local fix\u002Ftest step.\n- If no blockers exist, say the local ClawSweeper artifact found no blockers\n  and include the reviewed `main_sha` and PR head SHA when available.\n","# Local ClawSweeper Review\n\nUse this skill when someone wants read-only local ClawSweeper output before\nsubmitting, updating, or re-reviewing an issue or PR.\n\n## Safety Boundary\n\n- Run only `pnpm run review -- --local-only` for an existing GitHub item, or\n  `pnpm run review -- --local-range` for a pre-submission committed range.\n- Do not run `apply-artifacts`, `apply-decisions`, GitHub comment posting, or\n  merge\u002Fautofix commands unless the user explicitly asks for that mutation.\n- Do not print `OPENAI_API_KEY`, `CODEX_API_KEY`, `CODEX_ACCESS_TOKEN`, GitHub\n  tokens, or Codex auth material.\n- Treat generated review artifacts as local proof. Do not claim ClawSweeper\n  posted or synced anything unless a separate explicit mutation command did it.\n\n## Locate ClawSweeper\n\nPrefer the current repository when its `package.json` name is\n`@openclaw\u002Fclawsweeper`. Otherwise use a known clean local checkout:\n\n- Windows: `C:\\oc-work\\clawsweeper-source`\n- POSIX fallback: `~\u002FProjects\u002Fclawsweeper`\n\nInspect `git status --short` before making changes. If another ClawSweeper clone\nis dirty or ambiguous, do not use it for the local review runner.\n\n## First-Time Setup\n\nFrom the ClawSweeper checkout:\n\n```sh\ncorepack enable\npnpm install\npnpm run build:all\npnpm run codex:local:check -- --diagnostics\n```\n\nThe diagnostics mode checks the selected Codex binary and login status without\na model request. It does not prove model access or review readiness. Omit\n`--diagnostics` for the existing model smoke test, which consumes model usage.\n\nIf the Codex check says the CLI is not logged in, have the operator authenticate\ntheir own Codex CLI. Device auth is the simplest shareable setup:\n\n```sh\ncodex login --device-auth -c 'service_tier=\"fast\"'\n```\n\nFor API-key setup, pass the key through the shell only for the login command and\nthen clear it from the environment. Do not put the key in docs, scripts, shell\nhistory, or committed files.\n\nPowerShell:\n\n```powershell\n$env:OPENAI_API_KEY = Read-Host \"OpenAI API key\"\n$env:OPENAI_API_KEY | codex login --with-api-key -c 'service_tier=\"fast\"'\nRemove-Item Env:OPENAI_API_KEY\n```\n\nPOSIX shell:\n\n```sh\nprintf '%s' \"$OPENAI_API_KEY\" | codex login --with-api-key -c 'service_tier=\"fast\"'\nunset OPENAI_API_KEY\n```\n\nIf the wrong Codex binary is used, set `CODEX_BIN` in the local shell for that\nrun. Otherwise, `--local-only` uses the first spawnable `codex` command on\n`PATH`, including on Windows. If no Windows PATH command is spawnable, it falls\nback to the installed Codex Desktop binary.\n\n## Target Checkout Modes\n\nBy default, an exact local PR review manages its own target checkout under\n`artifacts\u002Flocal-review-\u003Cpr-number>\u002Ftarget`.\n\nBy default, `--local-range` reviews the clean checkout where the command was\ninvoked. It does not manage or switch that checkout. Pass `--target-dir` when\nthe branch to review is elsewhere.\n\nIn a built source checkout, `node dist\u002Fclawsweeper-local.js review` is the\nlocal-only entrypoint for the same full committed-range engine. Its `--help`\nand `--version` paths do not load the review engine or invoke Codex. It does not\nprovide diagnostics yet; `codex:local:check` remains the existing model smoke\ntest. This entrypoint does not publish hosted action-ledger or cache metadata.\n\nPass `--target-dir` when the operator wants to review an existing checkout or\nan issue.\n\nUse a clean target checkout of the repository being reviewed. Prefer a dedicated\nreview checkout if the normal worktree is dirty:\n\n- Windows: `C:\\oc-work\\clawsweeper-local-target-openclaw`\n- POSIX fallback: `..\u002Fopenclaw`\n\nBefore reviewing against `main`, update the target checkout only when it is\nclean:\n\n```sh\ngit -C \u003Ctarget-dir> status --short\ngit -C \u003Ctarget-dir> fetch origin main\ngit -C \u003Ctarget-dir> switch main\ngit -C \u003Ctarget-dir> pull --ff-only origin main\n```\n\nDo not switch branches, pull, or overwrite files in a dirty target checkout.\n\n## Run A Local Review\n\nUse the exact issue or PR number. If the number is not provided and the current\nbranch has an open PR, use `gh pr view --json number,url,headRefOid` to identify\nit.\n\nFrom the ClawSweeper checkout:\n\n```sh\npnpm run review -- --local-only --item-number \u003Cpr-number>\n```\n\nTo use a supplied checkout or review an issue:\n\n```sh\npnpm run review -- --local-only \\\n  --item-number \u003Cissue-or-pr-number> \\\n  --target-dir \u003Ctarget-dir>\n```\n\nTo review committed branch work before a PR exists:\n\n```sh\npnpm run review -- --local-range \\\n  --target-repo \u003Cowner\u002Frepo> \\\n  --base origin\u002Fmain\n```\n\nThe range is `merge-base(\u003Cbase>, HEAD)..HEAD`. It must be clean and contain at\nleast one commit beyond the base. This path withholds GitHub credentials,\nisolates cached `gh` auth, disables web search, and skips host-side URL\u002Fmedia\npreprocessing. It still calls the configured Codex model service; do not call it\nair-gapped or fully network-offline.\n\nThe exact local command prints a human-readable progress summary by default. Add\n`--verbose` only when debugging checkout, selection, or Codex process details.\n\nFor quick smoke tests, lower `--batch-size`, `--shard-count`, `--max-pages`, and\n`--codex-timeout-ms`, but label the result as a smoke run rather than a full\nlocal review.\n\n## Read The Artifact\n\nThe default OpenClaw report is written to:\n\n```text\n\u003Cartifact-dir>\u002F\u003Cissue-or-pr-number>.md\n```\n\nRead the artifact and summarize:\n\n- `review_status`\n- `main_sha`\n- `pull_head_sha` for PRs\n- decision\u002Fconfidence\u002Faction fields when present\n- findings or blockers\n- exact Codex\u002Fauth\u002Fruntime failure if the run failed\n\nIf the failure is Codex auth, stop after providing the local setup command. If\nthe failure is runner\u002Fruntime behavior, include the artifact path and a concise\nstderr or log summary.\n\n## Closeout\n\nBefore reporting success:\n\n- Confirm the command used `review --local-only` or `review --local-range`.\n- Confirm no GitHub comments, labels, merges, or apply commands were run.\n- Confirm the target checkout is still clean.\n- If findings exist, list the actionable items and the next local fix\u002Ftest step.\n- If no blockers exist, say the local ClawSweeper artifact found no blockers\n  and include the reviewed `main_sha` and PR head SHA when available.\n",{"name":5,"description":7},"main","62e2a1922c4b58c6c10b5ea7282171f7603545b7",".agents\u002Fskills\u002Flocal-clawsweeper-review",323,"https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fclawsweeper","https:\u002F\u002Fclawsweeper.bot","https:\u002F\u002Fgithub.com\u002Fopenclaw","https:\u002F\u002Fopenclaw.ai","Your personal, open source AI assistant.","2026-11-11 18:40:05",{"source":8,"skillName":5,"commands":42,"prompt":52,"zipAvailable":53},[43,46,49],{"tool":44,"command":45},"npx","npx skills add openclaw\u002Fclawsweeper --skill local-clawsweeper-review",{"tool":47,"command":48},"bunx","bunx skills add openclaw\u002Fclawsweeper --skill local-clawsweeper-review",{"tool":50,"command":51},"pnpm","pnpm dlx skills add openclaw\u002Fclawsweeper --skill local-clawsweeper-review","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fclawsweeper\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Flocal-clawsweeper-review\u002FSKILL.md",true,[55],{"path":56,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":59,"sourceHtmlUrl":60},"agents\u002Fopenai.yaml","REFERENCE","参考文档",216,"https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fclawsweeper\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Flocal-clawsweeper-review\u002Fagents\u002Fopenai.yaml",[62],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":26},"01M698R1EDD4MXCMV1XC6M7RKN","crabbox","Use the Crabbox wrapper for validation across Linux, macOS, Windows, and WSL2, including delegated Blacksmith Testbox proof. Report the actual provider and id.","https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fclawsweeper\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcrabbox\u002FSKILL.md",[],[64,69,70,71,72,73,74,75,76,77,78,79,80,81],"macos","linux","windows","report","validation","use","Wrapper","provider","across","id","proof","blacksmith testbox","for"]