Borrowing it
Nothing to install: this file belongs to gaoconggit/SharpPad. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/gaoconggit/SharpPad/main/CLAUDE.mdgit clone --depth 1 https://github.com/gaoconggit/SharpPadWrote 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.
[](https://agentmods.dev/instructions/gaoconggit/sharppad/claude-md)<a href="https://agentmods.dev/instructions/gaoconggit/sharppad/claude-md"><img src="https://agentmods.dev/badge/instructions/gaoconggit/sharppad/claude-md/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.
<a href="https://agentmods.dev/instructions/gaoconggit/sharppad/claude-md"><img src="https://agentmods.dev/badge/instructions/gaoconggit/sharppad/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01723 | $0.01723 |
| Opus 5.5 | $0.00689 | $0.00689 |
| Sonnet 5.5 | $0.00345 | $0.00345 |
| Haiku 4.5 | $0.00172 | $0.00172 |
Grade A, and why
SharpPad CLAUDE.md 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 13d 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.
How it starts
The opening of the file, as written. The whole thing — 220 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Project Overview
SharpPad is a web-based C# code editor and execution platform similar to LinqPad, built with ASP.NET Core 9.0 and Monaco Editor. It combines Roslyn compiler services with modern web technologies to provide real-time code execution, IntelliSense, AI chat integration, and NuGet package management. The platform now includes both web and desktop versions.
Architecture
Three-Project Structure
- SharpPad/: Main ASP.NET Core 9.0 web application that serves the UI and provides API endpoints
- MonacoRoslynCompletionProvider/: .NET 9.0 library that handles all Roslyn-based code analysis, compilation, and IntelliSense features
- SharpPad.Desktop/: Avalonia-based desktop application that hosts the web UI in a WebView with native menus and system integration
Key Components
- Frontend: Monaco Editor with custom C# language provider, responsive UI with resizable panels
- Backend API: RESTful endpoints for code execution, completion, chat proxy, and file management
- Code Analysis Engine: Roslyn-based workspace management with NuGet integration and dynamic assembly loading
- AI Integration: GPT chat and code completion with configurable models and endpoints
Development Commands
Building the Project
# Build entire solution
dotnet build SharpPad.sln
# Build specific projects
dotnet build SharpPad/SharpPad.csproj
dotnet build MonacoRoslynCompletionProvider/MonacoRoslynCompletionProvider.csproj
# Release build
dotnet build -c Release
Running the Application
Web Application:
# Run web version in development mode
dotnet run --project SharpPad/SharpPad.csproj
# Run with specific environment
ASPNETCORE_ENVIRONMENT=Development dotnet run --project SharpPad/SharpPad.csproj
Desktop Application:
# Run desktop version
dotnet run --project SharpPad.Desktop/SharpPad.Desktop.csproj
# Build desktop releases
# Windows
.\build-desktop.ps1 -Configuration Release
# macOS/Linux
./build-desktop.sh --configuration Release
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.
- 13d ago First seen · 220 lines · 1,723 tokens per session scan A 4ce736c4685e
SharpPad CLAUDE.md is an instructions file published in the GitHub repository gaoconggit/SharpPad (83 stars, last pushed 7mo ago), licensed MIT. It adds 1,723 tokens to every session, about $0.0069 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-10-02.
Other instructions, from other repositories
plan-forge dapr.instructions.md
Dapr patterns for .NET — building blocks, component config, sidecar architecture, multi-tenant isolation, workflows, state management, secrets.
plan-forge auth.instructions.md
.NET authentication & authorization — JWT/OIDC, policy-based auth, multi-tenant isolation, API keys, testing.
plan-forge api-patterns.instructions.md
API patterns for .NET — REST conventions, ProblemDetails, pagination, versioning, error responses.
plan-forge messaging.instructions.md
Messaging patterns for .NET — Dapr Pub/Sub, MassTransit, NATS, RabbitMQ, CloudEvents.
plan-forge errorhandling.instructions.md
Error handling patterns — Exception hierarchy, ProblemDetails responses, error boundaries, global exception middleware.
plan-forge multi-environment.instructions.md
Multi-environment configuration — Dev/staging/production settings, environment detection, config management.