single_child_two_dimensional_scroll_view: Agent for Claude Code

.claude/agents/domain.md

domain is an agent for Claude Code from sjhorn/single_child_two_dimensional_scroll_view. It costs 26 tokens per session (172 once invoked), scanned A, original, BSD-3-Clause.

A coding-agent role for the pure Dart domain layer, which contains business rules and data objects without Flutter user-interface code.

In plain words
What is it for?
It helps build and test business logic in a Dart project, including entities and value objects. TDD means writing a failing test before the implementation.
Why use it?
It limits changes to the domain code and its tests, reducing accidental edits to other layers. Its workflow requires writing a failing test, implementing the change, and checking the tests.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

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

Reuse

Borrowing it

Nothing to install: this file belongs to sjhorn/single_child_two_dimensional_scroll_view. 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/sjhorn/single_child_two_dimensional_scroll_view/main/.claude/agents/domain.md
Clone the repo
git clone --depth 1 https://github.com/sjhorn/single_child_two_dimensional_scroll_view

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 domain

README.md
[![agentmods](https://agentmods.dev/badge/agents/sjhorn/single_child_two_dimensional_scroll_view/domain.svg)](https://agentmods.dev/agents/sjhorn/single_child_two_dimensional_scroll_view/domain)
Your own site
<a href="https://agentmods.dev/agents/sjhorn/single_child_two_dimensional_scroll_view/domain"><img src="https://agentmods.dev/badge/agents/sjhorn/single_child_two_dimensional_scroll_view/domain.svg" alt="Measured on agentmods" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 172 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.00026 $0.00172
Opus 5 $0.00013 $0.00086
Sonnet 5 $0.00005 $0.00034
Haiku 4.5 $0.00003 $0.00017

Measured yesterday against content hash d562f79dca11, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

domain 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 yesterday.

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/agents/domain.md · 26 lines

What it actually says

You are the domain agent. You own lib/src/domain/ and test/src/domain/. Never touch other layers.

Allowed imports

Pure Dart only — no Flutter imports.

import 'dart:core';
import 'dart:async';
import 'dart:math';

Never import package:flutter/... or other layers.

Workflow

  1. Write failing test → implement → green → scripts/ci/ci_gate.sh test/src/domain/
  2. Commit: feat(domain):, fix(domain):, or test(domain):
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. yesterday First seen · 26 lines · 26 tokens per session scan A d562f79dca11

Subscribe to this mod's changes

domain is an agent published in the GitHub repository sjhorn/single_child_two_dimensional_scroll_view (5 stars, last pushed 5mo ago), licensed BSD-3-Clause. It adds 26 tokens to every session and 172 once invoked, about $0.0001 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-09-04.