Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/athola/claude-night-marketnpx agentmods add commands/athola/claude-night-market/aggregate-logsWrote 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/athola/claude-night-market/aggregate-logs)<a href="https://agentmods.dev/commands/athola/claude-night-market/aggregate-logs"><img src="https://agentmods.dev/badge/commands/athola/claude-night-market/aggregate-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.
<a href="https://agentmods.dev/commands/athola/claude-night-market/aggregate-logs"><img src="https://agentmods.dev/badge/commands/athola/claude-night-market/aggregate-logs.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.00019 | $0.01417 |
| Opus 5 | $0.00010 | $0.00709 |
| Sonnet 5 | $0.00004 | $0.00283 |
| Haiku 4.5 | $0.00002 | $0.00142 |
Grade A, and why
aggregate-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 12d 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 — 193 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Aggregate Skill Execution Logs
Generate LEARNINGS.md from skill execution logs.
Usage
/abstract:aggregate-logs # Last 30 days (default)
/abstract:aggregate-logs --days 7 # Last 7 days
/abstract:aggregate-logs --days 90 # Last 90 days
Purpose
Part of Issue #69 Phase 3, this command processes skill execution logs to generate actionable insights for skill improvement.
What It Does
- Loads logs from
~/.claude/skills/logs/<plugin>/<skill>/ - Calculates metrics for each skill:
- Execution count, success rate
- Average/max duration
- Average user rating (from evaluations)
- Common friction points
- Improvement suggestions
- Detects patterns:
- High failure rates (>30%)
- Slow execution (>10s average)
- Low ratings (<3.5/5.0)
- Generates LEARNINGS.md at
~/.claude/skills/LEARNINGS.md
Output Format
LEARNINGS.md Structure
# Skill Performance Learnings
**Last Updated**: 2026-01-08 04:30:00 UTC
**Analysis Period**: Last 30 days
**Skills Analyzed**: 15
**Total Executions**: 342
## High-Impact Issues
### imbue:proof-of-work
**Type**: high_failure_rate
**Severity**: high
**Metric**: 42.3% success rate
**Detail**: 11/26 failures
**Recent Errors**:
- ValidationError: Missing acceptance_criteria field
- FileNotFoundError: PROOF.md not found
- KeyError: 'evidence' in evaluation
## Slow Execution
| Skill | Avg Duration | Max Duration | Executions |
|-------|--------------|--------------|------------|
| `sanctum:pr-agent` | 45.2s | 120.5s | 18 |
| `pensive:code-reviewer` | 32.1s | 89.3s | 24 |
## Low User Ratings
### abstract:skill-auditor - 2.8/5.0
**Common Friction**:
- Too verbose output
- Missing examples for modular skills
- Unclear token optimization guidance
**Improvement Suggestions**:
- Add --quiet flag
- Include example audits
- Link to token optimization docs
## Skill Performance Summary
| Skill | Executions | Success Rate | Avg Duration | Rating |
|-------|------------|--------------|--------------|--------|
| `imbue:proof-of-work` | 26 | 42.3% | 2.1s | 3.2/5.0 |
| `sanctum:pr-agent` | 18 | 94.4% | 45.2s | 4.5/5.0 |
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.
- 12d ago First seen · 193 lines · 19 tokens per session scan A c98b1b9c9d6c
aggregate-logs is a command published in the GitHub repository athola/claude-night-market (337 stars, last pushed yesterday), licensed MIT. It adds 19 tokens to every session and 1,417 once invoked, about $0.0001 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.
Other commands, from other repositories
analyze-codebase
Generate comprehensive analysis and documentation of entire codebase.
prompt
System instructions for writing effective prompts. Apply when generating commands, skills, agents, or any LLM instructions.
anti-slop-designer
Use when a UI looks machine-made rather than decided. Violet gradients, glassmorphism everywhere, identical cards in a grid, untouched shadcn or Material defaults, emoji bullets, or copy stuffed with seamless and unlock.
design-critic
Use when you want an honest read on a design instead of encouragement. What is wrong, ranked by severity, with the reason attached. Works on a screenshot, a mockup, or a described screen.
ui-copywriter
Use when writing marketing or landing copy. Headlines, hero copy, CTAs, value propositions and section copy that sound like a person making a specific claim rather than a template being filled in.
data-visualization-specialist
Use when a chart misleads or confuses. Wrong chart type for the data, a truncated axis, colour that encodes nothing, unreadable labels on mobile, or charts no screen reader can use.