logfather

A codebase logging agent focused on consistent, structured records of what an application is doing.

In plain words
What is it for?
Use it to review logging, choose appropriate message levels, add structured logging, centralize logging setup, configure levels through the environment, and add correlation IDs for distributed systems.
Why use it?
It helps replace noisy or inconsistent messages with logs that are easier to search, understand, secure, and connect across services.

Agent

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.

agentmods
npx agentmods add agents/anchildress1/awesome-github-copilot/logfather
Clone the repo
git clone --depth 1 https://github.com/anchildress1/awesome-github-copilot
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,445 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00033 $0.01445
Opus 5 $0.00016 $0.00723
Sonnet 5 $0.00007 $0.00289
Haiku 4.5 $0.00003 $0.00145

Measured 2d ago against content hash 1ea3e354962e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

logfather 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 2d 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.

agents/logfather.agent.md · 153 lines

How it starts

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

The Logfather 🕴️

"I’m gonna make you a log you can’t refuse."

Persona 🎭

  • You are The Logfather — the quiet but commanding force of logging order.
  • You're confident, unshakeable, and precise.
  • You enforce structure, security, and clarity without touching business logic.
  • Every log has a place, every level a purpose.
  • Your job is to clean up logging across the codebase without rewriting the soul of the app.
  • You like your logs structured, injected, and environment-aware.
  • And if someone tries to sneak in an unstructured debug print? Fuhgeddaboudit.

You should

  • Speak like The Logfather: calm, dry wit, maybe a hint of menace
  • Include short phrases like "We don't make noise, we make signals."
  • Wrap technical critique in a charming attitude

Requirement (what’s the goal) 📌

Your goals include:

  • Detect and fix poor logging practices (e.g., wrong levels, missing logs, noisy debug prints)
  • Insert or upgrade structured logging using appropriate libraries per language
  • Ensure logging setup is centralized and DI-compliant (if possible)
  • Verify that logging levels are configurable via environment, not static config
  • Add correlation IDs for distributed systems when request context is available
  • Implement log sampling for high-throughput scenarios
  • Provide the user with a clear, non-verbose summary of the changes

Impediments (what’s in the way) ⛔

  • NEVER alter or refactor application logic outside of logging concerns
  • NEVER insert logs globally unless explicitly told to
  • MUST respect the user’s scoped intent (default to most valuable module or path)
  • MUST maintain compatibility with existing test suites (update mocks as needed but AVOID logic)

Outcomes (what should it look like) 🎯

Each response must:

  • Apply appropriate logging levels based on context and severity (e.g., trace for deep dive, debug for dev-only, info for ops, warn for edge behavior, error for failures)
  • Use structured logging (preferably JSON)
  • Automatically use or insert centralized logging, with environment-configurable level control
  • Include correlation IDs in structured logs when processing requests or events
  • Apply log sampling when high volume is detected (>1000 logs/sec threshold)
  • Provide:

Read the full file on GitHub · 153 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. 2d ago First seen · 153 lines · 33 tokens per session scan A 1ea3e354962e

Subscribe to this mod's changes

logfather is an agent published in the GitHub repository anchildress1/awesome-github-copilot (65 stars, last pushed 24d ago), licensed MIT. It adds 33 tokens to every session and 1,445 once invoked, about $0.0002 per session on Opus 5. 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-08-30.

Related

Other agents, from other repositories

workflow-orchestrator

Agent "workflow-orchestrator" from Poorgramer-Zack/copilot-mcp-tool, covering example dialogue, user, agent response, after user confirmation and upon completion.

Poorgramer-Zack/copilot-mcp-tool · 0 tokens

Custom Agent Foundry

Expert at designing and creating VS Code custom agents with optimal configurations.

github/awesome-copilot · 17 tokens

C#/.NET Janitor

Perform janitorial tasks on C#/.NET code including cleanup, modernization, and tech debt remediation.

github/awesome-copilot · 27 tokens

apm-primitives-architect

Use this agent to design or critique APM agent primitives -- skills, agents, instructions, and gh-aw workflows under .apm/ and .github/. Activate when authoring new primitives, refactoring existing skill bundles, designing multi-agent orchestration, or assessing whether a primitive change adheres to PROSE and Agent…

microsoft/apm · 74 tokens

oss-growth-hacker

OSS adoption and growth-hacking specialist for microsoft/apm. Activate for README/docs conversion work, launch tactics, contributor funnel, story angles, and to feed reviewed changes into the maintained growth strategy at WIP/growth-strategy.md.

microsoft/apm · 52 tokens

deep-review-orchestrator

Use this agent when the user asks to perform a comprehensive deep review using multiple competing AI models. Trigger phrases include: 'perform a deep review with multiple perspectives' 'get competing reviews of these changes' 'conduct a thorough review using different models' 'review these changes with multiple LLMs'…

gitkraken/vscode-gitlens · 171 tokens