← ClaudeAtlas

context-sharelisted

Share a saved session context snapshot with another named tmux pane.
devgirishattri/agent-plugins · ★ 0 · Web & Frontend · score 72
Install: claude install-skill devgirishattri/agent-plugins
# Context Share When this skill is invoked, do not add a preamble or narrate the plan. Run the relevant script directly, then return only the formatted result or the shortest actionable message. Resolve the absolute plugin root from this selected skill's installed source path: it is the directory two levels above this `SKILL.md`. Substitute that absolute path literally for `<PLUGIN_ROOT>` below; never infer it from the working directory or hardcode a marketplace cache version. `SESSION_CONTEXT_HOME` must already be present in this pane's environment, inherited when the agent process started (the pane/session launcher sets it — never export or derive it here). Invoke the context helper as one literal Bash segment, with no `export` beforehand, no `env` or variable-assignment prefix, and no other command chained, piped, redirected, or substituted around it. If the script reports `SESSION_CONTEXT_HOME` is not set, stop and request a pane relaunch with the correct environment instead of deriving another context store. Parse the first argument as the target session and the optional second argument as the snapshot name. If the target is missing, tell the user: ```text Usage: $knowledge:context-share <session-name> [snapshot-name] ``` If no snapshot name is provided, derive one from the current directory and normalize it to canonical `snake_case` (`^[a-z0-9]+(_[a-z0-9]+)*$`). If a snapshot name is supplied and it is not canonical `snake_case`, reject it instead of invoking the