Builds local semantic review slices by combining clawpatch feature maps, deepsec threat candidates, visual review maps, and optional gitcrawl/discrawl evidence for large repos.
Ships in semantic-slicing. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Turn a large repo into reviewable semantic slices with evidence. Use code shape, threat candidates, issue clusters, and support chatter together so review budget lands on the right parts of the system.
Default stance: map locally first, rank second, spend agent/security-review budget last.
openclaw/clawpatch against a target repo.vercel-labs/deepsec against a target repo.gitcrawl issue/PR data or discrawl Discord/support data.AGENTS.md; subtree guides matter when reviewing a slice.clawpatch: clone/build openclaw/clawpatch, then run clawpatch init, clawpatch map, clawpatch status.deepsec: clone/build vercel-labs/deepsec, scaffold a scratch workspace, then run deepsec scan.gitcrawl: run gitcrawl doctor --json, then pull clusters/threads for related issue evidence.discrawl: run discrawl doctor --json and discrawl status --json; use search/digest only when support chatter is relevant.scripts/semantic-map.mjs to merge the evidence into JSON on stdout.
--out <path> only for a requested deliverable or required evidence. It retains HTML and JSON by default.--format html|json|both to select output. A single format writes only the exact --out path.--no-sparse or --sparse false for the full repo; use --sparse-exclude <csv> and --sparse-include <csv> to tune the filter.low: deterministic maps only; no deepsec process or real clawpatch review.medium: one to three explicit files/features with high-risk slugs, batch size 1, concurrency 1, and a turn cap.high: broader AI processing or multiple feature reviews; requires an explicit budget/time decision.clawpatch review --feature <id> or a small --limit.deepsec process --files <csv> or tightly scoped --filter plus --only-slugs.stateDiagram-v2
[*] --> ReadScopeAndInstructions
ReadScopeAndInstructions --> ReuseToolState
ReuseToolState --> CreateTemporaryState: required by selected tool
ReuseToolState --> DeterministicMaps: existing state sufficient
CreateTemporaryState --> DeterministicMaps
DeterministicMaps --> MergeEvidence
MergeEvidence --> ReviewBoard: visual board requested
MergeEvidence --> ChooseCostSize: inspect stdout map
ReviewBoard --> ChooseCostSize
state ChooseCostSize <<choice>>
ChooseCostSize --> ReportResults: low, no AI processing
ChooseCostSize --> TargetedAIReview: medium, explicit files and bounded controls
ChooseCostSize --> BroadAIReview: high, explicit budget and time decision
ChooseCostSize --> ReportBlocked: required budget or tool unavailable
TargetedAIReview --> ReportResults
BroadAIReview --> ReportResults
ReportResults --> [*]
ReportBlocked --> [*]
target_repo: local checkout path and/or GitHub owner/repo.scratch_root: optional task-owned temporary directory for tools that require physical state.out: optional requested deliverable or required evidence path. Omit it for stdout.format: html, json, or both. Default: json without out, otherwise both.clawpatch_repo: local clone of openclaw/clawpatch, optional if clawpatch is already on PATH.deepsec_repo: local clone of vercel-labs/deepsec, optional if deepsec is already on PATH.focus: optional path prefixes, issue numbers, slugs, components, or channels to prioritize.sparse: optional map filter, default true; excludes dotfile/config, docs/changelog, and mobile app paths unless configured.cost_size: low, medium, or high; default low.budget_mode: map-only, targeted-ai, or full-ai; default follows cost_size.--repo: CODEOWNERS routing, tracked files, code/test/doc shape, 90-day churn, and test-gap pressure.deepsec process or broad clawpatch review without an explicit high-cost decision; these can be expensive and noisy..claude/, .codex/, .agents/, .deepsec/, .semantic-slicing/.references/workflow.md for concrete local setup and run commands.references/slicing-taxonomy.md when choosing slice types or map layers.references/openclaw-profile.md when the target is openclaw/openclaw.agents/openai.yaml (opens in a new tab)assets/icon.jpg (opens in a new tab)references/openclaw-profile.md (opens in a new tab)references/slicing-taxonomy.md (opens in a new tab)references/workflow.md (opens in a new tab)scripts/semantic-map.mjs (opens in a new tab)scripts/semantic-map.test.mjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
/semantic-slicing:semantic-slicingfrom semantic-slicing
npx claudepluginhub vincentkoc/dotskills --plugin semantic-slicingOther plugins' skills for the same job