‹ 首页

agent-system-output-hygiene-ops

@mahsumaktas · 收录于 1 周前 · 上游提交 4 个月前

Audit and remediate AgentSystem cron output hygiene by detecting raw tool logs, stack traces, and noisy summaries. Use when jobs leak 403/429/internal details, summaries are not user-safe, or post-change validation is required.

适合你,如果管理定时任务输出,需要清理敏感信息并确保摘要安全。

/ 通过 npx 安装 校验哈希
npx oh-my-skill add mahsumaktas/agent-evolution-kit/agent-system-output-hygiene-ops
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- mahsumaktas/agent-evolution-kit/agent-system-output-hygiene-ops
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify mahsumaktas/agent-evolution-kit/agent-system-output-hygiene-ops
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
1GitHub stars
~302上下文体积 · 单文件
索引托管

怎么用

商店整理自技能原文 · 版本 c599c87 · 表述以原文为准
它做什么

装上后,Claude 会审计并修复 AgentSystem 定时任务的输出,检测原始工具日志、堆栈跟踪和冗长摘要,确保输出简洁且适合面向用户。

什么时候触发

当定时任务输出泄露 403/429 错误、内部细节或摘要不安全时触发,也用于变更后验证。

装好后可以这样说
运行卫生审计脚本。
修补后重新运行确认干净。
技能原文 SKILL.md作者撰写 · MIT · c599c87

AgentSystem Output Hygiene Ops

Run this skill when cron summaries must stay concise and safe for user-facing channels.

Quick Start
  1. Run hygiene audit:
bash scripts/hygiene_audit.sh --run-suite
  1. If leaks exist, patch top leaking jobs using references/prompt-remediation.md.
  1. Smoke-test patched jobs:
agent-system cron run <job-id> --expect-final --timeout 480000
agent-system cron runs --id <job-id> --limit 2 --expect-final
Workflow
  1. Run scripts/hygiene_audit.sh and identify highest-frequency leaking job IDs.
  2. Prioritize jobs leaking raw tool output (Exec, stack trace, raw JSON, 403/429 payloads).
  3. Apply strict output contract to prompt:
  4. ban raw logs and internal diagnostics
  5. force compact final format or NO_REPLY
  6. prefer deterministic local fallback over noisy web-search errors
  7. Re-run patched jobs and confirm the latest run is clean.
  8. Re-run health suite and record report paths.
Resources
  • scripts/hygiene_audit.sh: summarizes leak-heavy jobs from latest health report.
  • references/prompt-remediation.md: safe prompt patch template and command pattern.
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。