multi-agent-system-pattern: Skill for Cursor

.cursor/skills/aegis-gateway/SKILL.md

aegis-gateway is a skill for Cursor from vpeetla-ai/multi-agent-system-pattern. It costs 58 tokens per session (311 once invoked), scanned A, original, MIT.

A gateway that checks requests before an application sends notifications, publishes content, deploys, or performs another external side effect.

In plain words
What is it for?
Use it before sending Slack, Telegram, or WhatsApp messages, publishing to LinkedIn, X, or Substack, or deploying to protected branches.
Why use it?
It provides a central policy check and can pause an action for human approval, reducing the risk of unauthorized external changes.

Skill for Cursor

Written for Cursor: installed under .cursor/.

This is vpeetla-ai/multi-agent-system-pattern's own configuration. It tells Cursor how to work on multi-agent-system-pattern itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything multi-agent-system-pattern configures →

Reuse

Borrowing it

Nothing to install: this file belongs to vpeetla-ai/multi-agent-system-pattern. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/vpeetla-ai/multi-agent-system-pattern/main/.cursor/skills/aegis-gateway/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/vpeetla-ai/multi-agent-system-pattern

Made for: Cursor.

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 aegis-gateway

README.md
[![agentmods](https://agentmods.dev/badge/skills/vpeetla-ai/multi-agent-system-pattern/aegis-gateway/github.svg)](https://agentmods.dev/skills/vpeetla-ai/multi-agent-system-pattern/aegis-gateway)
Your own site
<a href="https://agentmods.dev/skills/vpeetla-ai/multi-agent-system-pattern/aegis-gateway"><img src="https://agentmods.dev/badge/skills/vpeetla-ai/multi-agent-system-pattern/aegis-gateway/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 aegis-gateway

Your own site · 80×15
<a href="https://agentmods.dev/skills/vpeetla-ai/multi-agent-system-pattern/aegis-gateway"><img src="https://agentmods.dev/badge/skills/vpeetla-ai/multi-agent-system-pattern/aegis-gateway.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 311 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.00058 $0.00311
Opus 5 $0.00029 $0.00156
Sonnet 5 $0.00012 $0.00062
Haiku 4.5 $0.00006 $0.00031

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

Security

Grade A, and why

aegis-gateway 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 9d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.cursor/skills/aegis-gateway/SKILL.md · 53 lines

What it actually says

AegisAI Gateway Integration

When required

Any side effect leaving the system:

  • Publish to LinkedIn/X/Substack
  • Send Slack/Telegram/WhatsApp messages
  • Deploy or git push to protected branches (prefer PR workflow)

Pattern

# integrations/aegis_gateway.py (existing in VAP, AegisLoop, Content Factory)
result = await gateway.request_tool(
    tool_name="notify_slack",
    payload={...},
    agent_id="...",
    run_id="...",
)
if result.requires_hitl:
    # pause until approval

Env vars

AEGISAI_API_BASE_URL=https://...
AEGISAI_API_KEY=...

Dev mode

  • If gateway URL unset → fail open with logged warning (local dev only)
  • Never fail open in production configs

Do not

  • Embed policy logic in orchestrator prompts — policy lives in AegisAI/OPA
  • Bypass gateway "temporarily" in production code paths

Reference

aegisai-enterprise-agent-platform — gateway SDK + POST /api/gateway/tool-request

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. 9d ago First seen · 53 lines · 58 tokens per session scan A 6f80d303827b

Subscribe to this mod's changes

aegis-gateway is a skill published in the GitHub repository vpeetla-ai/multi-agent-system-pattern (2 stars, last pushed 4d ago), licensed MIT. It adds 58 tokens to every session and 311 once invoked, about $0.0003 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.