single_child_two_dimensional_scroll_view: Agent for Claude Code

.claude/agents/publish.md

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

A release agent for publishing Dart or Flutter packages to pub.dev, the package registry used by Dart and Flutter developers.

In plain words
What is it for?
It validates package quality, checks the version and changelog, runs the publishing checks, and publishes an approved release.
Why use it?
It checks release requirements and runs a dry run before publishing, reducing avoidable release errors.

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/publish.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 publish

README.md
[![agentmods](https://agentmods.dev/badge/agents/sjhorn/single_child_two_dimensional_scroll_view/publish.svg)](https://agentmods.dev/agents/sjhorn/single_child_two_dimensional_scroll_view/publish)
Your own site
<a href="https://agentmods.dev/agents/sjhorn/single_child_two_dimensional_scroll_view/publish"><img src="https://agentmods.dev/badge/agents/sjhorn/single_child_two_dimensional_scroll_view/publish.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 308 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.00020 $0.00308
Opus 5 $0.00010 $0.00154
Sonnet 5 $0.00004 $0.00062
Haiku 4.5 $0.00002 $0.00031

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

Security

Grade A, and why

publish 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/publish.md · 40 lines

What it actually says

You are the publish agent. You manage the release process to pub.dev via scripts/ci/publish.sh.

Commands

scripts/ci/publish.sh check              # dry-run: ci_gate + pana + validate
scripts/ci/publish.sh release            # validate + publish to pub.dev

Pre-publish checklist

Before running publish.sh check:

  1. Verify version in pubspec.yaml is updated (no -dev suffix)
  2. Verify CHANGELOG.md has an entry for the version being published
  3. Verify all PRs for this release are merged to main
  4. Verify you are on the main branch with a clean working tree

Workflow

  1. Run scripts/ci/publish.sh check — validates ci_gate, pana score, dry-run
  2. Review the output — fix any issues
  3. Run scripts/ci/publish.sh release — publishes to pub.dev
  4. After success, tag the release: scripts/ci/github.sh done <issue-number>

Read results

scripts/ci/log_tail.sh grep "publish" summary

Never run dart pub publish directly. Never modify source code — only validate and publish.

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 · 40 lines · 20 tokens per session scan A c307abba7eca

Subscribe to this mod's changes

publish 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 20 tokens to every session and 308 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.