status

status is a command for Claude Code from drewalth/claude-xcindex. It costs 12 tokens per session (420 once invoked), scanned A, original, MIT.

A command that reports whether Xcode's code index is current for an Apple development project. The index stores information Xcode uses to understand Swift and Objective-C code.

In plain words
What is it for?
Check the index location and update time, identify edited Swift files that are newer than the index, and recommend a build command or Xcode rebuild.
Why use it?
It shows whether code-navigation tools may be working from outdated information and tells you how to rebuild the index when needed.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the xcindex plugin — 4 skills, 2 commands, 1 agent, 3 hooks, 1 MCP server shipped together

Good fit Check the index location and update time, identify edited Swift files that are newer than the index, and recommend a build command or Xcode rebuild.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/drewalth/claude-xcindex/xcindex-status
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/drewalth/claude-xcindex

Made for: Claude Code.

Or install xcindex, the plugin that ships this one along with the rest of its 4 skills, 2 commands, 1 agent, 3 hooks, 1 MCP server.

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 status

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/drewalth/claude-xcindex/xcindex-status"><img src="https://agentmods.dev/badge/commands/drewalth/claude-xcindex/xcindex-status.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 420 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.00012 $0.00420
Opus 5 $0.00006 $0.00210
Sonnet 5 $0.00002 $0.00084
Haiku 4.5 $0.00001 $0.00042

Measured 9d ago against content hash 36e842ba17a8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

status 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 9d 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.

commands/xcindex-status.md · 41 lines

What it actually says

Call the status tool from the xcindex MCP server with the project path inferred from the current working directory, or ask the user to provide it if it can't be found.

If no projectPath or indexStorePath is available, scan ./ and ../ for .xcodeproj or .xcworkspace files and use the first match.

Report, in this order:

  1. Index store path — the resolved Index.noindex/DataStore directory.
  2. Last index update timestamp — when Xcode last wrote the index.
  3. Stale files — any Swift files the user has edited this session that are newer than the index. If the status response includes a results may be stale note on any path, surface it prominently.
  4. Recommendation — one of:
    • Up to date — "Tools are ready. Ask about references, overrides, conformances, or blast radius."
    • Stale — show the exact rebuild command for the detected project:
      • For .xcworkspace:
        xcodebuild -workspace <name>.xcworkspace -scheme <scheme> -configuration Debug build
        
      • For .xcodeproj:
        xcodebuild -project <name>.xcodeproj -scheme <scheme> -configuration Debug build
        
      • If the user prefers the IDE: "Open in Xcode and press Cmd+B."
    • No index found — suggest /xcindex-setup to build from scratch, or running ./bin/xcindex-doctor for a full environment check.

Be concise. Three or four short lines of prose for up-to-date; a single commanded-line for stale; a one-sentence remediation for missing.

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. 9d ago First seen · 41 lines · 12 tokens per session scan A 36e842ba17a8

Subscribe to this mod's changes

status is a command published in the GitHub repository drewalth/claude-xcindex (3 stars, last pushed 1mo ago), licensed MIT. It adds 12 tokens to every session and 420 once invoked, about $0.0001 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.