agent-activity
Streams what the agent is doing into the room, as rows the desktop client renders in an **events drawer** above the composer (collapsed: avatar, pulsing dots,…
Bash wrapper around the local Codex CLI for non-interactive runs from inside Sutando (bridges, cron, scripts). For interactive code review or task hand-off from this Claude Code session, prefer the official `/codex:*` plugin commands; this skill is the file-bridge-compatible
$ npx -y skills add sonichi/sutando --skill claude-codex --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/claude-codexContext preview
The summary Claude sees to decide when to auto-load this skill.
Bash wrapper around the local Codex CLI for non-interactive runs from inside Sutando (bridges, cron, scripts). For interactive code review or task hand-off from this Claude Code session, prefer the official `/codex:*` plugin commands; this skill is the file-bridge-compatible
name: claude-codex description: "Bash wrapper around the local Codex CLI for non-interactive runs from inside Sutando (bridges, cron, scripts). For interactive code review or task hand-off from this Claude Code session, prefer the official `/codex:*` plugin commands; this skill is the file-bridge-compatible path that `discord-bridge.py` invokes for team-tier sandboxed delegation." user-invocable: true
Delegate work from Claude Code to the local `codex` CLI. This skill assumes Codex is already authenticated on this machine. It does not mint, extract, or transfer credentials.
**Usage**: `/claude-codex [prompt]`
ARGUMENTS: $ARGUMENTS
demo) — use `--goal` to invoke Codex's `/goal` mode
If you don't see `/codex:*` slash-commands available, install the plugin in this Claude Code session:
/plugin marketplace add openai/codex-plugin-cc /plugin install codex@openai-codex /reload-plugins /codex:setup
This skill stays as the **non-interactive bash-wrapper** path — invoked by `discord-bridge.py`'s team-tier `===SUTANDO SYSTEM INSTRUCTIONS===` block (codex exec --sandbox read-only on Discord tasks from non-owner senders), cron-fired jobs that need a one-shot codex call, and similar file-bridge workflows where a plugin slash-command can't reach.
codex login status bash "$SKILL_DIR/scripts/codex-run.sh" --check
# General delegation bash "$SKILL_DIR/scripts/codex-run.sh" -- "Inspect src/task-bridge.ts for race conditions" # Safer review of current uncommitted changes bash "$SKILL_DIR/scripts/codex-run.sh" --review --uncommitted -- "Prioritize bugs and missing tests" # Review against a base branch bash "$SKILL_DIR/scripts/codex-run.sh" --review --base main -- "Focus on regressions and security" # Save the last Codex message to a file bash "$SKILL_DIR/scripts/codex-run.sh" --output-last-message results/codex-review.txt -- "Review the current workspace" # Spec-driven one-shot build (Codex /goal mode) bash "$SKILL_DIR/scripts/codex-run.sh" --goal -- "$(cat path/to/spec.md)"
The safe, read-only way to get a Codex review of a GitHub PR. Fetches the diff with `gh pr diff <N>` (READ-ONLY — no checkout, never mutates git state or fails on a dirty tree), inlines it into `codex exec --sandbox read-only`, and wraps the whole thing in `codex-bounded.sh` so a slow/wedged review can't grind unbounded.
bash "$SKILL_DIR/scripts/review-pr.sh" 1754 # default --max 240 --stall 60 bash "$SKILL_DIR/scripts/review-pr.sh" 1754 --max 300 # longer cap for a big diff
Prints `VERDICT-MARKER: <token>` as stdout line 1, then Codex's verdict preceded by that token. The token is a per-RUN nonce, never shown to Codex, so a diff or verdict quoting a marker literal cannot pose as it. **The verdict is only the text after the LAST such line**, which holds the mechanical checks as well as Codex's verdict — so a consumer taking the tail truncates the checks. The rest of the stream is Codex's exec trace, left unredirected on purpose so `codex-bounded.sh --stall` can watch it — it contains repository source the agent inlined while working, so a consumer that takes the whole stream (or its tail) quotes that source as the PR's own content. Extract after the last marker. Exit `0` = verdict produced; `124` = hit the `--max` cap; `125` = stalled (no output for `--stall` s); other non-zero = gh/codex error.
**Timing:** `codex exec` is agentic — even with the diff inlined it may explore related code, so a real review often takes 100s+ (147s observed on #1754). Keep `--max` ≥180; do NOT drop it near 120 or you'll kill legitimate reviews. This is the path the team-tier `===SUTANDO SYSTEM INSTRUCTIONS===` block runs to auto-review a non-owner PR-review request (owner-ping only on failure).
Generic stall-watchdog + wall-clock cap for any (sandboxed) delegation. `--stall N` kills the process tree after N seconds of total output SILENCE (the "never going to finish" signal — a healthy codex streams as it works); `--max M` is the absolute backstop (`--max 0` disables it, stall-only). Exit `125` = stalled, `124` = max cap. Used by `review-pr.sh` and by the discord-bridge team/other-tier `codex exec` delegation so a sandboxed run can't grind forever.
bash "$SKILL_DIR/scripts/codex-bounded.sh" --stall 90 --max 240 -- <command...> < /dev/null
Wraps Codex's interactive `/goal` slash-command for non-interactive use. The flag prepends `/goal ` to the prompt and forces `--full-auto` so Codex can write files unattended.
Reach for it when:
My AI Stand — Realtime by Day, Rewriting Itself by Night. Summon my AI superpower. Voice, vision, screen, meetings, calls when I'm engaged. Learns my patterns, ships its own code when I'm not. Runs across my Macs, interacts with people & their Stands.
Repo: sonichi/sutando
Streams what the agent is doing into the room, as rows the desktop client renders in an **events drawer** above the composer (collapsed: avatar, pulsing dots,…
Local Agent Registry — a standalone, dependency-free service that tracks running Claude Code (and other) agent instances. Agents self-register on startup and…
**Prefer the `ag2-space` MCP tools when they are connected and the room exposes them** — availability is per-room and per-actor, so check…
Deterministic final-answer normalizer — a last-step pass for any task that ends in a *precise* answer (a number, a short string, a comma-list). Applies the…
Transcribes audio files and voice notes to text via Gemini 2.5-flash. Integrates with Slack, Discord, and Telegram bridges so voice clips surface as readable…
Act back on the owner's Bee wearable — the TOOL half of the Bee integration (channels-vs-tools split). The Bee CHANNEL (ag2-sparrow's `sources/bee.py` watcher)…