lctx-stats

lctx-stats is a skill for Claude Code from Rovemark/logica-context. It costs 0 tokens per session (41 once invoked), scanned A, original, MIT.

A statistics command for a knowledge base, a stored collection of information used to provide context to coding work.

In plain words
What is it for?
Use it after saying “lctx stats” to display the knowledge base statistics and context savings.
Why use it?
It shows how many entries the knowledge base contains and how much context it saves.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the logica-context plugin — 5 skills, 1 MCP server shipped together

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.

agentmods
npx agentmods add skills/rovemark/logica-context/lctx-stats
Any agent
npx skills add Rovemark/logica-context --skill lctx-stats
Clone the repo
git clone --depth 1 https://github.com/Rovemark/logica-context

Made for: Claude Code.

Or install logica-context, the plugin that ships this one along with the rest of its 5 skills, 1 MCP server.

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 lctx-stats

README.md
[![agentmods](https://agentmods.dev/badge/skills/rovemark/logica-context/lctx-stats.svg)](https://agentmods.dev/skills/rovemark/logica-context/lctx-stats)
Your own site
<a href="https://agentmods.dev/skills/rovemark/logica-context/lctx-stats"><img src="https://agentmods.dev/badge/skills/rovemark/logica-context/lctx-stats.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 41 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00000 $0.00041
Opus 5 $0.00000 $0.00020
Sonnet 5 $0.00000 $0.00008
Haiku 4.5 $0.00000 $0.00004

Measured 5d ago against content hash 1d28045a2994, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

lctx-stats 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.

skills/lctx-stats/SKILL.md · 7 lines

What it actually says

/lctx-stats

Show knowledge base statistics and context savings.

Usage

When the user says "lctx stats", call the lctx_stats tool and display the full output.

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 First seen · 7 lines · 0 tokens per session scan A 1d28045a2994

Subscribe to this mod's changes

lctx-stats is a skill published in the GitHub repository Rovemark/logica-context (0 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 41 tokens. 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-31.

Related

Other skills, from other repositories

linggen

Linggen — durable cross-host memory plus browser control, over two local MCP servers: ling-mem for memory, the Linggen engine for browser, X and agents. Memory: three-tier model (core + long-term + episodic staging) of who the user is, not a log of what was done; same ling-mem daemon and store in Claude Code, Codex…

linggen/linggen-memory · 127 tokens

accordion-context-folding

Read this skill if you see {# FOLDED} markers in your context (e.g. {#3f9a2c FOLDED}), or if earlier parts of your context look summarized. Accordion is a desktop tool that may compact older context blocks to keep you under a token budget. The unfold tool restores a folded block (open from your next turn); the recall…

a-Fig/Accordion · 102 tokens

accordion-context-recall

Read this skill when you need to read the full content of a folded context block RIGHT NOW as a tool result — without opening it in your standing context. Use recall(codes) when you only need a value once and do not want to permanently restore the block. Accordion may fold older parts of your context to keep token…

a-Fig/Accordion · 89 tokens

context-budget

Use when a long-horizon task is filling the context window and you must decide what to keep, offload, drop, or hand off to a fresh window — when to compact, what the summary must preserve, and whether to isolate a read-heavy subtask in a subagent. NOT dollar spend or caps (that is cost-tracking), NOT finding context…

ericrisco/rsc-harness · 82 tokens

yesresearch

Autonomous research loop — read plan, decompose, dispatch research agents, integrate, deliver wiki. For research tasks instead of coding. Runs as visible TUI agents in git worktree. Use when user says "yesresearch", "research ", "recherchiere ". Spawns cluster agents that use opencode built-in subagents (general…

carsteneu/yesmem · 87 tokens

yesloop

Autonomous task loop — analyze, plan, execute, verify, review, finish. Runs as visible TUI agent in git worktree. Use when user says "yesloop", "loop", "run it autonomously".

carsteneu/yesmem · 48 tokens