Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add bendrucker/claude/plugin install x-callback-urlWrote 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.
[](https://agentmods.dev/skills/bendrucker/claude/xcall)<a href="https://agentmods.dev/skills/bendrucker/claude/xcall"><img src="https://agentmods.dev/badge/skills/bendrucker/claude/xcall/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.
<a href="https://agentmods.dev/skills/bendrucker/claude/xcall"><img src="https://agentmods.dev/badge/skills/bendrucker/claude/xcall.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00037 | $0.01439 |
| Opus 5.5 | $0.00015 | $0.00576 |
| Sonnet 5.5 | $0.00007 | $0.00288 |
| Haiku 4.5 | $0.00004 | $0.00144 |
Grade A, and why
x-callback-url:xcall 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.
xcall
Send x-callback-url requests from the command line and receive responses synchronously.
How It Works
xcall is a Swift CLI that builds into a macOS .app bundle. The .app is required because macOS only delivers URL scheme callbacks to registered applications. On first use, run.sh compiles the source into ~/.cache/claude/x-callback-url/xcall.app and registers the callback scheme (xcall-claude://) with Launch Services.
There is one bundle, shared by every consuming plugin, at a path outside the plugin tree. macOS registers exactly one handler for xcall-claude://, and lsregister -f on a second bundle does not take the scheme back from the first, so a per-consumer bundle makes consumers retire each other's copies in turn. The marketplace cache is content-addressed, so a bundle built beside the source loses its registration to a deleted path on the next plugin update.
Sandbox
Neither half of the bridge survives the command sandbox. lsregister cannot reach Launch Services to register the bundle, and a compiled xcall cannot complete the URL-scheme round trip. So run.sh and build.sh both carry the mac plugin's claude:dangerouslyDisableSandbox marker, which runs them outside it.
The marker hook reads the script named at the head of a command, past any VAR=value prefixes. A wrapper token in front of it (time, env, timeout) hides the script from the hook, the command runs sandboxed, and the callback is lost. Invoke run.sh by path with at most environment assignments ahead of it.
xcall cannot bound its own wait. Any deadline it scheduled would live in applicationDidFinishLaunching, which AppKit never calls when it cannot reach the WindowServer, so the sandboxed case that most needs a deadline is the one where it is never armed. run.sh holds both deadlines instead, from outside the process, and neither phase can wait forever:
XCALL_BUILD_TIMEOUT_SECONDS(default 20) bounds the build, and exits 3XCALL_TIMEOUT_SECONDS(default 20) bounds the callback, and exits 4XCALL_LOCK_WAIT_SECONDS(defaultXCALL_TIMEOUT_SECONDS+ 3) bounds the wait for the bridge lock, and exits 5. The default covers one holder ahead, so raise it for a caller queued behind several
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.
- 2mo ago Changed · +3 lines 74bfb5e8c6ae
- 2mo ago First seen · 98 lines · 37 tokens per session scan A 57e0f96ed621
x-callback-url:xcall is a skill published in the GitHub repository bendrucker/claude (18 stars, last pushed today), licensed MIT. It adds 37 tokens to every session and 1,439 once invoked, about $0.0001 per session on Opus 5.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-09-03.
x-callback-url:xcall compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| x-callback-url:xcallbendrucker/claude | Skill | 18 | today | MIT | A | 37 | Claude Code |
| release-noteskenryu42/cc-safety-net | Skill | 2.0k | today | MIT | A | 65 | Claude Code, Codex |
| add-teamsmicrosoft/power-platform-skills | Skill | 1.1k | today | MIT | A | 31 | Claude Code |
| relationsLifecycle-Innovations-Limited/claude-ops | Skill | 550 | 3d ago | MIT | A | 27 | Claude Code |
| service-deskcbrock84/headcount | Skill | 2.6k | 22d ago | MIT | A | 73 | Claude Code |
| recipe-add-integration-testsshinpr/claude-code-workflows | Skill | 713 | 4d ago | MIT | A | 19 | Claude Code |
| llm-friendly-contextshinpr/claude-code-workflows | Skill | 713 | 4d ago | MIT | A | 52 | Claude Code |