yyu0310

Cc To Grok Bridge — Development skill for Claude Code

Development community

Bridge Claude Code → Grok Build: shared rules/skills, hook adapter hard-gates, optional memory mirror.

How to install Cc To Grok Bridge

This entry records only its repository, not the path inside it, so there is no exact command to give. Open yyu0310/cc-to-grok-bridge and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Cc To Grok Bridge does

Bridge Claude Code → Grok Build: shared rules/skills, hook adapter hard-gates, optional memory mirror.

Alternatives in Development

  • Galatea Garden Wake Bridge — 独立的 Galatea Garden 智能体唤醒桥:订阅 Garden SSE 事件,并通过可替换的 Runtime Adapter 将消息注入 Codex、Claude Code 等 Agent Runtime 225 ★
  • Gemini Project Context For SaneBar — PRIMARY INSTRUCTION: This project uses a shared configuration with Claude 216 ★
  • Grok Files — List, prune, or gc Grok (xAI) uploaded files 135 ★

README

cc-to-grok-bridge

English | [繁體中文](README.zh-TW.md) | [简体中文](README.zh-CN.md)

Bridge **Claude Code** → **Grok Build**: reuse rules / skills, run the same hook hard-gates via an adapter, optional memory mirror. Grok-only assets never enter Claude’s context.

What this is

Layer What the bridge does
System Prompt Point Grok at the same workspace CLAUDE.md (compat load)
skill Reuse ~/.claude/commands slash skills (including symlinks)
Hooks Call your existing Claude Code security scripts through a thin adapter that translates allow/deny for Grok (see below)
Memory CC → Grok pull + rules pointer + three-zone isolation; optional constrained push
Plugins Does not auto-port CC enabledPlugins; always-on only — see docs/06_plugins.md
MCP AI-assisted install by server type (never auto-copy secrets; see AGENTS.md)

Research helper: ccgrok.sh

A small wrapper that drives `grok -p` as a disciplined research tool. It prepends a model-agnostic research-method prefix ([`research-prefix.md`](research-prefix.md)) and runs from a clean temp directory, so a pure research query is not polluted by project rules.

scripts/ccgrok.sh "your question"

The prefix forces sourced, dated answers with facts separated from speculation, and (measured on the same query) makes Grok flag stale or downgraded facts instead of stating them with false confidence. The same `research-prefix.md` works with any headless AI CLI (`grok -p`, `agy -p`, `claude -p`).

The read-only flags (`--disallowed-tools "run_terminal_cmd,write,search_replace"`) keep the run unable to touch local files even under auto-approve.

Compatibility matrix

Domain Compatibility What works Gaps
System Prompt High Same workspace CLAUDE.md (Grok compat auto-load) —
skill High Same ~/.claude/commands set (symlinks OK) Minor frontmat