Skip to content

loganylchen/opencode-scientific-writer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenCode Scientific Writer Plugin

License: MIT

A comprehensive scientific writing plugin for OpenCode with 24 specialized agents for academic research and writing.

Features

  • Scientific papers with IMRAD structure (Nature, Science, NeurIPS, etc.)
  • Clinical reports (case reports, diagnostic reports, trial reports)
  • Research posters using LaTeX (beamerposter, tikzposter, baposter)
  • Grant proposals (NSF, NIH, DOE, DARPA) with agency-specific formatting
  • Literature reviews with systematic citation management
  • AI-powered diagrams and scientific schematics
  • Peer review feedback with quantitative scoring

Installation

Method 1: Direct Clone (Recommended)

# Clone to your OpenCode plugins directory
git clone https://github.com/loganylchen/opencode-scientific-writer.git ~/.opencode/plugins/opencode-scientific-writer

Method 2: Manual Download

  1. Download this repository
  2. Copy to ~/.opencode/plugins/opencode-scientific-writer/
  3. Restart OpenCode

Method 3: Global Config

Add to your ~/.config/opencode/opencode.json:

{
  "$schema": "https://opencode.ai/config.json",
  "plugin": ["opencode-scientific-writer"]
}

Then run:

opencode installation update

Available Agents

Agent Description
@scientific-writing Core agent for manuscripts and papers
@research-lookup Real-time research information lookup
@peer-review Systematic peer review toolkit
@literature-review Comprehensive systematic literature reviews
@citation-management Citation search and BibTeX generation
@scientific-schematics AI-powered diagram generation
@research-grants Grant proposal writing (NSF, NIH, DOE, DARPA)
@clinical-reports Clinical documentation
@clinical-decision-support Evidence-based clinical decision support
@hypothesis-generation Scientific hypothesis development
@scientific-slides Research presentations
@latex-posters LaTeX conference posters
@pptx-posters PowerPoint posters
@infographics Scientific infographics
@market-research-reports Market analysis reports
@treatment-plans Patient treatment planning
@venue-templates Venue-specific formatting guides
@scientific-critical-thinking Critical evaluation frameworks
@scholar-evaluation Research quality assessment
@parallel-web Parallel web search
@paper-2-web Convert papers to web content
@markitdown Document conversion (PDF, DOCX, etc.)
@document-skills Document manipulation
@generate-image AI image generation

Usage

Once installed, start OpenCode and use any agent with the @ notation:

opencode

# Write a scientific paper
> @scientific-writing Write a Nature paper on CRISPR gene editing

# Look up research
> @research-lookup Find recent papers on mRNA vaccines (2022-2024)

# Create a grant proposal  
> @research-grants Write an NSF proposal for quantum computing research

# Generate figures
> @scientific-schematics Create a CONSORT diagram for my clinical trial

# Peer review
> @peer-review Evaluate this manuscript for methodological rigor

Plugin Structure

~/.opencode/plugins/opencode-scientific-writer/
├── index.js          # Plugin entry point - registers 24 tools
├── package.json      # Plugin metadata
├── README.md         # This file
├── .gitignore        # Git ignore rules
└── agents/           # 24 agent instruction files
    ├── scientific-writing.md
    ├── research-lookup.md
    ├── peer-review.md
    └── ... (21 more)

Requirements

  • OpenCode >= 1.2.15
  • Node.js >= 18 (for plugin system)

Acknowledgments

This plugin is a community port of the original Claude Scientific Writer by K-Dense Inc.

We thank the original authors for creating this comprehensive scientific writing toolkit and making it available under the MIT license. This conversion enables OpenCode users to benefit from the same powerful research and writing capabilities.

For end-to-end scientific writing with advanced features like deep scientific search and enterprise solutions, visit www.k-dense.ai.

License

MIT License - see LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit issues or pull requests.

Support

About

OpenCode plugin for scientific writing - converted from Claude Scientific Writer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors