fsi

fsi is a skill for Claude Code, Codex from managedcode/dotnet-skills. It costs 143 tokens per session (1,631 once invoked), scanned A, original, MIT.

A command-line F# workspace for trying typed code, running .fsx script files, and testing .NET packages without creating a full application project.

In plain words
What is it for?
Use it for F# REPL sessions, small experiments, package-backed scripts, type exploration, and command-line probes.
Why use it?
It lets you investigate ideas and transform data quickly in a repeatable file before changing compiled code.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./scripts/check.fsx.

Good fit Use it for F# REPL sessions, small experiments, package-backed scripts, type exploration, and command-line probes.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/managedcode/dotnet-skills
agentmods
npx agentmods add skills/managedcode/dotnet-skills/fsi

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for fsi

README.md
[![agentmods](https://agentmods.dev/badge/skills/managedcode/dotnet-skills/fsi/github.svg)](https://agentmods.dev/skills/managedcode/dotnet-skills/fsi)
Your own site
<a href="https://agentmods.dev/skills/managedcode/dotnet-skills/fsi"><img src="https://agentmods.dev/badge/skills/managedcode/dotnet-skills/fsi/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for fsi

Your own site · 80×15
<a href="https://agentmods.dev/skills/managedcode/dotnet-skills/fsi"><img src="https://agentmods.dev/badge/skills/managedcode/dotnet-skills/fsi.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 143 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,631 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00143 $0.01631
Opus 5.5 $0.00057 $0.00652
Sonnet 5.5 $0.00029 $0.00326
Haiku 4.5 $0.00014 $0.00163

Measured 2mo ago against content hash 1ad610c5d8b4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

fsi scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

catalog/Tools/FSharp/skills/fsi/SKILL.md · 207 lines

How it starts

The opening of the file, as written. The whole thing — 207 lines — stays where its author put it; the contents beside it link to each section on GitHub.

F# Interactive

Trigger On

  • the task asks for F# Interactive, FSI, .fsx, or dotnet fsi
  • a quick typed experiment is needed before changing compiled project code
  • a script should reference NuGet packages directly with #r "nuget: ..."
  • an investigation needs quick access to F# type inference, pattern matching, or pipelines
  • a repeatable one-file probe is better than a temporary project

Do Not Use For

  • long-lived application code that needs a compiled .fsproj
  • production automation that should be versioned as a CLI, test project, or build target
  • C# script work
  • package restore from untrusted sources

Quick Start

Run an interactive REPL:

dotnet fsi

Run a script:

dotnet fsi scripts/check.fsx

Create a Unix executable script when that fits the repo:

#!/usr/bin/env -S dotnet fsi

printfn "Hello from FSI"
chmod +x scripts/check.fsx
./scripts/check.fsx

On Windows, run scripts with dotnet fsi scripts/check.fsx.

Workflow

  1. Decide whether the request is a disposable REPL probe, a repeatable .fsx script, or code that should be promoted to a compiled F# project.
  2. Put repeatable work in an .fsx file immediately. Add all required #r, #load, open, input path, and package source directives to the script instead of relying on hidden REPL state.
  3. Keep package references pinned when the script should be reproducible, and use only trusted NuGet feeds or local feeds derived from __SOURCE_DIRECTORY__.
  4. Run the script with dotnet fsi from a clean shell, passing the same arguments the user or CI will use.
  5. Promote the script to an .fsproj when it needs tests, distribution, project references, or long-term CI coverage.

Current Upstream Notes

  • The September 2026 F# Interactive reference keeps dotnet fsi as the supported command-line entry point for interactive sessions and .fsx scripts; it does not turn hidden REPL state into a reproducible workflow.
  • Use repeatable .fsx files with explicit #r "nuget: ..." and #load directives once an experiment affects a repository task; do not rely on hidden REPL state.

Read the full file on GitHub · 207 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · +8 lines 1ad610c5d8b4
  2. 2mo ago First seen · 199 lines · 143 tokens per session scan A df4a9c6c7018

Subscribe to this mod's changes

fsi is a skill published in the GitHub repository managedcode/dotnet-skills (527 stars, last pushed 16d ago), licensed MIT. It adds 143 tokens to every session and 1,631 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

fsi compared with skills from other repositories

fsi next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fsimanagedcode/dotnet-skillsSkill52716d agoMITA143Claude Code, Codex
clean-architecture-dotnetSebastienDegodez/copilot-instructionsSkill19923d agoApache-2.0A50Claude Code, Codex
creating-dotnet-mcp-serversSebastienDegodez/copilot-instructionsSkill19923d agoApache-2.0A43Claude Code, Codex
jackson-3-migrationnavikt/copilotSkill65yesterdayMITA53Claude Code, Codex
java-to-kotlinnavikt/copilotSkill65yesterdayMITA35Claude Code, Codex
rust-developmentnavikt/copilotSkill65yesterdayMITA27Claude Code, Codex
spring-boot-scaffoldnavikt/copilotSkill65yesterdayMITA32Claude Code, Codex