Skip to content

feat(skill): broaden ghosthost trigger; drop bridge-session gate - #7

Merged
godspede merged 1 commit into
mainfrom
feat/broaden-ghosthost-skill-trigger
Jul 11, 2026
Merged

godspede merged 1 commit into
mainfrom
feat/broaden-ghosthost-skill-trigger

Conversation

@godspede

Copy link
Copy Markdown
Owner

Why

Detecting a Claude Code remote-control (bridge) session via CLAUDE_CODE_ENVIRONMENT_KIND=bridge was 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:

  1. The user wants a particular file handed to them — see / view / open / get / download / have it.
  2. The user names ghosthost.

The only exclusion is a file path mentioned as material for another task (edit / read / embed / commit).

  • No mention of CLAUDE_CODE_ENVIRONMENT_KIND remains anywhere.
  • CLAUDE.md §7 "When the skill fires" rewritten to match the skill.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WjadRnXaxRwLK3176eSVdk

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
godspede enabled auto-merge (squash) July 11, 2026 06:57
@godspede
godspede merged commit 6e22777 into main Jul 11, 2026
2 checks passed
@godspede
godspede deleted the feat/broaden-ghosthost-skill-trigger branch July 17, 2026 20:35
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant