一键导入
agentic-patterns
Patterns from "Agentic Design Patterns" (Gulli & Sauco, 2025) applied to plugin marketplace orchestration and agent-as-tool composition
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Patterns from "Agentic Design Patterns" (Gulli & Sauco, 2025) applied to plugin marketplace orchestration and agent-as-tool composition
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Select and coordinate multi-agent teams (topology kits, role-based squads, lifecycle, worktree isolation). Use this skill whenever launching parallel agents, designing a review board, running a debug council, scheduling an orchestrator-workers team, configuring agent tool restrictions, or deciding between solo and team execution. Triggers on: "launch a team", "parallel agents", "review board", "debug council", "architect-implementer-reviewer", "swarm", "multi-agent", "subagents for X", "team topology", "agent lifecycle".
Select and wire an agentic design pattern (reflection, prompt chaining, routing, parallelization, orchestrator-workers, evaluator-optimizer, ReAct, blackboard) into the 5-layer Claude Code stack. Use this skill whenever deciding how to structure a multi-step task, whether to spawn subagents, how to run parallel review, or when to use which pattern. Triggers on: "which pattern", "orchestrate", "parallel review", "self-review", "chain of thought", "eval-optimizer loop", "blackboard", "ReAct", "how to decompose this task".
Auto mode permission handling — classifier-based approvals, PermissionDenied hook, defer permissionDecision, and autonomy profiles for hands-off Claude Code usage
Configure Claude Code's autonomous operating mode — profile selection (conservative, balanced, aggressive, unattended-review), permission blocks, and the three gate agents (planner, verifier, reviewer). Use this skill whenever enabling autonomous mode, switching profiles, tightening permissions for production branches, or setting up unattended execution. Triggers on: "autonomy", "unattended mode", "auto-approve", "permission mode", "autonomy profile", "gates", "/cc-autonomy", "planner verifier reviewer", "let claude run on its own".
Manage Claude Code's context window — token arithmetic, /compact strategy, anchor preservation, progressive loading, session analytics. Use this skill whenever a session gets long, context approaches limits, after /compact, when deciding what to load into CLAUDE.md vs leave in references, or when analyzing session cost/token usage. Triggers on: "context full", "compact", "too many tokens", "budget", "session analytics", "save tokens", "context window", "/compact strategy".
Evidence-driven deep analysis for hard coding problems — architecture decisions, root-cause investigation, high-stakes refactor planning, performance bottleneck isolation. Use this skill whenever the user asks for "the best approach", a "deep analysis", "root cause", "principal engineer review", or runs /cc-intel. Also triggers on hard debugging questions, major architectural choices, tricky performance problems, or any task where a hypothesis tree and evidence table matter more than a fast answer.
| name | agentic-patterns |
| description | Patterns from "Agentic Design Patterns" (Gulli & Sauco, 2025) applied to plugin marketplace orchestration and agent-as-tool composition |
Patterns from "Agentic Design Patterns" (Gulli & Sauco, 2025) applied to plugin marketplace orchestration and agent-as-tool composition
Relevance: When a user describes a need ("I need to automate my Kubernetes deployments"), the marketplace must route that intent to the correct plugin, bundle, or collection — not just keyword-match, but understand the semantic fit.
Current Implementation: The /browse and /details commands surface relevant items from the 18-item catalog and 9 bundles, with the marketplace-curator agent making recommendations based on user needs.
Enhancement: Apply intent-based hierarchical routing — a router agent classifies the user's need by domain, complexity, and integration requirements, then queries the catalog with structured filters. Ambiguous intents trigger clarifying questions before routing rather than defaulting to the highest-download item.
Relevance: When a cowork session spans multiple installed plugins (e.g., a Jira-to-PR workflow using both the jira-orchestrator and deployment-pipeline plugins), agents from different plugins must coordinate without manual handoffs.
Current Implementation: The session-orchestrator agent coordinates multi-agent cowork sessions, bridging agents across installed plugins during /launch sessions.
Enhancement: Apply formal A2A messaging with typed interfaces — each plugin exposes an agent capability manifest listing what requests its agents can fulfill and what they produce. The session orchestrator uses these manifests to build inter-plugin communication graphs, routing messages via structured contracts rather than free-form prompt delegation.
Relevance: Bundles merge multiple plugins into a single distributable — the merge must be intelligent about deduplicating shared skills, resolving agent name conflicts, and staying within context budget limits.
Current Implementation: The /bundle-export command merges plugin assets (commands, agents, skills) into a unified Cowork-compatible ZIP, tracking merged totals across component plugins.
Enhancement: Apply resource-aware optimization — the bundle builder profiles each component plugin's context footprint (token cost per skill, agent overlap) and produces a merged manifest that minimizes redundancy. Users receive a resource report showing context savings from deduplication and warnings when a bundle exceeds recommended context limits.
Relevance: Users often don't know exactly what plugin they need — discovery requires guided exploration, not just search.
Current Implementation: The /collections command surfaces 10 curated domain collections, and /browse supports search across catalog items, enabling structured exploration of the 18-item catalog.
Enhancement: Apply the exploration pattern with progressive disclosure — start with broad collection browsing, surface related items as the user narrows focus, and present "users who installed X also use Y" recommendations. Each exploration step remembers context so the session builds a model of the user's needs and pre-filters subsequent suggestions.
Relevance: A marketplace that doesn't remember what you've installed, what sessions you've run, and what worked well offers no personalization value.
Current Implementation: The /install and /update commands manage plugin state, and the /stats command reflects the current state of the ecosystem including installed items.
Enhancement: Implement usage memory with preference inference — track which installed items are actively used, which are dormant, and what session patterns correlate with satisfaction. Surface proactive upgrade and cleanup suggestions based on usage history, and use preference data to personalize future browse and recommend outputs.
Relevance: A marketplace is a potential attack surface — malformed plugins, overly permissive agents, or conflicting hook configurations can destabilize the Claude Code environment.
Current Implementation: Plugin trust scores are surfaced in /details, helping users evaluate safety before installation.
Enhancement: Apply formal guardrails at install time — a validation pipeline checks each plugin against a safety ruleset: manifest schema conformance, hook script safety (no shell injection vectors), agent permission scope (no unauthorized tool access), and conflict detection against already-installed plugins. Installation is blocked for critical violations and warned for advisory findings, with remediation guidance provided.
Relevance: Individual plugin commands and skills are fundamentally tools that agents can invoke — making this explicit enables higher-order compositions where agents assemble multi-tool workflows on the fly.
Current Implementation: Installed plugins expose commands and agents that the session-orchestrator coordinates during /launch sessions, effectively treating plugin capabilities as callable tools within a cowork session.
Enhancement: Apply the tool-use pattern formally — generate a structured tool registry from all installed plugins at session start, with typed signatures, descriptions, and usage examples for each command. Agent system prompts include the relevant tool subset, enabling agents to autonomously compose multi-plugin workflows without pre-scripted orchestration logic.
Exploration ──────► Routing ──────────────────► Memory
│ │ │
│ ▼ ▼
│ Guardrails ◄──── Install ──────► Tool Use
│ (Validation) │
│ ▼
└─────────────────────────────► A2A ◄── Resource-Aware
(Sessions) (Bundle Optimize)
Flow: Users discover plugins through Exploration, guided by Memory-personalized recommendations. Routing matches intent to catalog items. Guardrails validate plugins at install time before they enter the Tool Use registry. Installed plugins become tools that A2A messaging connects across sessions. Bundle exports are optimized for resource efficiency. Usage outcomes feed back into Memory, personalizing the next discovery cycle.