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 (1,928 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 1,928 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.01928
Opus 5 $0.00022 $0.00964
Sonnet 5 $0.00009 $0.00386
Haiku 4.5 $0.00004 $0.00193

Measured 10d ago against content hash d0883be7f249, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 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.

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 · 211 lines

How it starts

The opening of the file, as written. The whole thing — 211 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 · 211 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. 10d 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 23d ago), licensed MIT. It adds 43 tokens to every session and 1,928 once invoked, about $0.0002 per session on Opus 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

Other skills, from other repositories

dotnet-testing-advanced-tunit-advanced

A guide for advanced TUnit testing in .NET. TUnit is a testing framework; the guide covers tests driven by data, dependency injection, integration tests, retries, time limits, and filtering.

kevintsengtw/dotnet-testing-agent-skills · 211 tokens

dotnet-testing-autodata-xunit-integration

A guide for using AutoFixture, a .NET library that creates test data, with xUnit, a .NET testing framework. It explains attributes such as AutoData, InlineAutoData, and MemberAutoData for supplying values to parameterized tests.

kevintsengtw/dotnet-testing-agent-skills · 181 tokens

dotnet-testing-autofixture-nsubstitute-integration

A .NET testing guide for using AutoFixture and NSubstitute to automatically create test data and substitute versions of dependencies.

kevintsengtw/dotnet-testing-agent-skills · 217 tokens

dotnet-testing-bogus-fake-data

A guide to Bogus, a .NET library for generating realistic fake data such as names, addresses, phone numbers, emails, and product records. It shows how to define generation rules and create one or many records.

kevintsengtw/dotnet-testing-agent-skills · 178 tokens

dotnet-testing-advanced-aspire-testing

A guide to testing .NET Aspire distributed applications, which are programs made of several coordinated services. It covers tests that run the real service setup through an AppHost, the project that describes how those services are arranged.

kevintsengtw/dotnet-testing-agent-skills · 193 tokens

dotnet-testing-advanced

A guide that routes advanced .NET testing questions to the right specialist instructions. It covers API and integration tests, database and other container-based tests, microservices, .NET Aspire, and related testing tools.

kevintsengtw/dotnet-testing-agent-skills · 254 tokens