Skip to content
Agentmart
Submit a tool

logging-read

Skill by yu-iskw

IndexedApache-2.0
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/yu-iskw-logging-read

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

The publisher has not written a description yet.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions: not checked yet.

What's inside

Skill name
logging-read
Description
None
License
Apache-2.0
Instructions
37 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • missing YAML frontmatter
  • name: missing
  • description: missing

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Logs Read

Read log entries from Google Cloud Logging.

## Purpose

Retrieve log entries based on a filter. This is the primary tool for investigating past events and errors.

## Inputs

- `project` (optional): The Google Cloud project ID to read logs from.
- `filter` (optional): A valid Cloud Logging filter string. Defaults to empty (all logs).
- `limit` (optional): Maximum number of entries to return. Defaults to 20. Max 1000.
- `order` (optional): Sort order of entries (`asc` or `desc`). Defaults to `desc` (newest first).
- `freshness` (optional): Only read entries as old as this duration (e.g., `1h`, `5h`, `1d`).
- `bucket` (optional): The log bucket to read from.
- `view` (optional): The log view to read from.

## Behavior

1. Validate that `limit` does not exceed 1000.
2. Construct the command with provided flags: `gcloud logging read "[FILTER]" --project=[PROJECT] --limit=[LIMIT] --order=[ORDER] --format=json`.
3. If `project` is not provided, use the active project from `gcp-context`.
4. Append `--freshness=[FRESHNESS]` if provided.
5. Append `--bucket=[BUCKET]` and `--view=[VIEW]` if provided.
6. Ensure the command is scoped to the target project.

## Output

Returns a JSON list of log entries.

## References

- [gcloud logging read](https://cloud.google.com/sdk/gcloud/reference/logging/read)
- [Logging query language](https://cloud.google.com/logging/docs/view/logging-query-language)
- [Common log filters](https://cloud.google.com/logging/docs/view/query-library)

From yu-iskw/google-cloud-observability-plugin, Apache-2.0.

Signals

Stars
0
Forks
0
Open issues
2
Last commit (this folder)
Feb 13, 2026 (8 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from yu-iskw

Cite this page

logging-read skill. Agent Mart. https://agentmart.dev/skills/yu-iskw-logging-read (last updated 2026-10-24)