Borrowing it
Nothing to install: this file belongs to gitricko/hermes-webtop. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/gitricko/hermes-webtop/main/.agents/skills/ci-log-capture/SKILL.mdgit clone --depth 1 https://github.com/gitricko/hermes-webtopWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/gitricko/hermes-webtop/ci-log-capture)<a href="https://agentmods.dev/skills/gitricko/hermes-webtop/ci-log-capture"><img src="https://agentmods.dev/badge/skills/gitricko/hermes-webtop/ci-log-capture/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/gitricko/hermes-webtop/ci-log-capture"><img src="https://agentmods.dev/badge/skills/gitricko/hermes-webtop/ci-log-capture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00030 | $0.01041 |
| Opus 5.5 | $0.00012 | $0.00416 |
| Sonnet 5.5 | $0.00006 | $0.00208 |
| Haiku 4.5 | $0.00003 | $0.00104 |
Grade A, and why
ci-log-capture scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
if curl -sf https://api.example.com/health >/dev/null 2>&1; then How it starts
The opening of the file, as written. The whole thing — 118 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CI Log Capture — Replace /dev/null with Artifact Files
Every >/dev/null 2>&1 is a debug dead-end. Capture to files that auto-upload
as CI artifacts so failures are self-documenting.
The problem
# BEFORE: failure body goes to void
if curl -sf https://api.example.com/health >/dev/null 2>&1; then
echo "OK"
else
echo "FAILED" # but WHY? 400? 401? 500? timeout?
fi
When this fails in CI, you get "FAILED" with zero context. The HTTP status, response body, and headers are gone.
The pattern: run_and_log
# 1. Ensure log dir exists (matches workflow env)
CI_LOGS_DIR="${CI_LOGS_DIR:-/tmp/ci-logs}"
mkdir -p "${CI_LOGS_DIR}"
# 2. Helper: run command, capture to file, print on failure
run_and_log() {
local test_name="$1"; shift
local log_file="${CI_LOGS_DIR}/${test_name}.log"
if "$@" >"${log_file}" 2>&1; then
log_info "${test_name} — OK"
return 0
else
log_error "${test_name} — FAILED (see ${log_file})"
cat "${log_file}" # immediate CI visibility
return 1
fi
}
# 3. Replace:
# BEFORE: if cmd >/dev/null 2>&1; then
# AFTER: if run_and_log "endpoint-name" cmd; then
Artifact integration
The workflow must upload ${CI_LOGS_DIR} with if: always():
# .github/workflows/ci.yml
- name: Upload diagnostic logs
if: always()
uses: actions/upload-artifact@v7
with:
name: ci-logs-${{ github.run_id }}
path: ${{ env.CI_LOGS_DIR }}/
if-no-files-found: warn
retention-days: 7
Name the log files so they sort logically in the artifact zip:
hermes-version.logomniroute-models.logninerouter-chat.logboot.log
Probe classification — what to capture vs keep silent
| Probe type | Capture? | Notes |
|---|---|---|
Version checks (--version) |
✅ YES | Confirms binary integrity |
Health endpoints (/healthz) |
✅ YES | Shows HTTP status on failure |
Model lists (/v1/models) |
✅ YES | Shows count + any error body |
| Chat completions | ✅ YES | Critical — shows 400/401/403 from upstream |
| Preconfig steps (login, setup) | ✅ YES | Shows which step failed |
Cleanup (docker rm -f) |
NO — keep >/dev/null 2>&1 |
Expected noise |
| Container startup wait | NO — keep >/dev/null 2>&1 |
Expected noise |
Extension list (pi skill list) |
NO — keep stderr only | Too verbose for artifacts |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 118 lines · 30 tokens per session scan A 012142c93f47
ci-log-capture is a skill published in the GitHub repository gitricko/hermes-webtop (28 stars, last pushed 4d ago), licensed MIT. It adds 30 tokens to every session and 1,041 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-05.
ci-log-capture compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ci-log-capturegitricko/hermes-webtop | Skill | 28 | 4d ago | MIT | A | 30 | Claude Code, Codex |
| repair-github-ciTracer-Cloud/opensre | Skill | 13k | yesterday | Apache-2.0 | A | 40 | Claude Code, Codex |
| mcore-create-issueNVIDIA/skills | Skill | 3.9k | yesterday | Apache-2.0 | A | 26 | Claude Code |
| debug-taskmoonrepo/moon | Skill | 4.2k | yesterday | MIT | A | 203 | Claude Code |
| operating-github-ci-fixerTracer-Cloud/opensre | Skill | 13k | yesterday | Apache-2.0 | A | 48 | Claude Code, Codex |
| meta-long-running-build-watchdogopensquilla/opensquilla | Skill | 7.1k | 6d ago | Apache-2.0 | A | 131 | Claude Code |
| analyze-cibenchflow-ai/skillsbench | Skill | 1.9k | 2d ago | Apache-2.0 | A | 15 | Claude Code |