remote-executor-core

A Windows service for running Python scripts and PowerShell commands on a remote computer through an HTTP API. It also manages files, settings, running tasks, and audit logs.

In plain words
What is it for?
Running short or background Python and PowerShell jobs, checking their output, uploading or downloading files, managing services, and maintaining execution settings and logs.
Why use it?
It lets an agent start and monitor work on another Windows machine without manually opening a remote session. Logs and task controls make longer jobs easier to track or stop.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/skycaier/sky-windows-remote-executor/remote-executor-core
Any agent
npx skills add skycaier/sky-windows-remote-executor --skill remote-executor-core
Clone the repo
git clone --depth 1 https://github.com/skycaier/sky-windows-remote-executor

Made for: Claude Code, Codex.

Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,718 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00037 $0.01718
Opus 5 $0.00018 $0.00859
Sonnet 5 $0.00007 $0.00344
Haiku 4.5 $0.00004 $0.00172

Measured 2d ago against content hash 6faa0c3d119c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

remote-executor-core scanned grade A with 1 finding 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 2d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (references/test-all-endpoints.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -X POST http://<host>:8765/service/restart
skills/remote-executor-core/SKILL.md · 172 lines

How it starts

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

Windows Remote Executor v3.5 核心接口

服务地址: http://<host>:8765

核心端点

配置管理

GET  /config              # 获取配置(log_dir, log_retention_days, upload_dir)
POST /config              # 更新配置 {log_dir, log_retention_days}
POST /config/cleanup-now  # 手动清理旧日志

任务执行(异步)

POST /run
Content-Type: application/json

{"script_path": "D:\\script.py", "args": [], "cwd": "...", "python_path": "D:\\venv\\Scripts\\python.exe"}

返回: {"task_id": "xxx", "status": "started", "log_file": "..."}

python_path 可选,不传默认用系统 PATH 的 python

同步执行(短任务)

POST /run-sync
Content-Type: application/json

{"script_path": "D:\\script.py", "args": [], "cwd": "...", "timeout": 30, "python_path": null}

返回: {"stdout": "...", "stderr": "...", "returncode": 0}

任务管理

GET    /status/{task_id}      # 任务状态
GET    /log/{task_id}?max_lines=200  # 任务日志
POST   /stop/{task_id}        # 停止任务
GET    /tasks                 # 列出所有任务
POST   /tasks/clear-finished  # 清理已完成任务

PowerShell(异步)

POST /powershell
Content-Type: application/json

{"command": "Get-Process | Select-Object -First 5", "timeout": 60}

返回: {"task_id": "xxx", "status": "started", "log_file": "..."}

PowerShell(同步)

POST /powershell-sync
Content-Type: application/json

{"command": "...", "timeout": 60}

返回: {"stdout": "...", "stderr": "...", "returncode": 0}

文件上传/下载

POST /upload                # multipart: file + target_path
POST /batch/upload          # multipart: files[] + target_dir
POST /download              # {path} JSON body,支持大文件和中文路径
POST /list                  # {path, pattern}

审计日志

GET /audit?limit=100

服务管理

控制 executor 自身的 Windows 服务。

POST /service/restart       # 重启服务(延迟2秒执行)
POST /service/stop          # 停止服务(延迟2秒执行)
GET  /service/autostart     # 获取开机自启状态
POST /service/autostart?enable=true   # 开启开机自启
POST /service/autostart?enable=false  # 关闭开机自启
GET  /service/info          # 服务信息(版本、PID、任务数)
GET  /health                # 健康检查

Read the full file on GitHub · 172 lines

Files

What ships with it

5 files 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. 2d ago First seen · 172 lines · 37 tokens per session scan A 6faa0c3d119c

Subscribe to this mod's changes

remote-executor-core is a skill published in the GitHub repository skycaier/sky-windows-remote-executor (1 stars, last pushed 2mo ago), licensed MIT. It adds 37 tokens to every session and 1,718 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens