agent-runlog

👤 builtbyecho 📦 v0.4.3 ⭐ 4.2 ⬇️ 884 下载
🔒 IT运维与安全 免费

📖 技能介绍


name: agent-runlog description: Wrap shell commands with the agent-runlog CLI to capture concise, redacted run logs for debugging, CI reproduction, long-running agent commands, repeated failures, test/lint/build evidence, and handoffs where stdout/stderr plus git state should be preserved without flooding chat.


Agent Runlog Skill

Use agent-runlog when command output needs to be preserved and summarized for debugging or handoff. It writes a small local ledger under .agent-runs/<timestamp>/.

Default workflow

From the project root:

npx @builtbyecho/agent-runlog -- npm test
npx @builtbyecho/agent-runlog -- npm run lint
npx @builtbyecho/agent-runlog -- npm run build

Then inspect:

cat .agent-runs/*/report.md | tail -n 120

For automation:

小葱技能站7w4.net每天更新,海量AI技能等你发现。

npx @builtbyecho/agent-runlog --json -- npm test > run.json

When to use

  • Long or flaky test/build/lint runs.
  • Reproducing CI failures locally.
  • Capturing evidence before handing work to another agent.
  • Diagnosing repeated error loops or noisy logs.

Safety

  • Redaction is on by default. Avoid --no-redact unless the user explicitly needs raw local logs.
  • Do not wrap destructive commands without user approval.
  • If logs may include private data, keep .agent-runs/ local and summarize instead of posting full logs.

Useful commands

npx @builtbyecho/agent-runlog -- <command> [args...]
npx @builtbyecho/agent-runlog -o .agent-runs/lint -- npm run lint
npx @builtbyecho/agent-runlog --cwd ./subproject -- npm test
npx @builtbyecho/agent-runlog --quiet -- npm test

🤖 AI 评测

这个 Skill 整体质量不错,文档通俗易懂、示例丰富,能帮助你保存命令运行日志用于调试和交接工作。它在安全提示方面做得较好,能提醒你注意敏感数据保护。美中不足的是,新用户可能不清楚需要先安装额外的命令行工具才能使用,缺少这方面的说明;另外如果使用中遇到问题,目前没有故障排查指南可以参考。整体而言这是一个简单实用的工具,适合日常开发场景使用。

📊 多维度评分

适应性4.4
规范性4.1
有效性4.5
可靠性3.7
可信度4.2

📁 包含文件 (3 个)

📄 SKILL.md 1.6 KB
📄 _meta.json 131 B
📄 skill-card.md 2.3 KB