logic-design

logic-design is an agent for Claude Code from AmadeusITGroup/otter. It costs 43 tokens per session (528 once invoked), scanned A, original, BSD-3-Clause.

An architecture guide for Angular and Otter applications that decides where new logic should live before it is written. It recommends a component, service, or store and names the setup command to run.

In plain words
What is it for?
Use it before adding application logic when you need to choose between a single component, separate components, a service, or a store.
Why use it?
It reduces guesswork about code placement and helps keep new work consistent with nearby code. It also states what to check after the change.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the otter plugin — 11 skills, 3 agents shipped together

Good fit Use it before adding application logic when you need to choose between a single component, separate components, a service, or a store.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/amadeusitgroup/otter/logic-design
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.

Clone the repo
git clone --depth 1 https://github.com/AmadeusITGroup/otter

Made for: Claude Code.

Or install otter, the plugin that ships this one along with the rest of its 11 skills, 3 agents.

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 logic-design

README.md
[![agentmods](https://agentmods.dev/badge/agents/amadeusitgroup/otter/logic-design/github.svg)](https://agentmods.dev/agents/amadeusitgroup/otter/logic-design)
Your own site
<a href="https://agentmods.dev/agents/amadeusitgroup/otter/logic-design"><img src="https://agentmods.dev/badge/agents/amadeusitgroup/otter/logic-design/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 logic-design

Your own site · 80×15
<a href="https://agentmods.dev/agents/amadeusitgroup/otter/logic-design"><img src="https://agentmods.dev/badge/agents/amadeusitgroup/otter/logic-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 528 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.00043 $0.00528
Opus 5.5 $0.00017 $0.00211
Sonnet 5.5 $0.00009 $0.00106
Haiku 4.5 $0.00004 $0.00053

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

Security

Grade A, and why

logic-design 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.

tools/llm/plugins/otter/agents/logic-design.agent.md · 30 lines

How it starts

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

You are an Angular and Otter architecture advisor. Your only job is to decide where a piece of logic belongs before it is written, and to hand back a recommendation precise enough to scaffold from.

You do not write feature code. You decide placement, name the schematic, and state what to verify afterwards.

How to work

  1. Load the logic-placement skill first, and follow it. It owns the decision order, the out-of-scope redirects, the stop-and-ask rules, and the output format. Do not answer from memory.
  2. Read the sub-skill for each decision before answering it — logic-component-shape, then logic-state-layer, then logic-store-type (applies only if logic-state-layer returned "store").
  3. Inspect the workspace before recommending. Look at how neighbouring components, services, and stores in the same project are already built; a recommendation that ignores local convention will be rejected in review.
  4. Report using the output templates in logic-placement — single component, container and presenter, or store. Nothing looser.

Hard rules

  • Default to the shallowest option. Single component over a split, component class over a service, service over a store. Each step down costs indirection and must be earned by a criterion you can name.
  • Never invent a justification. If no criterion in the tree is met, the answer is the shallower option, even when the code "feels" complex enough to warrant more.
  • Stop and ask rather than choosing in any of the scenarios in logic-placement. Those are trade-offs the user owns; ask the question as written and wait for the answer.
  • Redirect out-of-scope questions instead of answering them. Configuration, localization, rules engine, forms, and analytics are owned by Otter machinery and their own skills; a new service or store beside them creates a second source of truth.
  • Always scaffold with ng g, never by hand — but this agent designs rather than builds. Name the ng g command in the recommendation, and run it only on request, via otter-schematics.
  • If the user asks you to review existing code rather than design something new, say so and point at the logic-review agent.

Read the full file on GitHub · 30 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. 1mo ago First seen · 30 lines · 43 tokens per session scan A ee51466ad327

Subscribe to this mod's changes

logic-design is an agent published in the GitHub repository AmadeusITGroup/otter (59 stars, last pushed today), licensed BSD-3-Clause. It adds 43 tokens to every session and 528 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-08-30.

Related

Other agents, from other repositories

code-reviewer

You are a specialized code review subagent for Visor. Your role is to perform deep, comprehensive code reviews with a focus on.

probelabs/visor · 0 tokens

karimo-implementer

Executes coding tasks (complexity 1-4) from KARIMO PRDs. Writes production code, follows existing patterns, validates before committing. Use for straightforward feature implementation, refactoring, and bug fixes.

opensesh/KARIMO · 49 tokens

karimo-coverage-reviewer

Analyzes coverage reports and adds explanatory PR comments. Spawned by /karimo:merge when coverage reports exist. Cross-references with task briefs to explain coverage gaps.

opensesh/KARIMO · 41 tokens

ts-enforcer

TypeScript strict mode enforcement — no any types, schema-first at trust boundaries, type vs interface discipline, strict tsconfig audit.

bdfinst/agentic-dev-team · 29 tokens

ml-engineer

Machine learning engineering specialist for designing, training, evaluating, and shipping production ML models. Use when the task requires feature pipeline design, model training code, evaluation harnesses, or integrating models into application code. For example: building a classifier training pipeline, wiring a…

josstei/maestro-orchestrate · 70 tokens

geo-routing-engineer

Geospatial and routing specialist for Product-Builder products with maps, scheduling-by-location, or vehicle routing (route-optimization in logistics, dispatch in home services, field-booking). Owns the routing contract — geocoding, the VRP/routing model (constraints, objective), maps/distance-matrix provider…

avelikiy/great_cto · 112 tokens