orchardcore-ai-usage-analytics

orchardcore-ai-usage-analytics is a skill for Claude Code from CrestApps/CrestApps.AgentSkills. It costs 222 tokens per session (3,950 once invoked), scanned A, original, MIT.

An Orchard Core feature that records requests made by an AI service and displays them in usage reports. It can group usage by model, category, and purpose, including chat, image, and speech requests.

In plain words
What is it for?
Use it to set up AI usage tracking, view the Billing and Usage report, and control who can access that report.
Why use it?
It gives administrators a way to see AI activity and metered usage instead of having no record of requests. Tracking must be enabled before requests are recorded.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the crestapps-orchardcore plugin — 138 skills shipped together

Good fit Use it to set up AI usage tracking, view the Billing and Usage report, and control who can access that report.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/crestapps/crestapps.agentskills/orchardcore-ai-usage-analytics
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.

Any agent
npx skills add CrestApps/CrestApps.AgentSkills --skill orchardcore-ai-usage-analytics
Clone the repo
git clone --depth 1 https://github.com/CrestApps/CrestApps.AgentSkills

Made for: Claude Code.

Or install crestapps-orchardcore, the plugin that ships this one along with the rest of its 138 skills.

Wrote 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.

agentmods badge for orchardcore-ai-usage-analytics

README.md
[![agentmods](https://agentmods.dev/badge/skills/crestapps/crestapps.agentskills/orchardcore-ai-usage-analytics/github.svg)](https://agentmods.dev/skills/crestapps/crestapps.agentskills/orchardcore-ai-usage-analytics)
Your own site
<a href="https://agentmods.dev/skills/crestapps/crestapps.agentskills/orchardcore-ai-usage-analytics"><img src="https://agentmods.dev/badge/skills/crestapps/crestapps.agentskills/orchardcore-ai-usage-analytics/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.

agentmods 80×15 button for orchardcore-ai-usage-analytics

Your own site · 80×15
<a href="https://agentmods.dev/skills/crestapps/crestapps.agentskills/orchardcore-ai-usage-analytics"><img src="https://agentmods.dev/badge/skills/crestapps/crestapps.agentskills/orchardcore-ai-usage-analytics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 222 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,950 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00222 $0.03950
Opus 5.5 $0.00089 $0.01580
Sonnet 5.5 $0.00044 $0.00790
Haiku 4.5 $0.00022 $0.00395

Measured 5d ago against content hash 131060a4de59, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

orchardcore-ai-usage-analytics 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 5d 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.

plugins/crestapps-orchardcore/skills/orchardcore-ai-usage-analytics/SKILL.md · 297 lines

How it starts

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

Orchard Core AI Usage Analytics

Every AI client the site creates through IAIClientFactory meters its own requests, whatever the provider and whatever the kind (chat, embeddings, images, speech-to-text, text-to-speech, realtime), while the AI Usage Analytics feature is enabled. Its report shows those records per model, category and purpose, audio usage, chat completions and automated voice calls, with an estimated cost from the prices set on each deployment.

Setup

Item Value
Feature AI Usage Analytics, CrestApps.OrchardCore.AI.UsageAnalytics (in the CrestApps.OrchardCore.AI.Chat package; depends on CrestApps.OrchardCore.AI.Chat and CrestApps.OrchardCore.Reports)
Report Reports > Billing & Usage > AI Usage Analytics (/Admin/Reports/view/ai-usage-analytics, AIUsageAnalyticsReport)
Permission ViewChatAnalytics (granted to Administrator by default)
Exports CSV, Excel with Reports (OpenXml), PDF with Reports (PDF)

Usage is recorded only while the feature is on (its startup calls AddCoreAIUsageTracking()); nothing used before it was enabled can be reported. There is no tracking checkbox any more.

{
  "steps": [
    {
      "name": "Feature",
      "enable": [
        "CrestApps.OrchardCore.AI.UsageAnalytics",
        "CrestApps.OrchardCore.AI.Chat.Analytics"
      ],
      "disable": []
    }
  ]
}

CrestApps.OrchardCore.AI.Chat.Analytics (AI Chat Session Analytics) registers the usage and voice summary index tables and the store that persists voice session summaries; without it automated calls leave no voice summary and the Report Builder data sets below are not listed.

What the report shows

Section Contents Group by
Metered usage One row per request sent to a provider: planning, query rewriting, each tool-calling step, image descriptions and each embedding batch count separately. Cached responses add nothing. Est. cost, Cache writes and Other usage columns, and the estimated total per currency above the table Model, Model and category, Model and purpose
Audio usage Speech-to-text and text-to-speech: requests, hours, speech hours, characters, audio in and out, segments, tokens, Est. cost. An asterisk on hours means some requests reported no length, so the figure is a minimum Model, Model and voice, Model and language
Completions Chat completions that belong to a chat session or chat interaction: calls, sessions, interactions, tokens, average latency, Est. cost User and model, Model, Deployment, AI profile, Connection
Voice One summary per automated AI call: calls, AI, caller and silence minutes, average call, handoff rate, barge-ins, text and audio tokens, answer and model latency Deployment (model), AI profile, Campaign, Channel, Engine, Day

Read the full file on GitHub · 297 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. 5d ago Changed 131060a4de59
  2. 13d ago Changed · +22 lines · +3 tokens per session ad123d486426
  3. 26d ago Changed · +81 lines · -5 tokens per session 4dbf8a9ef692
  4. 1mo ago First seen · 194 lines · 224 tokens per session scan A 3b088572ecb1

Subscribe to this mod's changes

orchardcore-ai-usage-analytics is a skill published in the GitHub repository CrestApps/CrestApps.AgentSkills (14 stars, last pushed 5d ago), licensed MIT. It adds 222 tokens to every session and 3,950 once invoked, about $0.0009 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-10-22.

Related

orchardcore-ai-usage-analytics compared with skills from other repositories

orchardcore-ai-usage-analytics next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
orchardcore-ai-usage-analyticsCrestApps/CrestApps.AgentSkillsSkill145d agoMITA222Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82ktodayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code