Skip to content

feat(claude-plugin): rewrite atomic-agents plugin as v2.0.0 skills-only pack - #236

Merged
Eigenwise merged 3 commits into
mainfrom
feat/claude-plugin-v2-rewrite
Apr 16, 2026
Merged

feat(claude-plugin): rewrite atomic-agents plugin as v2.0.0 skills-only pack#236
Eigenwise merged 3 commits into
mainfrom
feat/claude-plugin-v2-rewrite

Conversation

@Eigenwise

Copy link
Copy Markdown
Owner

Summary

  • Full rewrite of claude-plugin/atomic-agents to match 2026 Claude Code plugin conventions: skills-only, no subagents, no commands/, progressive disclosure via references/.
  • Corrects every framework example in the plugin against the current codebase (top-level imports, PEP 695 generics, MCPTransportType.HTTP_STREAM, ChatHistory.load semantics, run_async, all five hook events, seven TokenCountResult fields).
  • Bumps plugin version 1.0.02.0.0 in both claude-plugin/atomic-agents/.claude-plugin/plugin.json and the root .claude-plugin/marketplace.json; updates the marketplace description to reflect the new skills layout.

What changed

Retired: 4 subagents (atomic-architect, atomic-explorer, atomic-reviewer, schema-designer) and 3 slash commands (/atomic-create, /atomic-agent, /atomic-tool).

Introduced:

  • skills/framework/ — auto-triggered. SKILL.md (orientation + routing) plus 11 reference files: schemas.md, agents.md, tools.md, context-providers.md, prompts.md, orchestration.md, memory.md, hooks.md, providers.md, project-structure.md, testing.md.
  • skills/review/ — auto-triggered. Framework-specific code-review checklist.
  • skills/new-app/ — slash-only (/atomic-agents:new-app). Opinionated scaffolder.

Authored to Anthropic's 2026 skill-authoring standard: third-person descriptions, SKILL.md bodies under 500 lines, references one level deep, no README.md/CHANGELOG.md inside skill folders, inline pointers to working atomic-examples/ directories (hooks-example, deep-research, progressive-disclosure, orchestration-agent, mcp-agent, quickstart).

See claude-plugin/atomic-agents/CHANGELOG.md for the full 2.0.0 entry.

Test plan

  • Load the plugin locally: claude --plugin-dir ./claude-plugin/atomic-agents
  • /plugin validate ./claude-plugin/atomic-agents passes
  • /atomic-agents:new-app <name> scaffolds a runnable project
  • Ask Claude to create an atomic-agents agent — the framework skill auto-triggers and references load on demand
  • Ask Claude to review atomic-agents code — the review skill auto-triggers and produces framework-specific findings
  • Marketplace consumers see 2.0.0 on next refresh

🤖 Generated with Claude Code

Eigenwise and others added 3 commits April 16, 2026 13:30
…ly pack

Full rewrite of the Claude Code plugin to match 2026 plugin conventions.
Subagents and commands are replaced by three skills with progressive-disclosure
reference files, matching Anthropic's skill-authoring best practices.

- Retire 4 subagents (architect, explorer, reviewer, schema-designer) and
  3 slash commands (/atomic-create, /atomic-agent, /atomic-tool).
- Introduce skills/framework (auto-triggered) with 11 reference files covering
  schemas, agents, tools, context providers, prompts, orchestration, memory,
  hooks, providers, project structure, and testing.
- Introduce skills/review (auto-triggered) with a framework-specific code
  review checklist.
- Introduce skills/new-app (slash-only via /atomic-agents:new-app) for
  scaffolding a fresh project.
- Correct framework imports (top-level atomic_agents package), PEP 695
  generic BaseTool pattern, MCPTransportType.HTTP_STREAM, ChatHistory.load
  instance-method semantics, TokenCountResult seven fields, run_async (not
  arun), and all five hook events.
- Bump plugin.json and marketplace.json to 2.0.0; update marketplace
  description to reflect the new skills layout.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Review is a canonical subagent use case per Anthropic's docs and every
one of their own review plugins (pr-review-toolkit, feature-dev,
code-review). Skills-only review has structural limits: can't restrict
to read-only tools, can't isolate the file-exploration load from the
parent context, can't run parallel review lenses, and can't route to a
different model. My v2.0.0 rewrite overcorrected by removing all
subagents; the reviewer should have stayed.

- Delete skills/review/, add agents/atomic-reviewer.md with read-only
  tools (Glob, Grep, LS, Read, NotebookRead, TodoWrite) matching
  Anthropic's canonical `code-reviewer` example.
- Rewritten checklist for the 2026 API: top-level imports, PEP 695
  BaseTool generics, MCPTransportType.HTTP_STREAM, ChatHistory.load
  instance-method semantics, all five hook events, run_async not arun.
- framework SKILL.md now instructs Claude to delegate to the
  atomic-reviewer subagent via Task instead of reviewing in-thread.
- README, CHANGELOG, plugin.json, marketplace.json updated to describe
  the hybrid skills + subagent pattern (mirrors Anthropic's plugin-dev).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Exploration fits the subagent rubric for the same reasons review does:
read-heavy work where the output is a summary, not artifacts the user
wants to iterate on in the parent thread. When a codebase has 15+
agent/tool/schema files, the main thread loading all of them to build an
architecture map is the exact context-pollution failure mode subagents
exist to prevent. Mirrors Anthropic's code-explorer in feature-dev.

- agents/atomic-explorer.md with read-only tools (Glob, Grep, LS, Read,
  NotebookRead, TodoWrite), sonnet model, yellow color. Targeted
  framework-aware greps (BaseIOSchema, AtomicAgent[, BaseTool[,
  BaseDynamicContextProvider, register_hook, fetch_mcp_tools) drive
  component discovery. Output is a structured map with file:line
  references and an essential-reading list, bounded to ~two screens.
- framework SKILL.md now instructs Claude to delegate exploration
  ("explore", "map", "understand how X works") to the explorer subagent
  for non-trivial projects, and to read directly for small ones.
- README, CHANGELOG, plugin.json, marketplace.json updated to describe
  the two-subagent hybrid.

Not added: architect / schema-designer / generator subagents. Those
produce artifacts the user wants in-thread to iterate on — anti-pattern
for subagent isolation.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Eigenwise
Eigenwise merged commit a2937a1 into main Apr 16, 2026
4 checks passed
@Eigenwise
Eigenwise deleted the feat/claude-plugin-v2-rewrite branch April 16, 2026 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant