source-command-latch-gate-report

source-command-latch-gate-report is a skill for Claude Code, Codex from open-latch/latch. It costs 63 tokens per session (523 once invoked), scanned A, original, Apache-2.0.

A read-only report for recent latch gate activity, where a latch gate is a recorded check or control in the Latch system. It follows the active checkout and accepts date or result-limit filters.

In plain words
What is it for?
Use it to inspect recent latch gate events and narrow the report by date or number of results.
Why use it?
It provides a recent activity summary without changing the system. It also helps locate the correct Latch installation when several project settings may be present.

Skill for Claude CodeCodex

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

Made for: Claude Code, Codex.

Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 523 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 $0.00063 $0.00523
Opus 5 $0.00032 $0.00262
Sonnet 5 $0.00013 $0.00105
Haiku 4.5 $0.00006 $0.00052

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

Security

Grade A, and why

source-command-latch-gate-report 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 3d 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.

.agents/skills/source-command-latch-gate-report/SKILL.md · 50 lines

What it actually says

source-command-latch-gate-report

Use this skill when the user asks for a read-only report over recent latch gate activity in Codex.

Command Template

Resolve the active latch checkout, then explicitly translate any user-supplied date or limit filters into shell arguments. Codex does not populate Claude slash-command argument placeholders.

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/mcp_server.py" ] && [ -d "$candidate/commands" ]; then
    latch_home="$candidate"
  fi
fi
if [ -z "$latch_home" ] || [ ! -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
filters=()
# Example: filters=(--days 30 --limit 5)
bash "$latch_home/bin/latch_gate_report.sh" "${filters[@]}"

Show the report as-is. The report summarizes structural logs only; it does not run a new gate and does not write decisions. If the user asks for a cited node body, fetch that node separately with the relevant latch KB read tool.

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. 3d ago First seen · 50 lines · 63 tokens per session scan A 04fdb7e51979

Subscribe to this mod's changes

source-command-latch-gate-report is a skill published in the GitHub repository open-latch/latch (9 stars, last pushed 3d ago), licensed Apache-2.0. It adds 63 tokens to every session and 523 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.