[Bug] Skills injected in system prompt not persisted across agent messages

Resolved 💬 3 comments Opened May 10, 2026 by dario-l Closed May 13, 2026

Bug Description
The skill is active on the CLI side (toggle on, project, ~60 tok), but the harness has never
injected its list into any system-reminder on the agent side. There's a disconnect between two
layers: the user-facing skills picker works, but agent-facing skills injection does not.

This is probably a Claude Code bug in this session (long-running conversation, lazy injection never
fired, or the list was emitted once at the start and fell out of context).

Two diagnostic tests

  1. Direct invocation test (fastest): in a new message, simply type /github-commit. The system prompt

explicitly allows invoking user-authored skills as /<name>, independent of the auto-discovery list.
If the Skill tool accepts and the skill fires — the execution mechanism works, only the
listing/announcement broke. If it rejects — a deeper bug.

  1. Restart test: /exit → new session in the same repo. If in the first messages of the new session a

system-reminder contains an available-skills block with github-commit — that confirms it's stale
state in this session (a one-time injection at the start that either slipped through earlier / never
happened).

Environment Info

  • Platform: win32
  • Terminal: vscode
  • Version: 2.1.138
  • Feedback ID: 92776518-d21d-4a47-95fc-fdbf66964015

Errors

[{"error":"Error: EEXIST: file already exists, mkdir 'C:\\Users\\dario\\.claude\\cache'\n    at async AIq (B:/~BUN/root/src/entrypoints/cli.js:6545:5443)","timestamp":"2026-05-10T06:59:20.482Z"},{"error":"Error: Request was aborted.\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:51:6192)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-10T07:03:50.547Z"},{"error":"Error: File does not exist. Note: your current working directory is C:\\Projects\\ralphe.\n    at call (B:/~BUN/root/src/entrypoints/cli.js:4947:11360)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-10T07:05:15.763Z"},{"error":"Error: Request was aborted.\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:51:6192)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-10T07:19:03.787Z"},{"error":"Error: File does not exist. Note: your current working directory is C:\\Projects\\ralphe.\n    at call (B:/~BUN/root/src/entrypoints/cli.js:4947:11360)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-10T07:36:48.021Z"}]

View original on GitHub ↗

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