# oleg-shilo/cs-script

C# scripting platform

Repository: https://github.com/oleg-shilo/cs-script
Canonical: https://ross.abutalabs.com/products/cs-script
Homepage: http://www.cs-script.net
Language: C#
License: MIT
License Family: permissive
Last push: 2026-06-23T12:33:17+00:00

## Health v2 (maintenance only)
Score: 91/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 89, release rhythm 89, longevity 100
- inputs: {"age_days": 3882, "days_push": 71, "days_rel": 76, "gap_med": 10.0, "n_releases_24m": 43}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1868, forks 268 (observed 2026-08-28T04:05:46.419978+00:00)

## What it is
CS-Script is a CLR-based scripting platform that uses ECMA-compliant C# as its scripting language, supporting both standalone CLI execution and hosted in-process execution within .NET applications. It is one of the most mature C# scripting solutions, available since 2004, with integrations for Visual Studio, VSCode, Sublime Text, and Notepad++.

## Use cases
- run C# scripts from the command line instead of PowerShell or Bash
- embed a C# script engine in a .NET application to execute user scripts at runtime
- quickly prototype C# code without creating a full project
- automate tasks using C# as a scripting language
- edit and run C# scripts in VSCode or Notepad++

## When to choose
- you want a C# alternative to PowerShell or Bash scripting
- you need to extend a .NET application with runtime-executable user scripts
- you prefer strongly-typed C# syntax for automation and tooling
- you need cross-platform C# scripting on Windows, Linux, and macOS

## When to avoid
- you need a general-purpose scripting language with a large scripting ecosystem like Python
- your team primarily works outside the .NET ecosystem
- you need lightweight dynamic scripting without compilation overhead

## Facets
- artifact type: framework
- maturity: stable
- function: interpreter, cli, developer-tools
- domain: programming-languages, developer-tools
- platform: cross-platform, windows, dotnet, cli
- tags: c-sharp, scripting, clr, roslyn, powershell-alternative, script-hosting, command-line, automation, linux, macos

## Member repositories
- oleg-shilo/cs-script (main) score 91

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:46.419978+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:15:16.249743+00:00, confidence not recorded.
  - readme: https://github.com/oleg-shilo/cs-script (fetched 2026-08-28T04:05:46.419978+00:00, sha ba2c945b053f)
  - homepage: http://www.cs-script.net (fetched 2026-08-29T10:54:15.168566+00:00, sha 66a80062fb1a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
