cluade-scientific-writer-wrapper
by @josephyb97
AI-powered scientific writing tool. Generate publication-ready papers, grant proposals, posters, and more with real-time research and verified citations.
clawhub install cluade-scientific-writer-wrapperπ About This Skill
name: scientific-writer description: AI-powered scientific writing tool. Generate publication-ready papers, grant proposals, posters, and more with real-time research and verified citations. metadata: { "openclaw": { "emoji": "π¬", "requires": { "bins": ["python3", "pip"], "env": ["ANTHROPIC_API_KEY"] } } }
Scientific Writer
AI-powered scientific writing tool that combines deep research with well-formatted outputs.
Installation
pip install scientific-writer
Prerequisites
Set API keys:
export ANTHROPIC_API_KEY='your_key'
or create .env file
echo "ANTHROPIC_API_KEY=your_key" > .env
Usage
As Python API
import asyncio
from scientific_writer import generate_paperasync def main():
async for update in generate_paper(
query="Create a Nature paper on CRISPR gene editing...",
data_files=["editing_efficiency.csv", "western_blot.png"]
):
if update["type"] == "progress":
print(f"[{update['stage']}] {update['message']}")
else:
print(f"β PDF: {update['files']['pdf_final']}")
asyncio.run(main())
Via OpenClaw exec
# Run scientific writer
python3 -c "
import asyncio
from scientific_writer import generate_paperasync def main():
async for update in generate_paper(
query='Create a paper on your topic...',
data_files=[]
):
print(update)
asyncio.run(main())
"
Available Skills (when used as plugin)
scientific-schematics - AI diagram generation (CONSORT, neural networks, pathways)research-lookup - Real-time literature searchpeer-review - Systematic manuscript evaluationcitation-management - BibTeX and reference handlingclinical-reports - Medical documentationresearch-grants - NSF, NIH, DOE proposal supportscientific-slides - Research presentationslatex-posters - Conference poster generationhypothesis-generation - Scientific hypothesis developmentOutput
Notes
data/ folder (images β figures/, data β data/)writing_outputs/π‘ Examples
As Python API
import asyncio
from scientific_writer import generate_paperasync def main():
async for update in generate_paper(
query="Create a Nature paper on CRISPR gene editing...",
data_files=["editing_efficiency.csv", "western_blot.png"]
):
if update["type"] == "progress":
print(f"[{update['stage']}] {update['message']}")
else:
print(f"β PDF: {update['files']['pdf_final']}")
asyncio.run(main())
Via OpenClaw exec
# Run scientific writer
python3 -c "
import asyncio
from scientific_writer import generate_paperasync def main():
async for update in generate_paper(
query='Create a paper on your topic...',
data_files=[]
):
print(update)
asyncio.run(main())
"
βοΈ Configuration
Set API keys:
export ANTHROPIC_API_KEY='your_key'
or create .env file
echo "ANTHROPIC_API_KEY=your_key" > .env
π Tips & Best Practices
data/ folder (images β figures/, data β data/)writing_outputs/