Cv Usage
tombelieber/claude-view
A skill your agent uses when the user asks about usage analytics, statistics, token usage, or cost summary — e.g.
Implements structured usage logging and audit trails for cost and session tracking.
$ npx skills add athola/claude-night-market --skill usage-logging -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install athola/claude-night-market usage-logging --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/athola/claude-night-market.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/leyline/skills/usage-logging .claude/skills/usage-logging && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "usage-logging" agent skill from https://github.com/athola/claude-night-market/tree/master/plugins/leyline/skills/usage-logging into .claude/skills/usage-logging/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "usage-logging", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/athola/claude-night-market/tree/master/plugins/leyline/skills/usage-loggingType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add athola/claude-night-market --skill usage-logging -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install athola/claude-night-market usage-logging --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/athola/claude-night-market.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/leyline/skills/usage-logging .agents/skills/usage-logging && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "usage-logging" agent skill from https://github.com/athola/claude-night-market/tree/master/plugins/leyline/skills/usage-logging into .agents/skills/usage-logging/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "usage-logging", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add athola/claude-night-market --skill usage-logging -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install athola/claude-night-market usage-logging --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/athola/claude-night-market.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/leyline/skills/usage-logging .cursor/skills/usage-logging && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "usage-logging" agent skill from https://github.com/athola/claude-night-market/tree/master/plugins/leyline/skills/usage-logging into .cursor/skills/usage-logging/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "usage-logging", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/athola/claude-night-market.git --path plugins/leyline/skills/usage-logging--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add athola/claude-night-market --skill usage-logging -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install athola/claude-night-market usage-logging --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/athola/claude-night-market.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/leyline/skills/usage-logging .gemini/skills/usage-logging && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "usage-logging" agent skill from https://github.com/athola/claude-night-market/tree/master/plugins/leyline/skills/usage-logging into .gemini/skills/usage-logging/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "usage-logging", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install athola/claude-night-market usage-loggingInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add athola/claude-night-market --skill usage-logging -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/athola/claude-night-market.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/leyline/skills/usage-logging .github/skills/usage-logging && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "usage-logging" agent skill from https://github.com/athola/claude-night-market/tree/master/plugins/leyline/skills/usage-logging into .github/skills/usage-logging/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "usage-logging", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add athola/claude-night-market --skill usage-logging -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install athola/claude-night-market usage-logging --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/athola/claude-night-market.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/leyline/skills/usage-logging .opencode/skills/usage-logging && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "usage-logging" agent skill from https://github.com/athola/claude-night-market/tree/master/plugins/leyline/skills/usage-logging into .opencode/skills/usage-logging/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "usage-logging", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
usage-loggingImplements structured usage logging and audit trails for cost and session tracking.
Usage Logging is an agent skill from athola/claude-night-market. Implements structured usage logging and audit trails for cost and session tracking. Use when adding audit trails, usage analytics, or cost tracking to a skill.
Its SKILL.md is about 900 tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files (for example `modules/log-formats.md` and `modules/session-patterns.md`).
It sits in Data & Analytics, covering Product analytics and LLM cost and token optimization. The repository describes itself as: 23 Claude Code plugins: TDD enforcement hooks, git/PR workflows, spec-driven development, code review, project lifecycle, fix-from-error, maintenance automation, context… The licence is MIT.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 9f3eb00. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
jqFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Usage Logging loads about 896 tokens when it runs. Until then it costs about 43 tokens; SKILL.md has 218 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from athola/claude-night-market at commit 9f3eb00, republished under its MIT licence (© athola). 218 words, ~896 tokens.
.claude/skills/usage-logging/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.Records individual call costs and usage events. For aggregate budget enforcement, use quota-management.
Session-aware logging infrastructure for tracking operations across plugins. Provides structured JSONL logging with automatic session management for audit trails and analytics.
Sessions group related operations:
{
"timestamp": "2025-12-05T10:30:00Z",
"session_id": "session_1733394600",
"service": "my-service",
"operation": "analyze_files",
"tokens": 5000,
"success": true,
"duration_seconds": 2.5,
"metadata": {}
}Verification: Run the command with --help flag to verify availability.
from leyline.usage_logger import UsageLogger
logger = UsageLogger(service="my-service")Verification: Run the command with --help flag to verify availability.
logger.log_usage(
operation="analyze_files",
tokens=5000,
success=True,
duration=2.5,
metadata={"files": 10},
)Verification: Run the command with --help flag to verify availability.
# Recent operations
recent = logger.get_recent_operations(hours=24)
# Usage summary
summary = logger.get_usage_summary(days=7)
print(f"Total tokens: {summary['total_tokens']}")
print(f"Total cost: ${summary['estimated_cost']:.2f}")
# Recent errors
errors = logger.get_recent_errors(count=10)Verification: Run the command with --help flag to verify availability.
# In your skill's frontmatter
dependencies: [leyline:usage-logging]Verification: Run the command with --help flag to verify availability.
Standard integration flow:
Default location: ~/.claude/leyline/usage/{service}.jsonl
# View recent logs
tail -20 ~/.claude/leyline/usage/my-service.jsonl | jq .
# Query by date
grep "2025-12-05" ~/.claude/leyline/usage/my-service.jsonlVerification: Run the command with --help flag to verify availability.
modules/session-patterns.md for session managementmodules/log-formats.md for structured formats© athola, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files in plugins/leyline/skills/usage-logging of athola/claude-night-market.
Open the folder on GitHubat commit 9f3eb00
Usage Logging next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Usage Logging this skillathola/claude-night-market | 342 | — | ~896 | Automated safety check: Pass | MIT | |
| Cv Usagetombelieber/claude-view | 110 | — | ~3.1k | Automated safety check: Pass | MIT | |
| Posthog Instrumentationlangfuse/langfuse | 36k | — | ~3.2k | Automated safety check: Pass | Custom licence | |
| Venice Billingveniceai/skills | 143 | — | ~3.6k | Automated safety check: Pass | MIT | |
| Segment CdpbenjaminasterA/antigravity-awesome-skills | 368 | 1 repos | ~361 | Automated safety check: Pass | MIT | |
| Tianji Read-Only Data Queriesmsgbyte/tianji | 3.1k | — | ~1.5k | Automated safety check: Pass | Apache-2.0 |
tombelieber/claude-view
A skill your agent uses when the user asks about usage analytics, statistics, token usage, or cost summary — e.g.
langfuse/langfuse
Product analytics with posthog. An agent skill from langfuse/langfuse.
veniceai/skills
Venice billing and usage analytics - GET /billing/balance, GET /billing/usage-history (keyset-paginated per-request ledger, JSON or CSV), and GET /billing/usage-analytics (aggregated by…
benjaminasterA/antigravity-awesome-skills
Expert patterns for Segment Customer Data Platform including Analytics.js, server-side tracking, tracking plans with Protocols, identity resolution, destinations configuration, and data governance ...
msgbyte/tianji
Answers questions about website traffic, monitors, surveys, events and billing from a Tianji instance using read-only GET calls checked against its live OpenAPI document.
debugtheworldbot/keyStats
Runs HogQL queries against this project's PostHog data from the terminal using posthog-cli, with bundled scripts for dashboard metadata the CLI itself has no command for.
athola/claude-night-market
Run and interpret repo diagnostic scripts (ratchets, validators, token stats).
athola/claude-night-market
Evaluate Claude skill quality through auditing. An agent skill from athola/claude-night-market.
athola/claude-night-market
Coordinates Claude agent teams via filesystem protocol. An agent skill from athola/claude-night-market.
athola/claude-night-market
Delegates execution to eight CLIs (Gemini, Qwen, MiniMax, GLM, Muse, Codex, OpenCode, Glimmer).
athola/claude-night-market
Guide minimal code via a decision ladder with full safety, edge, and negative-case coverage.
athola/claude-night-market
Build a project skill library in .claude/skills/ via discovery, parallel authoring, and review.
Implements structured usage logging and audit trails for cost and session tracking. Usage Logging is an agent skill from athola/claude-night-market. Implements structured usage logging and audit trails for cost and session tracking.
Usage Logging fits situations like: adding audit trails; usage analytics; cost tracking to a skill.
Run `npx skills add athola/claude-night-market --skill usage-logging -a claude-code`. Or copy the skill folder (plugins/leyline/skills/usage-logging in athola/claude-night-market) into .claude/skills/usage-logging in your project. Claude Code loads it when a task matches its description.
Run `npx skills add athola/claude-night-market --skill usage-logging -a codex`. Or copy the skill folder (plugins/leyline/skills/usage-logging in athola/claude-night-market) into .agents/skills/usage-logging in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add athola/claude-night-market --skill usage-logging -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/usage-logging, .gemini/skills/usage-logging, .github/skills/usage-logging and .opencode/skills/usage-logging in your project.
Going by SKILL.md and its folder, Usage Logging needs the command-line tools its instructions call (jq). Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Usage Logging is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 896 tokens (SKILL.md is roughly 3.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Usage Logging: Cv Usage (tombelieber/claude-view, 110 stars), Posthog Instrumentation (langfuse/langfuse, 36k stars), Venice Billing (veniceai/skills, 143 stars) and Segment Cdp (benjaminasterA/antigravity-awesome-skills, 368 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
athola (a GitHub user) maintains it in athola/claude-night-market, which has 342 GitHub stars. The repository holds 159 skills in this directory. The repository was last updated on October 6, 2026.
Source: athola/claude-night-market on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.