modal-mcp: Instructions file for Claude Code

CLAUDE.md

modal-mcp CLAUDE.md is an instructions file for Claude Code from php-workx/modal-mcp. It costs 236 tokens per session, scanned A, original, Apache-2.0.

A set of coding instructions for a PHP project that uses Modal, an infrastructure service for running code remotely. It covers repository guidance, implementation methods, agent skills, issue tracking, and triage labels.

In plain words
What is it for?
Guiding repository work, planning and implementing changes, tracking tasks with the local issue tool, and categorizing issues for agents or people.
Why use it?
It gives coding agents a shared process for understanding the project, researching external libraries, writing tests first, and handling issues consistently.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions subagents; mentions AGENTS.md.

This is php-workx/modal-mcp's own configuration. It tells Claude Code how to work on modal-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 modal-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to php-workx/modal-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/php-workx/modal-mcp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/php-workx/modal-mcp

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 modal-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/php-workx/modal-mcp/claude-md/github.svg)](https://agentmods.dev/instructions/php-workx/modal-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/php-workx/modal-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/php-workx/modal-mcp/claude-md/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 modal-mcp CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/php-workx/modal-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/php-workx/modal-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 236 This file is loaded in full into every session.
When invoked 236 The same file — it is already loaded in full.
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.00236 $0.00236
Opus 5.5 $0.00094 $0.00094
Sonnet 5.5 $0.00047 $0.00047
Haiku 4.5 $0.00024 $0.00024

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

Security

Grade A, and why

modal-mcp CLAUDE.md 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.

CLAUDE.md · 29 lines

What it actually says

CLAUDE.md

Read AGENTS.md first. It is the durable repo instruction file.

Preserve the repo’s read-only Modal posture unless the task explicitly says otherwise.

Implementation Skills

When executing tasks as subagents:

  • Invoke agent-skills:context-engineering at task start (context hierarchy, <2k lines/task)
  • Invoke agent-skills:source-driven-development before writing any code touching external libraries/APIs
  • Follow test-driven-development (superpowers) for all implementation — RED then GREEN then REFACTOR

Agent skills

Issue tracker

Issues tracked via epos (local CLI for epics, tasks, issues, and tickets). See docs/agents/issue-tracker.md.

Triage labels

Default five-role vocabulary (needs-triage, needs-info, ready-for-agent, ready-for-human, wontfix). See docs/agents/triage-labels.md.

Domain docs

Single-context layout — one CONTEXT.md + docs/adr/ at repo root. See docs/agents/domain.md.

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 · 29 lines · 236 tokens per session scan A 5b7ef230823d

Subscribe to this mod's changes

modal-mcp CLAUDE.md is an instructions file published in the GitHub repository php-workx/modal-mcp (0 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 236 tokens to every session, about $0.0009 per session on Opus 5.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.

Related

modal-mcp CLAUDE.md compared with instructions from other repositories

modal-mcp CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
modal-mcp CLAUDE.mdphp-workx/modal-mcpInstructions file05mo agoApache-2.0A236Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,649GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot