project

A command that scans a project and creates an AI-friendly project guide at .claude/project.md. The guide records the technology choices, folder structure, README information, business concepts, and development rules.

In plain words
What is it for?
Use it to initialize, update, or compare a project's guide, including reviewing Git changes and recording the current status and recent changes.
Why use it?
It gives an AI coding assistant shared project context and keeps that context updated as the codebase changes.

Command for Claude Code

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/yezannnnn/agentgroup/project
Clone the repo
git clone --depth 1 https://github.com/yezannnnn/agentGroup

Made for: Claude Code.

Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 371 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.00000 $0.00371
Opus 5 $0.00000 $0.00186
Sonnet 5 $0.00000 $0.00074
Haiku 4.5 $0.00000 $0.00037

Measured 3d ago against content hash 57f6ce331970, 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 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.

jarvis/.claude/commands/project.md · 51 lines

What it actually says

/project - 生成项目AI说明

为项目生成AI友好的说明文件

使用方式

/project init [项目路径]     # 扫描项目,生成 .claude/project.md
/project update [项目路径]   # 更新项目说明(记录变更)
/project diff [项目路径]     # 查看git变更并更新说明

/project init

  1. 扫描项目目录
  2. 识别技术栈(package.json, requirements.txt, go.mod等)
  3. 分析目录结构
  4. 读取README(如有)
  5. 读取模板 ../shared/templates/ai-project.md
  6. 生成 [项目路径]/.claude/project.md
  7. 询问用户补充业务概念和开发规范

/project update

  1. 读取现有 .claude/project.md
  2. 询问本次变更内容
  3. 更新"当前状态"、"进行中的任务"、"变更记录"

/project diff

  1. 运行 git statusgit log -5 --oneline
  2. 分析变更涉及的模块
  3. 自动更新 .claude/project.md 中的:
    • 当前状态.最近变更
    • 变更记录

生成的文件位置

项目根目录/
└── .claude/
    └── project.md    # AI启动时应读取此文件

重要提示

当用户让你开发某个项目时:

  1. 先检查项目是否有 .claude/project.md
  2. 如果有,先读取它了解项目
  3. 如果没有,建议用户执行 /project init
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 · 51 lines · 0 tokens per session scan A 57f6ce331970

Subscribe to this mod's changes

project is a command published in the GitHub repository yezannnnn/agentGroup (149 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 371 tokens. 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.