Borrowing it
Nothing to install: this file belongs to zhouguoqing/QianYuan.AIAgenticFramework. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/zhouguoqing/QianYuan.AIAgenticFramework/main/.agents/skills/api-gateway/SKILL.mdgit clone --depth 1 https://github.com/zhouguoqing/QianYuan.AIAgenticFrameworkWrote 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/zhouguoqing/qianyuan.aiagenticframework/api-gateway)<a href="https://agentmods.dev/skills/zhouguoqing/qianyuan.aiagenticframework/api-gateway"><img src="https://agentmods.dev/badge/skills/zhouguoqing/qianyuan.aiagenticframework/api-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/zhouguoqing/qianyuan.aiagenticframework/api-gateway"><img src="https://agentmods.dev/badge/skills/zhouguoqing/qianyuan.aiagenticframework/api-gateway.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 28 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Tool Misuse · line 230 Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
- medium Data Exfiltration · line 37 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
- medium Data Exfiltration · line 45 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
- medium Data Exfiltration · line 56 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
- medium Data Exfiltration · line 57 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
- medium Data Exfiltration · line 124 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
- medium Data Exfiltration · line 170 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
- medium Data Exfiltration · line 198 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
- medium Data Exfiltration · line 238 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
- medium Data Exfiltration · line 263 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
- medium Data Exfiltration · line 625 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
- medium Data Exfiltration · line 645 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
- medium Data Exfiltration · line 665 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
- medium Data Exfiltration · line 685 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
- medium Data Exfiltration · line 705 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
- medium Data Exfiltration · line 726 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
- medium Data Exfiltration · line 748 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
- medium Data Exfiltration · line 773 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
- medium Data Exfiltration · line 788 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
- medium Data Exfiltration · line 835 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
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.00049 | $0.13463 |
| Opus 5 | $0.00024 | $0.06731 |
| Sonnet 5 | $0.00010 | $0.02693 |
| Haiku 4.5 | $0.00005 | $0.01346 |
Grade A, and why
api-gateway scanned grade A with 1 finding 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 10d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
import urllib.request, os, json Copies of this mod
1 near-identical copy found in the catalogue:
- api-gateway — 97% identical, 1,513 lines differ
How it starts
The opening of the file, as written. The whole thing — 901 lines — stays where its author put it; the contents beside it link to each section on GitHub.
API Gateway
Managed API routing for third-party services, provided by Maton. Use this only for a user-requested app, account, and task.
Quick Start
CLI:
maton slack channel list --types public_channel --limit 10
maton api '/slack/api/conversations.list?types=public_channel&limit=10'
Python:
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/slack/api/conversations.list?types=public_channel&limit=10')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
Routing
Use https://api.maton.ai/ with the app-prefixed routes documented in the examples below or in the matching reference file.
Usage protocol:
- Only invoke after the user specifies the exact app, account, and task.
- Always start with read-only (GET) calls to verify the target account, resource identifiers, and current state.
- All non-GET requests are denied unless the user explicitly approves each one. Before any POST, PUT, PATCH, or DELETE call, present the user with: the exact connection ID, the full endpoint path, the request body, and the expected outcome — then wait for approval.
- If the user's request implies a non-GET operation, first show them what you intend to call and ask for confirmation. Do not infer approval from the original request.
Read-only route examples:
https://api.maton.ai/slack/api/conversations.list?types=public_channel&limit=10
https://api.maton.ai/google-mail/gmail/v1/users/me/messages
The first path segment is the app identifier listed in Supported Services. For Gmail, use /google-mail/gmail/v1/users/me/messages.
Installation
NPM:
npm install -g @maton-ai/cli
Homebrew:
brew install maton-ai/cli/maton
Authentication
IMPORTANT — Credential Safety:
- Treat
MATON_API_KEYas a secret. Never log it, echo it, paste it into prompts, or expose it in shared files, command output, or tool results. - Connection creation requires explicit user approval. Before creating any connection, ask the user to confirm the specific service and confirm they intend to authorize access. Never create connections on the agent's own initiative.
- Least-privilege scopes: When a service offers scope selection during OAuth, select only the scopes the current task requires. Do not accept broader scopes for convenience.
- Remove connections immediately after the task is complete if they are no longer needed (
maton connection delete {id}). - If the key may have been exposed (logs, screenshots, shared terminals), rotate it immediately at maton.ai/settings.
- Never share the key across users, workflows, or environments that do not require it.
What ships with it
60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- CONTRIBUTING.md 1.2 KB
- LICENSE 1.0 KB
- README.md 651 B
- references/active-campaign/README.md 3.2 KB
- references/acuity-scheduling/README.md 3.0 KB
- references/airtable/README.md 3.0 KB
- references/apify/README.md 3.6 KB
- references/apollo/README.md 4.0 KB
- references/asana/README.md 4.7 KB
- references/attio/README.md 4.8 KB
- references/basecamp/README.md 2.8 KB
- references/baserow/README.md 3.7 KB
- references/beehiiv/README.md 2.6 KB
- references/box/README.md 5.0 KB
- references/brave-search/README.md 2.8 KB
- references/brevo/README.md 3.7 KB
- references/buffer/README.md 4.3 KB
- references/cal-com/README.md 3.4 KB
- references/calendly/README.md 2.6 KB
- references/callrail/README.md 3.1 KB
- references/chargebee/README.md 5.5 KB
- references/clickfunnels/README.md 5.3 KB
- references/clicksend/README.md 2.3 KB
- references/clickup/README.md 2.9 KB
- references/clio/README.md 6.1 KB
- references/clockify/README.md 3.7 KB
- references/coda/README.md 3.6 KB
- references/cognito-forms/README.md 2.4 KB
- references/companycam/README.md 3.6 KB
- references/confluence/README.md 4.6 KB
- references/constant-contact/README.md 9.3 KB
- references/dropbox-business/README.md 12 KB
- references/dropbox/README.md 6.1 KB
- references/elevenlabs/README.md 1.8 KB
- references/eventbrite/README.md 4.2 KB
- references/exa/README.md 4.0 KB
- references/facebook-page/README.md 3.7 KB
- references/fal-ai/README.md 2.6 KB
- references/fathom/README.md 1.9 KB
- references/firebase/README.md 3.1 KB
- references/firecrawl/README.md 3.5 KB
- references/fireflies/README.md 1.8 KB
- references/front/README.md 3.9 KB
- references/getresponse/README.md 2.8 KB
- references/github/README.md 9.0 KB
- references/google-ads/README.md 5.4 KB
- references/google-analytics-admin/README.md 5.7 KB
- references/google-analytics-data/README.md 4.2 KB
- references/google-apps-script/README.md 3.2 KB
- references/google-bigquery/README.md 3.9 KB
- references/google-calendar/README.md 5.1 KB
- references/google-classroom/README.md 2.6 KB
- references/google-contacts/README.md 3.3 KB
- references/google-docs/README.md 3.4 KB
- references/google-drive/README.md 7.7 KB
- references/google-forms/README.md 4.1 KB
- references/google-mail/README.md 5.5 KB
- references/google-meet/README.md 2.7 KB
- references/google-merchant/README.md 5.0 KB
- references/google-play/README.md 3.8 KB
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.
- 10d ago First seen · 901 lines · 49 tokens per session scan A 6755c661b621
api-gateway is a skill published in the GitHub repository zhouguoqing/QianYuan.AIAgenticFramework (36 stars, last pushed 24d ago), licensed Apache-2.0. It adds 49 tokens to every session and 13,463 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
Telephony
Give Elephant Agent phone capabilities without core tool changes. Provision and persist a Twilio number, send and receive SMS/MMS, make direct calls, and place AI-driven outbound calls through Bland.ai or Vapi.
GIF Search
Search and download reaction GIFs through the Tenor API using curl and jq when the user wants lightweight media retrieval.
ASCII Art
Generate ASCII art using pyfiglet (571 fonts), cowsay, boxes, toilet, image-to-ascii, remote APIs (asciified, ascii.co.uk), and LLM fallback. No API keys required.
eng-go-developer
Implement Go code with clear errors, tests, and observability.
api-testing
Comprehensive API testing, validation, and test suite generation.
event-store-design
Design and implement event stores for event-sourced systems. Use when building event sourcing infrastructure, choosing event store technologies, or implementing event persistence patterns.