🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

PatSight-MolVision

by @snailwhb

PatSight MolVision molecular image recognition: calls Patent Extractor API on 1-N structure images, returns SMILES/SDF and compute properties by rdkit. First...

Versionv1.0.1
πŸ’‘ Examples

# Basic OCSR on images (backward compatible: omit "patent" subcommand)
uv run python skills/ocsr/scripts/run_ocsr.py mol1.png mol2.png

With output directory

uv run python skills/ocsr/scripts/run_ocsr.py patent mol1.png mol2.png --outdir ./ocsr_output

With token

uv run python skills/ocsr/scripts/run_ocsr.py patent image.jpg --token $PATSIGHT_TOKEN

With account credentials

uv run python skills/ocsr/scripts/run_ocsr.py patent image.png --account user --password pass

βš™οΈ Configuration

| Option | Description | Default | |--------|-------------|---------| | --outdir

| Output directory | ./ocsr_output | | --request-id | Request ID for tracking | timestamp (ms) | | --base-url | API base URL | PATSIGHT_BASE_URL or https://patent.xinsight-ai.com/patent/api | | --account | patsight account (auto-fetch token) | PATSIGHT_ACCOUNT | | --password | patsight password (auto-fetch token) | PATSIGHT_PASSWORD | | --timeout | HTTP timeout in seconds | 180 | | --panel-image-size | Molecule block size in report image | 300 |

πŸ“‹ Tips & Best Practices

  • 1-N images: Accept multiple image files in one run
  • Token priority: Command-line --token > PATSIGHT_TOKEN > --account/--password > env vars
  • RDKit: If parsing fails, raw result is preserved and properties marked unavailable
  • Partial failure: If some files fail, processing continues and reports partial success
  • View on ClawHub
    TERMINAL
    clawhub install ocsr

    πŸ§ͺ Use this skill with your agent

    Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

    πŸ” Can't find the right skill?

    Search 60,000+ AI agent skills β€” free, no login needed.

    Search Skills β†’