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.
npx skills add timmx7/styx --skill styx-gatewaygit clone --depth 1 https://github.com/timmx7/styxWrote 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/timmx7/styx/styx-gateway)<a href="https://agentmods.dev/skills/timmx7/styx/styx-gateway"><img src="https://agentmods.dev/badge/skills/timmx7/styx/styx-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.
<a href="https://agentmods.dev/skills/timmx7/styx/styx-gateway"><img src="https://agentmods.dev/badge/skills/timmx7/styx/styx-gateway.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.00038 | $0.00512 |
| Opus 5.5 | $0.00015 | $0.00205 |
| Sonnet 5.5 | $0.00008 | $0.00102 |
| Haiku 4.5 | $0.00004 | $0.00051 |
Grade A, and why
styx-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 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.
What it actually says
Styx — MCP-Native AI API Gateway
You have access to a running Styx gateway that proxies and manages LLM API traffic across multiple providers.
What Styx Does
Styx is a unified gateway that sits between your application and AI providers (OpenAI, Anthropic, Google, Mistral, etc.). It provides:
- Unified endpoint: Send requests to
http://localhost:8080/v1/chat/completionsusing OpenAI-compatible format - Key management: Store and rotate API keys for all providers in one place
- Rate limiting: Per-key and per-model rate limits to control costs
- Caching: Semantic caching to reduce duplicate API calls
- Analytics: Real-time usage tracking, cost monitoring, and latency metrics
- MCP server: Native Model Context Protocol server at
/mcp
Available MCP Tools
list_providers— List all configured AI providers and their statuslist_models— List available models across all providersget_usage— Get usage statistics for a time rangeget_health— Check gateway health and provider connectivitycreate_api_key— Generate a new API key with optional rate limitsrevoke_api_key— Revoke an existing API keylist_api_keys— List all API keys and their statusget_cache_stats— View cache hit rates and savingsroute_request— Send a chat completion through the gateway
Common Workflows
Check gateway status
Use get_health to verify Styx is running and all providers are reachable.
View costs and usage
Use get_usage with a date range to see token consumption and costs by provider and model.
Create a scoped API key
Use create_api_key with rate limit parameters to generate keys for specific applications or team members.
Setup
If Styx is not yet running:
git clone https://github.com/styx-hq/styx.git
cd styx && ./setup.sh && docker compose up -d
Gateway: http://localhost:8080 | Dashboard: http://localhost:3000
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 First seen · 55 lines · 38 tokens per session scan A 3262142868bd
styx-gateway is a skill published in the GitHub repository timmx7/styx (5 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 38 tokens to every session and 512 once invoked, about $0.0002 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-08-31.
styx-gateway compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| styx-gatewaytimmx7/styx | Skill | 5 | 5mo ago | Apache-2.0 | A | 38 | Claude Code |
| gemini-api-agent-platformdavila7/claude-code-templates | Skill | 33k | yesterday | MIT | A | 61 | Claude Code, Codex |
| open-sourcebrowser-use/browser-use | Skill | 120k | yesterday | MIT | A | 137 | Claude Code |
| prowler-mcpprowler-cloud/prowler | Skill | 15k | yesterday | Apache-2.0 | A | 67 | Claude Code |
| gemini-api-devgoogle-gemini/gemini-skills | Skill | 4.4k | yesterday | Apache-2.0 | A | 85 | Claude Code |
| deepstream-sopNVIDIA/skills | Skill | 3.9k | yesterday | Apache-2.0 | A | 219 | Claude Code |
| azure-search-documents-dotnetmicrosoft/skills | Skill | 3.2k | yesterday | MIT | A | 102 | Claude Code |