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 jiushiwon/wg-skills --skill fastapi-notification-module-skillgit clone --depth 1 https://github.com/jiushiwon/wg-skillsWrote 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/jiushiwon/wg-skills/fastapi-notification-module-skill)<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/fastapi-notification-module-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/fastapi-notification-module-skill/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/jiushiwon/wg-skills/fastapi-notification-module-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/fastapi-notification-module-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00093 | $0.01742 |
| Opus 5 | $0.00046 | $0.00871 |
| Sonnet 5 | $0.00019 | $0.00348 |
| Haiku 4.5 | $0.00009 | $0.00174 |
Grade A, and why
fastapi-notification-module-skill 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 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.
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.
How it starts
The opening of the file, as written. The whole thing — 257 lines — stays where its author put it; the contents beside it link to each section on GitHub.
FastAPI Notification Module Skill
面向已有 FastAPI 项目的开发者,快速集成通知能力。
能力清单
| 能力 | 说明 |
|---|---|
| 短信发送 | 验证码/通知短信 |
| 邮件推送 | HTML/文本邮件/模板邮件 |
| 站内消息 | 系统通知/未读消息 |
| 推送通知 | 极光/FCM |
| 消息模板 | 模板管理和渲染 |
触发场景
用户说"帮我加短信"或"集成通知"时触发。
核心实现
依赖配置
# 短信
pip install aliyun-python-sdk-core
# 邮件
pip install aiosmtpd jinja2
# 站内消息
pip install redis
配置
# config.py
from pydantic_settings import BaseSettings
class Settings(BaseSettings):
# 短信配置
sms_access_key: str = ""
sms_secret_key: str = ""
sms_sign_name: str = ""
sms_template_code: str = ""
# 邮件配置
mail_host: str = "smtp.qq.com"
mail_port: int = 587
mail_username: str = ""
mail_password: str = ""
# Redis 配置
redis_host: str = "localhost"
redis_port: int = 6379
数据模型
# models.py
from sqlalchemy import Column, BigInteger, String, Text, Integer, DateTime, Enum as SQLEnum
from database import Base
import enum
class NotificationType(str, enum.Enum):
SYSTEM = "system"
SMS = "sms"
EMAIL = "email"
PUSH = "push"
class Notification(Base):
__tablename__ = "wg_notification"
id = Column(BigInteger, primary_key=True, autoincrement=True)
user_id = Column(String(50), nullable=False, index=True)
title = Column(String(200), nullable=False)
content = Column(Text, nullable=False)
type = Column(SQLEnum(NotificationType), default=NotificationType.SYSTEM)
link = Column(String(500))
is_read = Column(Integer, default=0)
created_at = Column(DateTime, server_default=func.now())
class SmsCode(Base):
__tablename__ = "wg_sms_code"
id = Column(BigInteger, primary_key=True, autoincrement=True)
phone = Column(String(20), nullable=False, index=True)
code = Column(String(10), nullable=False)
template_code = Column(String(50))
expire_time = Column(DateTime)
used = Column(Integer, default=0)
created_at = Column(DateTime, server_default=func.now())
What ships with it
1 file 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.
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 · 257 lines · 93 tokens per session scan A d23f828a522c
fastapi-notification-module-skill is a skill published in the GitHub repository jiushiwon/wg-skills (98 stars, last pushed yesterday), licensed Apache-2.0. It adds 93 tokens to every session and 1,742 once invoked, about $0.0005 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-30.
Other skills, from other repositories
django-patterns
Django architecture patterns, REST API design with DRF, ORM best practices, caching, signals, middleware, and production-grade Django apps.
fastapi-patterns
FastAPI patterns for async APIs, dependency injection, Pydantic request and response models, OpenAPI docs, tests, security, and production readiness.
stripe-projects
Use after E2B sandbox/API access has been provisioned through Stripe Projects and the user needs to use the resulting E2B API key with the E2B CLI, JavaScript SDK, Python SDK, or Code Interpreter SDK.
azure-messaging-webpubsubservice-py
Azure Web PubSub Service SDK for Python. Use for real-time messaging, WebSocket connections, and pub/sub patterns. Triggers: "azure-messaging-webpubsubservice", "WebPubSubServiceClient", "real-time", "WebSocket", "pub/sub".
azure-mgmt-botservice-py
Azure Bot Service Management SDK for Python. Use for creating, managing, and configuring Azure Bot Service resources. Triggers: "azure-mgmt-botservice", "AzureBotService", "bot management", "conversational AI", "bot channels".
backend
Python server code, APIs, async, strict typing.