Single logo
  • Courses
  • Blog
  • About
Join on SkoolJoin on Skool

In this topic

Claude
  • Claude.ai Interface Tour: Every Control You Need on One Screen
  • The AI Fluency Model: Delegation, Description, Discernment and Diligence
  • Working With Claude: Pick the Surface, Match the Model, Keep the Context Clear
  • Claude's Four Entry Points: Choose Chat, Projects, Artifacts or Research Before You Type
  • What Claude Can Do: Extended Thinking, Web Search, Artifacts and File Analysis
  • Getting More From a Claude Chat: Steer the Conversation Instead of Starting Over
  • Claude Research Mode End to End: From One Prompt to a Cited Briefing
  • Claude's Capability Layer: When to Use Skills, Code Execution or Memory
  • Code Execution and File Creation in Claude: Calculated Numbers and a Real Excel File
  • Adding and Using Skills in Claude: Let Claude Pick the Skill, Then Teach It Your Format
  • Claude Memory, Curation and Incognito: Keep What Helps, Remove What Has Gone Stale
  • Claude Styles, Preferences and Project Instructions: Three Dials, Three Scopes
  • Claude Projects: Knowledge, Instructions and a Real Workspace You Set Up Once
  • Keeping a Claude Project Current and Connected: Refresh, Prune and Grant the Least
  • Claude Scheduled Tasks: Let Claude Work on a Schedule and Email You the Result
  • Claude Code and Claude for Chrome: What They Are and Who They Are For
  • Anatomy of a Good Prompt: Role, Context, Task, Format and Examples
  • Shaping Claude's Output: Format, Tone and Length in a Few Words
  • Iterating and Refining a Prompt: Read, Diagnose, Adjust, Repeat
  • Five Prompting Patterns for Work: Summarise, Extract, Rewrite, Classify and Draft
  • Why Evaluating AI Output Matters Most: Trust, Then Verify
  • Spotting AI Hallucinations and Fabrications: Four Tells and Where Risk Spikes
  • Fact-Checking Claude's Answers: Four Techniques and a Line-by-Line Claim Log
  • Judging AI Output Quality: Four Questions That Score Any Answer
  • Adapting AI Output for Your Audience: One Answer, Three Readers
  • When a Human Must Review AI Output Before It Ships
  • A Personal Validation Checklist for AI Output: Six Lines, Any Draft
  • Fitting Claude Into Real Work: Where It Helps and Where It Never Should
  • Breaking Big Tasks Into Steps With Claude: Small Asks, Checked Hand-offs
  • Designing a Repeatable Claude Workflow: A Reusable Weekly Report Template
  • Measuring If Claude Is Actually Working: One Number, Before and After
  • Communicating AI Value and Limitations to Stakeholders: The Honest Pitch
  • Data Privacy With Claude: What Never Goes in a Prompt, and How to Redact a Document Before You Paste It
  • Responsible AI Use and Transparency: Helpful, Honest, Harmless, and One Honest Line
  • Troubleshooting a Weak Claude Answer: Name the Cause, Fix One Thing, Then Make It Cheaper
  • CLAUDE.md, settings.json and Plugins: Which Claude Code File Advises, Which Enforces, Which Packages
  • Authoring a Claude Skill: SKILL.md, Frontmatter, Progressive Disclosure and the Description That Triggers It
  • One Change, Four Environments: Where a Claude Config Edit Lands in Dev, Staging, Prod and CI
  • Claude in the SDLC: Prompts in Git, a Change Gate by Path, a Claude Review That Advises and a Person Who Merges
  • Hooks That Block Destructive Actions: a PreToolUse Gate That Allows, Asks or Denies
  • Choosing a Claude Code Extension: Skill, Hook, Rules File, Subagent, Slash Command or Plugin
  • Rolling Out Claude Code to a Team: Settings Precedence, dontAsk in CI, a Hook for Every-Time Rules and a Plugin for Five Repos
  • A Claude Code Review Bot in CI: Headless -p, JSON Findings, Team Rules in Git and a Person on the Merge
  • Lab: Three Planted Bugs in a Claude Code CI Repo, a Permission Mode, a Plugin Path and an MCP Token Variable
  • Configuring MCP Servers in Claude Code: A Command or a URL, Three Scopes, and Three Moves When One Breaks
  • Claude Code's Built-in Tools: Read, Write, Edit, Bash, Grep and Glob, and When Each One Is the Right Pick
  • The CLAUDE.md Hierarchy: User, Project and Directory Files, How They Stack, and the Team Rule Stuck on One Laptop
  • Split a 600-Line CLAUDE.md: @import Lines, .claude/rules Files and Which One to Pick
  • Path-Specific Rules in Claude Code: paths Globs, When a Rule Loads and the Glob That Matches Nothing
  • Claude Code Slash Commands and Skills: Project vs User Scope, $ARGUMENTS, context: fork and allowed-tools
  • Iterative Refinement with Claude Code: Input/Output Examples, Tests First and the Interview Pattern
  • Claude Code Sessions: Resume by Name, Fork From a Baseline, or Start Fresh With a Summary Card
  • CI Reviews That Don't Repeat Themselves: Prior Findings, Existing Tests and Test Standards in CLAUDE.md
  • Fleet Telemetry for Parallel Coding Agents: Find the Stampede, the Hotspot and the Runaway That Per-Agent Alerts Miss
  • AI Code Review That Earns the Right to Block: Shadow Mode, Calibration Against Human Review, Then a Gate
  • Org-Wide Claude Code: Managed Settings With the Locks On, an MCP Allowlist by Address, and One Pinned LLM Gateway
  • Sharing Skills, Prompts and MCP Servers Across Teams: One Quality Gate Before the Shared Catalog
  • Claude Code Plugins and Marketplaces for an Org: Package a Skill, a Hook and an MCP Server, Check Them, Then Lock the Sources
  • Where Claude Joins a Developer Workflow: Interactive, GitHub Action or claude -p, Then Measure the Outcome
  • An Ops Runbook for Claude Failures: Case Cards, Request IDs, Owners and a Read-Only Investigation
  • The Claude Messages API: Your First Call, Field by Field
  • Claude Tool Use: How tool_use and tool_result Work in the Messages API
  • Claude Client SDKs Wrap One REST API: Raw HTTP, Python, TypeScript and Async Calls Compared
  • Anthropic SDK Timeouts, Retries and Error Classes: Configure the Client Once, Then Give 429, 529, 400 and Timeouts Their Own Move
  • Claude Streaming Events: The Event Order, message_stop, Tool Arguments, Stop Reasons and a WebSocket Relay
  • Images, PDFs and Thinking Blocks in the Claude Messages API: Typed Blocks In, Typed Blocks Out
  • Getting Data Into Claude: PDF Documents, the Files API, Search Results and Citations
  • Opus, Sonnet or Haiku: Pick the Claude Model per Job, and Test the Request When a New Release Arrives
  • Adaptive Thinking and Effort in Claude: Two Dials, Set per Workload, and the Thinking Block You Must Pass Back
  • Claude Cost Tracking From usage: Count Before, Cap During, Read After, Then Find the Line That Drives the Bill
  • Claude Cache Breakpoints: Where to Put cache_control, How to Move It With the Chat, and Why the Reads Stay at Zero
  • Claude Message Batches or Real Time: Choose by Who Is Waiting, Match by custom_id, Resend Only the Failures
  • Calling Claude Through Amazon Bedrock, Google Cloud and Microsoft Foundry: Same Call, Different Door
  • The Life Cycle of a Claude App: Six Phases, a Model That Retires, and a Release Gate for Every Change
  • Pinning Claude Model IDs and Upgrading Safely: One Change at a Time, a Golden-Set Replay and a Staged Rollout
  • Content Boundaries and Schema Design for Claude: Fence the Input in a Tag, Let the Output Say I Don't Know
  • The Agentic Loop and stop_reason: Keep Turning on tool_use, Stop on end_turn, Cap the Turns
  • The Claude Agent SDK: query(), ClaudeAgentOptions and @tool, in Python and TypeScript
  • Fix the Agent: Four Broken Claude Agent SDK Configs, From the Symptom to the One Wrong Line
  • Claude Managed Agents: Cloud Sandbox, Self-Hosted Sandbox or Self-Hosted Service
  • Agent SDK Hooks for Deterministic Actions: PreToolUse, PostToolUse, and Four Hooks That Fail Silently
  • Memory and Context-Window Patterns for Claude Agents: Context Editing, Compaction and the Memory Tool
  • Reading an Agent Trace: Five Signatures, Five Missing Patterns, and How Long a Fact Must Live
  • Tool Descriptions for Claude: How Claude Picks a Tool, and How to Stop It Picking the Wrong One
  • Tool Input Schemas and Error Responses for Claude: Required Fields, Enums, is_error and a Retry Flag
  • Tool Response Shaping and a Lean Tool Set: Give Claude a Sticky Note, Not the Filing Cabinet
  • Fix the Tool Schema: Read the Trace, Fix the Card, Re-Run (Four Real Schema Bugs)
  • Client Tools, Server Tools and Approval Gates: Who Runs the Tool, and Who Says Yes First
  • Built-in Tool, Custom Tool, Skill or MCP Server? Pick the Lightest One That Fits
  • System Prompt or User Turn: Where Each Instruction Goes, and Output Limits Your Code Enforces
  • Refine the Prompt One Line at a Time, Then Clean and Fence the Customer's Text
  • Prompt Revision Driven by Evals: Name the Cause, Change One Thing, Rerun the Whole Suite
  • Long-Running Sessions: Compact, Prune, Isolate or Start Fresh, Decided by Naming the Failure
  • Context Isolation Through Subagents: Read the Logs Elsewhere, Keep One Line
  • Defensive Parsing of Claude Replies: Check the Stop Reason, Read the Block or the Text, Then Validate the Values
  • Full Context or Retrieval: Choose by Corpus Size, Cost and Freshness
  • Skepticism Toward Confident Output: Check the Quote, the Record and the Sum Before You Send
  • Debugging a Claude App: Three Error Types, the Recovery Each One Earns, and the First Failing Row
  • Six Ways a 200 Can Still Be Wrong: Hallucination, Refusal, Under-Acting, Context Loss, Format Drift and Inconsistency
  • Fix the Cause, Not the Symptom: Four Recovery Drills for an LLM App, Each Checked on a New Input
  • Integration Layer or Model Output? Three Taps and Three Questions to Find Where a Wrong Answer Lives
  • Which Test Layer Owns the Failure? Unit, Functional, Integration and End-to-End Tests for a Claude App
  • Designing an Overnight Document Pipeline on Claude: Batch Lane, Live Lane, a Cached Prefix and a custom_id Reconcile
  • Proving a Model Upgrade Is Ready: A Frozen Golden Set, a Calibrated Judge, the Right Layer and a Release Gate
  • From Requirement to Design for a Claude App: Eight Requirements, Five Elements and a Trace With No Gaps
  • Build a Claude Refund App: the Messages API, Two Tools, an MCP Server and a Hook in One Loop
  • Ship a Claude App: an Eval Gate, Two Guardrail Layers, a Cost Check From usage and a Pinned Model
  • Lab: a 30-Case Golden Set, a Calibrated Judge and a Per-Slice CI Gate on a Claude Refund App
  • Lab: Cut a Claude App's Bill by 62 Percent With Usage Data, Layered Cache Breakpoints and a Batch Job
  • Lab: Three Planted Bugs in a Claude App, a Vague Prompt, a Mistyped Tool Schema and a Broken Stream Handler
  • Lab: Three Planted Bugs in a Claude Code CI Repo, a Permission Mode, a Plugin Path and an MCP Token Variable
  • Lab: Harden a Claude App, an Uncalibrated Judge, a Retry Loop That Retries Everything and a Hook Matcher With a Gap
  • Lab: Turn a Claude App Into a Reusable Template, One Pinned Model Id, No Key in Code and Evals Built From Data
  • Building an MCP Server: Tools, Resources and Prompts in Python and TypeScript
  • MCP Transports: stdio or Streamable HTTP, and Who Starts the Server
  • Deploying and Authenticating an MCP Server: Environment Keys for stdio, Bearer Tokens and Scopes for HTTP
  • Validation-Retry Loops for Claude Extraction: Send Back the Exact Errors, and Stop When a Retry Cannot Help
  • Multi-Pass and Multi-Instance Code Review with Claude: A Fresh Reviewer, Per-File Passes and an Integration Pass
  • When a Claude Support Agent Should Escalate: Three Clear Triggers, Not Mood or a Confidence Score
  • Error Propagation Across Subagents: Retry Locally, Then Report the Failure, the Attempts and What You Found
  • Human Review and Confidence Calibration: Check Accuracy by Type and Field Before You Stop Looking
  • Provenance in Multi-Source Research: Keep Every Claim With Its Source and Date, and Show Conflicts Instead of Settling Them
  • Lab: An Extraction Pipeline With a Nullable Schema, Validation-Retry, a 100-Request Batch and Human Review
  • Lab: A Research Pipeline With Parallel Subagents, a Timeout That Keeps Its Partial Results, and a Report With Its Trail
  • Coordinator and Subagents: Decompose, Delegate, Check Coverage, and Call Only the Spokes You Need
  • Passing Context to Subagents: Nothing Is Inherited, So Put Findings, Goal and Criteria in the Prompt
  • Parallel Subagents: Several Task Calls in One Response, Every Result Back in One User Turn
  • Task Decomposition: a Fixed Prompt Chain With an Integration Pass, or a Dynamic Plan That Adapts
  • Prompt Guidance vs Programmatic Gates: Block the Refund Until the Customer Is Verified, Then Hand Off a Card That Stands Alone
  • Scoped Tools per Agent and tool_choice: Three to Five Tools per Role, a Shared One, and auto, any or a Forced Tool
  • Durable Agent Runs: Save a Checkpoint After Every Tool Turn, Resume After a Kill, and Key the Email So It Goes Out Once
  • Resume on the Model the Run Started With: a Run Record That Pins the Model Id, the Prompt Version and the Notes
  • Durable Agent State by Name: an Agent SDK Session Id, a /memories Path or a Managed Agents Memory Store
  • Cache-Safe Instruction Changes and Large Tool Catalogs: Append the New Rule at the End, Defer 57 of 60 Tools With Tool Search
  • One Gateway, One Platform Table: Route a Model Alias to the Claude API, Bedrock or Google Cloud and Check Parity Before the Call
  • OpenTelemetry Tracing for a Claude Agent Loop: A Span for Every Request and Tool Call, and the Switch for Each Surface
  • Debugging Late, Far and Rare Failures in a Claude Agent: Replay the Turns, Follow the Fact, Split the Runs
  • Scheduled and Event-Driven Claude Agents: Managed Agents Deployments, Budgets, Outcomes and Webhooks
  • Latency Engineering for a Claude Agent Loop: Time to First Token vs Total, Streaming, Parallel Tools, the Cache and Effort
  • Claude Prompt Caching Strategy: Pick the TTL by the Quiet Gap, Read Cache Diagnostics, and Warm Before You Fan Out
  • Capstone: One Prompt Change Through the Whole Operating Loop, From CI Gate to Postmortem
  • Reading a Business Requirement Like an Architect: Function, Quality, Constraints and Assumptions
  • From One Claude Call to a System: Input, Processing, Output and the Feedback Loop
  • The Delegation Map: Decide What Claude Owns, What People Keep and What They Share
  • When a Packaged Skill Beats a New Agent (and a Prompt Library)
  • Five Reference Architectures for Claude Systems: Read the Cue, Name the Shape
  • Business Value Pillars for an LLM System: Turn "Cheaper and Faster" Into Targets, Then Pick the Lane
  • Which Requirement Binds? Picking the Claude Surface and Agent Runtime Under Constraints
  • The Claude Model Ladder: Pick the Cheapest Model That Passes, Then Price the Month
  • Zero-Shot, Few-Shot or Reasoning: Pick the Cheapest Prompting Technique the Failure Asks For
  • Choosing the Claude Build Stack: Client SDK, Agent SDK, Claude Code Headless or Managed Agents
  • Authentication and Authorization for Claude Agents: Find the Gaps Hop by Hop
  • Connecting Claude to a Legacy System You Can't Change: The Adapter Pattern
  • MCP, an API/CLI Call or Agent-to-Agent: Choosing How Claude Connects to a Capability
  • Progressive Discovery or Monolithic Context: Load It All, Fetch by Index, or Both
  • Speed Has a Price and the Rate Limit Is the Ceiling: Choosing Model, Effort and Fast Mode per Path
  • Reliability Controls for Claude Apps: Backoff, Idempotency Keys, Fallback Routing and Circuit Breakers
  • Six Metrics, Not One Score: Accuracy, Groundedness, Latency, Cost, Safety and Security for an LLM Agent
  • Diagnosing a Bad Answer: Prompt Failure, Hallucination or Model Mismatch?
  • Human-in-the-Loop Routing: Send Each Agent Action to Auto, Review or Block by Confidence, Reversibility and Cost
  • Working an Architecture Scenario End to End: Mark Hard and Soft Constraints, Cut, Rank, Decide
  • A Regulated Dispute Desk on Claude: Pin the Geography, Gate by Risk, Log Before Release, Fail Closed
  • Global Support Automation Scenario: Cut the Options, Route Each Ticket by Risk, Gate Every Change by Language
  • Architecture Artifact Review Drills: Find What a Diagram, Config, Trace, Eval Table, ADR or Settings File Leaves Out
  • The Architecture Decision Record for a Claude System: Context, Options, Decision, Consequences and the Evidence You Will Need
  1. Blog
  2. /
  3. Claude
  4. /
  5. Claude Code

Claude Code Plugins and Marketplaces for an Org: Package a Skill, a Hook and an MCP Server, Check Them, Then Lock the Sources

The SupportDesk platform team ships a refund skill, an audit hook and a tickets MCP server as one plugin, supportdesk-ops, listed in the supportdesk-tools marketplace. A team bar passes the real plugin and fails six broken copies, and managed settings make that marketplace the only source.

Chaand Sheikh

·27 November 2026Claude Code

What you will learn

  • Package a skill, a hook and an MCP server as one Claude Code plugin with a plugin.json manifest
  • List the plugin in a marketplace.json and install it by its id, name@marketplace
  • Add team checks on top of claude plugin validate: skill frontmatter and trigger, a read-only hook, an allowlisted MCP server
  • Lock the sources with managed settings: strictKnownMarketplaces, extraKnownMarketplaces, enabledPlugins and allowedMcpServers

Before you start

  • CLAUDE.md, settings.json and plugin basics
  • Claude Code skills and hooks
  • Basic JSON

Picture the platform team at SupportDesk. They have a skill that drafts refund replies, a hook that audits tool calls, and an MCP server for tickets. Today each one is shared on its own: three installs, and three versions to keep in step.

A plugin puts them in one package, and a marketplace hands that package to every team. In this article we follow one plugin, supportdesk-ops, from a folder to a laptop: packaged, checked, listed, then installed by name. One install, one version.

The boxed kit

Think of a restaurant chain sending a boxed kit to every branch.

QuestionKitFile
What is in the box?A recipe card, a kitchen timer, a supplier phone lineA skill, a hook, an MCP server
What is on the lid?A name and an edition numberplugin.json
Where is it kept?A catalog on the head-office shelfmarketplace.json
Who checks the box?An inspector, before it goes on the shelfvalidate.py

The chain ships a kit, not loose papers.

The folder

The project is plain files plus a small Python checker. There is no model call, so no API key is needed. The marketplace and the plugin live side by side:

One marketplace, one plugin, three parts marketplace/ .claude-plugin/marketplace.json plugins/supportdesk-ops/ .claude-plugin/plugin.json skills/refund-reply/SKILL.md hooks/hooks.json scripts/audit_tool_use.py .mcp.json the catalog: lists the plugin the lid: name, version, author skill: instructions, only read hook: a script that runs MCP server: a connection that runs The red parts run on every laptop that installs the plugin.
Instructions, a script and a connection. The last two run on every laptop that installs it.

The three parts

A skill is a folder with a SKILL.md. Claude loads its instructions when the description matches the task:

---
description: Drafts a polite refund reply from the ticket text. Use when a customer asks for a refund or a charge dispute.
---

Read the ticket. State the refund decision first, then the next step for the customer.
Never promise a date the billing system has not confirmed.

A hook is a script that runs on an event. Here it audits each Bash call before it runs:

{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "python \"${CLAUDE_PLUGIN_ROOT}/scripts/audit_tool_use.py\""
          }
        ]
      }
    ]
  }
}
"""Read-only audit hook: reads the tool call from stdin and prints one line. It changes nothing."""
import json, sys

event = json.load(sys.stdin)
print(f"audit: {event.get('tool_name', '?')}")

An MCP server is a connection to a tool server, listed in .mcp.json:

{
  "mcpServers": {
    "tickets": {
      "type": "http",
      "url": "https://mcp.supportdesk.test/tickets"
    }
  }
}

plugin.json: the lid

The manifest lives in a folder called .claude-plugin, inside the plugin:

{
  "name": "supportdesk-ops",
  "version": "1.0.0",
  "description": "SupportDesk skill, hook and MCP server",
  "author": { "name": "SupportDesk Platform Team" }
}
  • Only name is required. It is kebab-case, and every part of the plugin is namespaced under it.
  • version matters: users stay on the version they installed until you change it.
  • description is what people see when they browse, and author says who to ask.

The CLAUDE.md, settings.json and plugins article covers the manifest and the difference between enabled and installed.

marketplace.json: the shelf

The catalog has its own .claude-plugin folder at the marketplace root:

{
  "name": "supportdesk-tools",
  "description": "Reviewed SupportDesk plugins",
  "owner": { "name": "SupportDesk Platform Team" },
  "plugins": [
    {
      "name": "supportdesk-ops",
      "source": "./plugins/supportdesk-ops",
      "description": "Refund skill, audit hook, ticket server"
    }
  ]
}
  • The marketplace name is what people type after the at sign when they install.
  • An owner is required.
  • The plugins list has one entry per plugin, each with a source. Here it is a relative path, written from the marketplace root.

The install id is the plugin name, an at sign, and the marketplace name: supportdesk-ops@supportdesk-tools, installed with claude plugin install.

Checked, listed in one marketplace, then installed by name plugin folder supportdesk-ops the bar validate.py marketplace supportdesk-tools laptop installs by id managed settings fail: reasons back to the author claude plugin install supportdesk-ops@supportdesk-tools
The bar inspects the box. Managed settings lock the door.

validate.py: the team's bar

Claude Code has claude plugin validate for the structure. validate.py is the team's own rule in plain Python, added on top. Here are its three part checks (excerpt):

WRITE_CALLS = ("write_text", "write_bytes", "os.remove", "shutil", "subprocess", "open")


def check_skills(root):
    why = []
    for skill in sorted(root.glob("skills/*/SKILL.md")):
        name = skill.parent.name
        meta = frontmatter(skill.read_text(encoding="utf-8"))
        desc = (meta or {}).get("description", "").lower()
        if meta is None:
            why.append(f"skill {name}: no frontmatter")
        elif "use when" not in desc:
            why.append(f"skill {name}: no 'Use when'")
    return why


def check_hooks(root):
    why = []
    for script in hook_scripts(root):
        bad = [c for c in WRITE_CALLS if c in script]
        if bad:
            why.append(f"hook: not read-only ({bad[0]})")
    return why


def check_mcp(root, managed):
    urls = allowed_urls(managed)
    why = []
    for name, cfg in load(root / ".mcp.json")["mcpServers"].items():
        url = cfg.get("url", "")
        if not any(fnmatch.fnmatch(url, p) for p in urls):
            why.append(f"mcp {name}: not allowlisted")
    return why
  • A skill without frontmatter is rejected, and its description must say Use when so Claude knows when to load it.
  • A hook script must be read-only. It may print. It may not write files, delete them or run other programs. (The check is a simple text match for the calls in WRITE_CALLS.)
  • Every MCP server in the plugin must match the managed allowlist.

Two more checks look at the marketplace: each entry's name must match the plugin's own manifest, and the marketplace's source must be in strictKnownMarketplaces.

One real plugin, six broken copies

run_all.py runs the bar on the real plugin, then on six copies that each break one thing:

plugin gate
supportdesk-ops pass  ready to list
no-frontmatter  fail  skill refund-reply: no frontmatter
no-trigger      fail  skill refund-reply: no 'Use when'
hook-writes     fail  hook: not read-only (open)
mcp-untrusted   fail  mcp tickets: not allowlisted
name-mismatch   fail  entry support-ops: manifest name is supportdesk-ops
source-blocked  fail  marketplace supportdesk-tools: source not in strictKnownMarketplaces
passed 1 | failed 6
  • supportdesk-ops passes every check, so it can be listed.
  • no-trigger drops the Use when sentence from the skill.
  • hook-writes changes the hook's print( into open('audit.log', 'a').write(, so it opens a file.
  • mcp-untrusted points the server at mcp.untrusted.example, which isn't on the allowlist.
  • name-mismatch renames the marketplace entry to support-ops; source-blocked swaps the allowed marketplace source for another org's repo.

managed-settings.json: lock the door

The bar decides what is worth listing. Managed settings decide what can be installed at all:

{
  "strictKnownMarketplaces": [
    {
      "source": "github",
      "repo": "supportdesk/plugin-marketplace"
    }
  ],
  "extraKnownMarketplaces": {
    "supportdesk-tools": {
      "source": {
        "source": "github",
        "repo": "supportdesk/plugin-marketplace"
      }
    }
  },
  "enabledPlugins": {
    "supportdesk-ops@supportdesk-tools": true
  },
  "allowManagedMcpServersOnly": true,
  "allowedMcpServers": [
    { "serverUrl": "https://mcp.supportdesk.test/*" }
  ]
}
  • strictKnownMarketplaces is an allowlist of marketplace sources. Anything else is refused.
  • extraKnownMarketplaces registers the marketplace on every machine.
  • enabledPlugins, set in the managed file, turns supportdesk-ops on for every machine, and a user can't switch it off. (The lecture describes it as installing and enabling the plugin; check the current docs for how a managed entry and a per-user install interact.)
  • The plugin's MCP server still has to match allowedMcpServers, matched by URL rather than by its name.

Common mistakes

  • Emailing the folder to each team. Copies drift and nobody owns them.
  • Letting teams add any marketplace. The source is never checked. Use strictKnownMarketplaces.
  • Trusting the plugin's name. A name is a label, not a check. Validate the contents, and match MCP servers by URL.
  • Pushing changes without bumping version. Users stay on the version they installed.
  • Treating a hook like a skill. A skill is read; a hook and an MCP server run. Check those two hardest.

For the listing rules that apply to every shared skill and server, plugin or not, see a quality gate for the shared catalog. For getting one setup into many repositories, see rolling out Claude Code to a team.

Quick recap

PieceFileJob
Plugin.claude-plugin/plugin.jsonSkill, hook and MCP server under one name and version
Marketplace.claude-plugin/marketplace.jsonOne catalog for the org; install id name@marketplace
The barvalidate.py on top of claude plugin validateTrigger, read-only hook, allowlisted MCP, names match
Managed settingsmanaged-settings.jsonLock sources, enable the plugin, allowlist servers

Try it yourself

Add a second plugin to the marketplace whose MCP server uses a command instead of a url. check_mcp reads only url. Predict what it does with the new server, then decide how the allowlist should match it.

Tried the exercise? Share your answer or ask a question.

The StudyEasy AI Community is free to join, with the lesson files, notebooks and code.

Join free on Skool

Keep going in Claude · 58 of 165

Previous
Sharing Skills, Prompts and MCP Servers Across Teams: One Quality Gate Before the Shared Catalog
Next post
Where Claude Joins a Developer Workflow: Interactive, GitHub Action or claude -p, Then Measure the Outcome

Related course on Udemy

Claude Certified Developer - Professional (CCDV-P) Exam Prep

Claude agents in production: reliability, observability, evals, cost, guardrails and fleets.View on Udemy ↗: Claude Certified Developer - Professional (CCDV-P) Exam Prep (paid course, opens in a new tab)

Related posts

CLAUDE.md, settings.json and Plugins: Which Claude Code File Advises, Which Enforces, Which Packages

Three needs in one repo: a test command, a rule that Claude must never read .env, and a shared deploy skill. See which file each belongs in, how the settings layers merge, and what a plugin manifest carries.

Authoring a Claude Skill: SKILL.md, Frontmatter, Progressive Disclosure and the Description That Triggers It

Pack a support team's ticket-triage routine into one skill folder, then watch three requests load one, two or all three levels: the catalog, the SKILL.md body, and a script whose code never enters the context.

One Change, Four Environments: Where a Claude Config Edit Lands in Dev, Staging, Prod and CI

Change one line in a repo and ask where it lands. A small resolver for bookshop-bot shows that a new model id in settings.json reaches only CI, a prompt bump reaches dev and CI, and a prod block edit reaches only prod.

Claude in the SDLC: Prompts in Git, a Change Gate by Path, a Claude Review That Advises and a Person Who Merges

Follow one prompt edit from a branch to a merge: version prompts and the model pin like code, keep the API key in GitHub Secrets, gate changes by path, let Claude review the diff, and leave the merge to a person.

On this page

  • The boxed kit
  • The folder
  • The three parts
  • plugin.json: the lid
  • marketplace.json: the shelf
  • validate.py: the team's bar
  • One real plugin, six broken copies
  • managed-settings.json: lock the door
  • Common mistakes
  • Quick recap
  • Try it yourself
Community · Free to join
Single logo

StudyEasy AI Community

Hosted onSkool

Learn AI engineering, share what you build, and connect with other learners.

  • Free resources: lesson files, notebooks and code

  • Ask questions and join engineering discussions

  • Meet real people learning and building with AI

Join free on Skool

Related course on Udemy

Claude Certified Developer - Professional (CCDV-P) Exam Prep

Claude agents in production: reliability, observability, evals, cost, guardrails and fleets.View on Udemy ↗: Claude Certified Developer - Professional (CCDV-P) Exam Prep (paid course, opens in a new tab)

Single logo

Empowering Education, One Course at a Time

About
About usContact us
Legal
Terms of UsePrivacy Policy

© 2026 StudyEasy Organization. All rights reserved.