foundry-mcp: Command for Claude Code

.cursor/commands/foundry_create_project.md

foundry_create_project is a command for Claude Code, Cursor from cafreeman/foundry-mcp. It costs 0 tokens per session (1,270 once invoked), scanned A, original, MIT.

A command for creating a new Foundry project with project context documents. Foundry is a system for organising project vision, technical information, and planned work.

In plain words
What is it for?
Use it to check existing projects, choose a valid project name, define scope, and document the project's goals, users, requirements, and technical direction.
Why use it?
It establishes a consistent project structure and clarifies the problem, audience, boundaries, and initial features before work begins.

Command for Claude CodeCursor

Written for Cursor and Claude Code: installed under .cursor/, but also a Claude Code command (commands/*.md). Also seen: positional $N argument.

This is cafreeman/foundry-mcp's own configuration. It tells Claude Code and Cursor how to work on foundry-mcp 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 foundry-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to cafreeman/foundry-mcp. 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/cafreeman/foundry-mcp/main/.cursor/commands/foundry_create_project.md
Clone the repo
git clone --depth 1 https://github.com/cafreeman/foundry-mcp

Made for: Claude Code, Cursor.

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 foundry_create_project

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/cafreeman/foundry-mcp/foundry_create_project"><img src="https://agentmods.dev/badge/commands/cafreeman/foundry-mcp/foundry_create_project.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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 1,270 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.00000 $0.01270
Opus 5.5 $0.00000 $0.00508
Sonnet 5.5 $0.00000 $0.00254
Haiku 4.5 $0.00000 $0.00127

Measured 2mo ago against content hash 6ff4a9e39f3b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

foundry_create_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 2mo 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.

.cursor/commands/foundry_create_project.md · 135 lines

How it starts

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

Create Foundry Project

Overview

Create a new Foundry project with comprehensive context documents through collaborative design process.

Context Gathering Phase

Project Portfolio Management:

  1. Foundry System Check: Use list_projects to avoid naming conflicts and understand existing project portfolio
  2. Project Name Validation: Ensure kebab-case format for consistency across Foundry system
  3. Scope Definition: Establish clear boundaries and initial feature set for focused development

Comprehensive Interview Workflow

Phase 1: Problem & Market Context

Core Problem Analysis:

  • What specific user pain point or business problem does this project address?
  • How do users currently solve this problem, and what are the limitations?
  • What would success look like for both users and the business?
  • Are there existing solutions, and how would this be different/better?

Target Audience Deep Dive:

  • Who are the primary users and what are their technical skill levels?
  • What are their key workflows and usage patterns?
  • What are their most important requirements and constraints?
  • How do they currently discover and adopt new solutions?

Phase 2: Technical Foundation

Technology Preferences & Constraints:

  • What programming languages and frameworks are preferred by the team?
  • Are there existing infrastructure or platform requirements to consider?
  • What are the performance, security, or compliance constraints?
  • What is the team's technical expertise and preferred development tools?

Architecture & Integration:

  • Will this integrate with existing systems or be standalone?
  • What are the expected scale and performance requirements?
  • Are there specific API or data integration requirements?
  • What deployment environments are planned (cloud, on-premise, hybrid)?

Phase 3: Project Planning

Development Approach:

  • What is the development timeline and resource availability?
  • Should this be built in phases, and what would the MVP include?
  • What are the key risks and how might they be mitigated?
  • How will success be measured and validated?

Read the full file on GitHub · 135 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. 2mo ago First seen · 135 lines · 0 tokens per session scan A 6ff4a9e39f3b

Subscribe to this mod's changes

foundry_create_project is a command published in the GitHub repository cafreeman/foundry-mcp (4 stars, last pushed 7mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,270 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-31.