[FEATURE] Set shell session context for skills or slash commands

Resolved 💬 3 comments Opened Mar 17, 2026 by backnotprop Closed Mar 17, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

If a skill or slash command ends up calling some script, it'd be nice for that script to be able to access the session info, like session ID.

You might enable this through something like an environment variable.

This is important context for any sort of integration, whether it's a fun creative use case or enterprise utility.

Proposed Solution

Environment variable that has the session ID which child processes can find.

View original on GitHub ↗

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