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-log-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-log-module-skill)<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/fastapi-log-module-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/fastapi-log-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-log-module-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/fastapi-log-module-skill.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.00076 | $0.00532 |
| Opus 5.5 | $0.00030 | $0.00213 |
| Sonnet 5.5 | $0.00015 | $0.00106 |
| Haiku 4.5 | $0.00008 | $0.00053 |
Grade A, and why
fastapi-log-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 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
FastAPI Log Module Skill
面向已有 FastAPI 项目的开发者,快速集成日志和审计能力。
能力清单
| 能力 | 说明 |
|---|---|
| 操作日志 | 记录用户操作 |
| 登录日志 | 记录登录登出 |
| 审计追踪 | 敏感操作审计 |
| 日志查询 | 分页查询、导出 |
数据模型
class OperationLog(Base):
__tablename__ = "wg_operation_log"
id = Column(BigInteger, primary_key=True)
user_id = Column(BigInteger)
username = Column(String(50))
module = Column(String(50)) # 模块
operation = Column(String(50)) # 操作
method = Column(String(10)) # 请求方法
path = Column(String(255)) # 请求路径
params = Column(Text) # 请求参数
result = Column(Text) # 返回结果
ip = Column(String(50)) # IP 地址
location = Column(String(255)) # 地理位置
duration = Column(Integer) # 耗时 ms
created_at = Column(DateTime)
class LoginLog(Base):
__tablename__ = "wg_login_log"
id = Column(BigInteger, primary_key=True)
user_id = Column(BigInteger)
username = Column(String(50))
status = Column(Integer) # 1成功 0失败
ip = Column(String(50))
location = Column(String(255))
user_agent = Column(String(500))
message = Column(String(255))
created_at = Column(DateTime)
API 接口
| 方法 | 路径 | 说明 |
|---|---|---|
| GET | /api/log/operation/list | 操作日志列表 |
| GET | /api/log/login/list | 登录日志列表 |
不做
- 不负责日志存储(业务层自行选择)
- 不处理日志分析(ELK 等专门工具)
What ships with it
2 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.
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 · 64 lines · 76 tokens per session scan A 179e00b166da
fastapi-log-module-skill is a skill published in the GitHub repository jiushiwon/wg-skills (154 stars, last pushed 6d ago), licensed Apache-2.0. It adds 76 tokens to every session and 532 once invoked, about $0.0003 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-09-15.
fastapi-log-module-skill compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| fastapi-log-module-skilljiushiwon/wg-skills | Skill | 154 | 6d ago | Apache-2.0 | A | 76 | Claude Code, Codex |
| mem0-oss-to-platformmem0ai/mem0 | Skill | 70k | 3d ago | Apache-2.0 | A | 217 | Claude Code, Codex |
| tao-run-inference-serviceNVIDIA/skills | Skill | 4.2k | today | Apache-2.0 | A | 92 | Claude Code |
| azure-mgmt-botservice-dotnetmicrosoft/skills | Skill | 3.3k | yesterday | MIT | A | 78 | Claude Code |
| fastapi-router-pymicrosoft/skills | Skill | 3.3k | yesterday | MIT | A | 46 | Claude Code |
| dev-runtimelangwatch/langwatch | Skill | 5.1k | today | Apache-2.0 | A | 172 | Claude Code |
| api-designericrisco/rsc-harness | Skill | 691 | 5d ago | MIT | A | 105 | Claude Code, Codex |