Skip to content
Back to skills

Live Slack Test

ASecurity

Run a live end-to-end test of Tag in the shared Slack sandbox with the test Tags. Use when asked to test in the sandbox, test live, test in Slack, verify a handoff or reply end to end, or confirm a bridge change works with real Slack.

  • 11 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 10, 2026
ai-agentspythongoreactgitapibackend

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned November 10, 2026

npx -y skills add klovr-co/hover-tag --skill live-slack-test --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Live Slack Test?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Live Slack Test
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/klovr-co-live-slack-test/badge)](https://www.skillsdirectory.com/skills/klovr-co-live-slack-test)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: live-slack-test
description: Run a live end-to-end test of Tag in the shared Slack sandbox with the test Tags. Use when asked to test in the sandbox, test live, test in Slack, verify a handoff or reply end to end, or confirm a bridge change works with real Slack.
---

# Live Slack test

Run the change from this worktree against real Slack. Do this yourself, in the
main session. Don't hand it to a subagent unless the user asks.

Unit tests come first. A live test is needed only for behavior that crosses
Slack. Examples: replies, threads, plan or task cards, handoffs between Tags,
placeholders, reactions, and reconnects.

## The sandbox

The sandbox details are private and live outside the repo, in
`~/.config/tag-sandbox/sandbox.md`. That file has the org, workspace, and
channel IDs, the human account, the Keychain entry for the password, and the
test Tags with their Tag IDs and App IDs. Read it first. If it is missing, stop
and ask the user for it. Don't search for the values or guess them.

Never write the password, a bot token, or the sandbox IDs into a repo file, a
commit, or a PR. Logs and screenshots go in `.context/`, which git ignores.

Sandboxes expire. If sign-in fails or the org is gone, stop and tell the user.
Recreating it needs their Slack developer account. Afterwards, update the
private file, not this skill.

## Posting without a browser

Slack marks a message posted through an app's user token with the app's bot id,
and Tag treats bot messages as peer traffic. A Tag therefore answers such a
message only if the app is listed in its `OPENTAG_TEST_APP_IDS` setting and the
message's user is an authorized user. The setting is empty by default, is not
shown by `tag config`, and is meant for the test Tags only.

One-time setup per sandbox, kept in `~/.config/tag-sandbox/` (never in the repo):

1. In the sandbox workspace, create a Slack app from a manifest whose only
   scope is the user scope `chat:write`, and install it as the human account.
2. Save its user token (`xoxp-…`) in `slack-user-token` and its App ID in
   `slack-poster-app-id`, both mode 600.
3. For each Tag you will mention, run
   `python3 .agents/skills/live-slack-test/scripts/allow_test_poster.py <tag-id>`
   and restart that Tag.

## Steps

1. **Check the Tags.** Run `./tag <tag-id> status` for each Tag the test needs.
   If a Tag is missing, create it with
   `python3 .agents/skills/live-slack-test/scripts/add_test_tag.py "<name>" <codex|claude> <org-id> <workspace-id>`
   from the repo root, and add its row to the private file.
2. **Run this worktree's code.** Other worktrees share these Tags. Stop any
   Tag another session left running, then start each Tag from *this* worktree
   with a reloading bridge:
   `./tag <tag-id> dev > .context/dev-<tag-id>.log 2>&1` (run it in the background).
   Wait until the log shows `Slack  Connected`.
3. **Post as the human.** Tags ignore messages from bots, so the prompt must
   come from the human account. Post it with
   `.agents/skills/live-slack-test/scripts/post_as_user.sh <channel-id> "<@TAG_BOT_ID> <prompt>" [thread-ts]`,
   for example `<@TagA> ask <@TagB> and <@TagC> what 2+2 is`. It prints the
   message's `ts`; pass that as `thread-ts` to reply in the same thread. Each
   Tag you mention needs the one-time setup in "Posting without a browser"
   below. Use the browser (`browser-use` skill, human account and Keychain
   password from the private file) only for what the API can't do: clicking
   buttons such as Queue or Steer, and screenshots. If Slack asks for an emailed
   code, ask the user for it.
4. **Watch the result.** Read the thread with
   `.agents/skills/live-slack-test/scripts/read_thread.sh <tag-id> <channel-id>`
   and follow the logs: `.context/dev-<tag-id>.log` and `./tag <tag-id> logs`.
   Take a screenshot of the thread in the browser.
5. **Test both backends** when the change depends on the backend (see "Agent
   backend parity" in `AGENTS.md`). Switch a Tag with
   `./tag <tag-id> settings ai sign-in codex|claude`, or use one Tag of each
   backend.
6. **Clean up.** Stop the `dev` processes you started. Leave the Tags and their
   Slack apps in place. Never delete a test Tag's Slack app without the fresh
   confirmation that `AGENTS.md` requires.

## Report

Tell the user:

- the prompt you sent, and the Tags and backends you used
- what each Tag posted, from `read_thread.sh`, with the screenshot saved in
  `.context/` and shown inline
- any errors from the logs
- anything you skipped or could not check

Files in this skill

  • SKILL.md4.4 KB
  • scripts/add_test_tag.py1.9 KB
  • scripts/allow_test_poster.py1.4 KB
  • scripts/post_as_user.sh1.1 KB
  • scripts/read_thread.sh1.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.