claude-force: Command for Claude Code

.claude/commands/review.md

review is a command for Claude Code from khanh-vu/claude-force. It costs 8 tokens per session (2,003 once invoked), scanned A, original, MIT.

A command that examines an existing project's .claude setup, files, languages, frameworks, databases, tests, and development tools, then reports findings and integration recommendations.

In plain words
What is it for?
Use it to review the current directory or another path, detect the technology stack, inspect repository and project statistics, and produce a Markdown or JSON report.
Why use it?
It removes the need to inspect the project structure manually before deciding how to configure claude-force for it.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is khanh-vu/claude-force's own configuration. It tells Claude Code how to work on claude-force itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-force configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/user/my-app.

Reuse

Borrowing it

Nothing to install: this file belongs to khanh-vu/claude-force. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/khanh-vu/claude-force/main/.claude/commands/review.md
Clone the repo
git clone --depth 1 https://github.com/khanh-vu/claude-force

Made for: Claude Code.

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 review

README.md
[![agentmods](https://agentmods.dev/badge/commands/khanh-vu/claude-force/review.svg)](https://agentmods.dev/commands/khanh-vu/claude-force/review)
Your own site
<a href="https://agentmods.dev/commands/khanh-vu/claude-force/review"><img src="https://agentmods.dev/badge/commands/khanh-vu/claude-force/review.svg" alt="Measured on agentmods" height="20"></a>
Per session 8 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,003 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.00008 $0.02003
Opus 5 $0.00004 $0.01001
Sonnet 5 $0.00002 $0.00401
Haiku 4.5 $0.00001 $0.00200

Measured 6d ago against content hash 4bf78bcdf712, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

review 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 6d 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.

.claude/commands/review.md · 339 lines

How it starts

The opening of the file, as written. The whole thing — 339 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Review Command

Analyze an existing project's .claude setup and provide recommendations for claude-force integration.

Purpose

The /review command helps you:

  • Assess existing .claude folder structure
  • Detect technology stack (languages, frameworks, databases)
  • Recommend appropriate agents for your project
  • Identify potential issues or improvements
  • Get project statistics and insights

Usage

Basic Review (Current Directory)

/review

Review Specific Directory

/review /path/to/project

With Output Format Options

/review --format markdown
/review --format json
/review --output report.md

What Gets Analyzed

Project Statistics

  • Total files and lines of code
  • File distribution by extension
  • Project size (bytes)
  • Test file detection
  • Git repository status

Technology Stack Detection

Languages (12+):

  • Python, JavaScript, TypeScript, Java, Go, Rust
  • C++, C, Ruby, PHP, Swift, Kotlin

Frameworks (9+):

  • React, Vue.js, Angular, Next.js
  • FastAPI, Django, Flask, Express.js, Spring Boot

Databases (5+):

  • PostgreSQL, MySQL, MongoDB, Redis, SQLite

Infrastructure & Tools:

  • Docker, Kubernetes, CI/CD pipelines
  • Cloud providers (AWS, GCP, Azure)

Agent Recommendations

Based on detected technologies, recommends:

  • Relevant agents with confidence scores
  • Agent priorities (primary, secondary, optional)
  • Skill matches and capabilities

Security Analysis

  • Skips sensitive files (credentials, keys, .env)
  • Validates project paths (prevents path traversal)
  • Respects system boundaries

Implementation

You should execute this command by:

  1. Import the ReviewCommand class:
from claude_force.commands.review import ReviewCommand
from pathlib import Path
  1. Determine the project path:

    • If user provides a path argument, use that
    • Otherwise, use current working directory
    • Validate the path exists and is a directory
  2. Execute the review:

# Create command instance
command = ReviewCommand(Path(project_path))

# Run analysis
result = command.execute()

# Format output based on user preference
if format_preference == "markdown":
    output = command.format_markdown(result)
elif format_preference == "json":
    output = command.format_json(result)
else:
    output = command.format_markdown(result)  # default

# Display to user
print(output)

Read the full file on GitHub · 339 lines

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. 6d ago First seen · 339 lines · 8 tokens per session scan A 4bf78bcdf712

Subscribe to this mod's changes

review is a command published in the GitHub repository khanh-vu/claude-force (5 stars, last pushed 9mo ago), licensed MIT. It adds 8 tokens to every session and 2,003 once invoked, about $0.0000 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.