p21-api-documentation: Instructions file for Claude Code

CLAUDE.md

p21-api-documentation CLAUDE.md is an instructions file for Claude Code from mrwuss/p21-api-documentation. It costs 6,407 tokens per session, scanned A, original, MIT.

Repository instructions for documenting Prophet 21 integration APIs, including OData, Transaction, and Interactive APIs.

In plain words
What is it for?
Use them when editing or extending P21 API documentation, examples, navigation indexes, or guidance for a specific API task.
Why use it?
They direct contributors to verified official material and the task-to-section index instead of guessing or reading large manuals unnecessarily.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md.

This is mrwuss/p21-api-documentation's own configuration. It tells Claude Code how to work on p21-api-documentation 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 p21-api-documentation configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mrwuss/p21-api-documentation. 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/mrwuss/p21-api-documentation/master/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/mrwuss/p21-api-documentation

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 p21-api-documentation CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/mrwuss/p21-api-documentation/claude-md"><img src="https://agentmods.dev/badge/instructions/mrwuss/p21-api-documentation/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6,407 This file is loaded in full into every session.
When invoked 6,407 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.06407 $0.06407
Opus 5.5 $0.02563 $0.02563
Sonnet 5.5 $0.01281 $0.01281
Haiku 4.5 $0.00641 $0.00641

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

Security

Grade A, and why

p21-api-documentation 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 7d 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 · 209 lines

How it starts

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

Project: P21 API Documentation

Comprehensive documentation and working examples for all P21 APIs.


Quick Context

This project provides developer-focused documentation for Prophet 21's integration APIs. All content is based on official Epicor SDK documentation and verified working implementations - no guesses or assumptions.

How to Navigate (read this before opening docs)

The numbered docs are the deep manual — several exceed 1,000 lines. Do not read a whole doc for one task. The routing flow is:

  1. Read this file (you're here).
  2. Open docs/INDEX.md — a task → section-anchor map.
  3. Load only the linked section(s) your task needs.

When editing docs, keep INDEX.md's anchors in sync (renaming a heading breaks its index entry), and add an index row for any new task-worthy section.


APIs Covered

API Purpose Use When Status
OData Read-only data access via standard OData protocol Quick reads, reporting, lookups Working
Transaction API Stateless bulk data manipulation Bulk creates, keyed updates/upserts, external integrations Working
Interactive API Stateful window interactions with business logic Complex workflows, validation needed Working
Entity API REST CRUD — /api/entity/ (4 entities) plus other endpoint families (e.g. /api/sales/orders) Simple record operations on 4 entities Working (/api/entity/)
Inventory REST API CRUD on inventory items, multi-company workflows Item reads, appending locations/suppliers Working (/api/inventory/parts)
Production & Labor Production orders, labor hours, time entry Manufacturing workflows, labor tracking Working (Transaction + Interactive)
ui/full (web client) Drives any web-enabled window by menu class name The window has no service_name — no TAPI/Interactive route Working ({ui}/ui/full/)
UDT Service API CRUD on user-defined tables Custom table maintenance Working (/udtservice/api/udtdata/)
Other REST families 16 families: UDF metadata, GL, CRM tasks/opportunities/consignment orders, PO headers, inventory (adjustments/movement/counts/scan/serial info), file storage, system info, customer form templates, service orders, exchange rates UDF discovery, journal-entry reads, task/PO/GL/adjustment/movement/count writes, filesystem access Reads and writes verified across the platform-level five and the business-object eleven; 3 blocked only by empty tenant config (opportunities, CUO, exchange rates), 2 by an unresolved precondition (tag adjustments, serial extended info)

Read the full file on GitHub · 209 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. 7d ago Changed · +1 lines · +200 tokens per session f02639498833
  2. 20d ago Changed · +2 lines · +42 tokens per session e3198d2cd187
  3. 27d ago Changed · +5 lines · +132 tokens per session fc4f79a635ef
  4. 1mo ago Changed · +1 lines · +110 tokens per session 0b86b35f76d1
  5. 1mo ago Changed · +3 lines · +259 tokens per session 662696a15a1a
  6. 1mo ago Changed · +2 lines · +168 tokens per session 9d0a5251b207
  7. 1mo ago Changed · +16 lines · +1,275 tokens per session cb9b64c7cb0b
  8. 1mo ago Changed · +3 lines · +312 tokens per session b7e87ed2ea6e
  9. 2mo ago First seen · 176 lines · 3,909 tokens per session scan A 107712362b8b

Subscribe to this mod's changes

p21-api-documentation CLAUDE.md is an instructions file published in the GitHub repository mrwuss/p21-api-documentation (55 stars, last pushed 7d ago), licensed MIT. It adds 6,407 tokens to every session, about $0.0256 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

p21-api-documentation CLAUDE.md compared with instructions from other repositories

p21-api-documentation CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
p21-api-documentation CLAUDE.mdmrwuss/p21-api-documentationInstructions file557d agoMITA6,407Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,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