Install
$ agentstack add skill-yuaicode-ai-skills-lambda-logs-zh ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
lambda-logs-zh — Lambda 报错中文速查
把 CloudWatch 里一大片重复报错,收敛成"几类问题 + 每类的中文根因和建议"。
何时触发
用户说"看下 xx 函数的 lambda 日志 / lambda 报错了 / 查 CloudWatch / 排查这个函数"。
用法
- 取报错日志(需 aws CLI + 凭据):
``bash bash /bin/fetch-errors.sh [窗口] [region] # 例:bash /bin/fetch-errors.sh my-func 6h ap-southeast-1 # 或直传日志组:bash /bin/fetch-errors.sh --group /aws/lambda/my-func 24h `` 窗口缺省 1h(支持 1h/6h/24h/7d)。输出 LOG_GROUP / WINDOW / ERRORS(原始报错文本)。
- 聚类去重:把 ERRORS 按"同一类错误"归并(忽略时间戳/requestId/具体值的差异),统计每类出现次数。
- 对每类给出中文小结:
- 现象(报错关键行)· 出现次数 · 疑似根因 · 建议排查/修复方向
- 按次数从高到低排;高频的优先。
- 报告读取范围(日志组 + 窗口)与"没覆盖到的"(如窗口外、非 ERROR 级)。
输出模板
## 最近 报错小结(共 N 类 / M 条)
### 1. ×
- 现象:``
- 疑似根因:
- 建议:
### 2. ...
硬规则
- 不臆造:根因拿不准就说"需结合代码/调用上下文确认",别编。
- 聚类按错误本质归并,不要把同一类的不同 requestId 当成多类。
- 报错里若含疑似密钥/PII,在摘要里打码,不要原样回显敏感值。
- 只读日志,不改任何 AWS 资源。
边界
- 依赖 aws CLI + 已配置凭据/region;缺失时脚本会明确报错。
- 只看 CloudWatch Logs;不拉 X-Ray / 指标(需要的话另说)。
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: YuAICode
- Source: YuAICode/ai-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.