--- name: "gitcrawl" description: "GitHub archive: issue/PR search, sync freshness, duplicate clusters, gh-shim PR status, and Gitcrawl repo work." --- # Gitcrawl Use local GitHub issue/PR archives before live GitHub search. Check freshness first: ```bash gitcrawl doctor --json ``` Find candidates: ```bash gitcrawl threads openclaw/openclaw --numbers --include-closed --json gitcrawl neighbors openclaw/openclaw --number --limit 12 --json gitcrawl search issues "query" -R openclaw/openclaw --state open --json number,title,url gitcrawl clusters openclaw/openclaw --sort size --min-size 5 gitcrawl cluster-detail openclaw/openclaw --id ``` For PR triage, start cached and go live only before mutation/merge decisions: ```bash gitcrawl gh pr status -R openclaw/openclaw --compact gitcrawl gh pr view -R openclaw/openclaw --json number,title,state,url,isDraft,headRef,headSha gitcrawl gh --live pr status -R openclaw/openclaw --compact ``` Use live `gh` plus checkout proof before commenting, labeling, closing, reopening, merging, or filing a PR review: ```bash gh pr view --json number,title,state,mergedAt,body,files,comments,reviews,statusCheckRollup gh issue view --json number,title,state,body,comments,closedAt ``` Report absolute dates, repo names, issue/PR numbers, cluster ids, and source gaps. Do not close/label from similarity alone; require matching intent plus live verification. ## Parameters The typed contract this capability answers to (JSON Schema — the deterministic layer): ```json { "type": "object", "properties": { "number": { "type": "string", "description": "Derived from `` used in the documented command at line 30." } }, "required": [] } ``` ## Deterministic steps Lifted verbatim from the procedure above by `toaster.py toast`. Run them in order, substituting the typed parameters; do not paraphrase: ```bash gh gh pr view --json number,title,state,mergedAt,body,files,comments,reviews,statusCheckRollup gh issue view --json number,title,state,body,comments,closedAt ``` ## Parameters The typed contract this capability answers to (JSON Schema — the deterministic layer): ```json { "properties": { "number": { "description": "Derived from `` used in the documented command at line 30.", "type": "string" } }, "required": [], "type": "object" } ```