paw-models-layer

paw-models-layer is a skill for Codex from keodubo/PAW-Wiki. It costs 48 tokens per session (432 once invoked), scanned A, original, MIT.

A skill for creating and reviewing domain model types in the models module of the PAW Forkd Java project. Domain models represent the business concepts shared by the web, service, and database layers.

In plain words
What is it for?
Use it for entities, enums, value objects, filters, sorting types, pagination types, and approved JPA annotation changes in the Maven models module.
Why use it?
It helps keep shared models independent from web and database implementation details while preserving the project's type and nullability rules.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: $skill-name invocation.

Good fit Use it for entities, enums, value objects, filters, sorting types, pagination types, and approved JPA annotation changes in the Maven models module.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/keodubo/paw-wiki/paw-models-layer
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.

Any agent
npx skills add keodubo/PAW-Wiki --skill paw-models-layer
Clone the repo
git clone --depth 1 https://github.com/keodubo/PAW-Wiki

Made for: Codex.

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 paw-models-layer

README.md
[![agentmods](https://agentmods.dev/badge/skills/keodubo/paw-wiki/paw-models-layer/github.svg)](https://agentmods.dev/skills/keodubo/paw-wiki/paw-models-layer)
Your own site
<a href="https://agentmods.dev/skills/keodubo/paw-wiki/paw-models-layer"><img src="https://agentmods.dev/badge/skills/keodubo/paw-wiki/paw-models-layer/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 paw-models-layer

Your own site · 80×15
<a href="https://agentmods.dev/skills/keodubo/paw-wiki/paw-models-layer"><img src="https://agentmods.dev/badge/skills/keodubo/paw-wiki/paw-models-layer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 432 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.00048 $0.00432
Opus 5 $0.00024 $0.00216
Sonnet 5 $0.00010 $0.00086
Haiku 4.5 $0.00005 $0.00043

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

Security

Grade A, and why

paw-models-layer 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 10d 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.

skills/paw-models-layer/SKILL.md · 38 lines

What it actually says

Paw Models Layer

Overview

Use this for models/, the infrastructure-free domain module shared by web, services, and persistence.

Read references/layer-rules.md before editing models.

Workflow

  1. Inspect the existing model style in models/src/main/java/ar/edu/itba/paw/models.
  2. Resolve stage from $paw-feature-master: TP1 keeps infrastructure-free POJOs; TP2 may allow JPA annotations only as part of a planned migration; TP final may add API-facing DTO pressure but should not turn models into transport objects.
  3. Decide whether the concept is a domain entity, enum, value object, filter object, sort enum, or pagination type.
  4. Keep the type free of Spring, JDBC, servlet, JSP, validation annotations tied to web forms, and implementation package dependencies.
  5. Preserve nullability deliberately: use boxed values only when the database/domain allows absence.
  6. Use Java time types (LocalDate, LocalTime, LocalDateTime) instead of java.sql.*.
  7. Re-run compile/tests for the smallest module set that imports the changed model.

Design Rules

  • Put finite states in enums, not magic strings.
  • Keep entities in singular names.
  • Do not expose persistence implementation decisions through model APIs.
  • Prefer explicit constructors/getters/setters matching the repo style.
  • If overriding equals, also override hashCode.
  • Avoid Optional as a field; use it only as a return type when the surrounding API already does.

Verification

  • Models-only change: mvn -pl models test.
  • Shared model used by contracts or persistence: mvn -pl persistence -am test.
  • Cross-layer model change: mvn -pl webapp -am test or mvn clean test when behavior spans modules.
Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 10d ago First seen · 38 lines · 48 tokens per session scan A cf847c798fc4

Subscribe to this mod's changes

paw-models-layer is a skill published in the GitHub repository keodubo/PAW-Wiki (10 stars, last pushed 1mo ago), licensed MIT. It adds 48 tokens to every session and 432 once invoked, about $0.0002 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-31.

Related

Other skills, from other repositories

wxjava-api-contributor

A contributor guide for adding or maintaining official WeChat API support in WxJava, a Java software development kit. It covers services, request and response data objects, data conversion, HTTP handling, starter configuration, and regression tests.

binarywang/WxJava · 68 tokens

wxjava-module-selector

A decision guide for choosing the correct WxJava Maven module, dependency management file, and example for a WeChat use case. WxJava is a Java software development kit for services such as official accounts, mini programs, and payments.

binarywang/WxJava · 86 tokens

azure-communication-callautomation-java

Build call automation workflows with Azure Communication Services Call Automation Java SDK. Use when implementing IVR systems, call routing, call recording, DTMF recognition, text-to-speech, or AI-powered call flows.

microsoft/skills · 49 tokens

azure-communication-chat-java

Build real-time chat applications with Azure Communication Services Chat Java SDK. Use when implementing chat threads, messaging, participants, read receipts, typing notifications, or real-time chat features.

microsoft/skills · 41 tokens

azure-communication-common-java

Azure Communication Services common utilities for Java. Use when working with CommunicationTokenCredential, user identifiers, token refresh, or shared authentication across ACS services.

microsoft/skills · 35 tokens

azure-communication-sms-java

Send SMS messages with Azure Communication Services SMS Java SDK. Use when implementing SMS notifications, alerts, OTP delivery, bulk messaging, or delivery reports.

microsoft/skills · 36 tokens