bridge-origin-safe-slash-override

bridge-origin-safe-slash-override is a skill for Claude Code, Codex from ychampion/cskill-agents. It costs 36 tokens per session (590 once invoked), scanned A, original, MIT.

A rule for handling slash commands received from remote clients. It keeps remote slash commands as ordinary text unless the command has been explicitly approved as safe.

In plain words
What is it for?
Use it when a bridge needs to allow a small set of approved remote commands while rejecting unsafe ones with a local response.
Why use it?
It reduces the risk of a remote message running a local command that should only be available on the machine itself.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when a bridge needs to allow a small set of approved remote commands while rejecting unsafe ones with a local response.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ychampion/cskill-agents/bridge-origin-safe-slash-override
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ychampion/cskill-agents --skill bridge-origin-safe-slash-override
Clone the repo
git clone --depth 1 https://github.com/ychampion/cskill-agents

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bridge-origin-safe-slash-override

README.md
[![agentmods](https://agentmods.dev/badge/skills/ychampion/cskill-agents/bridge-origin-safe-slash-override/github.svg)](https://agentmods.dev/skills/ychampion/cskill-agents/bridge-origin-safe-slash-override)
Your own site
<a href="https://agentmods.dev/skills/ychampion/cskill-agents/bridge-origin-safe-slash-override"><img src="https://agentmods.dev/badge/skills/ychampion/cskill-agents/bridge-origin-safe-slash-override/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for bridge-origin-safe-slash-override

Your own site · 80×15
<a href="https://agentmods.dev/skills/ychampion/cskill-agents/bridge-origin-safe-slash-override"><img src="https://agentmods.dev/badge/skills/ychampion/cskill-agents/bridge-origin-safe-slash-override.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 590 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00036 $0.00590
Opus 5 $0.00018 $0.00295
Sonnet 5 $0.00007 $0.00118
Haiku 4.5 $0.00004 $0.00059

Measured 11d ago against content hash a7a5e0bb7426, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

bridge-origin-safe-slash-override scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/claude-code/skills/bridge-origin-safe-slash-override/SKILL.md · 30 lines

How it starts

The opening of the file, as written. The whole thing — 30 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SKILL: Bridge Origin Safe Slash Override

Domain: remote-input-safety Trigger: Apply when remotely delivered input should still default to plain-text slash handling, but a trusted bridge path needs to selectively re-enable only the slash commands that are safe to execute remotely. Source Pattern: Distilled from reviewed remote-control, bridge transport, and capability-advertising implementations.

Core Method

Keep remote slash-command parsing disabled by default for bridge-delivered input. If a remote message starts with /, inspect it locally first and resolve whether it maps to a known command. Re-enable slash handling only when the resolved command is explicitly bridge-safe; otherwise, intercept unsafe known commands with a friendly local denial and leave unknown slash text as plain text. This preserves the defensive default while still allowing a narrow, reviewed remote command surface.

Key Rules

  • Preserve the “treat slash text as plain text” default at enqueue time so every other fast path still sees the defensive baseline.
  • Reopen slash handling only after all three checks pass: the message is bridge-originated, starts with /, and resolves to a command that passes bridge-safety filtering.
  • Treat known unsafe commands, especially local-jsx or terminal-only ones, as a local UX case rather than a model prompt: return a friendly denial such as "config isn't available over Remote Control." and stop before querying.
  • Let unknown or malformed slash text fall through as plain text rather than converting it into a new local error surface for remote users.
  • Keep discovery aligned with execution by advertising only bridge-safe commands to remote clients whenever possible; the override should narrow execution, not widen the visible command set.

Example Application

A mobile bridge sends /deploy-docs. The bridge layer parses it locally, confirms it is on the remote-safe allowlist, and then hands it to normal slash-command execution. The same bridge sends /config; the command resolves but is not remote-safe, so the system responds locally with a denial message. If the bridge sends /shrug and that text does not resolve to a known command, it stays plain text and is handled like an ordinary message.

Read the full file on GitHub · 30 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 30 lines · 36 tokens per session scan A a7a5e0bb7426

Subscribe to this mod's changes

bridge-origin-safe-slash-override is a skill published in the GitHub repository ychampion/cskill-agents (36 stars, last pushed 5mo ago), licensed MIT. It adds 36 tokens to every session and 590 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.