source-command-latch-budget-approve

source-command-latch-budget-approve is a skill for Codex from open-latch/latch. It costs 68 tokens per session (622 once invoked), scanned A, original, Apache-2.0.

A command that approves unlimited latch language-model calls for the current project for the rest of the UTC day.

In plain words
What is it for?
Use it when you want latch to continue making language-model calls in this project today.
Why use it?
It removes the project’s daily latch call limit after you explicitly approve the extra usage.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Claude Code; installed under .agents/ (shared by several agents); mentions AGENTS.md.

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/open-latch/latch/source-command-latch-budget-approve
Any agent
npx skills add open-latch/latch --skill source-command-latch-budget-approve
Clone the repo
git clone --depth 1 https://github.com/open-latch/latch

Made for: Codex.

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 source-command-latch-budget-approve

README.md
[![agentmods](https://agentmods.dev/badge/skills/open-latch/latch/source-command-latch-budget-approve.svg)](https://agentmods.dev/skills/open-latch/latch/source-command-latch-budget-approve)
Your own site
<a href="https://agentmods.dev/skills/open-latch/latch/source-command-latch-budget-approve"><img src="https://agentmods.dev/badge/skills/open-latch/latch/source-command-latch-budget-approve.svg" alt="Measured on agentmods" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 622 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.00068 $0.00622
Opus 5 $0.00034 $0.00311
Sonnet 5 $0.00014 $0.00124
Haiku 4.5 $0.00007 $0.00062

Measured yesterday against content hash 93312d5c3626, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

source-command-latch-budget-approve 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.

.agents/skills/source-command-latch-budget-approve/SKILL.md · 60 lines

What it actually says

source-command-latch-budget-approve

Use this skill only when the user explicitly asks to approve the latch LLM budget for the current UTC day.

Command Template

Resolve the active latch checkout, then run the budget approval command:

latch_home="${LATCH_HOME:-}"
if [ -z "$latch_home" ] && [ -n "${CLAUDE_KB_HOME:-}" ]; then
  latch_home="$CLAUDE_KB_HOME"
fi
if [ -z "$latch_home" ]; then
  search_dir="$PWD"
  while [ "$search_dir" != "/" ]; do
    if [ -f "$search_dir/AGENTS.md" ]; then
      latch_home="$(sed -n 's|.*Follow `\([^`]*\)/README\.md` per-user setup.*|\1|p' "$search_dir/AGENTS.md" | head -n 1)"
      [ -n "$latch_home" ] && break
    fi
    search_dir="$(dirname "$search_dir")"
  done
fi
if [ -z "$latch_home" ]; then
  candidate="$(git rev-parse --show-toplevel 2>/dev/null || pwd)"
  if { [ -f "$candidate/src/latch/mcp/mcp_server.py" ] || [ -f "$candidate/src/mcp_server.py" ]; } && [ -d "$candidate/commands" ]; then
    latch_home="$candidate"
  fi
fi
if [ -z "$latch_home" ] || { [ ! -f "$latch_home/src/latch/mcp/mcp_server.py" ] && [ ! -f "$latch_home/src/mcp_server.py" ]; }; then
  echo "Could not find latch checkout; set LATCH_HOME to your latch install." >&2
  exit 1
fi
budget_script="$latch_home/src/latch/gate/budget.py"
if [ ! -f "$budget_script" ]; then
  budget_script="$latch_home/src/budget.py"
fi
python "$budget_script" approve "$(pwd)"

Report the JSON output, especially date, count_nonheal, count_heal, and approved_dates. Do not run this proactively; the daily caps are a cost-safety backstop.

For a read-only status check, run:

budget_script="$latch_home/src/latch/gate/budget.py"
if [ ! -f "$budget_script" ]; then
  budget_script="$latch_home/src/budget.py"
fi
python "$budget_script" status "$(pwd)"
Files

What ships with it

1 file 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. yesterday Changed · +8 lines 93312d5c3626
  2. 5d ago First seen · 52 lines · 68 tokens per session scan A 449d0b21040c

Subscribe to this mod's changes

source-command-latch-budget-approve is a skill published in the GitHub repository open-latch/latch (9 stars, last pushed 2d ago), licensed Apache-2.0. It adds 68 tokens to every session and 622 once invoked, about $0.0003 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-31.