/skills:ai-agent-designfrom skills
Designs provider-neutral production AI agent subsystems covering behavior, topology, contracts, tools, context, memory, authority, durability, security, evals, and operations.
Ships in skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
For $ai-agent-design --help or $ai-agent-design -h (including native Claude forms), return concise help and
stop before any workflow step. State the purpose and invocation policy. Show exact usage
for every public action. Describe each public action, positional
argument, and flag in one concise line, including -h, --help; say "No
additional public flags" when there are no others. Use only the documented
public interface. For internal or coordinator-only skills, state that boundary
and that no standalone public workflow action exists. After the selected
SKILL.md is loaded, help is report-only: do not call any additional tools,
inspect project state, or modify files, private state, Git, or external systems.
Never expose private helper actions or flags or treat help as workflow
authorization.
$ai-agent-design <design request> designs or revises a logical agent subsystem;
the request supplies the outcome, constraints, and undecided boundaries.
Implicit invocation is allowed for matching design requests.
$ai-agent-design --help and $ai-agent-design -h show help only.
No additional public flags.
Use $ai-agent-design in Codex, /ai-agent-design in Claude Code, or
/skills:ai-agent-design in the Claude plugin. Dollar-prefixed skill examples
refer to the same named skill on either host; use the native invocation syntax.
Preserve the declared invocation policy, approvals and workflow ownership.
Use available native tools; an unavailable required capability is a blocker,
never permission to bypass a guard or claim unobserved behavior.
Design the complete AI-agent subsystem around a deterministic control and
policy shell with probabilistic reasoning only where it earns its complexity.
Apply production patterns, policies, and contracts; use ai-stack for the
workload-driven AI component and technology decision only when a model-backed
capability remains; then synthesize the result into a decision-complete logical
architecture.
This skill owns agent-specific design. It does not own the surrounding product architecture, technology due diligence, repository topology, implementation, or live execution.
design when the user needs the complete cross-layer product solution.
Accept one scoped delegation from that active workflow, return this skill's
agent-subsystem decision once, and do not recursively re-enter it.app-stack for frontend, API, ordinary backend, data, deployment, and
other non-AI layers.ai-stack for model, agent runtime, graph or durable workflow engine,
retrieval, interoperability, evaluation, safety, and observability technology
selection. Pass a frozen behavior and policy contract, require it not to
reopen those decisions, and do not duplicate its vendor and framework
selection corpus. When an active ai-stack workflow delegates a disputed
provisional contract here, return only the frozen contract to that caller
and skip a nested ai-stack invocation.research for one disputed or volatile framework, protocol, model, SDK,
paper, or product claim, then bring the bounded findings back here or to
ai-stack.system-design-rules for checklist review of an already drafted generic
architecture or ADR when no agent-specific redesign is requested.Do not invent decision-changing inputs. Use explicit assumptions or ranges and identify unknowns that can change the recommendation.
references/system-classification-and-patterns.md for every substantive
request before accepting agentic control flow or multi-agent topology.references/runtime-architecture-and-sessions.md when an accepted
agent needs a runtime boundary, durable session, sandbox, asynchronous
execution, user control, or process-failure recovery.references/contracts-context-and-memory.md when an agentic capability
is accepted or when task, context, memory, provenance, or handoff contracts
are in scope.references/tools-authority-and-security.md when the system uses tools,
external data, retrieval, code execution, remote agents, credentials, tenant
data, approvals, or side effects.references/durability-failures-and-effects.md when work is long-running,
asynchronous, concurrent, multi-agent, externally effectful, replayed, or
expected to survive process failure.references/evaluation-observability-and-governance.md for production,
release, rollout, incident, privacy, or readiness work.For version-sensitive products, APIs, protocols, SDKs, frameworks, or
standards, verify current official documentation or route the focal question
through research. Keep durable policies vendor-neutral.
Record:
Use a separate contract for materially different online, batch, retrieval, agent-execution, or evaluation workloads. Do not let one shared model collapse different workload contracts.
Classify each AI-enabled capability independently:
Deterministic code: normal software owns all decisions.Direct model call: one bounded application-level inference operation
produces the result; bounded transport or schema-repair retries may occur
while application code still owns continuation and no tools or effects are
added.Deterministic AI workflow: application code owns steps, transitions, and
continuation; model calls occur only at explicit steps.Agent: the model chooses actions, tools, continuation, or observation-driven
next steps within explicit budgets and policy boundaries.Use deterministic where possible, agentic where necessary. Unknown loop count, multiple model calls, tools, persistence, or delegation do not alone make a workflow agentic. If a simpler class passes representative acceptance gates, recommend it and stop adding agent autonomy.
Apply this phase only to capabilities classified as Agent. Deterministic
code, direct model calls, and deterministic AI workflows skip the agent-pattern
ladder. For an agentic capability, start with one bounded agent and escalate
only for a named requirement:
Separate model autonomy from execution topology and durability. A graph, queue, workflow engine, event bus, or remote deployment does not make a node agentic.
Define only the contracts and controls required by the accepted workloads:
For accepted agents, make the observe, decide, authorize, persist effect intent, act, record receipt, verify, and terminate loop explicit. Define visible progress, steer, cancel, approval, escalation, notification, and cleanup controls when work is long-running or consequential. Treat a model completion claim as a proposal for independent verification, not as proof.
Keep authentication, authorization, approvals, policy transitions, effect execution, and postcondition verification deterministic and outside model discretion.
Use ai-stack after behavior, policy, and workload constraints are frozen when
at least one model-backed capability remains. If every selected capability is
deterministic code, that classification takes precedence even when the request
initially asked for AI-stack review: record
Skipped - no AI component required and do not invoke AI technology
selection.
If this workflow was entered from an active ai-stack request solely to settle
a disputed provisional behavior, topology, policy, or contract decision,
return that frozen decision to the originating workflow and skip the remainder
of this phase; the originating ai-stack then performs component selection
exactly once.
Pass it:
Require ai-stack to return its scoped component table with technology,
Required | Conditional | Deferred | Rejected status, evidence state,
requirement served, owner, acceptance gate, and revisit trigger. Preserve that
decision; do not reopen settled product layers without new blocking evidence.
Integrate the control-flow and policy design with the ai-stack decision when
one was required; otherwise preserve the explicit deterministic-only skip.
Check:
Compare the selected design with the simplest baseline and at least one viable alternative when the trade-off is material. Name rejected options and the observable switch condition that could reopen them.
Return logical components, interfaces, policies, owners, gates, and sequencing. Do not assign repository files, create a scaffold, install packages, provision infrastructure, call paid services, deploy, or mutate data. Route physical topology and execution to the owning project or implementation workflow.
A design is complete only when:
Block the recommendation when a required safety, ownership, compatibility, recovery, or acceptance gate is unknown and no bounded validation can close it.
When using this skill, capture durable, reusable, public-safe learnings in the narrowest appropriate surface only when the task contract allows source edits. For read-only/report-only work, or when a learning is not public-safe, evidence-backed, in scope, or free of unverified/vendor-specific claims, do not edit skill sources; report that it was skipped. Do not capture secrets, private URLs, customer data, raw logs, or one-off local state.
Return:
ai-stack component table and its evidence states, or
Skipped - no AI component required for deterministic-only scope;README.md (opens in a new tab)agents/openai.yaml (opens in a new tab)evals/evals.json (opens in a new tab)evals/process-cases.md (opens in a new tab)evals/trigger-prompts.csv (opens in a new tab)references/contracts-context-and-memory.md (opens in a new tab)references/durability-failures-and-effects.md (opens in a new tab)references/evaluation-observability-and-governance.md (opens in a new tab)references/runtime-architecture-and-sessions.md (opens in a new tab)references/system-classification-and-patterns.md (opens in a new tab)references/tools-authority-and-security.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
agent-architecture, agent-design, multi-agent, production-ai
npx claudepluginhub nebius/nebius-ps-services --plugin skills75 skills in this plugin
/agent-nebius-auth-diagnoseRead-only diagnosis for current-session Nebius project discovery, agent authentication, quota reads, profiles, selectors, or auth-hook failures. Use when auth is missing/blocked; never mutate auth or IAM./agent-nebius-auth-setupUse only when explicitly invoked to bootstrap or repair current-project Codex Agent Nebius auth: account/tenant access, credentials/profile, repair lease, or separately requested auth hooks./ai-stackSelect or review undecided AI components across models, runtimes, training/inference, interoperability, retrieval, evals, safety, and operations. Consume ai-agent-design's frozen agent-subsystem contract; use app-stack for non-AI layers, research for one technology, and design for whole solutions.