ic

ic is a command for Claude Code from danielmiessler/LifeOS. It costs 117 tokens per session (940 once invoked), scanned A, original, MIT.

A system integrity checker for a coding environment. It examines references, versions, hooks, skills, commands, documentation links, tests, and other wiring, then reports whether blocking problems were found.

In plain words
What is it for?
Use it to check that automation hooks, configuration, documentation, workflows, and command or agent definitions are connected and working.
Why use it?
It finds broken or disconnected parts of a development setup before they cause failures in normal work or releases.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Good fit Use it to check that automation hooks, configuration, documentation, workflows, and command or agent definitions are connected and working.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/danielmiessler/lifeos/ic
About the project

LifeOS is an AI-assisted personal operating system that records a person’s goals, values, context, and current situation to help move them toward a desired future state. It supports work such as building applications, starting businesses, and creative projects. Its catalogue entries extend the system through skills, hooks, agents, and commands.

danielmiessler/LifeOS · 19,631 stars · on GitHub · ourlifeos.ai

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.

Clone the repo
git clone --depth 1 https://github.com/danielmiessler/LifeOS

Made for: Claude Code.

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 ic

README.md
[![agentmods](https://agentmods.dev/badge/commands/danielmiessler/lifeos/ic/github.svg)](https://agentmods.dev/commands/danielmiessler/lifeos/ic)
Your own site
<a href="https://agentmods.dev/commands/danielmiessler/lifeos/ic"><img src="https://agentmods.dev/badge/commands/danielmiessler/lifeos/ic/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 ic

Your own site · 80×15
<a href="https://agentmods.dev/commands/danielmiessler/lifeos/ic"><img src="https://agentmods.dev/badge/commands/danielmiessler/lifeos/ic.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 117 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 940 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.00117 $0.00940
Opus 5.5 $0.00047 $0.00376
Sonnet 5.5 $0.00023 $0.00188
Haiku 4.5 $0.00012 $0.00094

Measured yesterday against content hash d928a16acfb1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ic 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 yesterday.

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.

LifeOS/install/commands/ic.md · 29 lines

What it actually says

/ic — Full-System Integrity Check

Thin invoker. The single source of truth for what this check covers, blocking vs non-blocking rules, and the deep sweep is the IntegrityCheck intent of your release skill (the skill that owns shadow releases and the docs-update intent).

Default (deterministic, under a minute, every check in its own concurrent worker; it writes last-run.json, a runs.jsonl row and Vigil events on every full run, and last-pass.json on a clean one, unless --no-stamp is passed; a --section run writes nothing):

bun ~/.claude/LIFEOS/TOOLS/IntegrityCheck.ts $ARGUMENTS   # minus --no-ud, which is this command's flag, not the tool's

Then the documentation update, every run but --section and --no-ud: after the verdict and any fixes, run the DocumentationUpdate intent once with this run's icContext (findings, fix paths, every file /ic changed, contextual findings, change window), so the docs catch up with what /ic fixed. The exact hand-off is the IntegrityCheck intent's Step 3.

Exit codes: 0 clean / 1 blocking / 2 scan error. Exit 2 blocks like exit 1. Orphans block: an unacknowledged orphan workflow is a blocking finding, and so is a guard-count drop until an --accept-drop run on the principal's yes. Report the verdict (CLEAN or N BLOCKING) and, on any blocking finding, the specific broken items with their fix paths.

Flags: --json structured output · --quiet findings only · --section <name> one check, never stamps · --no-stamp writes no stamp file at all · --serial runs the checks one after another (the parity reference) · --since-tag change window from the last v* tag · --run-id <id> recorded in every stamp · --accept-drop rewrites the guard-count snapshot, only on the principal's yes.

The report opens with a Change window — last-run timestamp + areas touched in both repos since. After the tool pass, do a focused contextual review of the top churned areas (judgment: a subsystem rework earns a look, mechanical churn like MEMORY logs does not): do the area's docs/README/ISA still describe what is there now; do the routing surfaces that point into it (CLAUDE.md, PROJECTS.md, the architecture summary, SKILL.md files) still match its shape; did the change orphan or relocate anything the deterministic pass cannot see (renamed dirs still referenced by prose, retired components still listed as live)? Report those findings beside the deterministic verdict; this is a focused read, never an agent sweep. Every full run without --no-stamp is stamped to MEMORY/STATE/integrity/last-run.json + runs.jsonl automatically.

Deep audit (--deep): the deterministic pass PLUS the deep sweep, run as a Claude Code Workflow — the tool never spawns agents itself. Invoke your release skill's IntegrityCheck intent with the argument integrity check --deep and follow it. On an install whose release skill has no such intent, --deep has nothing extra to run: the deterministic pass above is the whole check.

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. yesterday First seen · 29 lines · 117 tokens per session scan A d928a16acfb1

Subscribe to this mod's changes

ic is a command published in the GitHub repository danielmiessler/LifeOS (19,631 stars, last pushed yesterday), licensed MIT. It adds 117 tokens to every session and 940 once invoked, about $0.0005 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-28.