adversarial-boundary-gate

adversarial-boundary-gate is a skill for Claude Code, Codex from hoanganhduc/ai-agents-skills. It costs 71 tokens per session (598 once invoked), scanned A, original, GPL-3.0.

A safety review for work that uses information from outside the agent or could trigger an outward-facing or irreversible action. It maps trust boundaries and checks for abuse cases and prompt injection, where untrusted text tries to alter the agent's instructions.

In plain words
What is it for?
Use it before delivering work based on retrieved material or before sending messages, changing external systems, or taking actions that are difficult to undo.
Why use it?
It helps separate reliable instructions from untrusted content such as web pages, PDFs, documents, or tool output before that content affects the result or an external action.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it before delivering work based on retrieved material or before sending messages, changing external systems, or taking actions that are difficult to undo.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hoanganhduc/ai-agents-skills/adversarial-boundary-gate
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 hoanganhduc/ai-agents-skills --skill adversarial-boundary-gate
Clone the repo
git clone --depth 1 https://github.com/hoanganhduc/ai-agents-skills

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 adversarial-boundary-gate

README.md
[![agentmods](https://agentmods.dev/badge/skills/hoanganhduc/ai-agents-skills/adversarial-boundary-gate/github.svg)](https://agentmods.dev/skills/hoanganhduc/ai-agents-skills/adversarial-boundary-gate)
Your own site
<a href="https://agentmods.dev/skills/hoanganhduc/ai-agents-skills/adversarial-boundary-gate"><img src="https://agentmods.dev/badge/skills/hoanganhduc/ai-agents-skills/adversarial-boundary-gate/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 adversarial-boundary-gate

Your own site · 80×15
<a href="https://agentmods.dev/skills/hoanganhduc/ai-agents-skills/adversarial-boundary-gate"><img src="https://agentmods.dev/badge/skills/hoanganhduc/ai-agents-skills/adversarial-boundary-gate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 598 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 unknown 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.00071 $0.00598
Opus 5 $0.00036 $0.00299
Sonnet 5 $0.00014 $0.00120
Haiku 4.5 $0.00007 $0.00060

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

Security

Grade A, and why

adversarial-boundary-gate 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 12d 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.

canonical/skills/adversarial-boundary-gate/SKILL.md · 54 lines

The source is not reproduced here

Licensed GPL-3.0

The repository is licensed GPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

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. 12d ago First seen · 54 lines · 71 tokens per session scan A 7f6006c05f52

Subscribe to this mod's changes

adversarial-boundary-gate is a skill published in the GitHub repository hoanganhduc/ai-agents-skills (2 stars, last pushed yesterday), licensed GPL-3.0. It adds 71 tokens to every session and 598 once invoked, about $0.0004 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-31.

Related

Other skills, from other repositories

skill-creator

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

CherryHQ/cherry-studio · 64 tokens

gh-pr-review

Automated Cherry Studio review for local branches, PRs, commits, files, architecture docs, and repository skills. Use for code or documentation reviews that need project-specific naming, main/renderer/shared placement and dependency rules, IpcApi and DataApi boundaries, lifecycle/service ownership, renderer hooks…

CherryHQ/cherry-studio · 147 tokens

prepare-release

Prepare a new release by collecting commits, generating bilingual release notes, updating version files, and creating a release branch. Use when asked to prepare/create a release, bump version, or run /prepare-release.

CherryHQ/cherry-studio · 44 tokens

claude-automation-recommender

Analyze a codebase and recommend Claude Code automations (hooks, subagents, skills, plugins, MCP servers). Use when user asks for automation recommendations, wants to optimize their Claude Code setup, mentions improving Claude Code workflows, asks how to first set up Claude Code for a project, or wants to know what…

CherryHQ/cherry-studio · 77 tokens

gh-create-issue

Use when user wants to create a GitHub issue for the current repository. Must read and follow the repository's issue template format.

CherryHQ/cherry-studio · 31 tokens

gh-create-pr

Create or update GitHub pull requests using the repository-required workflow and template compliance. Use when asked to create/open/update a PR so the assistant reads .github/pullrequesttemplate.md, fills every template section, preserves markdown structure exactly, and marks missing data as N/A or None instead of…

CherryHQ/cherry-studio · 65 tokens