youdotcom-oss/risk-analysis-server/drive-sweeps
Claude Code and agent skill by youdotcom-oss/risk-analysis-server
- community
Checking that the SKILL.md file is still in the repository.
Drive the risk-analysis MCP server from a chat client (Claude Desktop, Cursor, etc.). Use when connected to the risk-analysis server and asked to create risk profiles, run sweeps, or read risk reports — covers the two-call poll protocol (sweeps return a task_id immediately and run for 2-3 minutes in the background) and report retrieval via get_risk_report.
Install
npx vskill@latest install youdotcom-oss/risk-analysis-server/drive-sweepsSKILL.md
Drive risk sweeps from a chat client
The server exposes five tools. Work them in this order.
The tool set
| Tool | Purpose | |
|---|---|---|
list_risk_profiles | List active profiles with ids. Always call this first — do not recreate profiles that already exist. | |
set_risk_profile | Create or update a profile: title, locations, triggers. Returns the full profile JSON including id. | |
trigger_manual_sweep | Two entry points (see below). | |
get_risk_report | Fetch a completed briefing: defaults to latest, or pass report_id. Returns GFM Markdown plus a knowledge array (licensed facts with attribution/asOf) — summarize it, don't echo it. | |
set_sweep_schedule | Attach a cron expression to a profile ("0 9 * * 1"); omit the schedule to clear. Response names its scope: durable (server is a supervised service, cron keeps firing) or session (fires only while this client is connected). |
The sweep protocol (two calls)
- Start: call
trigger_manual_sweepwithprofileId. It returns
immediately — the tool does NOT block: { task_id, status: "working", next: "poll with task_id every ~20s" }.
- Poll: call
trigger_manual_sweepagain withtask_idevery ~20
seconds. While running: { task_id, status: "working", next: ... }. When done: { status: "completed", escalated, severity, reportId, threatProbability, usage, knowledgeHits } (or an error result with the failure reason). knowledgeHits counts licensed knowledge facts that reached the briefing — 0 is a valid result for news-shaped profiles. threatProbability is the raw triage noul behind the escalation decision; usage tallies the sweep's provider footprint (You.com search/contents calls, judgment tokens — Jev by default, or the sweep model's own JSON answers when RISK_JUDGE=qwen, which also tally a judgeMalformed parse-failure count).
- Read the report even when not escalated. Below-threshold sweeps
still persist a low-severity clean-sweep report (signals reviewed, triage score) — a report isn't always for action, sometimes it documents inaction. Summarize it the same way via get_risk_report.
Typical duration is 2-3 minutes (agentic search loop + judgment gates + cloud-model synthesis; the RISK_JUDGE=qwen ablation arm runs longer, 7-12 minutes). Never assume a timeout means failure — the sweep keeps running server-side; keep polling.
Reading the report
- Call
get_risk_report(optionally withreport_idfrom the outcome) and
summarize the briefing: severity, key findings with source links, and recommended mitigations. Knowledge facts cite their licensed provider and an as-of date — surface those attributions when they appear.
- Briefings are GFM Markdown — cite the key findings with their source
links and list the mitigations; the report HTML/iframe era is gone.
Gotchas
- Profiles are tenant-scoped; ids are random UUIDs. After a fresh
conversation, list_risk_profiles is the only reliable way to get one.
- Sweeps are per-profile. Splitting a profile by location is a workaround
for slow runs, not a requirement — prefer one profile per risk domain and let the pipeline cap payloads itself.
- Failed sweeps return
isErrorwith the upstream error (e.g.
max_tokens_exceeded, rate limits). Report the error verbatim; do not retry silently in a loop.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/drive-sweeps/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/youdotcom-oss/risk-analysis-server/drive-sweeps)