Skip to content

Open-source skills for designing and reviewing software with AI agents

docs(claude): show Windows and version-proof read rules (#185)

Varun Dasharadhi12677f6e4fe0
diff --git a/distributions/claude/docs/claude.md b/distributions/claude/docs/claude.md
index fa44515..b9b97a6 100644
--- a/distributions/claude/docs/claude.md
+++ b/distributions/claude/docs/claude.md
@@ -71,6 +71,27 @@ Read(//absolute/plugin/path/resources/**)
Read(//absolute/plugin/path/skills/**)
```
+On Windows, write the absolute path either with a leading `//` and a lower-case
+drive letter without the colon, or as a native path:
+
+- `Read(//c/Users/<you>/.claude/plugins/cache/egm/egm/<version>/agents/**)`
+- `Read(C:\Users\<you>\.claude\plugins\cache\egm\egm\<version>\agents\**)`
+
+The form `//C:/Users/...` does not match, and the reads are still denied.
+
+A marketplace install lives in a version folder:
+`.../plugins/cache/<marketplace>/egm/<version>/`. A rule that names one version
+stops matching after an update. Replacing only the version segment with `*` keeps
+matching across versions and still covers only this plugin's folders. For example,
+on Windows:
+
+```text
+Read(//c/Users/<you>/.claude/plugins/cache/egm/egm/*/agents/**)
+Read(//c/Users/<you>/.claude/plugins/cache/egm/egm/*/docs/**)
+Read(//c/Users/<you>/.claude/plugins/cache/egm/egm/*/resources/**)
+Read(//c/Users/<you>/.claude/plugins/cache/egm/egm/*/skills/**)
+```
+
Replace the example path; do not copy a guessed cache location. These read rules
also cover Grep and Glob on those files on a best-effort basis. Adding a directory
with `--add-dir` extends edit access too, so it is not a read-only substitute.
diff --git a/docs/claude.md b/docs/claude.md
index fa44515..b9b97a6 100644
--- a/docs/claude.md
+++ b/docs/claude.md
@@ -71,6 +71,27 @@ Read(//absolute/plugin/path/resources/**)
Read(//absolute/plugin/path/skills/**)
```
+On Windows, write the absolute path either with a leading `//` and a lower-case
+drive letter without the colon, or as a native path:
+
+- `Read(//c/Users/<you>/.claude/plugins/cache/egm/egm/<version>/agents/**)`
+- `Read(C:\Users\<you>\.claude\plugins\cache\egm\egm\<version>\agents\**)`
+
+The form `//C:/Users/...` does not match, and the reads are still denied.
+
+A marketplace install lives in a version folder:
+`.../plugins/cache/<marketplace>/egm/<version>/`. A rule that names one version
+stops matching after an update. Replacing only the version segment with `*` keeps
+matching across versions and still covers only this plugin's folders. For example,
+on Windows:
+
+```text
+Read(//c/Users/<you>/.claude/plugins/cache/egm/egm/*/agents/**)
+Read(//c/Users/<you>/.claude/plugins/cache/egm/egm/*/docs/**)
+Read(//c/Users/<you>/.claude/plugins/cache/egm/egm/*/resources/**)
+Read(//c/Users/<you>/.claude/plugins/cache/egm/egm/*/skills/**)
+```
+
Replace the example path; do not copy a guessed cache location. These read rules
also cover Grep and Glob on those files on a best-effort basis. Adding a directory
with `--add-dir` extends edit access too, so it is not a read-only substitute.