agent-pulse

โดย jane-o-o-o-o

ใช้ Agent Pulse เพื่อตรวจสอบกิจกรรมของ AI-agent ในเครื่องที่ทำงานบน Hermes, Claude Code, Codex, DeepSeek, OpenClaw, Copilot, Aider, Qwen, OpenCode, Goose, Cursor, Antigravity และบันทึกของ Amp ใช้เมื่อผู้ใช้สอบถามเกี่ยวกับเซสชันของ AI-agent, โทเค็น, การเรียกใช้เครื่องมือ/การค้นหา, การใช้งานโมเดล, ค่าใช้จ่ายโดยประมาณ, งบประมาณ, การคาดการณ์, การตรวจสอบสถานะ, รายงาน, การวินิจฉัยการตั้งค่า, การส่งออกข้อมูลทางเว็บ/API/เมตริก หรือการรวม MCP

npx skills add https://github.com/jane-o-o-o-o/agent-pulse-skills --skill agent-pulse

Agent Pulse

Purpose

Use the installed agent-pulse CLI as the source of truth for local AI-agent activity. The PyPI package is agentpulse-cli, while the command remains agent-pulse. Prefer running commands and summarizing their output over reading the Agent Pulse source code.

Always enable UTF-8 on Windows before running commands because Agent Pulse output contains emoji and box drawing:

$env:PYTHONUTF8='1'
$env:PYTHONIOENCODING='utf-8'

If agent-pulse is not on PATH, ask before installing dependencies. If the user approves, install the PyPI package or try running from a local project checkout:

pip install agentpulse-cli
python -m agent_pulse.cli --version

Source Keys

Use -P/--platform when the user asks about one agent tool instead of all local data:

hermes, claude, codex, deepseek, openclaw, copilot, aider, qwen,
opencode, goose, cursor, antigravity, amp

Choose Commands

Use this command selection table first:

User wantsRun
Current statusagent-pulse status --json
Full dashboardagent-pulse --json or agent-pulse --no-banner
Demo dataagent-pulse demo --json
Setup diagnosisagent-pulse doctor --json
Recent sessionsagent-pulse --json --hours 24 --limit 20
Top sessionsagent-pulse top --sort tokens --json
Top expensive sessionsagent-pulse top --sort cost --json --hours 168
Model cost analysisagent-pulse models --json
Model rankingagent-pulse leaderboard --json --rank-by efficiency
Cost savingsagent-pulse optimize --json
Budget statusagent-pulse budget --json
Cost forecastagent-pulse forecast --json
Cost anomaly checkagent-pulse anomaly --json
Health/CI checkagent-pulse health --json
Composite scoreagent-pulse score --json
Search sessionsagent-pulse search "<query>" --json
Compare periodsagent-pulse compare --json
Compare projectsagent-pulse compare-projects --json
Activity calendaragent-pulse heatmap --json
Smart recommendationsagent-pulse insights --json
Prometheus metricsagent-pulse metrics --format prometheus
Export reportagent-pulse export -f markdown or agent-pulse export-html
Web dashboardagent-pulse web --port 8765
REST APIagent-pulse api --port 8766
MCP toolsagent-pulse mcp --list-tools

If the installed command lacks an option, run agent-pulse <command> --help and adapt.

Workflow

  1. Start with agent-pulse doctor --json only when the user asks why data is missing, asks for setup help, or a normal data command returns no sessions.
  2. Use JSON output whenever possible. Summarize the fields that matter: sessions, tokens, tools, search calls, model breakdown, source breakdown, estimated cost, warnings.
  3. Use time filters for scoped questions. Default to 24 hours for "recent" and 168 hours for "this week":
agent-pulse status --json --hours 24
agent-pulse --json --hours 168 --limit 50
  1. Use platform filters when the user asks about a specific agent system:
agent-pulse --json -P codex --hours 24
agent-pulse --json -P claude --hours 24
agent-pulse top --json -P aider --sort cost
agent-pulse status --json -P cursor
  1. For cost questions, pair summary, model, and top-session views:
agent-pulse status --json --hours 24
agent-pulse models --json --hours 24
agent-pulse top --sort cost --json --hours 24
agent-pulse optimize --json --hours 168
  1. For trend and risk questions, use forecast/history/compare/anomaly:
agent-pulse forecast --json
agent-pulse history --json
agent-pulse compare --json
agent-pulse anomaly --json
  1. For setup, use the discovery commands before guessing paths:
agent-pulse doctor --json
agent-pulse scan --json --details
agent-pulse config show

Interpreting Results

  • Treat total_cost_usd as an estimate based on Agent Pulse's local model pricing table.
  • Report both cost and token volume; low-cost models can still have very high token usage.
  • Distinguish sources such as codex, claude, hermes, deepseek, openclaw, aider, cursor, opencode, and goose.
  • Mention if doctor reports missing optional sources, missing dev_root, or optional web dependencies.
  • If no sessions appear, check doctor, then try a wider time window such as --hours 168.
  • Check whether the user asked for a source (-P) filter, a model filter, or a project comparison before giving overall totals.
  • If a command emits plain text instead of JSON or fails because an installed version is older, run agent-pulse <command> --help and use the closest supported option.

Reports

For a short human-readable answer, run JSON commands and summarize.

For artifacts, prefer:

agent-pulse report --period daily
agent-pulse export -f markdown
agent-pulse export-html

Do not invent exact savings or costs. Use the CLI output.

Integrations

Use the web and API extras only when the user asks for a browser dashboard or programmatic server. Ask before installing missing extras:

pip install "agentpulse-cli[web]"
agent-pulse web --port 8765
agent-pulse api --port 8766

For monitoring pipelines:

agent-pulse metrics --format prometheus
agent-pulse health --cost-limit 100 --token-limit 1000000 --json

MCP

Use MCP mode when the user wants other AI clients to query Agent Pulse:

agent-pulse mcp --list-tools
agent-pulse mcp

When explaining MCP, mention that it exposes tools such as status, forecast, top sessions, model analytics, optimization, health, search, and leaderboard.

Local Helper

This skill includes scripts/run_agent_pulse_snapshot.py, which runs a compact set of JSON-friendly Agent Pulse checks and prints a combined summary:

python scripts/run_agent_pulse_snapshot.py --hours 24 --days 7

Skills ที่เกี่ยวข้อง

azure-ai-anomalydetector-java
microsoft
สร้างแอปพลิเคชันตรวจจับความผิดปกติด้วย Azure AI Anomaly Detector SDK สำหรับ Java ใช้เมื่อต้องการนำการตรวจจับความผิดปกติแบบตัวแปรเดียว/หลายตัวแปร การวิเคราะห์อนุกรมเวลา หรือการตรวจสอบที่ขับเคลื่อนด้วย AI ไปใช้
development
flutter-testing-apps
flutter
กรอบการทดสอบที่ครอบคลุมสำหรับแอป Flutter ในทุกชั้นการทดสอบ ได้แก่ การทดสอบหน่วย การทดสอบวิดเจ็ต และการทดสอบแบบบูรณาการ ครอบคลุมสามหมวดหมู่การทดสอบ: การทดสอบหน่วยสำหรับตรรกะที่แยกออกมา การทดสอบวิดเจ็ตสำหรับส่วนประกอบ UI และการทดสอบแบบบูรณาการสำหรับโฟลว์แบบครบวงจรบนอุปกรณ์จริงหรืออีมูเลเตอร์ มีรูปแบบการทดสอบเชิงสถาปัตยกรรมสำหรับ ViewModels, Repositories, Services และ Views โดยเน้นการใช้งาน Fake แทน mocks เพื่อการออกแบบการทดสอบที่สะอาดขึ้น รวมถึงแนวทางการทดสอบปลั๊กอินที่ผสานการทดสอบ Dart เข้ากับเนทีฟ...
tao-analyze-changenet-rca
nvidia
ดำเนินการวิเคราะห์สาเหตุที่แท้จริง (RCA) เชิงลึกในการทดลองการจำแนกประเภท NVIDIA TAO Visual ChangeNet โดยใช้การสืบสวนที่ขับเคลื่อนด้วยหลักฐานภาพ ใช้เมื่อวิเคราะห์...
speculative-decoding
firecrawl
เร่งความเร็วการอนุมานของ LLM โดยใช้ speculative decoding, Medusa multiple heads และเทคนิค lookahead decoding ใช้เมื่อต้องการปรับความเร็วในการอนุมานให้เหมาะสม (1.5-3.6×…
close-month
anthropic
ปิดเดือน — กระทบยอด QB กับผู้ประมวลผลการชำระเงิน ระบุช่องว่าง เขียนสรุปผลกำไรขาดทุน ส่งออกชุดปิดบัญชี รองรับอาร์กิวเมนต์เดือนและบันทึกที่ไม่บังคับ
integration-react-react-router-7-declarative
posthog
PostHog การผสานรวมสำหรับแอปพลิเคชันโหมด Declarative ของ React Router v7
auth0-dpop
auth0
ใช้เมื่อเพิ่มการผูกโทเค็น DPoP (Demonstrating Proof-of-Possession) เพื่อปกป้องการเรียก API ด้วยโทเค็นการเข้าถึงที่ผูกกับอุปกรณ์และจำกัดผู้ส่ง ซึ่งไม่สามารถ...
convert-plaintext-to-md
github
แปลงเอกสารข้อความธรรมดาเป็นมาร์กดาวน์พร้อมตัวเลือกการจัดรูปแบบที่ยืดหยุ่น รองรับสามแนวทางการแปลง: คำแนะนำที่ชัดเจน ตัวเลือกที่บันทึกไว้ หรือเทมเพลตไฟล์อ้างอิงสำหรับรูปแบบการจัดรูปแบบที่สอดคล้องกัน รวมถึงคำสั่งลัดที่กำหนดไว้ล่วงหน้าสำหรับงานทั่วไป เช่น การลบตัวเลขหัวข้อ การปรับระดับหัวข้อ และการลดการเยื้อง จัดการการตรวจจับบล็อกโค้ดพร้อมการระบุภาษา การจัดลำดับรายการที่เหมาะสม และการปฏิบัติตามไวยากรณ์มาร์กดาวน์ในหลายเป้าหมาย...