lcm-dogfood

lcm-dogfood is a skill for Claude Code from lossless-claude/lcm. It costs 84 tokens per session (1,185 once invoked), scanned B, original, MIT.

A testing skill for running lcm's 39-check self-test across its commands, hooks, MCP tools, and failure-recovery behavior.

In plain words
What is it for?
Use it when self-testing lcm, checking its hooks or MCP tools, or running quality assurance and pre-release validation.
Why use it?
It gives a repeatable way to check lcm quality, find regressions, and validate a build before release.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is echo '{}' | node dist/bin/lcm.js restore.

Part of the lcm plugin — 8 skills, 10 commands, 4 agents shipped together

Good fit Use it when self-testing lcm, checking its hooks or MCP tools, or running quality assurance and pre-release validation.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/lossless-claude/lcm
agentmods
npx agentmods add skills/lossless-claude/lcm/lcm-dogfood

Made for: Claude Code.

Or install lcm, the plugin that ships this one along with the rest of its 8 skills, 10 commands, 4 agents.

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 lcm-dogfood

README.md
[![agentmods](https://agentmods.dev/badge/skills/lossless-claude/lcm/lcm-dogfood/github.svg)](https://agentmods.dev/skills/lossless-claude/lcm/lcm-dogfood)
Your own site
<a href="https://agentmods.dev/skills/lossless-claude/lcm/lcm-dogfood"><img src="https://agentmods.dev/badge/skills/lossless-claude/lcm/lcm-dogfood/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 lcm-dogfood

Your own site · 80×15
<a href="https://agentmods.dev/skills/lossless-claude/lcm/lcm-dogfood"><img src="https://agentmods.dev/badge/skills/lossless-claude/lcm/lcm-dogfood.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,185 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00084 $0.01185
Opus 5 $0.00042 $0.00593
Sonnet 5 $0.00017 $0.00237
Haiku 4.5 $0.00008 $0.00119

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

Security

Grade B, and why

lcm-dogfood scanned grade B with 1 finding 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.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/db-integrity.js, scripts/prompt-search-test.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

Hooks are registered in `.claude-plugin/plugin.json`, NOT `~/.claude/settings.json`. Verify all 4:
.claude-plugin/skills/lcm-dogfood/SKILL.md · 103 lines

How it starts

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

lcm Dogfood — Live Self-Test Suite

Comprehensive self-test for the lcm system in a live Claude Code session. Covers all 9 CLI commands, 4 hooks, 8 MCP tools, and resilience scenarios across 39 checks in 10 phases.

Arguments: all (default), health, import, compact, promote, sensitive, pipeline, hooks, mcp, resilience, debug

Procedure

Execute each phase in order (or just the requested phase). For each check:

  1. Run the command or verify the condition
  2. Record: ✅ PASS, ❌ FAIL, or ⚠️ SKIP (with reason)
  3. On FAIL: capture error, check daemon logs (~/.lossless-claude/daemon.log), continue
  4. Produce the Scorecard at the end
  5. Write failures to .xgh/reviews/dogfood-YYYY-MM-DD.md

Routing: Use ctx_execute (context-mode sandbox) for commands producing large output. Use Bash for short-output commands. Use MCP tools directly for Phase 8.

Consult references/checks.md for detailed pass/fail criteria for each check.

Phase Overview

# Phase Checks What it tests
1 Health 3 Daemon status, doctor, version
2 Import 3 Transcript ingestion + idempotency
3 Compact 3 Summarization + idempotency
4 Promote 2 Insight extraction + stats consistency
5 Sensitive 5 Pattern list/test/add/remove cycle
6 Pipeline 2 Full curate + diagnose
7 Hooks 6 Wiring verification + live tests
8 MCP 8 All 7 MCP tools + store-retrieve roundtrip
9 Resilience 3 Kill/restart/graceful degradation
10 Debug 4 Logs, PWD, DB existence, integrity

Key Commands

All CLI checks use node dist/bin/lcm.js <subcommand>. If lcm is on PATH, use that instead.

Hook Verification

Hooks are registered in .claude-plugin/plugin.json, NOT ~/.claude/settings.json. Verify all 4:

  • SessionStartlcm restore
  • UserPromptSubmitlcm user-prompt
  • PreCompactlcm compact --hook
  • SessionEndlcm session-end

Read the full file on GitHub · 103 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 103 lines · 84 tokens per session scan B 901cd7387a64

Subscribe to this mod's changes

lcm-dogfood is a skill published in the GitHub repository lossless-claude/lcm (26 stars, last pushed 2d ago), licensed MIT. It adds 84 tokens to every session and 1,185 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

tika-eval-compare

Compare extracts from two Tika builds over a corpus to detect regressions in content, encoding, exceptions, and embedded-document handling. Use for "compare before/after extracts", "eval this change against the corpus".

apache/tika · 50 tokens

neuron-evaluation-engineer

Create and run AI evaluations with datasets, assertions, and output drivers in Neuron AI. Use this skill whenever the user mentions evaluation, testing AI systems, creating evaluators, dataset-driven testing, assertion-based validation, or wants to measure AI system performance. Also trigger for tasks involving…

neuron-core/neuron-ai · 77 tokens

jetson-validate-image

Use after jetson-flash-image to run static BSP checks, on-target smoke/regression tests on a flashed DUT, or both. Not for build or flash steps. Triggers: validate bsp, on-target validation.

NVIDIA/skills · 50 tokens

atmos-validation

Validate Atmos projects, components, arbitrary JSON Schema inputs, EditorConfig, and GitHub Actions; use affected-file selection and native CI annotations.

cloudposse/atmos · 31 tokens

skill-benchmark

Benchmark AI skill effectiveness by measuring implementation quality against legacy constraints.

HoangNguyen0403/agent-skills-standard · 16 tokens