with one click
spy-run
Compile and run a Sharpy source file or inline source code
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Compile and run a Sharpy source file or inline source code
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | spy-run |
| description | Compile and run a Sharpy source file or inline source code |
| argument-hint | <file.spy or inline source> |
Compile and execute Sharpy source. Accepts either a file path or inline source code.
Usage:
/spy-run path/to/file.spy — run a .spy file/spy-run x: int = 42\nprint(x) — run inline source (no temp file management needed by caller)Behavior:
Log location: .claude/tmp/last-spy-run.log
$ARGUMENTS is non-empty..spy AND the file exists on disk. Use it directly.$TMPDIR/sharpy-run-temp.spy. Do NOT use bash echo/heredoc — always use the Write tool to avoid shell escaping issues with #, backticks, and other special characters.mkdir -p .claude/tmp to ensure log directory exists.rm -f .claude/tmp/last-spy-run.log.dotnet run --project src/Sharpy.Cli -- run "<source_file>" > .claude/tmp/last-spy-run.log 2>&1 (with dangerouslyDisableSandbox: true)..claude/tmp/last-spy-run.logtail -80 .claude/tmp/last-spy-run.log, then "Full log: .claude/tmp/last-spy-run.log"rm -f $TMPDIR/sharpy-run-temp.spy.Suggest and apply a semver version bump based on commits since the last tag
Push current branch to remote origin
Scaffold a new Sharpy.Stdlib module (spy-sourced or handwritten C#) with all required files, conventions, docs, and tests
Implement a plan with a coordinated agent team
Run compiler or cross-language benchmarks and compare results
Regenerate C# snapshot tests and spy stdlib after intentional codegen changes