supex CLAUDE.md

A project guide for Supex, which connects a Python MCP driver and CLI to a Ruby extension for SketchUp, a 3D modeling application. It records branch rules, repository guidelines, project structure and architecture.

In plain words
What is it for?
Use it when changing Supex, choosing the correct development branch, locating components, writing portable scripts or working with its Python, Ruby and SketchUp parts.
Why use it?
It tells coding agents how work should be organized and which project rules to follow. It also shows where the driver, SketchUp runtime, documentation generator and standard library are located.

Instructions file

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 instructions/darwin/supex/claude-md
Clone the repo
git clone --depth 1 https://github.com/darwin/supex
Per session 706 This file is loaded in full into every session.
When invoked 706 The same file — it is already loaded in full.
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.00706 $0.00706
Opus 5 $0.00353 $0.00353
Sonnet 5 $0.00141 $0.00141
Haiku 4.5 $0.00071 $0.00071

Measured 3d ago against content hash 6708980c7fa2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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

CLAUDE.md · 88 lines

How it starts

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

CLAUDE.md

Guidance for Claude Code when working on this repository.

Branch Strategy

  • main: Stable releases only. Do not commit directly.
  • dev: Active development. All work here.

Guidelines

  • NEVER bump version numbers unless explicitly asked
  • NEVER commit changes unless explicitly asked
  • NEVER read git-ignored files unless explicitly asked
  • NEVER use emojis in documentation
  • Use git ls-tree -r HEAD to find project files
  • Use portable shebangs - #!/usr/bin/env bash, #!/usr/bin/env python3, etc.

Project Structure

supex/
├── driver/                    # Python MCP driver + CLI
│   └── src/supex_driver/
│       ├── cli/               # CLI commands
│       ├── connection/        # SketchUp socket connection
│       └── mcp/               # MCP server
├── runtime/                   # Ruby SketchUp extension
│   └── src/
│       ├── supex_runtime.rb   # Extension entry point
│       └── supex_runtime/     # Extension modules
├── docs/                      # Documentation
│   └── agents/                # Agent prompts (symlinked as supex-docs/)
├── docgen/                    # SketchUp API doc generator
├── stdlib/                    # Standard library (Ruby helpers)
├── scripts/                   # Development scripts
└── examples/                  # Example projects (orphan branches)

Architecture

MCP-based platform connecting AI agents to SketchUp:

  • Python MCP Driver (driver/) - FastMCP server exposing tools to AI
  • Ruby Runtime (runtime/) - SketchUp extension executing commands
  • Socket Communication - TCP on localhost:9876 (default)

Development Commands

# Launch SketchUp with extension
./scripts/launch-sketchup.sh

# CLI commands
./supex status
./supex info
./supex reload

# Run tests
cd driver && uv run pytest tests/

# Build production .rbz
cd runtime && bundle exec rake build

Key Files

Driver (Python):

  • driver/src/supex_driver/mcp/server.py - MCP server and tools
  • driver/src/supex_driver/connection/connection.py - Socket connection
  • driver/src/supex_driver/cli/main.py - CLI implementation

Read the full file on GitHub · 88 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. 3d ago First seen · 88 lines · 706 tokens per session scan A 6708980c7fa2

Subscribe to this mod's changes

supex CLAUDE.md is an instructions file published in the GitHub repository darwin/supex (44 stars, last pushed 1mo ago), licensed MIT. It adds 706 tokens to every session, about $0.0035 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-30.