← ~/pillars / tooling-foundation / guide

Tooling foundation

Skills, MCP servers, hooks, and plugins as a layered toolchain: what each layer is for, what it costs, and the day-one baseline for a team adopting agents.

updated 2026-07-01 ~2 min read

← back to tooling-foundation/

on this page

Claude Code is not one tool; it is an extension surface. Every capability you add lands in one of four layers, and the layer you choose determines its token cost, its failure mode, and who maintains it. Teams that skip this decision end up with a 2,000-line CLAUDE.md, a dozen MCP servers nobody audited, and rules that hold only when the model remembers them. This pillar is the map.

The four layers

CLAUDE.md is always-on context: build commands, module boundaries, architecture facts. It is loaded every turn, so every line costs tokens on every exchange. Keep it factual and short.

Skills are on-demand procedures. A SKILL.md file costs roughly 30–50 tokens at startup (name plus description); the full body loads only when the task matches (skills reference). Skills implement the Agent Skills open standard (released 2025-12-18 and adopted by 35+ agent products including OpenAI Codex, Gemini CLI, GitHub Copilot, Cursor, and Spring AI), so a skill written for Claude Code is portable across the toolchain your team actually uses. Custom slash commands have been fully merged into this layer: .claude/commands/ files still work, but skills are the preferred path (commands reference).

MCP servers connect external systems: GitHub, AWS documentation, live library docs, databases. As of mid-2026, Streamable HTTP is the recommended transport, SSE is deprecated, and stdio remains current for local servers (MCP reference). Tool Search is on by default, so tool schemas are deferred until needed and adding servers no longer floods the context window.

Hooks are deterministic enforcement: shell commands that fire on lifecycle events and can block, rewrite, or annotate what the model does. This pillar only surveys them as a toolchain component. The enforcement patterns, exit-code semantics, and security model live in the deterministic policy pillar.

Plugins are the distribution wrapper, not a fifth capability: a plugin bundles skills, hooks, MCP config, and agents into one installable unit, distributed through Anthropic’s curated marketplace or a private GitHub-hosted marketplace.json for internal tooling (plugins reference).

Applied to Java on AWS

Three specifics matter most for a Java team on AWS:

Bedrock first. If your team consumes Claude through Bedrock, run the /setup-bedrock wizard before anything else: auth determines which models are available and how costs are attributed. The required IAM permissions are bedrock:InvokeModel, bedrock:InvokeModelWithResponseStream, bedrock:ListInferenceProfiles, and bedrock:GetInferenceProfile (Bedrock reference).

The awslabs servers are stdio-only. SSE support was removed from all awslabs MCP servers in May 2025 and Streamable HTTP is still in progress, so AWS Knowledge and AWS IaC run as local processes. Every developer machine needs Node.js or Python before a committed .mcp.json gives zero-config onboarding. Plan for it in your dev container or bootstrap script.

The aws-dev-toolkit plugin is the fast path, not the default. aws-samples/sample-claude-code-plugins-for-startups bundles 34 AWS skills, 3 MCP servers, and 11 sub-agents: the highest density of AWS competence you can install in one command. It is sample-quality (aws-samples, not awslabs): review the skills you rely on before production use. Installing 34 skills also pressures the skill listing budget, which defaults to 1% of the context window. Run /doctor and raise skillListingBudgetFraction if descriptions are being truncated (skills reference).

// sources