[Feature Request] Add command to list auto-rules in .claude/rules directory

Resolved 💬 3 comments Opened Jan 30, 2026 by RickCogley Closed Feb 2, 2026

Bug Description
Claude created a markdown file in .claude/rules for me, to better work with mermaid diagrams. It recommended placing it there, but I later learned it is an "auto rule" that just gets pulled into context when working with certain file types that have mermaid diagrams. Like you can do with skills and /skills I want to be able to see what "auto rules" like this I have, without having to fish around in Finder or the cli.

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.25
  • Feedback ID: 597fd5d0-7b16-4992-9b2e-6787cea563ae

Errors

[{"error":"Error: ENOENT: no such file or directory, scandir '/Library/Application Support/ClaudeCode/.claude/skills'\n    at readdirSync (unknown)\n    at <anonymous> (/$bunfs/root/claude:12:2063)\n    at iW (/$bunfs/root/claude:11:35715)\n    at readdirSync (/$bunfs/root/claude:12:2024)\n    at wQR (/$bunfs/root/claude:1783:380)\n    at wQR (/$bunfs/root/claude:1783:1350)\n    at <anonymous> (/$bunfs/root/claude:1783:4670)\n    at <anonymous> (/$bunfs/root/claude:1783:5401)\n    at A (/$bunfs/root/claude:11:7259)\n    at Ay8 (/$bunfs/root/claude:4793:4342)","timestamp":"2026-01-30T00:57:53.910Z"},{"error":"Error: ENOENT: no such file or directory, scandir '/Users/rcogley/.claude/skills'\n    at readdirSync (unknown)\n    at <anonymous> (/$bunfs/root/claude:12:2063)\n    at iW (/$bunfs/root/claude:11:35715)\n    at readdirSync (/$bunfs/root/claude:12:2024)\n    at wQR (/$bunfs/root/claude:1783:380)\n    at wQR (/$bunfs/root/claude:1783:1350)\n    at <anonymous> (/$bunfs/root/claude:1783:4713)\n    at <anonymous> (/$bunfs/root/claude:1783:5401)\n    at A (/$bunfs/root/claude:11:7259)\n    at Ay8 (/$bunfs/root/claude:4793:4342)","timestamp":"2026-01-30T00:57:53.910Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/rcogley/.local/share/claude/versions/2.1.25 (expected in multi-process scenarios)\n    at kzR (/$bunfs/root/claude:3940:2098)\n    at JxA (/$bunfs/root/claude:3940:1209)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-30T00:57:54.017Z"},{"error":"Error: ENOENT: no such file or directory, scandir '/Library/Application Support/ClaudeCode/.claude/skills'\n    at readdirSync (unknown)\n    at <anonymous> (/$bunfs/root/claude:12:2063)\n    at iW (/$bunfs/root/claude:11:35715)\n    at readdirSync (/$bunfs/root/claude:12:2024)\n    at wQR (/$bunfs/root/claude:1783:380)\n    at wQR (/$bunfs/root/claude:1783:1350)\n    at <anonymous> (/$bunfs/root/claude:1783:4670)\n    at <anonymous> (/$bunfs/root/claude:1783:5401)\n    at A (/$bunfs/root/claude:11:7259)\n    at Ay8 (/$bunfs/root/claude:4793:4342)","timestamp":"2026-01-30T00:58:09.366Z"},{"error":"Error: ENOENT: no such file or directory, scandir '/Users/rcogley/.claude/skills'\n    at readdirSync (unknown)\n    at <anonymous> (/$bunfs/root/claude:12:2063)\n    at iW (/$bunfs/root/claude:11:35715)\n    at readdirSync (/$bunfs/root/claude:12:2024)\n    at wQR (/$bunfs/root/claude:1783:380)\n    at wQR (/$bunfs/root/claude:1783:1350)\n    at <anonymous> (/$bunfs/root/claude:1783:4713)\n    at <anonymous> (/$bunfs/root/claude:1783:5401)\n    at A (/$bunfs/root/claude:11:7259)\n    at Ay8 (/$bunfs/root/claude:4793:4342)","timestamp":"2026-01-30T00:58:09.367Z"},{"error":"Error: Command failed: /Users/rcogley/.local/share/claude/versions/2.1.25 --ripgrep --hidden --glob !.git --glob !.svn --glob !.hg --glob !.bzr --max-columns 500 -l rules|--list|/list|/rules --glob **/.claude/**/*.md /Users/rcogley\nrg: Operation timed out (os error 60)\nrg: /Users/rcogley/Library/Containers/com.microsoft.teams2/Data/Library/Application Support/Microsoft/MSTeams/EBWebView/WV2Profile_tfw/WebStorage/2/IndexedDB/indexeddb.blob/4/15: Interrupted system call (os error 4)\nrg: Operation timed out (os error 60)\nrg: Operation timed out (os error 60)\n\n    at genericNodeError (node:child_process:998:22)\n    at exitHandler (node:child_process:103:28)\n    at emit (node:events:98:22)\n    at #maybeClose (node:child_process:766:16)\n    at #handleOnExit (node:child_process:520:72)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-30T01:05:29.556Z"}]

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗