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.
git clone --depth 1 https://github.com/fockus/skill-memory-bankWrote 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/commands/fockus/skill-memory-bank/observability)<a href="https://agentmods.dev/commands/fockus/skill-memory-bank/observability"><img src="https://agentmods.dev/badge/commands/fockus/skill-memory-bank/observability/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/commands/fockus/skill-memory-bank/observability"><img src="https://agentmods.dev/badge/commands/fockus/skill-memory-bank/observability.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.00038 | $0.01100 |
| Opus 5.5 | $0.00015 | $0.00440 |
| Sonnet 5.5 | $0.00008 | $0.00220 |
| Haiku 4.5 | $0.00004 | $0.00110 |
Grade A, and why
observability 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 1mo 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 — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Observability: $ARGUMENTS
Skill bundle root
Every bundled helper below runs through the skill bundle root, never a bare scripts/… path (the
working directory is the user's project, where scripts/ is absent or belongs to someone else):
SKILL_DIR="${MB_SKILLS_ROOT:-${SKILL_DIR:-$HOME/.claude/skills/memory-bank}}"
[ -f "$SKILL_DIR/scripts/_lib.sh" ] || { echo "mb: skill bundle not found at $SKILL_DIR — set MB_SKILLS_ROOT" >&2; exit 2; }
0. Stack detection
eval "$(bash "$SKILL_DIR"/scripts/mb-metrics.sh)"
# Uses: stack to pick the right library set
If stack=unknown, ask the user which stack the target module uses.
1. Current state
# Logging
grep -rn "log\.\|logger\.\|logging\.\|fmt\.Print\|console\.log\|print(\|tracing::\|Serilog" \
--include="*.go" --include="*.py" --include="*.ts" --include="*.js" \
--include="*.rs" --include="*.java" --include="*.kt" --include="*.cs" . | head -30
# Metrics
grep -rn "prometheus\|metrics\|statsd\|datadog\|micrometer\|System\.Diagnostics\.Metrics" . | head -20
# Tracing
grep -rn "opentelemetry\|OpenTelemetry\|jaeger\|zipkin\|trace\.\|span\.\|tracing::" . | head -20
2. Structured logging (per stack)
Go — zerolog / slog (stdlib)
- Replace
fmt.Println/log.Printlnwith a structured logger - Fields:
timestamp,level,message,request_id,error - JSON format for production; console for dev
Python — structlog or logging with python-json-logger
- Replace
print()/logging.info()with structured logs - JSON for production, colored output for local
Node.js / TypeScript — pino (fast) or winston
- Use
pino-prettyfor local dev; JSON in production
Rust — tracing crate + tracing-subscriber
- Replace
println!/eprintln!withtracing::info!/warn!/error! tracing-subscriberwithfmtlayer for dev,jsonlayer for prod
Java / Kotlin — SLF4J + Logback / Log4j2 JSON encoder
- Use
MDCfor request-scoped context (request_id,trace_id)
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.
- 1mo ago Changed · +27 tokens per session 0fe76e695175
- 2mo ago Changed · +10 lines f6108ba1e67d
- 3mo ago First seen · 96 lines · 11 tokens per session scan A 97e9c0f2cf8a
observability is a command published in the GitHub repository fockus/skill-memory-bank (33 stars, last pushed 5d ago), licensed MIT. It adds 38 tokens to every session and 1,100 once invoked, about $0.0002 per session on Opus 5.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.
observability compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| observabilityfockus/skill-memory-bank | Command | 33 | 5d ago | MIT | A | 38 | Claude Code |
| research-verifydrobins25/craft | Command | 74 | yesterday | MIT | A | 28 | Claude Code |
| pauseToRvaLDz/trailhead | Command | 37 | yesterday | MIT | A | 11 | Claude Code |
| auditToRvaLDz/trailhead | Command | 37 | yesterday | MIT | A | 28 | Claude Code |
| unity-migrateXeldarAlz/everything-claude-unity | Command | 25 | 7mo ago | MIT | A | 26 | Claude Code |
| unity-testXeldarAlz/everything-claude-unity | Command | 25 | 7mo ago | MIT | A | 34 | Claude Code |
| specyknnv/brownspec | Command | 2 | 3mo ago | MIT | A | 20 | Claude Code |