Plugin Structure

Plugin Structure is a skill for Claude Code, Codex from timgranlundmarsden/claude-agent-flow. It costs 92 tokens per session (3,217 once invoked), scanned A, original, no licence file.

Guidance for creating and organizing coding-agent plugins, including their manifest and components.

In plain words
What is it for?
Use it to scaffold plugins, configure plugin.json, organize plugin directories, and set up supported plugin components.
Why use it?
It helps developers understand where plugin files belong and how components such as commands, agents, skills, and hooks are discovered.

Skill for Claude CodeCodex

Part of the agent-flow plugin — 26 skills, 14 commands, 2 agents, 2 hooks, 1 MCP server shipped together

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.

agentmods
npx agentmods add skills/timgranlundmarsden/claude-agent-flow/plugin-structure
Any agent
npx skills add timgranlundmarsden/claude-agent-flow --skill plugin-structure
Clone the repo
git clone --depth 1 https://github.com/timgranlundmarsden/claude-agent-flow

Made for: Claude Code, Codex.

Or install agent-flow, the plugin that ships this one along with the rest of its 26 skills, 14 commands, 2 agents, 2 hooks, 1 MCP server.

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 Plugin Structure

README.md
[![agentmods](https://agentmods.dev/badge/skills/timgranlundmarsden/claude-agent-flow/plugin-structure.svg)](https://agentmods.dev/skills/timgranlundmarsden/claude-agent-flow/plugin-structure)
Your own site
<a href="https://agentmods.dev/skills/timgranlundmarsden/claude-agent-flow/plugin-structure"><img src="https://agentmods.dev/badge/skills/timgranlundmarsden/claude-agent-flow/plugin-structure.svg" alt="Measured on agentmods" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,217 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00092 $0.03217
Opus 5 $0.00046 $0.01608
Sonnet 5 $0.00018 $0.00643
Haiku 4.5 $0.00009 $0.00322

Measured 4d ago against content hash ee28fd415353, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

Plugin Structure scanned grade A with 0 findings 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 4d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/plugin-structure/SKILL.md · 477 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 4d ago First seen · 477 lines · 92 tokens per session scan A ee28fd415353

Subscribe to this mod's changes

Plugin Structure is a skill published in the GitHub repository timgranlundmarsden/claude-agent-flow (2 stars, last pushed 3mo ago), with no licence file. It adds 92 tokens to every session and 3,217 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

first-principles

Break down complex problems to their fundamental truths, then reason up from there. Master Aristotle's ancient method modernized by Elon Musk to solve seemingly impossible problems. Use when: Facing a "impossible" problem where conventional solutions don't work; Challenging industry assumptions that everyone accepts…

martineserios/thebrana · 99 tokens

pre-mortem

Imagine your project has failed spectacularly—then work backward to identify why. Apply Gary Klein's "prospective hindsight" technique to catch failures before they happen. Use when: Before launching a product, campaign, or major initiative; Before making an important decision (hiring, investment, partnership)…

martineserios/thebrana · 104 tokens

second-order-thinking

Think beyond immediate consequences to understand the chain reactions of decisions. Master Howard Marks' investment framework for seeing what others miss. Use when: Strategic decisions where long-term consequences matter; Policy/rule changes that will trigger behavioral responses; Competitive moves to anticipate…

martineserios/thebrana · 82 tokens

six-thinking-hats

Apply Edward de Bono's parallel thinking framework (1985) to make better decisions by examining ideas from six distinct perspectives systematically. Use when: Making complex decisions that require multiple perspectives; Evaluating new products, offers, or strategies before launch; Breaking out of analysis paralysis…

martineserios/thebrana · 91 tokens

inversion

"Invert, always invert." Apply Carl Jacobi's mathematical principle and Charlie Munger's investing wisdom to solve problems by thinking backward from failure. Use when: Goal setting - Define what would guarantee failure, then avoid it; Risk analysis - Identify what could destroy your project before starting; Decision…

martineserios/thebrana · 96 tokens

fastapi

FastAPI best practices + Pydantic. Use when building or reviewing FastAPI APIs.

martineserios/thebrana · 21 tokens