watchtower

작성자: nvidia

Tavily web_search, 선택적 Tavily 추출, 결정적 중복 제거/제외 필터링을 사용하여 주제 감시 목록에 대해 예약된 웹 감시 스윕을 실행합니다,…

npx skills add https://github.com/nvidia/nemoclaw-community --skill watchtower

watchtower

Sweep every topic in the active watchlist for genuinely new items, judge their relevance and significance, and write a cited digest plus a structured changelog.

Design principle

Scripts enforce mechanics; the agent makes editorial judgments. You choose search queries, assess source credibility, and judge relevance/significance. The scripts only decide mechanical questions: is this URL already seen, is the topic known, or is the host explicitly excluded? Never re-implement dedup or exclude filtering with your own judgment: always pipe candidates through diff_state.py, and always advance state through commit_state.py.

Hard rules:

  • Never fabricate URLs. Cite only URLs returned by web_search or fetched with tavily_extract from a surviving web_search URL in this run.
  • Optional seed_sources are search hints, not a hard allowlist. Interesting off-source results may be included when they are credible and relevant.
  • Optional exclude_domains are a hard negative filter. Do not resurrect items dropped by diff_state.py.
  • If you need page text beyond the web_search snippet, fetch only surviving URLs with tavily_extract. Never fetch result URLs with web_fetch, browser tools, curl, or custom HTTP scripts.
  • Never advance state before both output files are written.

Workspace root

Treat /sandbox/.openclaw/workspace as the run root. Resolve the supplied watchlist path relative to that directory, and write state/ and outputs/ directly beneath it. Do not create a nested workspace/watchtower/ directory. Because each exec call starts a new shell, use absolute paths or prefix each relative-path command with cd /sandbox/.openclaw/workspace &&.

Run identity

Set a run id at the start of the sweep: UTC date plus a short random suffix, e.g. 2026-07-06-k3f9. Use it in both output filenames and in every item committed to state.

Procedure

In the commands below, replace <watchlist_path> with the watchlist path supplied in the sweep request.

1. Validate the active watchlist

cd /sandbox/.openclaw/workspace && \
  python3 ~/.openclaw/skills/watchtower/scripts/validate_watchlist.py "<watchlist_path>"

If validation fails, stop and report the error. Do not sweep an invalid watchlist.

2. Search each topic broadly

For each topic, run 1-2 web_search queries built from the topic's query. Use optional fields as hints:

  • lookback_days: bias the query toward recent results, e.g. "past 30 days" or an equivalent time phrase.
  • seed_sources: run one source-biased query with site: operators when useful, but also allow a broader query so the sweep can find coverage elsewhere.
  • exclude_domains: do not manually apply these during search; diff_state.py enforces them in step 3.

Example query pair:

new sanctions designation specially designated nationals list update past 14 days
new sanctions designation specially designated nationals list update site:ofac.treasury.gov

3. Collect candidates and filter deterministically

Collect every result as a JSON line with fields topic_id, url, title, and any useful search-provided fields such as snippet or content; then pipe the batch through diff_state.py:

cd /sandbox/.openclaw/workspace && \
  <candidates.jsonl python3 ~/.openclaw/skills/watchtower/scripts/diff_state.py \
  --watchlist "<watchlist_path>" \
  --state state/seen.json >survivors.jsonl

Only items that are unseen, belong to a known topic, and do not match that topic's exclude_domains survive. Everything dropped here is dropped for a mechanical reason — do not resurrect filtered items.

4. Extract and judge survivors only

For each surviving item, judge relevance, source credibility, and significance against the topic's why_it_matters. Use the title and snippet/content returned by web_search; when you need fuller page text, call tavily_extract on the surviving URL. Do not extract anything that did not survive diff_state.py. Assign high, medium, or low.

If an item is real but noise (a minor patch note, a duplicate announcement of something already digested under another URL, an incidental page match), log it as skipped with a one-line reason instead of digesting it. When in doubt, include it as low rather than omitting it silently.

5. Write the digest and changelog

Write both files before touching state:

  • outputs/digest-<run-id>.md — per topic: what changed, why it matters (grounded in the topic's why_it_matters), source/credibility notes, and source links. If no topic produced anything new, write a short "no changes" digest saying which topics were swept.
  • outputs/changelog-<run-id>.json — a JSON array of {topic_id, url, title, significance, summary} for every digested item (empty array when nothing changed).

6. Commit state — only after both outputs exist

Pipe the digested items (now including run_id) to commit_state.py:

cd /sandbox/.openclaw/workspace && \
  <confirmed.jsonl python3 ~/.openclaw/skills/watchtower/scripts/commit_state.py --state state/seen.json

This ordering is the crash-safety contract: if the run dies before step 6, state has not advanced and the next sweep re-processes the same candidates instead of losing them. A re-processed item is cheap; a silently lost item is not.

Completion gate

Do not paste the digest body into the final chat response. A chat-only digest is a failed sweep. Before replying, verify that the current run's digest and changelog are non-empty files under /sandbox/.openclaw/workspace/outputs/ and that /sandbox/.openclaw/workspace/state/seen.json exists after the commit. If any check fails, continue working until all three artifacts pass. The final response should only summarize the run id, counts, and verified artifact paths.

nvidia의 다른 스킬

accelerated-computing-cudf
nvidia
공식 NVIDIA 작성 NVIDIA cuDF GPU 데이터프레임, pandas 가속, dask-cuDF, ETL, 조인, groupby, CSV/Parquet I/O, nullable 의미론 등에 대한 안내
accessibility
nvidia
정적 분석, 런타임 테스트, ARIA 패턴, 키보드 탐색, 색상 대비를 아우르는 통합 접근성 감사 워크플로입니다. 이 스킬을 사용하세요…
accessing-mlflow
nvidia
MLflow에 저장된 평가 결과를 조회하고 탐색합니다. 사용자가 호출 ID로 실행을 조회하거나, 모델 간 메트릭을 비교하거나, 아티팩트를 가져오려 할 때 사용하세요.
add-binding-feature
nvidia
핵심 런타임과 영향을 받는 모든 바인딩에서 공용 NeMo Relay API 표면을 추가하거나 변경합니다.
add-middleware
nvidia
NeMo Relay 미들웨어 파이프라인에 새로운 가드레일 또는 인터셉트 유형을 추가합니다.
aicr-analyzing-snapshots
nvidia
AICR 스냅샷 YAML 파일을 분석하거나, 클러스터 상태를 검토하거나, 공급자 특성을 비교하거나, GPU/네트워크 토폴로지 인사이트를 추출할 때 사용합니다...
aicr-auditing-docs
nvidia
AICR의 Markdown 문서를 검토할 때 중복, 표류, 비대, 공백을 확인하여 프로젝트가 발전함에 따라 문서의 가치를 높게 유지하기 위해 사용합니다. "감사…"로 시작하는 트리거에 반응합니다.
aicr-creating-guided-demos
nvidia
대화형 안내 데모 스크립트(demos/*.sh)를 라이브 또는 자기 주도 방식으로 Frame → Tell → Show → Close 패턴에 따라 구조화한다. "데모 스크립트", "안내…"와 같은 표현에 반응한다.