new-inventree-plugin

new-inventree-plugin is a skill for Claude Code, Codex from jrobelia/inventree-plugin-ai-toolkit. It costs 43 tokens per session (2,059 once invoked), scanned C, original, MIT.

A setup guide for creating a new InvenTree plugin, which adds custom features to the InvenTree inventory-management system.

In plain words
What is it for?
Use it to plan a plugin, create its basic files, add a test scaffold, and verify the result in the required development environment.
Why use it?
It gives the agent a clear sequence for planning, generating, testing, and checking a plugin instead of starting from an incomplete template.

Skill for Claude CodeCodex

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python plugin_creator/main.py.

Good fit Use it to plan a plugin, create its basic files, add a test scaffold, and verify the result in the required development environment.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/jrobelia/inventree-plugin-ai-toolkit
agentmods
npx agentmods add skills/jrobelia/inventree-plugin-ai-toolkit/new-inventree-plugin

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 new-inventree-plugin

README.md
[![agentmods](https://agentmods.dev/badge/skills/jrobelia/inventree-plugin-ai-toolkit/new-inventree-plugin/github.svg)](https://agentmods.dev/skills/jrobelia/inventree-plugin-ai-toolkit/new-inventree-plugin)
Your own site
<a href="https://agentmods.dev/skills/jrobelia/inventree-plugin-ai-toolkit/new-inventree-plugin"><img src="https://agentmods.dev/badge/skills/jrobelia/inventree-plugin-ai-toolkit/new-inventree-plugin/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 new-inventree-plugin

Your own site · 80×15
<a href="https://agentmods.dev/skills/jrobelia/inventree-plugin-ai-toolkit/new-inventree-plugin"><img src="https://agentmods.dev/badge/skills/jrobelia/inventree-plugin-ai-toolkit/new-inventree-plugin.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,059 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00043 $0.02059
Opus 5.5 $0.00017 $0.00824
Sonnet 5.5 $0.00009 $0.00412
Haiku 4.5 $0.00004 $0.00206

Measured 2mo ago against content hash 6f68751172a8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

new-inventree-plugin scanned grade C 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 2mo 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf /workspace/plugins/<plugin-name>/.github/workflows
.devin/skills/new-inventree-plugin/SKILL.md · 213 lines

How it starts

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

New InvenTree Plugin Skill

Purpose: Agent-driven scaffolding for new InvenTree plugins


Overview

This skill guides an AI agent through creating a new InvenTree plugin from scratch. The agent first reaches a clear plan, then runs plugin-creator, explicitly opts out of CI, applies the toolkit's plugin-templates/ test scaffold, and verifies the result.


Prerequisites

Complete the initial setup in SETUP.md before using this skill. This includes:

  • Docker Desktop installed and running
  • VS Code with Dev Containers extension (or the CLI docker compose path)
  • Devcontainer open and running
  • reference/plugin-creator submodule initialized

For automated command execution (Docker exec), see SESSION-ONBOARDING.md.


Workflow

1. Plan the Plugin

Do not run plugin-creator until the plugin's purpose and shape are clear. If the user has not already produced a plan doc, invoke /wayfinder (or an equivalent planning mode) to produce one.

The plan doc must include enough information to answer every plugin-creator prompt:

  • Plugin name (kebab-case)
  • Human-readable name and description
  • Author / license
  • Required InvenTree mixins (e.g., EventMixin, NavigationMixin, UserInterfaceMixin, SettingsMixin)
  • Frontend needs: panels, dashboard items, buttons, spotlight actions, etc.
  • Whether the plugin is headless (no React frontend) or UI/hybrid (has a frontend/ package)
  • API endpoints and DRF serializers (if any)
  • Database models and plugin settings (if any)
  • Test fixtures or part IDs the E2E tests will need

Only proceed once the user confirms the plan is complete enough to scaffold.

2. Determine the Module Name

From the plan, determine the Python module name. This is usually the package_name produced by plugin-creator (the directory inside the plugin root that will contain __init__.py and core.py).

Use <MODULE_NAME> in all commands below.

Read the full file on GitHub · 213 lines

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. 2mo ago Changed · +2 lines 6f68751172a8
  2. 3mo ago First seen · 211 lines · 43 tokens per session scan C d0883be7f249

Subscribe to this mod's changes

new-inventree-plugin is a skill published in the GitHub repository jrobelia/inventree-plugin-ai-toolkit (1 stars, last pushed 2mo ago), licensed MIT. It adds 43 tokens to every session and 2,059 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

new-inventree-plugin compared with skills from other repositories

new-inventree-plugin next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
new-inventree-pluginjrobelia/inventree-plugin-ai-toolkitSkill12mo agoMITC43Claude Code, Codex
dotnet-testing-advanced-tunit-advancedkevintsengtw/dotnet-testing-agent-skillsSkill301mo agoMITA156Claude Code, Codex
dotnet-testing-advanced-aspire-testingkevintsengtw/dotnet-testing-agent-skillsSkill301mo agoMITA147Claude Code, Codex
dotnet-testing-autodata-xunit-integrationkevintsengtw/dotnet-testing-agent-skillsSkill301mo agoMITA136Claude Code, Codex
dotnet-testing-autofixture-nsubstitute-integrationkevintsengtw/dotnet-testing-agent-skillsSkill301mo agoMITA169Claude Code, Codex
dotnet-testing-awesome-assertions-guidekevintsengtw/dotnet-testing-agent-skillsSkill301mo agoMITA150Claude Code, Codex
dotnet-testing-bogus-fake-datakevintsengtw/dotnet-testing-agent-skillsSkill301mo agoMITA131Claude Code, Codex