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.
npx skills add SyntaxArc/archipy-plugin --skill scaffold-modelsgit clone --depth 1 https://github.com/SyntaxArc/archipy-pluginWrote 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.
[](https://agentmods.dev/skills/syntaxarc/archipy-plugin/scaffold-models)<a href="https://agentmods.dev/skills/syntaxarc/archipy-plugin/scaffold-models"><img src="https://agentmods.dev/badge/skills/syntaxarc/archipy-plugin/scaffold-models/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.
<a href="https://agentmods.dev/skills/syntaxarc/archipy-plugin/scaffold-models"><img src="https://agentmods.dev/badge/skills/syntaxarc/archipy-plugin/scaffold-models.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00049 | $0.01652 |
| Opus 5.5 | $0.00020 | $0.00661 |
| Sonnet 5.5 | $0.00010 | $0.00330 |
| Haiku 4.5 | $0.00005 | $0.00165 |
Grade A, and why
scaffold-models 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 160 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Scaffold ArchiPy Models
Scope
Only models/. Do not create repositories, logics, services, or helpers here.
Read first
Read these plugin rules in full before generating files (paths relative to this skill directory; Claude Code: ${CLAUDE_SKILL_DIR}/../../rules/):
../../rules/using-archipy-models.mdc../../rules/architecture-for-apps.mdc../../rules/using-archipy-utils.mdc
Before writing files
- Inspect existing
models/(DTOs, errors, entities, types), neighboring domains, and the installed ArchiPy version. - Infer domain name, DTO naming, and error grouping from existing modules.
- Ask only for unresolved domain / operation names.
- Preserve existing model modules; do not overwrite.
Generate
models/
├── dtos/<domain>/
│ ├── domain/v{n}/
│ │ ├── <op>_input_dto.py
│ │ └── <op>_output_dto.py
│ └── repository/
│ ├── <action>_command_dto.py
│ └── <action>_query_dto.py
├── errors/
│ └── <domain>_errors.py
├── entities/ # optional
│ └── <domain>_entity.py
└── types/ # optional
└── <domain>_types.py
Naming: *InputDTO / *OutputDTO for domain (versioned under domain/v{n}/); *CommandDTO / *QueryDTO /
*ResponseDTO for repository (never versioned). Any repository method with two or more parameters takes a single
*CommandDTO (write) / *QueryDTO (read) instead of positional arguments. Entities/DTOs for JWT-authenticated writes carry an explicit actor_uuid that fills created_by*/updated_by*
(actor from current_actor/act first, token user_id/sub second; never a path owner uuid).
Prefer ArchiPy BaseDTO and the exported BaseError hierarchy.
Verify imports against the app's installed ArchiPy version before writing.
Example shapes (order → rename):
# models/dtos/order/domain/v1/order_create_input_dto.py
from pydantic import Field, PositiveInt
from archipy.models.dtos.base_dtos import BaseDTO
class OrderCreateInputDTO(BaseDTO):
"""Domain input crossing the service → logic boundary."""
customer_id: str = Field(min_length=1)
sku: str = Field(min_length=1)
quantity: PositiveInt
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.
- 1mo ago Changed · +3 lines 3267476f2d18
- 1mo ago Changed · +23 lines 386242a00206
- 2mo ago Changed · +1 lines f25ba409c3d0
- 2mo ago Changed · +1 lines 235988801863
- 2mo ago First seen · 132 lines · 49 tokens per session scan A 7a47a44855de
scaffold-models is a skill published in the GitHub repository SyntaxArc/archipy-plugin (3 stars, last pushed 24d ago), licensed MIT. It adds 49 tokens to every session and 1,652 once invoked, about $0.0002 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-09-24.
scaffold-models compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| scaffold-modelsSyntaxArc/archipy-plugin | Skill | 3 | 24d ago | MIT | A | 49 | Claude Code |
| clean-architecture-pythonSebastienDegodez/skraft-plugin | Skill | 17 | yesterday | GPL-3.0 | A | 73 | Claude Code |
| fastapi-templateswshobson/agents | Skill | 43k | yesterday | MIT | A | 37 | Claude Code |
| azure-mgmt-apicenter-pytmolavi/mcp-agent-skills-hub | Skill | 11 | 4d ago | MIT | A | 31 | Claude Code, Codex |
| python-fastapi-developmenttmolavi/mcp-agent-skills-hub | Skill | 11 | 4d ago | MIT | A | 28 | Claude Code, Codex |
| dbos-pythontmolavi/mcp-agent-skills-hub | Skill | 11 | 4d ago | MIT | A | 43 | Claude Code, Codex |
| fastapi-router-pytmolavi/mcp-agent-skills-hub | Skill | 11 | 4d ago | MIT | A | 25 | Claude Code, Codex |