logs

logs is a command for Claude Code from gotempsh/temps. It costs 0 tokens per session (8,037 once invoked), scanned A, original, Apache-2.0.

A command-line tool for searching and measuring collected application logs across projects and databases. Logs are records of events produced by software while it runs.

In plain words
What is it for?
It searches logs, resumes or follows result pages, counts lines over time, groups results by fields, and shows available log attributes and capabilities.
Why use it?
It helps you find relevant log lines and summarize activity without manually opening each project's logs.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the temps plugin — 11 skills, 103 commands shipped together

Good fit It searches logs, resumes or follows result pages, counts lines over time, groups results by fields, and shows available log attributes and capabilities.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/gotempsh/temps/logs
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/gotempsh/temps

Made for: Claude Code.

Or install temps, the plugin that ships this one along with the rest of its 11 skills, 103 commands.

Wrote 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.

agentmods badge for logs

README.md
[![agentmods](https://agentmods.dev/badge/commands/gotempsh/temps/logs/github.svg)](https://agentmods.dev/commands/gotempsh/temps/logs)
Your own site
<a href="https://agentmods.dev/commands/gotempsh/temps/logs"><img src="https://agentmods.dev/badge/commands/gotempsh/temps/logs/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.

agentmods 80×15 button for logs

Your own site · 80×15
<a href="https://agentmods.dev/commands/gotempsh/temps/logs"><img src="https://agentmods.dev/badge/commands/gotempsh/temps/logs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 8,037 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.08037
Opus 5.5 $0.00000 $0.03215
Sonnet 5.5 $0.00000 $0.01607
Haiku 4.5 $0.00000 $0.00804

Measured yesterday against content hash 2f187ab27022, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

logs scanned grade A with 0 findings 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 yesterday.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/temps/references/commands/logs.md · 563 lines

How it starts

The opening of the file, as written. The whole thing — 563 lines — stays where its author put it; the contents beside it link to each section on GitHub.

logs command reference

Apply the CLI runtime and safety contract before executing a command. Runtime --help is authoritative.

Contents

logs (alias: glogs)

Search collected logs across every project and database you can access

Subcommands:

  • search - Search log lines across projects (newest first)
  • facets - Distinct values and counts per field for the same filter scope
  • attributes - Attribute keys observed in the window, most common first (requires the ClickHouse line index)
  • histogram - Line counts bucketed over time, optionally split by a label or attribute (requires the ClickHouse line index)
  • aggregate - Group-by aggregation over lines (requires the ClickHouse line index)
  • capabilities - Whether container logs are being collected, and whether attribute facets, histograms and aggregates are available
  • saved - Saved log searches: named filters you can reopen, chart on a dashboard and alert on
  • keys - Ingest keys for POST /api/logs/ingest (newline-delimited JSON from Vector, Fluent Bit or any HTTP client)
  • get-context - Get context lines surrounding a specific log line
  • global-aggregate - Global log aggregate
  • global-attribute-keys - Global log attribute keys
  • global-capabilities - Global log capabilities
  • global-facets-attrs - Global log facets attrs
  • global-histogram - Global log histogram
  • ingest - Ingest newline-delimited JSON log lines with a log ingest key
  • ingest-budget - The ingestion budget and the containers dropping lines over it, for the warnings on the log views
  • tail - Live tail logs via Server-Sent Events
  • purge - Purge all logs for a project before a given timestamp
  • project-search - Search one project's (or one database's) log lines, newest first, with a cursor for the next page
  • get-saved-search - Read one saved log search
  • update-saved-search - Change a saved log search

Read the full file on GitHub · 563 lines

Changes

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.

  1. yesterday Changed 2f187ab27022
  2. 5d ago Changed · +272 lines a5d3f9ef649c
  3. 9d ago Changed 9c5c6c49ea5a
  4. 10d ago Changed · +123 lines 8a18d3ed392c
  5. 2mo ago Changed a25e89bc2b90
  6. 2mo ago First seen · 168 lines · 0 tokens per session scan A d6c80ef0eba6

Subscribe to this mod's changes

logs is a command published in the GitHub repository gotempsh/temps (955 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 8,037 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-22.

Related

logs compared with commands from other repositories

logs next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
logsgotempsh/tempsCommand955todayApache-2.0A0Claude Code
incident-runbookRollerRemember/r14-borghei-claude-skills-devopsCommand487mo agononeA0Claude Code
drift-alert-issuerjmurillo/ai-agentsCommand50todayApache-2.0A0GitHub Copilot
fix-ci-issuealifanov/darkflowCommand4todayMITA29Claude Code
diagnoseRapierCraftStudios/ForgeDockCommand117yesterdayAGPL-3.0A28Claude Code
fix-cijuan294/cc-rpiCommand53d agoMITA0Claude Code
validatezircote-plugins/sdlc-qualityCommand112mo agoMITA36Claude Code