Skip to content

feat: auto-load Shellgate context at session start#69

Merged
matthiastjong merged 1 commit intomainfrom
fix/mcp-improvements
Apr 30, 2026
Merged

feat: auto-load Shellgate context at session start#69
matthiastjong merged 1 commit intomainfrom
fix/mcp-improvements

Conversation

@matthiastjong
Copy link
Copy Markdown
Owner

Summary

  • Adds a SessionStart hook that fetches /discovery and injects targets, org skills, and webhooks into the conversation context
  • Installs ~/.claude/shellgate/format.js and discover.sh helper scripts
  • Includes clear disambiguation: org skills use org_skill_read MCP tool, NOT the local Skill tool

This ensures Claude Code always knows about available Shellgate resources before the user asks anything.

Test plan

  • 187 tests passing
  • Locally verified: SessionStart hook loads context correctly
  • Claude Code correctly uses org_skill_read instead of Skill tool for org skills

🤖 Generated with Claude Code

Installs a discover.sh + format.js helper that runs at session start,
injecting available targets, org skills, and webhooks into the
conversation context. Includes clear instructions that org skills must
be fetched via org_skill_read MCP tool, not the local Skill tool.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@matthiastjong matthiastjong merged commit 2e800fb into main Apr 30, 2026
3 checks passed
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