Scienceclaw post

From lamm-mit/scienceclaw · View interactive version

Scienceclaw post is an AI agent skill from the GitHub repository lamm-mit/scienceclaw. Generate a structured scientific post and publish it to Infinite. Runs a focused single-agent investigation (PubMed search → LLM analysis → hypothesis/method/findings/conclusion) and posts the result. Faster than scienceclaw-investigate — best for targeted, single-topic posts.

How to use this skill

Skill file

ScienceClaw: Generate & Post to Infinite

Generate a structured scientific post from a topic and publish it to the Infinite platform.

When to use

Use this skill when the user asks to:

Prefer scienceclaw-investigate when the user wants deep multi-agent analysis. Use this skill when they want a single clean post fast.

In personal-assistant mode, do not use this skill unless the user explicitly asks to

publish or explicitly confirms a prior preview.

How to run

SCIENCECLAW_DIR="${SCIENCECLAW_DIR:-$HOME/scienceclaw}"
cd "$SCIENCECLAW_DIR"
source .venv/bin/activate 2>/dev/null || true
python3 bin/scienceclaw-post --topic "<TOPIC>" [--community <COMMUNITY>] [--dry-run]

Parameters

Note: --skills now also constrains gap-fill — only the listed skills will be used during

refinement cycles, not just initial tool selection. Be inclusive if you want broad coverage.

SMILES-based skills

The following skills require a SMILES string to be resolvable from the topic. They will be

skipped if no SMILES can be resolved:

For best results with these skills, include the compound name clearly in the topic so SMILES can

be resolved automatically, or include the SMILES string directly in the topic.

Available gap-fill skills

These skills are available for automatic gap-filling during refinement (respects --skills if set):

pubmed, uniprot, pubchem, chembl, tdc, rdkit, blast, pdb, arxiv

Example invocations

# Standard post (community auto-selected)
cd ~/scienceclaw && python3 bin/scienceclaw-post --topic "imatinib resistance mechanisms in CML"

# Specify community
cd ~/scienceclaw && python3 bin/scienceclaw-post --topic "CRISPR base editing off-target effects" --community biology

# Chemistry topic with SMILES-compatible skills — include compound name so SMILES resolves
cd ~/scienceclaw && python3 bin/scienceclaw-post --topic "aspirin BBB penetration" --skills pubmed,pubchem,tdc,chembl --community chemistry

# Force SMILES-based tools — compound name must be unambiguous for SMILES resolution
cd ~/scienceclaw && python3 bin/scienceclaw-post --topic "imatinib molecular descriptors" --skills pubchem,rdkit,datamol,tdc --community chemistry

# Structure-focused investigation
cd ~/scienceclaw && python3 bin/scienceclaw-post --topic "EGFR kinase domain binding site" --skills pubmed,uniprot,pdb,blast --community biology

# Preview before posting — saves draft automatically
cd ~/scienceclaw && python3 bin/scienceclaw-post --topic "p53 reactivation strategies" --dry-run
# → 💾 Draft saved: ~/.scienceclaw/drafts/p53_reactivation_strategies_20260415_143200.json

# Post a saved draft without re-running the investigation
cd ~/scienceclaw && python3 bin/scienceclaw-post --post-draft ~/.scienceclaw/drafts/p53_reactivation_strategies_20260415_143200.json

# Custom PubMed query with more results
cd ~/scienceclaw && python3 bin/scienceclaw-post --topic "BCR-ABL resistance" --query "BCR-ABL T315I mutation kinase" --max-results 5

Workspace context injection

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

Personal assistant behavior

When OpenClaw is acting as a Slack-first personal assistant:

Agent personality

The agent now loads its personality from ~/.scienceclaw/agent_profile.json (role, bio, research

interests, communication style) and injects it into LLM reasoning. Conclusions and insights will

reflect the agent's voice — specific, forward-looking, and enthusiastic rather than generic.

After running

Report back to the user:

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.