Releases: K-Dense-AI/claude-scientific-writer
Launching v2.12.0 β Infographics, Parallel Web Search & Venue Style Guides
New since v2.9.0:
- Infographics skill β AI-generated infographics with 10 types, 8 style presets, colorblind-safe palettes, and Gemini 3 Pro quality review. Use
--researchto pull live data before generating. - Parallel web search β All research queries now route through the Parallel Chat API. Faster, smarter routing between Parallel Deep Research and Perplexity based on query type.
- Venue writing style guides β Publication-ready style guides for Nature/Science, Cell Press, medical journals (NEJM/Lancet/JAMA), and ML/CS conferences (NeurIPS, ICML, ACL, CHI). Abstracts now default to flowing paragraphs.
- Model upgrade β All references updated to
claude-opus-4-6. - Citation hardening β BibTeX entries must have
volume,pages, andDOIbefore final compile. Research results now auto-saved tosources/for reproducibility. - Slides & posters β Cleaner slide output (no leftover
_v1/_v2files), formatting consistency protocol, and simplified poster layout rules.
Full Changelog: v2.9.0...v2.12.0
v2.9.0
π Release v2.9.0
Major release with enhanced citation verification and research workflows.
π§ Improvements
- Citation Verification - Enhanced process using WebSearch for metadata validation
- Research Lookup - Upgraded Sonar Pro to Sonar Pro Search for more accurate results
- Documentation - Updated output directory references throughout codebase
π¦ Installation
pip install scientific-writer==2.9.0Or with uv:
uv pip install scientific-writer==2.9.0π Full Changelog
See CHANGELOG.md for complete details.
v2.8.0 - Nano Banana Pro: AI-Powered Scientific Diagrams π¨
Scientific Writer 2.8.0 - Nano Banana Pro Scientific Schematics π¨
Release Date: November 20, 2025
π Headline Feature: AI-Powered Scientific Diagrams with Nano Banana Pro
Version 2.8.0 introduces Nano Banana Pro, a revolutionary AI-powered system for generating publication-quality scientific diagrams from natural language descriptions. No coding, no templates, no manual drawing requiredβjust describe what you want, and Nano Banana Pro creates it automatically.
β¨ Simply Describe Your Diagram
# CONSORT flowchart
python scripts/generate_schematic.py \
"CONSORT participant flow: screened n=500, excluded n=150, randomized n=350" \
-o consort.png
# Neural network architecture
python scripts/generate_schematic.py \
"Transformer architecture with encoder and decoder, show attention mechanism" \
-o transformer.png
# Biological pathway
python scripts/generate_schematic.py \
"MAPK signaling pathway: EGFR β RAS β RAF β MEK β ERK β nucleus" \
-o mapk.pngThat's it! Nano Banana Pro automatically:
- β Generates your diagram from the description
- β Reviews quality and identifies improvements
- β Iteratively refines the diagram (3 iterations by default)
- β Produces publication-ready output
π― What Makes Nano Banana Pro Special
1. Automatic Iterative Refinement
Nano Banana Pro doesn't just generate onceβit improves your diagram through an intelligent review cycle:
Iteration 1: Initial generation from your description
- AI evaluates: clarity, labels, accuracy, accessibility
- Scores the diagram (0-10) with specific critiques
Iteration 2: Improvements based on feedback
- Addresses specific issues identified in review
- Re-evaluates with updated quality assessment
Iteration 3: Final polished version
- Incorporates all feedback from previous iterations
- Publication-ready output
Example progression:
v1: Score 7.0 - "Good structure, but font size too small, labels overlap"
v2: Score 8.5 - "Much improved readability, minor spacing issues remain"
v3: Score 9.5 - "Excellent. Publication ready. Professional quality."
2. Built-In Scientific Quality Standards
Every diagram automatically follows best practices:
Visual Quality:
- Clean white/light backgrounds
- High contrast for readability
- Sharp, clear lines and text
- Professional appearance
Typography:
- Sans-serif fonts (Arial, Helvetica)
- Minimum 10pt font size
- Consistent sizing throughout
- No overlapping text
Scientific Standards:
- Accurate representation of concepts
- Clear labels for all components
- Appropriate scale bars, legends, axes
- Standard notation and symbols
Accessibility:
- Colorblind-friendly color palettes (Okabe-Ito scheme)
- High contrast ratios
- Grayscale-compatible designs
- WCAG 2.1 compliant
3. Universal Diagram Support
Nano Banana Pro works for any type of scientific diagram:
Clinical & Medical:
- CONSORT participant flowcharts
- Clinical trial designs
- Diagnostic algorithms
- Medical decision trees
- Patient treatment pathways
Computational & AI:
- Neural network architectures (CNNs, Transformers, RNNs)
- Algorithm flowcharts
- System architectures
- Data pipelines
- Software workflows
Biological & Chemical:
- Signaling pathways (MAPK, PI3K/AKT, etc.)
- Metabolic pathways
- Gene regulation networks
- Protein structures
- Chemical reaction schemes
Engineering & Physics:
- Circuit diagrams
- Block diagrams
- System architectures
- Signal processing flows
- Experimental setups
And Many More:
- Study designs
- Conceptual frameworks
- Process diagrams
- Organizational charts
- Timeline diagrams
4. Comprehensive Output
For every diagram, you receive:
your_diagram_v1.png # First iteration
your_diagram_v2.png # Second iteration
your_diagram_v3.png # Final polished version
your_diagram.png # Copy of final (for convenience)
your_diagram_review_log.json # Detailed quality assessment
Review Log Example:
{
"user_prompt": "CONSORT participant flow diagram...",
"iterations": [
{
"iteration": 1,
"image_path": "figures/consort_v1.png",
"score": 7.0,
"critique": "Good structure. Issues: font too small at 8pt (need 10pt+),
some labels overlap, arrows could be clearer.",
"success": true
},
{
"iteration": 2,
"score": 8.5,
"critique": "Much improved. Font now readable, labels clear.
Minor spacing issues in exclusion criteria box.",
"success": true
},
{
"iteration": 3,
"score": 9.5,
"critique": "Excellent. Publication ready. Professional quality,
clear hierarchy, excellent readability.",
"success": true
}
],
"final_image": "figures/consort_v3.png",
"final_score": 9.5,
"success": true
}π Real-World Examples
Example 1: Clinical Research
Prompt:
python scripts/generate_schematic.py \
"CONSORT participant flow diagram for RCT.
Assessed for eligibility (n=500).
Excluded (n=150): age<18 (n=80), declined (n=50), other (n=20).
Randomized (n=350) into Treatment (n=175) and Control (n=175).
Lost to follow-up: 15 and 10 respectively.
Final analysis: 160 and 165." \
-o figures/consort.pngResult: Professional CONSORT flowchart ready for journal submission
Example 2: Deep Learning Architecture
Prompt:
python scripts/generate_schematic.py \
"Transformer architecture. Left side: encoder with input embedding,
positional encoding, multi-head self-attention, feed-forward layers.
Right side: decoder with masked attention, cross-attention, feed-forward.
Show attention connections from encoder to decoder.
Label all components with dimensions." \
-o figures/transformer.png --iterations 5Result: Detailed architecture diagram suitable for conference papers
Example 3: Biological Pathway
Prompt:
python scripts/generate_schematic.py \
"MAPK signaling pathway showing activation cascade.
Start with EGFR receptor at membrane β RAS β RAF β MEK β ERK β nucleus.
Label each phosphorylation step. Use different colors for each kinase.
Include inhibitor binding sites." \
-o figures/mapk.pngResult: Publication-quality pathway diagram with proper biological notation
π Prompt Engineering Tips
β Effective Prompts (Specific & Detailed)
Good:
"CONSORT flowchart with vertical flow, top to bottom.
Screening box at top (n=500), exclusion criteria in middle (n=150),
randomization at bottom (n=350 split into two groups)"
Why it works:
- Specifies layout direction (vertical, top-to-bottom)
- Includes all quantitative details
- Describes structure clearly
- Mentions grouping explicitly
β Ineffective Prompts (Too Vague)
Bad:
"Make a flowchart"
Why it fails:
- No structural details
- No content specified
- No layout guidance
- Missing quantitative information
π Key Elements of Great Prompts:
-
Specify Layout:
- "Vertical flow, top to bottom"
- "Architecture with encoder on left, decoder on right"
- "Circular pathway around central hub"
-
Include Quantitative Details:
- "Neural network: input layer (784 nodes), hidden (128), output (10)"
- "Patient flow: n=500 screened, n=150 excluded, n=350 randomized"
- "Pathway with 5 phosphorylation steps"
-
Describe Visual Style:
- "Minimalist block diagram with clean lines"
- "Detailed biological pathway with protein structures"
- "Technical schematic with engineering notation"
-
Request Specific Labels:
- "Label all arrows with activation/inhibition"
- "Include layer dimensions in each box"
- "Show molecular weights for each protein"
-
Mention Color Requirements:
- "Use colorblind-friendly palette"
- "Grayscale-compatible design"
- "Color-code by function: blue=input, green=processing, red=output"
π Getting Started
Step 1: Get Your API Key
Visit https://openrouter.ai/keys to get your OpenRouter API key.
Step 2: Set Environment Variable
# One-time setup
export OPENROUTER_API_KEY='sk-or-v1-your_key_here'
# Make it permanent (add to ~/.bashrc or ~/.zshrc)
echo 'export OPENROUTER_API_KEY="sk-or-v1-your_key"' >> ~/.zshrc
source ~/.zshrcStep 3: Generate Your First Diagram
# Try a simple test
python scripts/generate_schematic.py \
"Simple flowchart with 3 boxes connected by arrows" \
-o test.png
# Check the outputs
ls test*.png # v1, v2, v3 versions
cat test_review_log.json # Quality scores and feedbackStep 4: Review the Results
Open the generated images:
test_v1.png- See the initial generationtest_v2.png- Notice the improvementstest_v3.png- Final polished version
Read the review log to understand the quality progression.
π§ Advanced Features
Custom Iteration Count
Need more refinement? Adjust the iteration count:
# 5 iterations for complex diagrams
python scripts/generate_schematic.py \
"Complex multi-layer neural network architecture" \
-o complex_nn.png \
--iterations 5Verbose Mode for Debugging
See detailed progress and API interactions:
python scripts/generate_schematic.py \
"diagram description" \
-o output.png \
-v # Verbose modePython API Integration
Use Nano Banana Pro programmatically in your own code:
from scripts.generate_schematic_ai import ScientificSchematicGenerator
# Initialize generator
generator = ScientificSchematicGenerator(
api_key="your_key_here",
verbose=True
)
# Generate with iterative refinement
results = generator.generate_iterative(
user_prompt="CONSORT flowchart for clinical trial",
output_path="figures/consort.png",
iterations=3
)
# Access results
print(f"Final quality score: {results['fina...v2.7.0 - Claude Code Plugin Focus
[2.7.0] - 2025-01-22
π― Claude Code Plugin Focus
This release emphasizes using Scientific Writer as a Claude Code (Cursor) plugin, making it easier than ever to access scientific writing capabilities directly in your IDE.
β¨ Added
Enhanced Plugin Experience
-
Streamlined Plugin Installation - Improved documentation and setup process for Claude Code plugin usage
- Clear step-by-step installation guide
- Marketplace integration instructions
- Local development and testing guide
- Troubleshooting for common plugin issues
-
Optimized Plugin Structure - Better organization for plugin usage
- All 19+ skills automatically available when plugin is installed
/scientific-writer:initcommand creates comprehensiveCLAUDE.mdconfiguration- Skills accessible directly in IDE without additional setup
- Template files optimized for plugin context
-
Plugin-First Documentation - Enhanced README with prominent plugin section
- Plugin installation prominently featured at the top
- Clear examples for using skills within Claude Code
- Plugin testing guide for developers
- Troubleshooting section for plugin-specific issues
π§ Improvements
Better IDE Integration
-
Seamless Skill Access - All skills work natively within Claude Code
- No need to switch between CLI and IDE
- Skills automatically discoverable via
@skill-namesyntax - Context-aware skill suggestions
- Direct file editing and creation within IDE
-
Improved Initialization Command - Enhanced
/scientific-writer:initexperience- Better handling of existing
CLAUDE.mdfiles - Backup and merge options for existing configurations
- Clear feedback on what was installed
- Summary of available skills and capabilities
- Better handling of existing
-
Plugin-Optimized Workflows - Workflows designed for IDE usage
- File operations work directly in project directory
- No need for separate data folders - use project structure
- Skills integrate with IDE's file system
- Better progress feedback within IDE context
π Documentation Updates
- Plugin Quick Start - New quick start guide for plugin users
- Plugin Examples - Real-world examples of using skills in Claude Code
- Skill Reference - Complete list of all 19+ available skills
- Troubleshooting - Common plugin installation and usage issues
π― Usage Examples
Plugin Installation
# Add marketplace
/plugin marketplace add https://github.com/K-Dense-AI/claude-scientific-writer
# Install plugin
/plugin install claude-scientific-writer
# Initialize in your project
/scientific-writer:initUsing Skills in Claude Code
# Create a paper (skill automatically used)
> Create a Nature paper on CRISPR gene editing
# Use specific skills
> @research-lookup Find recent papers on mRNA vaccines
> @peer-review Evaluate this manuscript
> @clinical-reports Create a case report for this patient
# Generate documents
> Create an NSF grant proposal for quantum computing
> Generate conference slides from my paper
> Create a research poster for NeurIPSπ‘ Key Benefits for Plugin Users
- No CLI Required - Everything works directly in Claude Code
- Instant Access - All 19+ skills available immediately after installation
- IDE Integration - Files created and edited directly in your project
- Context Aware - Skills understand your project structure
- Seamless Workflow - No switching between tools
π Migration from CLI to Plugin
For existing CLI users:
- Plugin provides same functionality with better IDE integration
- Skills work identically in both CLI and plugin modes
- Can use both CLI and plugin in the same project
- Plugin is recommended for IDE-based workflows
π¦ Plugin Structure
claude-scientific-writer/
βββ .claude-plugin/ # Plugin metadata (if exists)
βββ commands/ # Plugin commands
β βββ scientific-writer-init.md
βββ skills/ # All 19+ skills
β βββ research-lookup/
β βββ peer-review/
β βββ clinical-reports/
β βββ ... (16 more)
βββ templates/ # CLAUDE.md template
β βββ CLAUDE.scientific-writer.md
βββ ... (Python package files)
π¨ Plugin Features
- 19+ Specialized Skills - Research, writing, review, and more
- One-Command Setup -
/scientific-writer:initconfigures everything - Skill Discovery - Ask "What skills are available?" to see full list
- Direct Integration - Skills work with IDE's file operations
- Template System - Professional templates for all document types
v2.6.0 - Professional Hypothesis Generation Reports
β¨ New: Professional Hypothesis Generation Reports
Scientific Hypothesis Generation Framework
Generate publication-ready hypothesis reports with:
- 3-5 Competing Mechanistic Hypotheses - Evidence-based explanations with systematic evaluation
- Beautiful LaTeX Reports - Colored boxes for visual organization (blue, green, purple, teal, orange)
- 7-Dimensional Quality Assessment - Testability, falsifiability, parsimony, explanatory power, scope, consistency, novelty
- Comprehensive Citations - 50+ references (15-20 main text, 40-60+ appendices)
- Detailed Experimental Designs - Ready-to-implement testing strategies
Report Structure
Main Text (Concise, 8-14 pages):
- Executive Summary - One-page overview
- Competing Hypotheses - Each in dedicated colored box
- Testable Predictions - Specific, measurable predictions
- Critical Comparisons - How to distinguish between hypotheses
Appendices (Comprehensive):
- Literature Review (40-60+ citations)
- Detailed Experimental Designs
- Quality Assessment Tables
- Supplementary Evidence
Usage Examples
# Cancer biology
scientific-writer
> Why do some tumors respond to immunotherapy while others don't?
# Neuroscience
> What mechanisms could explain the therapeutic effect of ketamine in depression?
# Climate science
> Generate hypotheses for accelerated ice sheet melting in GreenlandScientific Rigor
- β Systematic literature search and synthesis
- β Multiple competing explanations (not just one)
- β Seven-dimensional quality evaluation
- β Detailed experimental test designs
- β Clear, falsifiable predictions
- β Professional LaTeX presentation
Installation
pip install scientific-writer==2.6.0
# or
uv pip install scientific-writer==2.6.0
# or
uvx scientific-writer@2.6.0Documentation
See CHANGELOG.md for full release notes.
Full Changelog: v2.5.0...v2.6.0
v2.5.0 - Scientific Slides & Presentation System π¨
Scientific Writer v2.5.0 - Scientific Slides & Presentation System π¨
We're excited to announce v2.5.0, a major update introducing professional scientific presentation generation capabilities!
π What's New
Professional Presentation Generation
Transform your research into beautiful, professional presentations with just a simple prompt:
scientific-writer
> Create a conference presentation on The AI Scientist frameworkKey Features:
- π― LaTeX Beamer Templates - Modern, professional designs optimized for academic settings
- π Automatic Content Structuring - AI-powered organization for visual delivery
- π¨ Beautiful Design - Clean aesthetics following academic best practices
- βΏ WCAG 2.1 Compliant - Accessible color schemes and layouts
- π Multiple Formats - Export to PDF and PowerPoint (PPTX)
- π Paper-to-Slides Conversion - Transform existing papers into presentations
Comprehensive Presentation Skill
The new scientific-slides skill includes extensive resources:
π Design Guidelines (663 lines)
- Visual hierarchy and layout principles
- Color theory and accessibility standards
- Typography best practices for presentations
- Data visualization guidelines
- Animation and transition recommendations
- Venue-specific formatting (conferences, seminars, posters)
π¦ Complete Resource Library
- Professional LaTeX Beamer templates
- PowerPoint conversion scripts
- Presentation assets (icons, diagrams)
- Example automation scripts
- Reference materials and best practices
PowerPoint Conversion Support
Generate presentations in multiple formats:
- Native LaTeX Beamer (PDF)
- PowerPoint (PPTX) via
python-pptx - Preserves layout, formatting, and design elements
- Supports complex slide structures and animations
π Usage Examples
CLI - Generate Conference Presentation
scientific-writer
> Create a 20-minute conference presentation on CRISPR gene editing
# The system will:
# β Generate professional Beamer slides
# β Structure content for the time limit
# β Include diagrams and figures
# β Compile to PDF
# β Optionally convert to PowerPointAPI - Programmatic Generation
import asyncio
from scientific_writer import generate_paper
async def main():
async for update in generate_paper(
"Create a research seminar presentation on machine learning in drug discovery"
):
if update["type"] == "progress":
print(f"[{update['percentage']}%] {update['message']}")
else:
print(f"β Presentation: {update['files']['pdf_final']}")
asyncio.run(main())Convert Existing Papers
# Place your paper in the data folder
cp my_paper.pdf data/
scientific-writer
> Convert this paper into a 15-minute department seminar presentation
# Creates:
# β Structured slides with key findings
# β Visual representations of data
# β Speaker notes
# β Time-optimized contentπ‘ Why This Matters
For Researchers:
- Save hours creating presentations from scratch
- Ensure professional quality for conferences and seminars
- Focus on content while AI handles design
- Accessible presentations following WCAG guidelines
For Institutions:
- Consistent, professional branding
- Rapid presentation creation for grant proposals
- Enhanced communication of research findings
- Integration with existing paper workflows
π¨ Design Philosophy
Built on evidence-based principles:
- Cognitive Load Theory - Minimize extraneous information
- Dual Coding Theory - Combine verbal and visual elements
- Evidence-Based Presentation - CONSORT/PRISMA standards
- Academic Communication - Nature, Science, Cell guidelines
π Real-World Examples
Check out presentations generated with v2.5.0:
- AI Scientist framework presentation (Sakana AI)
- CRISPR applications in agriculture
- Machine learning research seminars
- Clinical trial results presentations
π§ Installation
Install or upgrade to v2.5.0:
pip install --upgrade scientific-writer==2.5.0
# or
uv pip install scientific-writer==2.5.0
# or run directly
uvx scientific-writer@2.5.0π Documentation
All presentation capabilities are fully documented in:
scientific_writer/.claude/skills/scientific-slides/- Complete skill directoryassets/powerpoint_design_guide.md- 663-line comprehensive guide- Templates, scripts, and reference materials included
π― What's Next
Future enhancements planned:
- Additional presentation themes
- Interactive slide generation
- Enhanced animation support
- Collaboration features
π Acknowledgments
This release maintains backward compatibility with all existing features while adding powerful new presentation capabilities. The CLI and API experiences remain unchanged for existing users.
π Full Changelog
See CHANGELOG.md for complete release notes.
Quick Links:
- π¦ PyPI Package
- π Documentation
- π Report Issues
- π¬ Discussions
v2.4.0 - Smart File Routing and Enhanced Editing Workflow
Release v2.4.0 - Smart File Routing and Enhanced Editing Workflow
π― Overview
Version 2.4.0 introduces a Smart File Routing System that revolutionizes how files are organized and processed in the Scientific Writer. This release brings intelligent file categorization, a dedicated sources folder for reference materials, and refined editing mode detection for a more predictable and organized workflow.
β¨ Major New Features
π Smart File Routing System
The centerpiece of this release is the new intelligent file categorization system that automatically routes files to the appropriate folders based on their type and purpose:
-
π Manuscript files (
.texonly) βdrafts/folder- Triggers EDITING MODE for seamless editing workflow
- Only LaTeX files are now treated as editable manuscripts
- Clear indication that these files will be actively edited
-
π Source/Context files (
.md,.docx,.pdf) βsources/folder- NEW dedicated folder for reference materials
- Keep background documents, literature, and context organized
- Clear separation between reference and editable content
-
π Data files (
.csv,.json,.xlsx,.txt, etc.) βdata/folder- Datasets and structured data files
- Ready for analysis and integration into papers
-
πΌοΈ Image files (
.png,.jpg,.svg, etc.) βfigures/folder- All visual assets organized in one place
- Automatic integration into paper figures
-
π Other files β
sources/folder- Any unrecognized file types go to sources for context
π New Sources Directory
A brand new sources/ folder is now created for every paper project:
paper_outputs/YYYYMMDD_HHMMSS_topic/
βββ drafts/ # Editable manuscripts (.tex)
βββ sources/ # β¨ NEW: Reference materials (.md, .docx, .pdf)
βββ data/ # Datasets (.csv, .json, .xlsx)
βββ figures/ # Images (.png, .jpg, .svg)
βββ references/ # Bibliography (.bib)
βββ final/ # Published outputs
Benefits:
- Clear distinction between editable manuscripts and reference materials
- Better organization of complex projects with multiple document types
- Easy access to background materials without cluttering other folders
- Improved context management for AI-assisted writing
π§ Key Improvements
Enhanced Editing Mode Detection
EDITING MODE is now more precise and predictable:
- Before: Any manuscript file (
.tex,.md,.docx,.pdf) triggered editing mode - Now: Only
.texfiles indrafts/trigger EDITING MODE - Result: More predictable behavior with clear rules
Why this matters:
- PDF files are often reference materials, not editable sources
- Markdown and Word docs are typically background context
- LaTeX is the primary format for scientific manuscripts
- Users get exactly the behavior they expect
Improved File Processing
Major enhancements to file handling and user feedback:
- Separate Progress Counters - Distinct counts for manuscripts, sources, data, and images
- Clear Indicators - Shows exactly where each file is being copied
- Better Error Handling - More robust error handling during file operations
- Enhanced Feedback - Informative CLI output throughout the process
Example output:
β Copied 1 .tex manuscript(s) to drafts/ [EDITING MODE]
β Copied 2 source/context file(s) to sources/
β Copied 3 data file(s) to data/
β Copied 5 image(s) to figures/
β Deleted original files from data folder
Documentation Updates
Comprehensive updates to system instructions and user documentation:
- Updated
.claude/WRITER.mdwith new file routing rules - Enhanced CLI help text explaining file categorization
- Improved welcome message with clear file handling examples
- Better workflow documentation with practical use cases
ποΈ Cleanup
Removed Redundant Files
- Removed
CLAUDE.mdfrom project root- All system instructions now centralized in
.claude/WRITER.md - Reduces confusion and maintenance overhead
- Single source of truth for agent instructions
- All system instructions now centralized in
π‘ Key Benefits
For Users
β Better Organization - Files automatically go to the right place every time
β Predictable Behavior - Clear rules make the system easy to understand and use
β Enhanced Clarity - No more guessing where files will end up
β Improved Workflow - Manage complex projects with multiple file types effortlessly
β Better Context - Reference materials clearly separated from editable content
For Developers
β Cleaner Code - New helper functions for file categorization
β Better Extensibility - Easy to add new file types and routing rules
β Improved Testing - More testable file processing logic
β Enhanced Maintainability - Centralized file type definitions
π― Usage Example
Here's how the smart file routing works in practice:
# Place various files in the data folder
cp my_paper.tex data/ # β drafts/ (EDITING MODE)
cp background.pdf data/ # β sources/ (REFERENCE)
cp literature_review.docx data/ # β sources/ (REFERENCE)
cp dataset.csv data/ # β data/
cp results.json data/ # β data/
cp figure1.png data/ # β figures/
cp diagram.svg data/ # β figures/
# Run scientific writer
scientific-writer
# The system automatically:
# β Routes .tex to drafts/ and activates EDITING MODE
# β Copies .pdf and .docx to sources/ as reference material
# β Copies .csv and .json to data/ folder
# β Copies .png and .svg to figures/ folder
# β Provides clear feedback for each operation
> "Improve the introduction using the background material from sources/"π Technical Details
Files Modified
scientific_writer/cli.py- Enhanced file routing and user feedback (140+ lines changed)scientific_writer/core.py- New file categorization functions (52+ lines added)scientific_writer/utils.py- Added sources/ directory scanning.claude/WRITER.md- Updated file routing documentationscientific_writer/.claude/WRITER.md- Updated file routing rules
New Functions
get_source_extensions()- Returns source/context file extensionsget_data_extensions()- Returns data file extensions- Enhanced
process_data_files()- Implements smart routing logic - Updated
scan_paper_directory()- Includes sources/ folder
API Compatibility
β Fully backward compatible - No breaking changes to public API
β CLI unchanged - All existing commands work identically
β Programmatic API preserved - No changes to function signatures
π Installation
Install from PyPI
# Install latest version
pip install scientific-writer==2.4.0
# Or with uv
uv pip install scientific-writer==2.4.0
# Or run directly with uvx
uvx scientific-writer@2.4.0Upgrade from Previous Version
pip install --upgrade scientific-writerπ Release Statistics
- 8 commits since v2.3.2
- 6 files modified
- 188 insertions, 813 deletions
- Net reduction: 625 lines (improved code efficiency)
- 1 major feature added (Smart File Routing)
- 3 core improvements implemented
- 1 cleanup completed
π What's Next?
Looking ahead to future releases:
- Enhanced citation management with automatic DOI lookup
- Improved template system for journals and conferences
- Better integration with reference managers
- Enhanced peer review feedback system
- More output format options
π Acknowledgments
Thank you to all users who have provided feedback and suggestions. Your input directly shaped the improvements in this release, particularly around file organization and editing workflows.
π Additional Resources
- Documentation: docs/FEATURES.md
- API Reference: docs/API.md
- Troubleshooting: docs/TROUBLESHOOTING.md
- Changelog: CHANGELOG.md
- PyPI Package: https://pypi.org/project/scientific-writer/2.4.0/
π Bug Reports & Feature Requests
Found a bug or have a feature request? Please open an issue on GitHub:
https://github.com/K-Dense-AI/claude-scientific-writer/issues
Full Changelog: v2.3.2...v2.4.0
v2.3.2
[2.3.2] - 2025-11-06
π§ Improvements
- Package maintenance and version update
Installation:
pip install scientific-writer==2.3.2
# or
uv pip install scientific-writer==2.3.2
# or
uvx scientific-writer@2.3.2v2.3.0 - Edit Papers Anywhere π
Scientific Writer v2.3.0 - Edit Papers Anywhere π
π Write & Edit Scientific Papers Anywhere
This release introduces Manuscript Editing Mode - a powerful new workflow that lets you edit existing papers from anywhere! Simply place your manuscript file (.tex, .md, .docx, .pdf) in the data/ folder, and the system automatically recognizes it as an editing task.
β¨ What's New
Automatic Editing Mode Detection
The system now intelligently routes files based on their type:
| π File Type | π Destination | π― Purpose |
|---|---|---|
Manuscript files (.tex, .md, .docx, .pdf) |
drafts/ |
Editing existing manuscripts |
Image files (.png, .jpg, .svg, etc.) |
figures/ |
Figures for your paper |
Data files (.csv, .txt, .json, etc.) |
data/ |
Data for analysis |
How It Works
# 1. Place your manuscript in the data folder
cp my_research_paper.tex data/
# 2. Run scientific writer
scientific-writer
# The system automatically:
# β Detects it's a manuscript file
# β Copies it to drafts/ folder
# β Displays [EDITING MODE] indicator
# β Treats this as an editing task
# 3. Request your edits
> "Improve the introduction and add 5 more citations to the methods section"
# Result:
# - Original manuscript preserved
# - New version created (v2_my_research_paper.tex)
# - All changes documented in revision_notes.mdClear Visual Feedback
When editing mode is active, you'll see clear indicators:
β οΈ EDITING MODE - Manuscript files detected!
π¦ Processing files...
β Copied 1 manuscript file(s) to drafts/ [EDITING MODE]
β Copied 2 image(s) to figures/
β Deleted original files from data folder
π§ TASK: This is an EDITING task, not creating from scratch.
π Key Features
1. Works with Multiple Formats
- LaTeX (
.tex) - Your complete paper - Markdown (
.md) - Research notes or drafts - Word (
.docx) - Documents from collaborators - PDF (
.pdf) - Existing publications to revise
2. Smart File Organization
- Manuscripts automatically go to
drafts/folder - Images automatically go to
figures/folder - Data files stay in
data/folder - No manual organization needed!
3. Version Control Built-In
- Original manuscript preserved
- New versions created (v2, v3, etc.)
- Changes documented in
revision_notes.md - Full audit trail of all edits
4. Works in Both CLI and API
- Same behavior in interactive CLI mode
- Same behavior when using programmatic API
- Consistent experience everywhere
π‘ Use Cases
Edit a Paper from a Collaborator
# Collaborator sends you draft.docx
cp draft.docx data/
scientific-writer
> "Convert to LaTeX and add citations for all claims in the introduction"Improve an Existing LaTeX Paper
# Working on your submission
cp neurips_submission.tex data/
scientific-writer
> "Address reviewer comments: strengthen methods section and add ablation study"Revise Based on Feedback
# Got feedback from advisor
cp thesis_chapter.tex data/
scientific-writer
> "Rewrite the discussion section to address concerns about generalizability"π§ Technical Details
Files Modified
scientific_writer/.claude/WRITER.md- Added manuscript editing workflow instructionsscientific_writer/core.py- Added manuscript detection and routing logicscientific_writer/cli.py- Updated UI with editing mode indicatorsscientific_writer/api.py- Enhanced progress reporting for manuscripts
New Functions
get_manuscript_extensions()- Defines manuscript file types- Enhanced
process_data_files()- Routes files intelligently - Enhanced
create_data_context_message()- Provides editing mode context
Backward Compatibility
β 100% backward compatible
- All existing functionality preserved
- New behavior only activates for manuscript files
- No breaking changes to API or CLI
- Existing workflows continue to work
π¦ Installation
# Update to the latest version
cd claude-scientific-writer
git pull origin main
uv sync
# Verify installation
scientific-writer --version # Should show 2.3.0π Documentation
For detailed information, see:
- CHANGELOG.md - Complete version history
- WRITER.md - System instructions
- README.md - Full documentation
π― Example Workflow
Here's a complete workflow showing the power of editing mode:
# You receive a paper draft from a colleague
cp colleague_draft.docx data/
# Start scientific writer
scientific-writer
# Request comprehensive edits
> "Please:
1. Convert this Word document to LaTeX
2. Improve the introduction with better flow
3. Add 10 more recent citations (2023-2024)
4. Strengthen the methods section
5. Create a new figure summarizing the results
6. Format for Nature journal submission"
# The system will:
# β Recognize this as an editing task
# β Read the existing document
# β Apply all requested changes
# β Create properly versioned outputs
# β Document all changes
# β Generate publication-ready LaTeXπ What This Means for You
Before v2.3.0
- Had to manually specify you're editing
- Files could go to wrong folders
- No clear indication of editing vs. creation
- Manual file organization required
After v2.3.0
- β¨ Automatic detection of editing tasks
- β¨ Smart file routing by type
- β¨ Clear visual feedback throughout
- β¨ Zero manual organization needed
- β¨ Edit papers from anywhere!
π Summary
Version 2.3.0 makes it effortless to edit scientific papers from any source:
- Drop manuscript files in
data/folder - System automatically recognizes editing mode
- Smart routing to correct folders
- Clear feedback and version control
- Works with LaTeX, Markdown, Word, and PDF
Write and edit scientific papers anywhere! π
Full Changelog: CHANGELOG.md
Questions or Issues? Open an issue on GitHub or check the documentation.
v2.2.1 - Bug fixes and stability improvements
π§ Improvements
- Minor bug fixes and stability improvements
- Documentation updates
- Enhanced error handling
Installation
pip install scientific-writer==2.2.1or
uv add scientific-writer==2.2.1