Claude Code for Teams: Rules, Skills, Hooks, Plugins

Build a complete, shareable Claude Code setup for your team, one working file per lesson: CLAUDE.md and path-scoped rules, skills, slash commands, subagents, hooks, MCP servers and a versioned plugin. You'll learn which mechanism should own each rule, what each one costs in context, and how to gover
Capable · 20 levels · 4 free · Created Oct 2026 · Professionally curated by levelupwith.com
What's inside
- Level 1: The Extension Map: Which Surface Owns Which RuleFree
Survey every Claude Code customisation surface (CLAUDE.md, rules, settings.json, skills, commands, subagents, hooks, MCP servers and plugins) and learn the key split between guidance Claude reads as context and configuration the client enforces, in a course that is independent of Anthropic.- State that this course is independent of Anthropic, and check any feature, limit or plan against the current official documentation, noting what is marked experimental or beta
- Sort a list of ten team needs into advisory context (CLAUDE.md, rules, skills) versus enforced behaviour (permissions, hooks, managed settings)
- Create a starter team-surfaces.md file mapping each surface to its file location, who writes it and when it loads
- Level 2: Layered CLAUDE.md: Scopes, Load Order and ImportsFree
Build a CLAUDE.md hierarchy across organisation, project, user and local scopes, and understand what loads at session start, what loads on demand from subdirectories, and how the layers combine.- Write a concise project CLAUDE.md and a personal one, and explain which a teammate will and will not receive through git
- Use @ imports and a local, untracked file to keep the shared file short and personal notes out of version control
- Diagnose an ignored instruction by checking which memory files loaded and tightening vague or conflicting wording
- Level 3: Path-Specific Rules in .claude/rules/Free account
Split instructions into topic files under .claude/rules/ and use the paths frontmatter so a rule only enters context when Claude works on matching files.- Create rule files with glob patterns in paths frontmatter for areas such as API handlers, tests and migrations
- Decide whether an instruction belongs in CLAUDE.md, an unconditional rule or a path-scoped rule, based on how often it applies
- Verify that a scoped rule loads when a matching file is touched and stays out of context otherwise
- Level 4: Team settings.json: Permissions and PrecedenceFree account
Write a shared .claude/settings.json with allow, ask and deny permission rules, and learn the precedence order from managed settings through command line, project local and shared project down to user settings.- Author permission rules that pre-approve safe commands, prompt for risky ones and deny reads of secrets files
- Predict which value wins when the same key is set in user, project, local and managed settings
- Separate what is committed for the team (settings.json) from what stays personal (settings.local.json), and explain why a deny rule is stronger than a CLAUDE.md sentence
- Level 5: Your First Skill: SKILL.md and Its Frontmatter
Create a project skill as a folder containing SKILL.md, and learn what the main frontmatter fields do and how a skill's body enters and stays in the conversation.- Build .claude/skills/<name>/SKILL.md with valid YAML frontmatter and a focused instruction body
- Explain the purpose of name, description, when_to_use, allowed-tools, model and paths, and why malformed frontmatter fails quietly
- Invoke the skill directly with /name to confirm it loads before relying on automatic invocation
- Level 6: The Description Is the Trigger: Testing Whether It Fires
Tune the description and when_to_use text that Claude reads to decide whether to load a skill, and build a repeatable test to check it fires when it should and stays quiet when it should not.- Rewrite a vague description so the key use case comes first and fits within the documented listing character budget
- Write a small set of should-trigger and should-not-trigger prompts and run them in fresh sessions to measure firing
- Fix over-triggering and under-triggering by adjusting wording, or narrowing with paths, rather than adding more skills
- Level 7: Progressive Disclosure: Scripts and Reference Files
Keep SKILL.md short by moving detail into reference files and executable scripts that load or run only when needed, so a rich skill costs little context until used.- Restructure a long skill into SKILL.md plus linked reference files and a scripts/ directory
- Call a bundled script through the skill directory variable, so deterministic work is done by code instead of by the model
- Explain the three loading stages (listing metadata, skill body, supporting files) and the context cost of each
- Level 8: Slash Commands with Arguments
Build user-invoked commands as skills, pass arguments into them, and control whether the user, Claude or both may invoke each one, with legacy .claude/commands/ files as the older single-file format.- Write a command that uses $ARGUMENTS, positional placeholders and named arguments with an argument-hint
- Use disable-model-invocation for actions with side effects such as deploys, and user-invocable: false for background knowledge
- Explain what a .claude/commands/ file lacks compared with a skill, and migrate one to the skills format
- Level 9: Sharing and Troubleshooting Skills
Distribute skills at project, personal and organisation-managed level, understand which copy wins on a name clash, see in outline how skills work in the Claude apps and the API, and work through a checklist when a skill misbehaves.- Choose between project, personal, managed and plugin locations for a skill, and state the documented resolution order when names collide
- Describe in outline how skills are used in the Claude apps and through the API, and check current documentation for plan availability and beta status before promising either to a team
- Troubleshoot a skill that does not trigger, or stops being followed after compaction, using a step-by-step checklist
- Level 10: Subagents: Context Isolation and Definition Files
Define a subagent as a Markdown file with frontmatter in .claude/agents/, and understand what its fresh context contains and what it cannot see from the main conversation.- Create a project subagent file with name, description and a system prompt body
- List what a subagent receives (its prompt, the delegation message, memory files) and what it does not (your conversation history and already-invoked skills)
- Explain how the built-in exploration and planning agents keep noisy search output out of the main context
- Level 11: Tools, Model and the Brief: Shaping a Subagent
Restrict a subagent's tools, pick its model and permission mode, and write a delegation brief that gets back a result the main session can act on.- Use tools and disallowedTools to build a read-only reviewer, and choose a model by weighing cost, speed and task difficulty
- Write a brief that states the goal, scope, constraints and the exact shape of the report to return
- Evaluate what a subagent returned, treating its summary as a claim to verify rather than as ground truth
- Level 12: Parallel and Background Agents, and When Not to Use One
Run several subagents at once or in the background, understand the reduced tool set and permission flow for background work, and recognise tasks where delegation costs more than it saves.- Split an independent, multi-part task across parallel subagents and merge their reports without file conflicts, using worktree isolation where appropriate
- Explain how background subagents differ from foreground ones in available tools and how permission prompts surface
- Identify cases to keep in the main conversation: tight iteration, heavily shared context, quick edits and latency-sensitive work
- Level 13: Hook Fundamentals: Events, Matchers and Handlers
Wire a first hook in settings.json by choosing a lifecycle event, a matcher and a handler type, and read the JSON a hook receives on stdin.- Group the current hook events into session, prompt, tool, subagent, compaction and configuration families, and look up exact names in the reference rather than from memory
- Configure a command hook on PostToolUse with a matcher for file edits that runs a formatter
- Compare the handler types (command, http, mcp_tool, prompt and the experimental agent type) and say when a plain command hook is the safer choice
- Level 14: Blocking, Rewriting and Redacting Tool Calls
Turn a must-always-hold rule into a deterministic guardrail using exit codes and JSON decisions, covering denying a tool call, rewriting its input before it runs and scrubbing output afterwards.- Write a PreToolUse hook that denies a dangerous command with exit code 2 or a permissionDecision of deny, including a reason Claude can act on
- Rewrite a tool call's arguments with updatedInput, and explain when rewriting is kinder than blocking and when it hides too much
- Redact secrets from tool output or submitted prompts, and state plainly what such a hook cannot catch
- Level 15: Securing the Hooks Themselves
Treat hooks as code that runs with your own privileges: review where they come from, harden the scripts, and limit which hooks may run across a team.- Audit every source of hooks in a session (user, project, local, managed, plugin, and skill or agent frontmatter) and explain the risk of a hook arriving through a pull request
- Harden a hook script against shell injection, unquoted paths, missing timeouts and failing open when it crashes
- Describe how managed settings can restrict hooks organisation-wide, and decide when a guardrail should live there rather than in the repository
- Level 16: MCP Servers: Scopes and Authorisation
Connect MCP servers to Claude Code at local, project and user scope, share a team server through .mcp.json, and authorise it without committing credentials.- Add a server at each scope, say where its configuration is stored and which definition wins on a name clash
- Write a .mcp.json that uses environment variable expansion instead of hard-coded tokens, and explain the approval prompt for project-scoped servers
- Authenticate a remote server with OAuth, restrict the requested scopes, and prefer HTTP transport over the deprecated SSE transport
- Level 17: Tool Bloat and Context Cost
Measure what every connected server, skill listing and memory file costs in context, and trim capabilities so Claude picks the right tool more reliably.- Inspect context usage and identify which MCP servers, skills and instruction files consume the most
- Explain how tool search defers loading tool definitions, when it is not active, and how MCP output limits protect the context window
- Cut bloat by removing unused servers, scoping servers to a subagent, and using organisation allowlists and denylists for MCP servers
- Level 18: Packaging a Plugin
Bundle skills, commands, agents, hooks and MCP servers into one plugin directory with a plugin.json manifest, and validate and test it locally.- Lay out a plugin with components at the plugin root and the manifest in .claude-plugin/plugin.json, avoiding the common mistake of nesting components inside that folder
- Use the plugin root and plugin data variables for bundled scripts and persistent state, and explain how plugin components are namespaced
- Run claude plugin validate, load the plugin from a local directory, and collect secrets through userConfig rather than hard-coding them
- Level 19: Marketplaces: Versions, Dependencies and Trust
Publish plugins through a marketplace.json catalogue in a git repository, control versions and dependencies, and set the organisational controls that decide which marketplaces and plugins a team may install.- Create a marketplace with plugin entries using relative, GitHub and git-subdirectory sources, and test install and update on your own machine
- Manage releases with the manifest version field, ref or sha pinning and declared plugin dependencies, and explain how users receive updates
- Apply a trust review before installing a third-party plugin, and describe how administrators can require or restrict marketplaces through managed settings
- Level 20: Final Challenge: Design and Govern a Team Setup Exam
Review the whole course by designing a complete team configuration for a realistic scenario, choosing the right mechanism for each need, justifying its context cost and defining how the shared configuration is owned and changed.- Complete a decision table that assigns each requirement to a built-in tool, custom tool, skill, MCP server, rule, hook, subagent or plugin, with the reasoning for each choice
- Audit a bloated example configuration and remove or rescope capabilities that cost context without earning it
- Write a short governance policy covering ownership, code review of shared configuration, versioning, managed settings and a schedule for rechecking features against current documentation
Access
Levels 1 and 2 are free to read, no account needed. Levels 3 and 4 are free with a free account. Every level, the podcast edition and the AI tutor come with All Access at £4.99/month or any Creator plan — see pricing.
More like this
- Claude Code Day to Day: From First Prompt to Safe Habits
Install Claude Code on your own machine and work through a small sample project with exact commands, expected results and an exercise in every lesson. You fini…
Course · Claude · AI & Agents · Capable · 18 levels · 4 free · Professionally curated by levelupwith.com
- Claude Code Unsupervised: Hours of Work You Can Trust
Hand Claude Code hours of work across terminal, cloud and CI, then prove the result is right before you merge it. You will build a least-privilege, hook-gated,…
Course · Claude · AI & Agents · Expert · 56 levels · 4 free · Professionally curated by levelupwith.com
- Claude at Work: No-Code Skills for Knowledge Workers
Learn to brief Claude clearly, check what it gives you, and set up Projects, Artifacts, Skills, memory, connectors and Research for real work in sales, marketi…
Course · Claude · AI & Agents · Capable · 18 levels · 4 free · Professionally curated by levelupwith.com
- Delegating Real Work to Claude: Tasks, Files and Apps
Learn to hand Claude multi-step work on your real files, browser and Office apps, with clear briefs, firm limits and approval gates, then review the results so…
Course · Claude · AI & Agents · Capable · 18 levels · 4 free · Professionally curated by levelupwith.com
- Prompting Claude: Instructions, Context and Testing
Write prompts that Claude follows reliably, manage what goes into its context window, and test and improve your prompts with evidence instead of guesswork. Eac…
Course · Claude · AI & Agents · Capable · 20 levels · 4 free · Professionally curated by levelupwith.com
- Finished Work with Claude Artifacts, No Code
Brief, refine, brand, check, share and export finished designs, decks, documents, dashboards and motion pieces in Claude without writing code. Every level ends…
Course · Claude · AI & Agents · Capable · 18 levels · 4 free · Professionally curated by levelupwith.com