Back to all workflow recipes
Engineering Workflow·github + slack·Zero Public IP

Bridge GitHub PRs and Local Codex/Claude Code Directly Into Slack Threads

DIRECT ANSWER & GUARDRAILS

TagTag’s GitHub plugin uses conditional ETag/304 requests and your existing `gh` session while keeping `GITHUB_*` and `SLACK_*` tokens stripped from the agent subprocess. Every Slack reply stays cleanly inside `thread_ts` with built-in 429 backoff.

Recommended Harness
Codex CLI (`codex`) or Claude Code CLI (`claude`)
AccessGuardSink
GitHub: readonly · Slack: send (thread-scoped)
Stripped Prefixes
GITHUB_*, SLACK_*

What It Looks Like in Chat

TagTag Go Core

github:core-repo detected PR #214 updated (ETag 200) → routed to #eng-reviews

@pr-bot (Claude Code)

PR #214 review summary: 1 blocking race condition in `worker.go:142` (mutex unlocked before map write), 2 minor nits. Local `go test -race ./...` reproduced it in 1.8s.

Setup Steps

1. Generate a Slack Socket Mode YAML Manifest

Use `/tools/im-bot-setup` (Slack tab) to paste the manifest at api.slack.com/apps and grab `xapp-` + `xoxb-` tokens.

2. Pair readonly GitHub polling with your repo workspace

Keep GitHub in `readonly` mode so the Bot never auto-merges or posts unreviewed public comments.

Sanitized Config & Zero-Token Check

connectors.json (zero secrets embedded)
[
  {
    "id": "github:core-repo",
    "type": "github",
    "enabled": true,
    "bot_id": "pr-bot",
    "access": "readonly",
    "default_target": "slack:eng/C01234567",
    "env_keys": ["GITHUB_TOKEN"],
    "config": { "repo": "your-org/core-repo", "interval_sec": 180 }
  },
  {
    "id": "slack:eng",
    "type": "slack",
    "enabled": true,
    "bot_id": "pr-bot",
    "access": "send",
    "env_keys": ["SLACK_APP_TOKEN", "SLACK_BOT_TOKEN"],
    "config": {}
  }
]
Zero-token dry-run verification
tagtag connector check --data-dir "$TAGTAG_HOME" --env-file .env --json slack:eng
Local agents
IM platforms