Repository navigation
feat(skill): broaden ghosthost trigger; drop bridge-session gate - #7
Merged
Merged
Conversation
Detecting a Claude Code remote-control (bridge) session via CLAUDE_CODE_ENVIRONMENT_KIND was too delicate and caused the skill to effectively never fire. Replace the env-var gate and the three-override apparatus with two simple triggers: the user wants a particular file handed to them (see/view/open/get/download/have), or the user names ghosthost. The only exclusion is a path mentioned as material for another task (edit/read/embed/commit). Update CLAUDE.md §7 "When the skill fires" to match. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WjadRnXaxRwLK3176eSVdk
godspede
enabled auto-merge (squash)
July 11, 2026 06:57
godspede
added a commit
that referenced
this pull request
Jul 17, 2026
Detecting a Claude Code remote-control (bridge) session via CLAUDE_CODE_ENVIRONMENT_KIND was too delicate and caused the skill to effectively never fire. Replace the env-var gate and the three-override apparatus with two simple triggers: the user wants a particular file handed to them (see/view/open/get/download/have), or the user names ghosthost. The only exclusion is a path mentioned as material for another task (edit/read/embed/commit). Update CLAUDE.md §7 "When the skill fires" to match. Claude-Session: https://claude.ai/code/session_01WjadRnXaxRwLK3176eSVdk Co-authored-by: godspede <jehutheawesome@gmail.com> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Detecting a Claude Code remote-control (bridge) session via
CLAUDE_CODE_ENVIRONMENT_KIND=bridgewas too delicate and caused the ghosthost skill to effectively never fire. The env-var gate plus a three-override apparatus meant that in practice the skill sat dormant.What
Replace the gate with two simple, robust triggers:
The only exclusion is a file path mentioned as material for another task (edit / read / embed / commit).
CLAUDE_CODE_ENVIRONMENT_KINDremains anywhere.CLAUDE.md§7 "When the skill fires" rewritten to match the skill.🤖 Generated with Claude Code
https://claude.ai/code/session_01WjadRnXaxRwLK3176eSVdk