Skill flagged — suspicious patterns detected

ClawHub Security flagged this skill as suspicious. Review the scan results before using.

Debugging R Environment And Dependencies

v0.1.0

Diagnose and fix R environment issues, including package installation failures, dependency conflicts, system library problems, renv errors, and Bioconductor...

0· 378·0 current·0 all-time
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
VirusTotalVirusTotal
Suspicious
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description match the actual instructions: the skill diagnoses R version/package/renv/Bioconductor issues and proposes installing system libraries and compilers when needed. All required actions are proportional to fixing R environment problems.
Instruction Scope
SKILL.md stays within scope: it lists commands to check R and project files (renv.lock), suggests OS-specific package-manager commands, and recommends renv and BiocManager operations. It does not instruct reading unrelated system files, accessing external endpoints, or exfiltrating secrets.
Install Mechanism
Instruction-only skill with no install spec and no code files; nothing is downloaded or written by an installer. Risk from installation is low because the skill only suggests standard OS package-manager commands (apt/brew/dnf) rather than pulling archives from arbitrary URLs.
Credentials
The skill declares no required environment variables, credentials, or config paths. It may suggest system-level installs that require elevated privileges (sudo), which is appropriate for installing compilers or system libs but not a secret-exfiltration risk.
Persistence & Privilege
always is false and the skill does not request persistent agent privileges or modify other skills' configs. Autonomous invocation is allowed by platform default but is not unusual here and does not combine with other red flags.
Assessment
This skill appears to be what it claims: a troubleshooting guide for R environments. Things to keep in mind before using it: (1) many suggested fixes involve running OS package-manager commands (sudo apt / brew / dnf) and installing compilers—review any commands before executing them and run on a machine where you have permission to install system packages; (2) renv operations and lockfile updates will change project state—commit or back up your repo before making changes; (3) the skill does not ask for API keys or secrets, but some fixes (e.g., rJava) may require installing external software like a JDK—verify sources yourself; (4) if you want extra safety, have the skill produce the exact commands it would run and run them manually rather than allowing autonomous execution.

Like a lobster shell, security has layers — review code before you run it.

latestvk97cd4q72m6ksjc4z95j6kajbn81x94y

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

SKILL.md

Debugging R Environment and Dependencies

This skill focuses on resolving problems related to R environments rather than analysis logic. It helps restore a working setup so that R scripts and projects can run successfully.

Use this skill when the user encounters:

  • Package installation failures
  • Version conflicts between packages
  • renv or packrat environment issues
  • Bioconductor version mismatches
  • System dependency errors (e.g., missing compilers or libraries)
  • R failing to start or load packages

What This Skill Does

When activated, this skill will:

  1. Diagnose the environment

    • Check R version
    • Check installed packages and versions
    • Inspect renv.lock or project library
    • Identify Bioconductor version compatibility
  2. Resolve package installation issues

    • Suggest correct CRAN/Bioconductor repositories
    • Install missing system dependencies (e.g., libxml2, curl, openssl)
    • Handle compilation failures on Linux/macOS/Windows
  3. Fix dependency conflicts

    • Align package versions
    • Reinstall broken packages
    • Clean corrupted package libraries
  4. Repair project environments

    • Restore with renv::restore()
    • Rebuild renv.lock
    • Reinitialize project library if needed
  5. Bioconductor troubleshooting

    • Match Bioconductor version to R version
    • Use BiocManager::install() correctly
    • Resolve common bioinformatics package errors
  6. System-level troubleshooting

    • Install missing compilers (e.g., gcc, gfortran)
    • Install development libraries required for R packages
    • Fix PATH or permission issues

Example User Requests That Should Trigger This Skill

  • "I can't install tidyverse"
  • "This package fails with a compilation error"
  • "renv restore is broken"
  • "Bioconductor says my version is incompatible"
  • "library() fails even though the package is installed"
  • "R says shared object cannot be loaded"

Example Workflow

User: I get an error when installing sf.

Skill actions:

  • Detect missing system libraries (GEOS, GDAL, PROJ)
  • Provide OS-specific install commands
  • Retry R package installation
  • Confirm successful library loading

Common Problem Categories

CategoryExamples
Missing system libsxml2, curl, openssl, sf, rJava
Compiler issuesgfortran missing, Xcode tools missing
Version mismatchold R vs new package
Bioconductor mismatchwrong Bioc version for R
renv problemscorrupted cache, lockfile mismatch
Permission issuescannot write to library path

Notes

  • Do not modify analysis code unless necessary
  • Prefer fixing the environment over rewriting scripts
  • Always aim to make the project reproducible
  • Recommend renv for future environment stability

Files

6 total
Select a file
Select a file to preview.

Comments

Loading comments…