project

A project-switching command that reports a project's registered details and current Git state. Git is the version-control system used to track code changes.

In plain words
What is it for?
Use it to start work on a named project, see what changed recently, and find its current focus or planned next step.
Why use it?
It gathers the branch, uncommitted files, recent commits, project notes, and next steps in one summary instead of checking each separately.

Command

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 commands/jansenanalytics/claudex/project
Clone the repo
git clone --depth 1 https://github.com/JansenAnalytics/claudex
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 475 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.00020 $0.00475
Opus 5 $0.00010 $0.00237
Sonnet 5 $0.00004 $0.00095
Haiku 4.5 $0.00002 $0.00047

Measured yesterday against content hash 43e66b01bee4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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

commands/project.md · 28 lines

What it actually says

Switch focus to a project ($ARGUMENTS) and report its live state. No fluff.

PI="node ${PROJECT_INDEX_HOME:-$HOME/projects/project-index}/index.cjs"

  1. No arg — run $PI list (fallback ls ~/projects if it errors). Present active projects as a bullet list: name, status, one-line last_action. Stop here; tell the user to pass a name for detail.

  2. <name> given — gather registry + LIVE state:

    • $PI show <name> → pull status, last_action, next_steps.
    • If not in index, fall back to ~/projects/<name> as the path.
    • cd into the project path, then in ONE shell run: git rev-parse --abbrev-ref HEAD (branch), git status --porcelain | wc -l (uncommitted count), git log -5 --oneline (recent commits). If not a git repo, say so and skip git.
    • If CLAUDE.md or DESIGN.md exists at the path, Read it and surface a 1–2 line gist (what it is / current focus).
  3. Telegram summary for the named project, bullets only:

    • {name} — status, path
    • Branch: <branch> · Uncommitted: N file(s)
    • Recent: the 5 git log lines as code
    • Last action: from registry
    • 1–2 line gist from CLAUDE.md/DESIGN.md if found
    • End with **Next:** <first next_step> (or "no next_steps recorded").

Known projects for fallback paths: prop-hedge-agents (~/projects/prop-hedge-agents, branch feature/agent-restructure), prop-hedge-dashboard, brewboard (STOPPED — note it, don't start), plus any other repo under ~/projects/<name>. No markdown tables.

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 First seen · 28 lines · 20 tokens per session scan A 43e66b01bee4

Subscribe to this mod's changes

project is a command published in the GitHub repository JansenAnalytics/claudex (5 stars, last pushed 2mo ago), licensed MIT. It adds 20 tokens to every session and 475 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.