OmoiOS: Skill for Claude Code

.claude/skills/litho-budgeted-analysis/SKILL.md

litho-budgeted-analysis is a skill for Claude Code from kivo360/OmoiOS. It costs 90 tokens per session (1,155 once invoked), scanned A, original, Apache-2.0.

A repository-analysis workflow that profiles a codebase, prepares a local Litho configuration, checks its analysis cache, and runs deepwiki-rs within a time limit.

In plain words
What is it for?
Use it to inspect repository size and structure, adjust exclusions and boundaries, reuse fresh cache data, and run a timed Litho analysis.
Why use it?
It helps produce useful repository documentation or analysis when the codebase is large or the available time is limited.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is kivo360/OmoiOS's own configuration. It tells Claude Code how to work on OmoiOS itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything OmoiOS configures →

Reuse

Borrowing it

Nothing to install: this file belongs to kivo360/OmoiOS. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/kivo360/OmoiOS/main/.claude/skills/litho-budgeted-analysis/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/kivo360/OmoiOS

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 litho-budgeted-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/kivo360/omoios/litho-budgeted-analysis/github.svg)](https://agentmods.dev/skills/kivo360/omoios/litho-budgeted-analysis)
Your own site
<a href="https://agentmods.dev/skills/kivo360/omoios/litho-budgeted-analysis"><img src="https://agentmods.dev/badge/skills/kivo360/omoios/litho-budgeted-analysis/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 litho-budgeted-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/kivo360/omoios/litho-budgeted-analysis"><img src="https://agentmods.dev/badge/skills/kivo360/omoios/litho-budgeted-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,155 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.00090 $0.01155
Opus 5.5 $0.00036 $0.00462
Sonnet 5.5 $0.00018 $0.00231
Haiku 4.5 $0.00009 $0.00115

Measured 3mo ago against content hash 68dc66ae4d7e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

litho-budgeted-analysis 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 3mo ago.

The scan reads SKILL.md. This mod also ships 7 executable files (scripts/_litho_common.py, scripts/generate_litho_config.py, scripts/profile_repo.py, …), 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.

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.

.claude/skills/litho-budgeted-analysis/SKILL.md · 154 lines

How it starts

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

Litho Budgeted Analysis

Create a fast, repo-local Litho run plan without changing the user's global model choice.

Workflow

  1. Profile the repo.
  2. Detect the effective global Litho config path if possible.
  3. Inspect .litho/cache freshness.
  4. Generate litho.local.toml in the target repo.
  5. Prefer a direct run.
  6. Use filtered-copy mode only when the repo is too large for the time budget.

Scripts

0. Use the one-file local launcher

If you want the simplest possible local test, run exactly one file:

bash scripts/run_local_litho.sh /path/to/repo 15

That script:

  • runs the full budgeted Litho workflow for the target repo
  • streams progress in the current terminal
  • writes .litho/run.log
  • writes .litho/run-status.json

If you want a detached background run instead:

bash scripts/run_local_litho.sh /path/to/repo 15 --detach

Then watch progress with:

bash scripts/watch_litho_progress.sh /path/to/repo

1. Profile the repo

Run:

bash scripts/uv_run.sh scripts/profile_repo.py --repo-path /path/to/repo

This returns JSON including:

  • tracked file count
  • source-like file count
  • total/source-like bytes
  • largest directories
  • cache presence/freshness
  • detected global Litho config path
  • repo class (small, medium, large, very-large)

2. Generate the local config

Run:

bash scripts/uv_run.sh scripts/generate_litho_config.py --repo-path /path/to/repo

Behavior:

  • writes /path/to/repo/litho.local.toml
  • preserves the user's existing provider/model settings
  • only tunes safe runtime knobs like exclusions, boundary settings, chunking, and concurrency
  • does not overwrite the global config

If automatic global-config detection is wrong or unavailable, pass it explicitly:

bash scripts/uv_run.sh scripts/generate_litho_config.py --repo-path /path/to/repo --global-config /path/to/global/litho.toml

3. Run Litho with a time budget

Run:

bash scripts/uv_run.sh scripts/run_litho_analysis.py --repo-path /path/to/repo --time-budget-minutes 15

Read the full file on GitHub · 154 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. 3mo ago First seen · 154 lines · 90 tokens per session scan A 68dc66ae4d7e

Subscribe to this mod's changes

litho-budgeted-analysis is a skill published in the GitHub repository kivo360/OmoiOS (80 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 90 tokens to every session and 1,155 once invoked, about $0.0004 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-08-30.

Related

litho-budgeted-analysis compared with skills from other repositories

litho-budgeted-analysis next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
litho-budgeted-analysiskivo360/OmoiOSSkill802mo agoApache-2.0A90Claude Code
browser-edge-casesaden-hive/hiveSkill11k2d agoApache-2.0A40Claude Code
hive.note-takingaden-hive/hiveSkill11k2d agoApache-2.0A30Claude Code, Codex
articleaeonfun/aeonSkill804yesterdayMITA43Claude Code, Codex
fork-fleetaeonfun/aeonSkill804yesterdayMITA45Claude Code, Codex
fleet-controlaeonfun/aeonSkill804yesterdayMITA43Claude Code, Codex
github-trendingaeonfun/aeonSkill804yesterdayMITA43Claude Code, Codex