forge-logs

forge-logs is a skill for Claude Code from gtapps/hermitd. It costs 79 tokens per session (1,016 once invoked), scanned A, a copy of forge-logs, MIT.

A Laravel Forge log reader for deployment, server, site, application, web-server, and background-process logs. Laravel Forge is a service for managing servers and deploying web applications.

In plain words
What is it for?
Use it to fetch deployment history and logs, inspect server or site logs, and bundle recent logs for incident investigation.
Why use it?
It avoids manually searching several log sources when a deployment or running site has a problem.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the hermitd-laravel-forge plugin — 5 skills shipped together

Good fit Use it to fetch deployment history and logs, inspect server or site logs, and bundle recent logs for incident investigation.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add gtapps/hermitd
Claude Code
/plugin install hermitd-laravel-forge

Made for: Claude Code.

Or install hermitd-laravel-forge, the plugin that ships this one along with the rest of its 5 skills.

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 forge-logs

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/gtapps/hermitd/forge-logs"><img src="https://agentmods.dev/badge/skills/gtapps/hermitd/forge-logs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,016 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 100% copy Near-identical to another mod 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.00079 $0.01016
Opus 5.5 $0.00032 $0.00406
Sonnet 5.5 $0.00016 $0.00203
Haiku 4.5 $0.00008 $0.00102

Measured 21d ago against content hash dac0bd0bf629, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

forge-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 21d 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.

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.

Origin

This is a copy

100% identical to forge-logs — 8 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/hermitd-laravel-forge/skills/forge-logs/SKILL.md · 84 lines

How it starts

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

Forge Logs

Read deployment and server logs from Forge. Every log command prints {"log":"..."}, or {"status":"none","reason":...} when there is nothing to read (no_deployments, no_log, no_process).


Latest deployment log for a site

php ${CLAUDE_PLUGIN_ROOT}/php/forge.php logs <server> <site>

Fetches the most recent deployment and returns its full log.

Specific deployment log

php ${CLAUDE_PLUGIN_ROOT}/php/forge.php deploy-log <server> <site> <deploy-id>

Use deploy-history first to find the deployment ID.

Server log

php ${CLAUDE_PLUGIN_ROOT}/php/forge.php server-log <server> <key>

Common keys: php, mysql, cron, daemon, nginx-error, nginx-access. Nginx keys are hyphenated; nginx_error (underscored) returns a 404. The PHP-FPM log key is dot-version notation matching the server's installed PHP (php-8.3, not php); passing the literal php key auto-resolves it against the server's php_version. mysql/cron/daemon may 404 outright on servers with a custom, non-Forge-provisioned install of that service (no Forge-tracked log path), so a 404 there isn't necessarily a wrong key. A 404 prints no_log with the resolved key as log_name. Key list depends on the server's installed services.

Site logs

php ${CLAUDE_PLUGIN_ROOT}/php/forge.php site-log <server> <site> <type>

<type> is one of application (the Laravel app log), nginx-access, nginx-error. Application and access logs leak PII and tokens more readily than deploy logs — the Secret hygiene rules below apply with extra force.

Background process log

php ${CLAUDE_PLUGIN_ROOT}/php/forge.php background-process-log <server> <process-id>

The log path for apps that run as a Forge Background Process instead of PHP-FPM (Node apps, queue workers, custom daemons). server-log does not cover these. Find the process ID first:

echo '[<server-id>]' | php ${CLAUDE_PLUGIN_ROOT}/php/forge.php call backgroundProcesses

Read the full file on GitHub · 84 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. 21d ago Changed dac0bd0bf629
  2. 1mo ago Changed 539f90e4fda8
  3. 1mo ago First seen · 84 lines · 79 tokens per session scan A 3fc226ced679

Subscribe to this mod's changes

forge-logs is a skill published in the GitHub repository gtapps/hermitd (87 stars, last pushed today), licensed MIT. It adds 79 tokens to every session and 1,016 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to forge-logs, differing in 8 lines, and is treated as a copy.

Related

forge-logs compared with skills from other repositories

forge-logs next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
forge-logsgtapps/hermitdSkill87todayMITA79Claude Code
relay-deploytonone-ai/tononeSkill842d agoMITA48Claude Code
forge-costtonone-ai/tononeSkill842d agoMITA58Claude Code
forge-infratonone-ai/tononeSkill842d agoMITA53Claude Code
flux-recontonone-ai/tononeSkill842d agoMITA48Claude Code
forge-audittonone-ai/tononeSkill842d agoMITA54Claude Code
forge-diagnosetonone-ai/tononeSkill842d agoMITA63Claude Code