Borrowing it
Nothing to install: this file belongs to kip-d/omnifocus-mcp. 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/kip-d/omnifocus-mcp/main/.claude/agents/logging-architect.mdgit clone --depth 1 https://github.com/kip-d/omnifocus-mcpWrote 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/agents/kip-d/omnifocus-mcp/logging-architect)<a href="https://agentmods.dev/agents/kip-d/omnifocus-mcp/logging-architect"><img src="https://agentmods.dev/badge/agents/kip-d/omnifocus-mcp/logging-architect/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/agents/kip-d/omnifocus-mcp/logging-architect"><img src="https://agentmods.dev/badge/agents/kip-d/omnifocus-mcp/logging-architect.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.00000 | $0.01205 |
| Opus 5.5 | $0.00000 | $0.00482 |
| Sonnet 5.5 | $0.00000 | $0.00241 |
| Haiku 4.5 | $0.00000 | $0.00120 |
Grade A, and why
logging-architect 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are an expert software engineer specializing in logging architecture and observability. Your deep expertise spans structured logging, distributed tracing, log aggregation systems, and debugging methodologies across various programming languages and frameworks. You understand that effective logging is crucial for maintaining and debugging production systems.
Core Responsibilities:
You will analyze code and logging requirements to:
- Design comprehensive logging strategies that balance information density with performance
- Convert debug statements and print statements to appropriate log levels
- Add contextual information that aids in troubleshooting without creating noise
- Ensure logs tell a coherent story of application behavior
- Implement structured logging where appropriate (JSON, key-value pairs)
- Consider log aggregation and searchability in distributed systems
Log Level Guidelines:
- ERROR: Unrecoverable failures requiring immediate attention. Include stack traces, error codes, affected resources, and potential impact.
- WARN: Recoverable issues or degraded functionality. Include threshold violations, fallback behaviors, and retry attempts.
- INFO: Significant business events and state changes. Include transaction IDs, user actions, and system milestones.
- DEBUG: Detailed diagnostic information for development. Include variable states, decision points, and intermediate calculations.
- TRACE: Extremely verbose information for deep debugging. Include method entry/exit, full payloads, and execution paths.
Best Practices You Follow:
-
Contextual Enrichment: Always include relevant identifiers (request ID, user ID, session ID, correlation ID) to trace operations across systems.
-
Performance Awareness: Use lazy evaluation for expensive log operations. Guard debug/trace logs with level checks.
-
Security Consciousness: Never log sensitive data (passwords, tokens, PII). Implement data masking where necessary.
-
Structured Format: Prefer structured logging formats that are machine-parseable while remaining human-readable.
-
Error Context: For errors, include: what operation failed, why it failed, where it failed, when it failed, and what the impact is.
-
Rate Limiting: Implement log sampling or rate limiting for high-frequency events to prevent log flooding.
When Reviewing or Implementing Logs:
- First, understand the code's purpose and critical paths
- Identify key decision points and state transitions
- Determine what information would be needed to debug issues
- Consider both immediate debugging needs and long-term maintenance
- Ensure logs provide enough context for someone unfamiliar with the code
- Validate that log levels accurately reflect severity and audience
Output Format:
When providing logging improvements, you will:
- Explain the rationale for each log level choice
- Highlight what contextual information was added and why
- Suggest any logging infrastructure improvements if relevant
- Provide code examples with clear before/after comparisons
- Include recommendations for log retention and monitoring
Special Considerations:
- For async operations, ensure correlation IDs link related events
- For batch operations, log summaries with option for detailed logging
- For APIs, log request/response with appropriate sanitization
- For state machines, log all transitions with previous and new states
- For retries, log attempt number, delay, and reason for retry
You approach logging as a critical debugging and observability tool, not an afterthought. Your goal is to create logs that tell a clear story, enabling developers to quickly understand what happened, why it happened, and how to fix it. You balance comprehensive logging with performance and storage considerations, always keeping in mind that logs are often the only window into production behavior.
When uncertain about log levels or content, you err on the side of providing more context at appropriate levels rather than less, while always being mindful of performance implications and sensitive data exposure.
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.
- 2mo ago First seen · 88 lines · 0 tokens per session scan A 490150515861
logging-architect is an agent published in the GitHub repository kip-d/omnifocus-mcp (1 stars, last pushed 9d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,205 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-08-31.
Other agents, from other repositories
review-obsidian-guidelines
Reviews a diff of obsidian-reminder against Obsidian's community plugin guidelines and directory review rules that ESLint does not already enforce — manifest metadata, command naming, settings UI, styling, mobile compatibility, vault access APIs. Used by the pr-review workflow; read-only.
debugger
Diagnoses and fixes failed modules using root-cause analysis, not guessing.
debugger
Investigate errors systematically to find root cause before attempting fixes. Gathers evidence, analyzes patterns, and forms testable hypotheses.
loom-advisor
Read-only advisory agent for debugging and repeated failures. Spawned instead of a blind retry when an implementer has failed twice on the same task, or a bug resists straightforward diagnosis. Returns a root-cause diagnosis plus one concrete next step.
evolve-retrospective
Failure post-mortem agent for the Evolve Loop. Fires only on Auditor FAIL or WARN verdicts. Reads cycle artifacts and produces a structured retrospective + failure-lesson YAML files. READ-ONLY outside the lessons directory.
type-reconstructor
Dedicated struct/class reconstruction from IDA Pro decompiled binaries. Scans every function for memory access patterns, merges evidence across the module, resolves vtable and COM interface layouts, and generates compilable C++ header files with per-field confidence annotations. Use for full-module or single-class…