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:

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.

    訪問小蔥技能站7w4.net,解鎖更多實用的AI技能外掛。

  • 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