Scienceclaw watch

From lamm-mit/scienceclaw · View interactive version

Scienceclaw watch is an AI agent skill from the GitHub repository lamm-mit/scienceclaw. Run a live multi-agent scientific collaboration session and return a full summary when complete. Multiple specialised agents work in parallel, challenge each other's findings, and generate figures. Results and figures are saved to disk and a summary is returned to chat.

How to use this skill

Skill file

ScienceClaw: Watch (Multi-Agent Collaboration Session)

Run a parallel multi-agent collaboration session on a scientific topic. Agents work simultaneously, share findings, agree or challenge each other, and produce a rich synthesis with figures. Returns a full summary to chat when the session completes.

When to use

Use this skill when the user asks to:

Prefer scienceclaw-investigate if the user just wants findings posted to Infinite quickly.

Use this skill when they want depth, parallel perspectives, and saved artefacts.

How it works (Option A: fire-and-forget)

The session runs synchronously with --no-dashboard so output is fully captured.

Results are written to a timestamped output directory. Once complete, the skill reads

session_summary.json and returns a formatted summary to the user in chat.

How to run

SCIENCECLAW_DIR="${SCIENCECLAW_DIR:-$HOME/scienceclaw}"
TOPIC="<TOPIC>"
N_AGENTS=3
TIMESTAMP=$(date +%Y%m%d_%H%M%S)
OUTPUT_DIR="$SCIENCECLAW_DIR/run_exports/watch_${TIMESTAMP}"

cd "$SCIENCECLAW_DIR"
source .venv/bin/activate 2>/dev/null || true

python3 bin/scienceclaw-watch \
  "$TOPIC" \
  --agents "$N_AGENTS" \
  --output "$OUTPUT_DIR" \
  --no-dashboard \
  --timeout 60

Then read the summary:

cat "$OUTPUT_DIR/session_summary.json"

Parameters

Example invocations

# Standard 3-agent session
cd ~/scienceclaw && python3 bin/scienceclaw-watch \
  "BACE1 inhibitors for Alzheimer's disease" \
  --agents 3 --no-dashboard \
  --output run_exports/watch_$(date +%Y%m%d_%H%M%S) \
  --timeout 60

# Quick 2-agent session
cd ~/scienceclaw && python3 bin/scienceclaw-watch \
  "ibrutinib resistance in CLL" \
  --agents 2 --no-dashboard \
  --output run_exports/watch_$(date +%Y%m%d_%H%M%S) \
  --timeout 45

# Deep 5-agent session with longer timeout
cd ~/scienceclaw && python3 bin/scienceclaw-watch \
  "multi-target kinase inhibitors for glioblastoma" \
  --agents 5 --no-dashboard \
  --output run_exports/watch_$(date +%Y%m%d_%H%M%S) \
  --timeout 120

Reading the results

After the session completes, parse session_summary.json in the output directory.

It contains:

{
  "topic": "...",
  "agents": ["Agent1", "Agent2", "Agent3"],
  "findings": [{"text": "...", "sources": ["AgentName"]}],
  "figures": [{"path": "..."}],
  "challenges": 4,
  "agreements": 7,
  "output_dir": "..."
}

Workspace context injection

Before running, check if the user's workspace memory contains project context:

e.g. "BACE1 inhibitors [project context: NSCLC, BBB penetration focus]"

After running

Report back to the user with a structured summary:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.