safe-debug
安全诊断深度学习错误
训练失败可能会在根因尚未明确前引导智能体进行有风险的补丁修改。此技能指导保守诊断、保存点规划以及基于批准的修复。
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "safe-debug" from https://skillstore.io/skills/lllllllama-safe-debug.md and its manifest at https://skillstore.io/api/skills/lllllllama-safe-debug/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“safe-debug”。 模型训练期间出现 CUDA 内存不足回溯。
预期结果:
该技能将问题分类为 CUDA OOM,建议检查批大小和精度设置,并在获得批准前阻止打补丁。
正在使用“safe-debug”。 检查点加载失败,存在缺失键和意外键。
预期结果:
该技能识别出检查点不匹配,要求用户验证模型变体假设,并建议在兼容性变更前创建保存点。
正在使用“safe-debug”。 更改数据集标签后出现形状不匹配。
预期结果:
该技能将问题缩小到数据集、头部维度或配置不匹配,并建议在编辑模型内部逻辑前记录边界形状。
安全审计
安全All external-command findings are false positives caused by Markdown backticks in Python strings or documentation; no commands are executed. Both traversal findings are fixed references to shared Markdown guidance, not user-controlled paths. No prompt injection, exfiltration intent, or other semantic threat was found.
风险因素
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/lllllllama-safe-debug/audits/7?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/lllllllama-safe-debug?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/lllllllama-safe-debug?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/lllllllama-safe-debug/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/lllllllama-safe-debug.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学术引用 (APA · BibTeX · CFF)
APA 引用
lllllllama. (2026). safe-debug security audit report (audit version 7) [Author version unspecified]. Skillstore. https://skillstore.io/skills/lllllllama-safe-debug/audits/7BibTeX 引用
@techreport{lllllllama-lllllllama-safe-debug-2026,
author = {lllllllama},
title = {safe-debug security audit report (audit version 7)},
institution = {Skillstore},
year = {2026},
number = {7},
url = {https://skillstore.io/skills/lllllllama-safe-debug/audits/7},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "safe-debug security audit report (audit version 7)"
version: "unspecified"
type: report
authors:
- name: "lllllllama"
date-released: "2026-08-08"
url: "https://skillstore.io/skills/lllllllama-safe-debug/audits/7"
identifiers:
- type: other
value: "skillstore:lllllllama-safe-debug:audit:7"
description: "Skillstore immutable audit report identifier"
Skillstore 评分
评分依据 证据置信度: 高你能构建什么
分诊训练崩溃
分析粘贴的回溯,并在修改实验代码前识别可能的失败类别。
规划最小修复
生成补丁计划,将配置修复与模型或数据集逻辑变更分开。
控制智能体打补丁
在 AI 助手编辑文件前,要求诊断、证据、保存点指导和用户批准。
试试这些提示
使用 safe-debug 诊断此回溯。识别可能的类别,解释证据,并且暂时不要修补代码:[paste traceback]
使用 safe-debug 比较此训练失败最可能的原因。按证据对它们排序,并列出任何代码变更前的最小检查项:[paste symptom]
使用 safe-debug 为此错误创建补丁计划。分开列出配置修复、环境检查和代码变更。说明是否需要保存点:[paste error]
使用 safe-debug 审查拟议的调试修复是否会改变研究可比性。识别需要验证的指标、检查点或数据集假设:[describe fix]
最佳实践
- 提供完整回溯、启动命令和最近的配置变更。
- 在授权编辑前审查诊断和补丁计划。
- 在影响检查点、模型形状、分布式训练或损失行为的修复前创建保存点。
避免
- 在没有活动失败的情况下,将该技能用于广泛重构或仓库 walkthrough。
- 要求智能体先打补丁,再解释诊断。
- 在未检查实验可比性的情况下,将通过的调试修复视为已验证的研究贡献。
常见问题
此技能会自动编辑代码吗?
它能识别哪些类型的失败?
它可以处理内联错误文本吗?
这对深度学习项目之外的场景有用吗?
为什么它建议创建保存点?
作者在市场发布前应修复什么?
开发者详情
作者
lllllllama许可证
MIT
Skillstore 修订
r2
版本提示
作者未声明版本。
引用
656be3040aef5c047555a908cd5c695d22a4a548
维护新鲜度
2026/8/8
使用量
6 次下载 · 3 次浏览
文件结构