discovery-sweeplisted
Install: claude install-skill Smart-AI-Memory/attune-ai
# Discovery Sweep
**IMPORTANT: Start your response with a context preamble.**
Call `help_lookup(topic="discovery-sweep", mode="preamble")` and
display the returned `preamble` text as a blockquote. Then tell
the user they can say "tell me more" for a step-by-step guide, or
answer the scoping questions below to proceed.
If the MCP call fails, fall back to:
> **Discovery Sweep** — Fans out across every audit source
> (pattern scan, bug-predict, security, dependencies, performance,
> docs, tests), dedups overlapping findings, and triages everything
> into three buckets so you know what to fix first.
This is the aggregate "what should I fix?" pass. For a single
focused audit, use the dedicated skill instead — `security-audit`,
`bug-predict`, `code-quality`, or `deep-review`.
## Scoping
Before running, ask:
1. **Target path**: "Which files or directory should I sweep?"
Default to `src/` if not specified.
2. **Speed vs. depth**: "Fast pattern-only sweep, or include the
LLM-backed sources?" (LLM sources cost budget; pattern-only is
free and quick.)
3. **Budget**: only if including LLM sources — "Spend cap? Default
is $10.00."
## Execution
Call the `discovery_sweep` MCP tool with the scoped path:
```
discovery_sweep(path="<user-specified path>")
```
Optional knobs:
```
discovery_sweep(path="src/", no_llm=true) # fast, free
discovery_sweep(path="src/", budget_usd=5.0) # cap LLM spend
```
Or via CLI:
```bash
uv run attune workflow run discovery-