telemetry-sanitized-skill-invocation

telemetry-sanitized-skill-invocation is a skill for Claude Code, Codex from ychampion/cskill-agents. It costs 36 tokens per session (569 once invoked), scanned A, original, MIT.

A privacy-conscious logging pattern for skill-tool usage. It records enough information to distinguish built-in, bundled, marketplace, custom, inline, forked, and remote skills without exposing user-entered command text.

In plain words
What is it for?
It is for instrumenting agent tools, skill execution, and plugin usage with structured telemetry.
Why use it?
It supports usage analysis and auditing while reducing the risk of putting personally identifying text into analytics data.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for instrumenting agent tools, skill execution, and plugin usage with structured telemetry.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ychampion/cskill-agents/telemetry-sanitized-skill-invocation
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 ychampion/cskill-agents --skill telemetry-sanitized-skill-invocation
Clone the repo
git clone --depth 1 https://github.com/ychampion/cskill-agents

Made for: Claude Code, Codex.

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 telemetry-sanitized-skill-invocation

README.md
[![agentmods](https://agentmods.dev/badge/skills/ychampion/cskill-agents/telemetry-sanitized-skill-invocation/github.svg)](https://agentmods.dev/skills/ychampion/cskill-agents/telemetry-sanitized-skill-invocation)
Your own site
<a href="https://agentmods.dev/skills/ychampion/cskill-agents/telemetry-sanitized-skill-invocation"><img src="https://agentmods.dev/badge/skills/ychampion/cskill-agents/telemetry-sanitized-skill-invocation/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 telemetry-sanitized-skill-invocation

Your own site · 80×15
<a href="https://agentmods.dev/skills/ychampion/cskill-agents/telemetry-sanitized-skill-invocation"><img src="https://agentmods.dev/badge/skills/ychampion/cskill-agents/telemetry-sanitized-skill-invocation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 569 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.00036 $0.00569
Opus 5 $0.00018 $0.00284
Sonnet 5 $0.00007 $0.00114
Haiku 4.5 $0.00004 $0.00057

Measured 8d ago against content hash 693fd45f137b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

telemetry-sanitized-skill-invocation 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 8d 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.

agents/claude-code/skills/telemetry-sanitized-skill-invocation/SKILL.md · 28 lines

How it starts

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

SKILL: Telemetry Sanitized Skill Invocation

Domain: tool-orchestration
Trigger: Use when SkillTool emits tengu_skill_tool_invocation so built-in commands, remote MCP skills, and forked executions are logged without exposing command strings in open analytics tables. Source Pattern: Distilled from reviewed tool-loop and result-shaping patterns.

Core Method

Before executing any skill, compute whether the command is built-in, bundled, official marketplace, or custom and pass the sanitized value as command_name while storing the actual skill name under _PROTO_skill_name to satisfy both privacy and auditability. Add contextual metadata such as execution_context (inline, forked, remote), query_depth, parent_agent_id, and plugin fields when applicable, and wrap remote canonical invocations or discovered skills with additional flags so downstream dashboards know the skill source without revealing user-generated text. Emit separate telemetry for inline/forked/remote flows so metrics can split by execution path while normalizing the skill name for aggregated reporting.

Key Rules

  • Derive sanitizedCommandName as commandName for built-in/bundled/official skills and fall back to 'custom' for user-authored commands; log the actual name only in _PROTO_skill_name to keep BigQuery columns safe.
  • Always include execution_context ('inline', 'forked', 'remote') plus invocation_trigger (nested vs proactive) and query_depth so telemetry consumers understand the runtime scenario.
  • When a plugin skill is involved, add both _PROTO_plugin_name and the sanitized plugin_name/plugin_repository fields along with marketplace metadata to enable plugin-level analytics without leaking repository URLs.
  • For remote MCP skills, emit is_remote, was_discovered, and cached load info (latency, cache hit) so telemetry can diagnose discovery performance without exposing the raw prompt body.

Example Application

Use this skill to log any slash command invocation, ensuring that a cloned forked review or remote_skill call still records an execution_context flag plus proper naming sanitization for consumption by privacy-sensitive dashboards.

Read the full file on GitHub · 28 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. 8d ago First seen · 28 lines · 36 tokens per session scan A 693fd45f137b

Subscribe to this mod's changes

telemetry-sanitized-skill-invocation is a skill published in the GitHub repository ychampion/cskill-agents (36 stars, last pushed 5mo ago), licensed MIT. It adds 36 tokens to every session and 569 once invoked, about $0.0002 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-09-03.