diagnose-windows-sandbox-acl

diagnose-windows-sandbox-acl is a skill for Claude Code, Codex from deepseek-ai/deepseek-harness. It costs 67 tokens per session (1,534 once invoked), scanned A, original, MIT.

A Windows diagnostic tool for unexpected permission failures in a coding workspace. It examines access-control lists, which are Windows rules that decide who may read, write, or list a path.

In plain words
What is it for?
It investigates denied reads, writes, and directory listings, reports the cause, and can perform carefully scoped, backed-up permission repairs when appropriate.
Why use it?
It helps distinguish an actual workspace permission problem from a restriction that is expected or should not be repaired.

Skill for Claude CodeCodex ✓ vendor

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

Good fit It investigates denied reads, writes, and directory listings, reports the cause, and can perform carefully scoped, backed-up permission repairs when appropriate.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/deepseek-ai/deepseek-harness/diagnose-windows-sandbox-acl
About the project

DeepSeek Harness is an open-source framework for building and running AI agents, organized so that its functionality is provided through plugins. Developers use it to launch agent workflows through a local web interface or from source, while the catalogue add-ons extend the harness as plugins.

deepseek-ai/deepseek-harness · 250,433 stars · on GitHub · deepseek.com

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.

Any agent
npx skills add deepseek-ai/deepseek-harness --skill diagnose-windows-sandbox-acl
Clone the repo
git clone --depth 1 https://github.com/deepseek-ai/deepseek-harness

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 diagnose-windows-sandbox-acl

README.md
[![agentmods](https://agentmods.dev/badge/skills/deepseek-ai/deepseek-harness/diagnose-windows-sandbox-acl/github.svg)](https://agentmods.dev/skills/deepseek-ai/deepseek-harness/diagnose-windows-sandbox-acl)
Your own site
<a href="https://agentmods.dev/skills/deepseek-ai/deepseek-harness/diagnose-windows-sandbox-acl"><img src="https://agentmods.dev/badge/skills/deepseek-ai/deepseek-harness/diagnose-windows-sandbox-acl/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 diagnose-windows-sandbox-acl

Your own site · 80×15
<a href="https://agentmods.dev/skills/deepseek-ai/deepseek-harness/diagnose-windows-sandbox-acl"><img src="https://agentmods.dev/badge/skills/deepseek-ai/deepseek-harness/diagnose-windows-sandbox-acl.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,534 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.
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.00067 $0.01534
Opus 5.5 $0.00027 $0.00614
Sonnet 5.5 $0.00013 $0.00307
Haiku 4.5 $0.00007 $0.00153

Measured 16d ago against content hash 9c616c78892d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

diagnose-windows-sandbox-acl 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 16d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/diagnose-windows-sandbox-acl.ps1), 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.

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.

packages/sandbox/sandbox-windows-acl/assets/diagnose-windows-sandbox-acl/SKILL.md · 64 lines

How it starts

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

Diagnose Windows sandbox ACL failures

Write every approval request in plain words, in the user's language. The prompt is all the user reads before widening access, so it must stand alone: which folder the script touches, that it adds the signed-in user's full-control entry where a right is missing and removes foreign package entries, that file contents and owners are unchanged, and that the printed recovery command undoes each change. Keep error codes, WRITE_DAC/WRITE_OWNER, S-1-15-2-* SIDs, icacls, ACL, ACE, verdict names and switches out of the request: write Windows file permissions, not ACL or ACE. Ask once, for one command.

One command diagnoses and repairs

The script has no modes. -Path, -AllowRoot and -Out read the path and every ancestor and repair what the observations prove, in the same run:

  • directories on that chain that lack effective WRITE_DAC or WRITE_OWNER receive a full-control allow ACE for the signed-in user, because DSH cannot provision its workspace grant without them;
  • explicit AppContainer package allow ACEs (S-1-15-2-*, except the well-known groups ending in 1 or 2) are removed at their sources, ancestor first, which also removes those packages' access;
  • a directory the sandbox cannot provision — the state its provisioning error reports on the workspace root — or the authorized root itself also has its subtree searched for those ACEs in the same run, so a deeper entry needs no second request. That bounded walk reports truncated and unreadable directories; if truncated, pass the still-failing deeper path once more.

Every change is backed up, then verified by re-reading it. -AllowRoot bounds all of it: an object is changed only when it is that directory or strictly inside it, so a workspace root can repair itself. Never split this into a diagnostic call and a repair call, never ask twice for one repair, and never pass a mode switch that does not exist.

& '<skill-directory>\scripts\diagnose-windows-sandbox-acl.ps1' -Path '<failing-path>' -AllowRoot '<authorized-directory>' -Out '<recovery-directory>'
exit $LASTEXITCODE

Read the full file on GitHub · 64 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. 16d ago Changed · +17 lines · -4 tokens per session 9c616c78892d
  2. 17d ago First seen · 47 lines · 71 tokens per session scan A 92a6bdc6a47c

Subscribe to this mod's changes

diagnose-windows-sandbox-acl is a skill published in the GitHub repository deepseek-ai/deepseek-harness (250,433 stars, last pushed today), licensed MIT. It adds 67 tokens to every session and 1,534 once invoked, about $0.0003 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-29.

Related

Other skills, from other repositories

diagnosing-bugs

Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.

gongyijie85/mattpocock-skills-dsh · 40 tokens

manage-taskboard

Manage work in the native DeepSeek Harness Taskboard with exact task ids and optimistic versions. Use when an Agent must inspect project work, claim an eligible todo, record progress or blockers, verify an implementation, submit it for human review, or release its own claim; also use when a human asks how to accept…

shengsheng90/DSH-taskboard · 88 tokens

industry-research-method

A Chinese-language method for researching an industry by mapping its supply chain, tracking policies and news, and writing sourced reports. It separates the chain into upstream inputs, midstream production, and downstream distribution or use.

PerryLink/dsh-industry-research · 96 tokens

company-research-method

A documented process for researching a company using supplied files and selected public sources. It produces a company overview with business details, sourced financial figures, and stated risks.

PerryLink/dsh-industry-research · 83 tokens

dsh-troubleshoot

A troubleshooting guide for DeepSeek Harness, including its process, configuration, plugins, tools, skills, and model connections.

pingfanfan/hello-dsh · 61 tokens

ask-good-questions

Guidance for asking technical questions and reporting bugs so another developer can reproduce and answer them. It covers versions, environment details, minimal reproduction steps, expected and actual results, errors, and attempted fixes.

pingfanfan/hello-dsh · 61 tokens