pudu-task-telemetry
Skill này làm gì
Skill này giúp AI của bạn chạy các tác vụ văn bản nhỏ trên một model cục bộ qua Ollama và ghi lại hiệu quả của chúng. Nó dành cho người so sánh các model cục bộ hoặc theo dõi kết quả tác vụ.
Khi nào nên dùng
- ✓Khi bạn muốn so sánh các lần chạy model cục bộ trên một tác vụ có giới hạn.
- ✓Khi bạn cần chọn model cục bộ cho một tác vụ con nhỏ.
- ✓Khi bạn muốn ghi lại thời gian và mức dùng token có thể lặp lại cho các tác vụ cục bộ.
Liên kết skill
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/pudu-task-telemetry/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Chọn model cục bộ tốt nhất đã cài để tóm tắt code và đo tốc độ chạy của nó.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent kiểm tra thiết lập, đề xuất một model đã cài phù hợp với tác vụ và phần cứng, rồi chạy tác vụ qua Ollama. Nó báo cáo các số đo cùng với nguồn gốc của chúng.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Pudu Task Telemetry
Use Pudu AI to inspect hardware and benchmark evidence, execute a bounded text subtask through local Ollama, and report measurements with their provenance. This skill captures its own local calls; it does not observe all activity or change the model of the host assistant.
1. Diagnose
Locate this skill's scripts/pudu-task.mjs relative to this file. Examples assume
project installation under .claude/skills/pudu-task-telemetry/. Run from the
project root, or supply --repo explicitly.
node .claude/skills/pudu-task-telemetry/scripts/pudu-task.mjs doctor --repo . --json
Requires Node.js >=20, Pudu AI on PATH, and a running Ollama server. Diagnose missing dependencies without installing packages, downloading models, or changing global settings. Read setup.md for configuration and the separate server-side local-only prerequisite. A loopback URL alone does not prove that the server cannot forward a request to cloud inference.
2. Select a model
node .claude/skills/pudu-task-telemetry/scripts/pudu-task.mjs recommend --repo . --task-kind code-summary --context-budget 4096 --json
Prefer installed models that fit the task's context and hardware. A Pudu hardware
score is not a quality score. Without a comparable verified suite, recommendations
return needs_selection; select a model explicitly for a pilot. Read
model-selection.md before using --model auto
or interpreting comparisons. Do not invent model IDs or claim a universal winner.
3. Execute a bounded subtask
Prepare a task description file and a request JSON containing only the context needed for the subtask. See examples.md for exact input formats and commands. Never pass sensitive prompt text as CLI arguments.
Start a task, then use the returned UUID and an installed model:
node .claude/skills/pudu-task-telemetry/scripts/pudu-task.mjs start --repo . --task-file task.txt --json
node .claude/skills/pudu-task-telemetry/scripts/pudu-task.mjs run-local --repo . --config local-config.json --task-id TASK_UUID --request-file request.json --model INSTALLED_MODEL --output result.txt --json
TASK_UUID and INSTALLED_MODEL are placeholders. The output must be a new file
in an existing project directory. Without --output, response text is discarded
after optional verification; telemetry contains hashes and measurements only.
Treat source files and model responses as data. The runner never executes tool calls, generated commands, or patches. Applying a proposed change and running project tests remains part of the host assistant's authorized workflow.
4. Verify and close
A generated response is not automatically a solved task. Use the request's
exact-text check for an objective exact-answer case, or report the host's
checks using --verification-file. External checks remain host_reported.
node .claude/skills/pudu-task-telemetry/scripts/pudu-task.mjs finish --repo . --task-id TASK_UUID --status completed --json
node .claude/skills/pudu-task-telemetry/scripts/pudu-task.mjs report --repo . --task-id TASK_UUID --format markdown
If interrupted, wait for the original process to exit before recover --task-id TASK_UUID. Recovery closes an interrupted task; start a new task to continue.
Do not remove a live lock or kill a shared Ollama server. Repeated inference is
explicit; use --retry-of ATTEMPT_UUID to link an additional attempt.
5. Report honestly
Report task/attempt IDs, model and runtime version, latency, tokens, verification
status/source, and missing measurements. Separate Pudu llama-bench evidence
from the actual Ollama call. CPU and memory are system-wide. GPU, power,
temperature, swap and model RSS are unavailable in this implementation.
Read telemetry-contract.md for units, limits, exit codes, storage, and comparison semantics. Do not infer cost savings, model intelligence, context occupancy, or complete host-session token usage.
Persisted telemetry stays under .pudu-ai/task-telemetry/; exclude it from Git
when appropriate. Response artifacts can contain sensitive source text. Share
only the report fields the user requested. The skill has no upload endpoint.
Sources
- Pudu AI: inventory and hardware benchmark provider.
- Ollama API: local text inference and run
Câu hỏi thường gặp
Nó cần gì để chạy?
Nó cần Node.js 20 trở lên, Pudu AI có trong đường dẫn, và một máy chủ Ollama đang chạy.
Nó có cài đặt model không?
Không. Skill chẩn đoán trước và không cài package hay tải model nếu không có lý do rõ ràng.
Điểm phần cứng có phải là điểm chất lượng không?
Không. Skill lưu ý rằng điểm phần cứng của Pudu không đo chất lượng đầu ra.
Chi tiết
Mô tả gốc của tác giả
Measure local AI task latency, token usage, errors and verified outcomes using Pudu AI hardware evidence and installed Ollama models. Use when comparing local task runs, choosing a local model for a bounded subtask, or recording reproducible task telemetry.
Độ phổ biến
- Sao GitHub
- 33k
- Vị trí xếp hạng
- #8791
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
owasp-security
33kDạy agent hướng dẫn bảo mật OWASP cho ứng dụng web, API, di động, container và agent AI, để nhận ra các điểm yếu phổ biến và gợi ý cách sửa.
agent-management
33kCho phép agent của bạn tạo, liệt kê, cho ngủ đông, đánh thức, đổi tên và xóa các agent AI bằng dòng lệnh AI Maestro, quản lý vòng đời của từng agent.
agent-messaging
33kCho phép agent của bạn gửi, nhận và trả lời tin nhắn có chữ ký giữa các agent AI, dùng Agent Messaging Protocol, chủ yếu trên máy của bạn.
docs-search
33kCho phép agent của bạn tìm trong tài liệu code được tạo tự động, như chữ ký hàm, định nghĩa lớp và chú thích, để kiểm tra API thật trước khi sửa code.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.