Portwood: Instructions file for Claude Code

CLAUDE.md

Portwood CLAUDE.md is an instructions file for Claude Code from Portwood-Global-Solutions/Portwood. It costs 9,648 tokens per session, scanned A, original, Apache-2.0.

Eine Anleitung für die Arbeit am Projekt Portwood und seinen Claude-Code-Funktionen. Sie beschreibt unter anderem Einrichtung, Tests, Fehlersuche und Regeln für Beiträge.

In plain words
What is it for?
Für die Einrichtung einer frischen Arbeitskopie, das Ausführen von Prüfungen, die Analyse von Berichten und die Arbeit an Vorlagen, Canvas-Funktionen und verwalteten Paketen.
Why use it?
Sie hilft Entwicklern, das Projekt nach den dort festgelegten Abläufen zu bearbeiten und Fehler korrekt als Themen zu dokumentieren.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is Portwood-Global-Solutions/Portwood's own configuration. It tells Claude Code how to work on Portwood 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 Portwood configures →

Reuse

Borrowing it

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

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 Portwood CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/portwood-global-solutions/portwood/claude-md"><img src="https://agentmods.dev/badge/instructions/portwood-global-solutions/portwood/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 9,648 This file is loaded in full into every session.
When invoked 9,648 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.09648 $0.09648
Opus 5.5 $0.03859 $0.03859
Sonnet 5.5 $0.01930 $0.01930
Haiku 4.5 $0.00965 $0.00965

Measured 13d ago against content hash 1d83dfe7b8be, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Portwood 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 13d 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 · 225 lines

How it starts

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

CLAUDE.md — Portwood

Knowledgebase source

UserGuide.md and docs/knowledgebase/catalog.json are generated. Edit the small task articles under docs/knowledgebase/articles/ and metadata in guide.json, then run npm run guide:build and npm run guide:check. Release install links resolve the confirmed released release.packageAlias through sfdx-project.json; update that key instead of patching generated install URLs. Run npm run guide:affected -- <base> <head> for product changes. See docs/knowledgebase/MAINTAINING.md for review records, screenshots, legacy anchors, and the separate website reader.

Skills

.claude/skills/ packages the project's working knowledge as Claude Code skills — they load automatically when relevant, and read as plain Markdown otherwise. Prefer them over re-deriving from this file:

Skill Covers
dev-setup Fresh clone → working, tested org
run-tests QA harness, e2e scripts, Apex tests, prettier, Code Analyzer
triage-report Is a report a real defect or a template issue?
fix-merge-tag The merge-tag resolution paths and how not to half-fix one
html-template-authoring CSS 2.1 constraints, charts, fonts, images
canvas-designer Canvas artboard, serializer, importer
managed-package-rules global visibility, Flow Apex-Defined types, namespace traps

How this project runs (from 2026-08-10)

Portwood is in community-development mode. Dave has deliberately stepped back from the code so contributors have work to pick up.

  • File issues; don't fix them. When you find a bug, write the issue and stop. No PR, no patched working tree. The issue is the deliverable — it's the contributor work queue, so the write-up carries the weight a direct fix used to: exact repro, file:line citations, the mechanism proven by running the code rather than asserted, ranked fix options, an explicit scope note. Issues #282 and #295 are the reference shape.
  • Triage before recording. Real defect, or template-authoring problem? Most reports are template issues. See the triage-report skill — it's the gate, not an optional step.
  • Fixes happen in designated sessions only. Bugs accumulate until Dave says otherwise. Don't prompt for a release between dates.
  • Only P0 jumps the queue. The test: would a customer hit this and not know their output is wrong? Silent corruption beats loud crashes.
  • Reach for good first issue / help wanted. A well-specified bug with a named fix option is exactly what a new contributor can land. community-contribution covers the inbound side.
  • Community PRs change merge mechanics. gh pr merge --admin after self-approval was the sole-coder shortcut; real contributor PRs mean actual review, and CI gates now matter to people other than Dave — npm run format:check blocks merge.

Read the full file on GitHub · 225 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. 13d ago Changed · +10 lines · +142 tokens per session 1d83dfe7b8be
  2. 28d ago Changed · +214 tokens per session ecddfe966fe1
  3. 2mo ago First seen · 215 lines · 9,292 tokens per session scan A 44f6d85b2b85

Subscribe to this mod's changes

Portwood CLAUDE.md is an instructions file published in the GitHub repository Portwood-Global-Solutions/Portwood (132 stars, last pushed yesterday), licensed Apache-2.0. It adds 9,648 tokens to every session, about $0.0386 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-30.

Related

Portwood CLAUDE.md compared with instructions from other repositories

Portwood CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Portwood CLAUDE.mdPortwood-Global-Solutions/PortwoodInstructions file132yesterdayApache-2.0A9,648Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode