Applite CLAUDE.md

Applite CLAUDE.md is an instructions file for coding agents from milanvarady/Applite. It costs 2,572 tokens per session, scanned A, original, MIT.

A project guide for Claude Code, an AI coding assistant, describing how the Applite macOS app is organised and run.

In plain words
What is it for?
Use it when asking Claude Code to change, build, or debug Applite. It covers SwiftUI, Xcode, dependencies, the SQLite database, and the build process.
Why use it?
It gives the assistant the project context needed to work consistently, reducing guesswork about the app’s structure, tools, and data flow.

Instructions file

About the project

Applite is a native macOS app that installs and manages software distributed as Homebrew Casks, including on a fresh Mac without requiring Terminal or preinstalled Homebrew. It is for Mac users who want an app-store-style interface for browsing, searching, categorizing, importing, and exporting their installed applications. The catalogue entries provide instructions for using Applite-related workflows.

milanvarady/Applite · 6,977 stars · on GitHub

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 instructions/milanvarady/applite/claude-md
Clone the repo
git clone --depth 1 https://github.com/milanvarady/Applite

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 Applite CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/milanvarady/applite/claude-md.svg)](https://agentmods.dev/instructions/milanvarady/applite/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/milanvarady/applite/claude-md"><img src="https://agentmods.dev/badge/instructions/milanvarady/applite/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,572 This file is loaded in full into every session.
When invoked 2,572 The same file — it is already loaded in full.
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 $0.02572 $0.02572
Opus 5 $0.01286 $0.01286
Sonnet 5 $0.00514 $0.00514
Haiku 4.5 $0.00257 $0.00257

Measured 5d ago against content hash f0b5a786d151, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

Applite CLAUDE.md 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.

CLAUDE.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.

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

Applite is a native macOS GUI application for Homebrew Casks, designed as an "app store for third-party apps" rather than a full Homebrew wrapper. Target audience is non-technical users who want simple app installation/management.

  • Language: Swift with SwiftUI (@Observable, @MainActor, async/await)
  • Platform: macOS 14+ (Apple Silicon and Intel)
  • Build System: Xcode with Swift Package Manager for dependencies. Uses Xcode 16+ file-system synchronized groups (folder-based project): the on-disk folder structure is the project structure. Adding, removing, moving, or renaming source files needs no project.pbxproj edits — just change the files on disk and Xcode picks them up automatically. Do not hand-edit the pbxproj for file management.
  • Database: GRDB.swift (SQLite) at ~/Library/Application Support/Applite/casks.sqlite

Build & Run

Open Applite.xcodeproj in Xcode and build/run (⌘R). Dependencies resolve automatically via SPM.

Architecture

Data Flow

  1. App Launch: ContentView.task(id: bootstrap.attempt) calls caskManager.bootstrapAndLoad()
  2. First Run: HomebrewBootstrap installs/validates brew; while bootstrap.needsSetupOverlay is true, ContentView covers the window with the non-dismissable ComponentsInstallView modal (Features/Bootstrap/). There is no separate onboarding flow — the app opens straight into the main UI
  3. Main UI: ContentView with NavigationSplitView sidebar navigation
  4. Data Loading: CaskManager.loadData() runs in two stages — catalog (DB-only, instant) then brew CLI state (slow). The UI lights up after stage 1; installed/outdated state arrives reactively as stage 2 completes.

Key Components

The shared cask/brew engine lives under Applite/Core/, split into focused subfolders:

Persistence (Applite/Core/Database/)

  • AppDatabase - Schema migrations, DatabasePool with WAL mode, FTS5 virtual table on casks
  • CaskRecord - GRDB FetchableRecord/PersistableRecord, decodes from CaskDTO
  • CaskDatabaseService - CRUD, FTS5 search (async), API sync

Read the full file on GitHub · 103 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. 5d ago First seen · 103 lines · 2,572 tokens per session scan A f0b5a786d151

Subscribe to this mod's changes

Applite CLAUDE.md is an instructions file published in the GitHub repository milanvarady/Applite (6,977 stars, last pushed 28d ago), licensed MIT. It adds 2,572 tokens to every session, about $0.0129 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-08-30.

Related

Other instructions, from other repositories

scarf AGENTS.md

Instructions for awizemann/scarf: This repo carries its own agent memory — plain files in git, served by the in-repo memophant-mcp MCP server, managed by the Memophant macOS app. It works the same for every agent (Claude Code, Codex, Cursor, Gemini, Copilot). This block is regenerated between the memophant markers…

awizemann/scarf · 1,629 tokens

scarf copilot-instructions.md

Instructions for awizemann/scarf: File memory notes under one of six folders (architecture/conventions/decisions/operations/project/roadmap), never the root. When a note is grounded in code, pass sourcepaths (the repo files it depends on) so Memory Health can drift-check it — an unanchored code note can't be kept…

awizemann/scarf · 461 tokens

skills-manager CLAUDE.md

Instructions for yibie/skills-manager, covering skills manager - development guide, tui engine: blessed, 核心原则, 参考文档 and 正确的 list 用法.

yibie/skills-manager · 642 tokens

swift-tui AGENTS.md

AGENTS.md instructions for SwiftTUI/swift-tui, covering agents.md, build & test commands, architecture (one-page summary), development guidelines and code style.

SwiftTUI/swift-tui · 2,410 tokens

skills-manager AGENTS.md

Instructions for yibie/skills-manager, covering repository agent instructions and ui and interaction work.

yibie/skills-manager · 179 tokens

here-macos CLAUDE.md

Instructions for koalaauto/here-macos, covering here — ai assistant notes, architecture at a glance, prerequisites, build & run and always pass -quiet from an agent session.

koalaauto/here-macos · 3,901 tokens