backend-plugin-architecture

backend-plugin-architecture is a skill for Claude Code, Codex from j4flmao/agent-skills. It costs 109 tokens per session (3,708 once invoked), scanned A, original, MIT.

A guide to building a backend that can accept add-ons through defined extension points. Plugins are separate pieces of code that add features without changing the host application's core.

In plain words
What is it for?
Use it to design plugin APIs, service-provider interfaces, plugin loaders, lifecycle rules, and security boundaries.
Why use it?
It helps keep the main application modular while allowing third-party or internal extensions. It also addresses how plugins are loaded and isolated.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit Use it to design plugin APIs, service-provider interfaces, plugin loaders, lifecycle rules, and security boundaries.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/j4flmao/agent-skills/plugin-architecture
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add j4flmao/agent-skills --skill plugin-architecture
Clone the repo
git clone --depth 1 https://github.com/j4flmao/agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for backend-plugin-architecture

README.md
[![agentmods](https://agentmods.dev/badge/skills/j4flmao/agent-skills/plugin-architecture/github.svg)](https://agentmods.dev/skills/j4flmao/agent-skills/plugin-architecture)
Your own site
<a href="https://agentmods.dev/skills/j4flmao/agent-skills/plugin-architecture"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/plugin-architecture/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for backend-plugin-architecture

Your own site · 80×15
<a href="https://agentmods.dev/skills/j4flmao/agent-skills/plugin-architecture"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/plugin-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 109 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,708 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium analysis-evasion · line 1
    Suspicious Unicode normalization or mixed-script content
    Fix: Review the flagged content for security risks. Ensure no credentials, secrets, or sensitive data are exposed.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00109 $0.03708
Opus 5.5 $0.00044 $0.01483
Sonnet 5.5 $0.00022 $0.00742
Haiku 4.5 $0.00011 $0.00371

Measured 10d ago against content hash 7c7fef714ca4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

backend-plugin-architecture scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

// Process isolation (Node.js child_process)
skills/backend/universal/plugin-architecture/SKILL.md · 502 lines

How it starts

The opening of the file, as written. The whole thing — 502 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Backend Plugin Architecture

Purpose

Design extensible backend systems where third-party code (plugins) can be loaded dynamically at runtime through well-defined extension points and service provider interfaces (SPI). A plugin architecture enables the host application to be extended without modifying its core code.

Agent Protocol

Trigger

Exact user phrases: "plugin system", "plugin architecture", "extension point", "SPI", "service provider interface", "hot-plug", "modular design", "plugin loader", "extensible", "plugin API", "custom extension", "plug-in", "dynamic loading".

Input Context

  • What the host application does and where extensibility is needed.
  • Language/runtime (supports dynamic loading?).
  • Security requirements for plugin isolation.

Output Artifact

Plugin system design or implementation code. No file unless requested.

Response Format

Extension Point: {name}
SPI: {interface/contract}
Loading: {dynamic|compile-time|classpath}
Isolation: {classloader|process|container}

Completion Criteria

  • Extension points defined and documented.
  • SPI interface created for each extension point.
  • Plugin loader implemented.
  • Plugin lifecycle (load, init, start, stop, destroy) managed.
  • Isolation and security boundaries established.

Max Response Length

3 lines per extension point. 20 lines for full system.

Architecture Decision Tree

Should I Build a Plugin System?

Do you need to support third-party extensions?
  ├── Yes → Plugin architecture
  └── No → Can the functionality be handled by configuration?
            ├── Yes → Use configuration, not plugins
            └── No → Is the extension point stable (won't change monthly)?
                      ├── Yes → Plugin architecture is appropriate
                      └── No → Plugin API will need constant breaking changes — reconsider

Plugin Loading Strategy

Can plugins be loaded at runtime without restart?
  ├── Yes → Dynamic loading (hot-plug)
  │   ├── Language supports dynamic loading (JS, Python, Java, .NET, Go plugins)
  │   ├── Plugin discovery via file system scanning or registry
  │   └── Risk: Version conflicts, dependency hell
  └── No → Compile-time loading
      ├── Simpler, safer, no runtime isolation concerns
      ├── Requires recompile/redeploy for new plugins
      └── Use when: Plugin churn is low, safety is critical

Read the full file on GitHub · 502 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago Changed · -1 lines 7c7fef714ca4
  2. 2mo ago First seen · 503 lines · 109 tokens per session scan A 2324e2e6d398

Subscribe to this mod's changes

backend-plugin-architecture is a skill published in the GitHub repository j4flmao/agent-skills (38 stars, last pushed 3d ago), licensed MIT. It adds 109 tokens to every session and 3,708 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

backend-plugin-architecture compared with skills from other repositories

backend-plugin-architecture next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
backend-plugin-architecturej4flmao/agent-skillsSkill383d agoMITA109Claude Code, Codex
architecture-paradigm-microkernelathola/claude-night-marketSkill348yesterdayMITA32Claude Code
architecture-paradigm-service-basedathola/claude-night-marketSkill348yesterdayMITA32Claude Code
plugin-systemellmos-ai/skillsSkill94d agoMITA27Claude Code, Codex
opentelemetrybobmatnyc/claude-mpm-skillsSkill783mo agoMITA29Claude Code
laravelrawveg/skillsforge-marketplaceSkill408mo agononeA14Claude Code
pinterest-apirawveg/skillsforge-marketplaceSkill408mo agononeA17Claude Code, Codex