Skip to content
Back to skills

Runtime Canary Expansion

ASecurity

Test fixture for this repository's runtime canary: whether Claude Code asks before a granted command that expands a shell variable. Use it only when a prompt names it.

  • 2 stars
  • 0 votes
  • 1 copy
  • 6 views
  • Added November 26, 2026
ai-agentspythonshellbash

Works with

  • claude code

Security analysis

A100/100

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

Scanned November 26, 2026

npx -y skills add EJRyan89/coding-agent-skills --skill runtime-canary-expansion --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Runtime Canary Expansion?

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

Security grade badge for Runtime Canary Expansion
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ejryan89-runtime-canary-expansion/badge)](https://www.skillsdirectory.com/skills/ejryan89-runtime-canary-expansion)

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: runtime-canary-expansion
description: "Test fixture for this repository's runtime canary: whether Claude Code asks before a granted command that expands a shell variable. Use it only when a prompt names it."
allowed-tools: ["Bash({{PYTHON}} -B \"${CLAUDE_SKILL_DIR}/scripts/expansion_probe.py\" *)", "PowerShell({{PYTHON}} -B \"${CLAUDE_SKILL_DIR}/scripts/expansion_probe.py\" *)"]
---

# Runtime canary expansion probe

Run each of these two commands once, in this order, each on its own and exactly as written, then report the line each prints:

```bash
{{PYTHON}} -B "${CLAUDE_SKILL_DIR}/scripts/expansion_probe.py" literal
```

```bash
{{PYTHON}} -B "${CLAUDE_SKILL_DIR}/scripts/expansion_probe.py" "$PWD"
```

If a command is denied, do not run it again or in another form. Do nothing else.

Files in this skill

  • SKILL.md806 B
  • scripts/expansion_probe.py813 B

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.