inventree-devcontainer-testing

inventree-devcontainer-testing is a skill for Claude Code, Codex from jrobelia/inventree-plugin-ai-toolkit. It costs 49 tokens per session (1,419 once invoked), scanned A, original, MIT.

A testing setup for InvenTree plugins that runs inside a Docker development container. InvenTree is the application these plugins extend, and a devcontainer is a prepared development environment.

In plain words
What is it for?
It helps run linting, unit and integration tests, frontend builds, and end-to-end tests through a plugin's test-all.sh script.
Why use it?
It provides one documented process for checking the container setup and running the plugin's different test layers.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument; installed under .agents/ (shared by several agents).

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is docker compose -f .devcontainer/docker-compose.yml -f .devcontainer/docker-compose.frontend-volumes.yml exec -u vscode toolkit bash -c "cd /workspace && bash .d.

Good fit It helps run linting, unit and integration tests, frontend builds, and end-to-end…

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/inventree-devcontainer-testing

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 inventree-devcontainer-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/jrobelia/inventree-plugin-ai-toolkit/inventree-devcontainer-testing.svg)](https://agentmods.dev/skills/jrobelia/inventree-plugin-ai-toolkit/inventree-devcontainer-testing)
Your own site
<a href="https://agentmods.dev/skills/jrobelia/inventree-plugin-ai-toolkit/inventree-devcontainer-testing"><img src="https://agentmods.dev/badge/skills/jrobelia/inventree-plugin-ai-toolkit/inventree-devcontainer-testing.svg" alt="Measured on agentmods" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,419 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.
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.00049 $0.01419
Opus 5 $0.00024 $0.00709
Sonnet 5 $0.00010 $0.00284
Haiku 4.5 $0.00005 $0.00142

Measured 6d ago against content hash 2934412361a4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

inventree-devcontainer-testing 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 6d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

docker compose -f .devcontainer/docker-compose.yml -f .devcontainer/docker-compose.frontend-volumes.yml exec -u vscode toolkit bash -c "for i in {1..60}; do curl -s -o /dev/null -w '%{http_code}' http://localhost:8001/ap
.agents/skills/inventree-devcontainer-testing/SKILL.md · 81 lines

How it starts

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

InvenTree Plugin AI Toolkit devcontainer testing

Use this skill when asked to validate the devcontainer setup or run a plugin's test-all.sh inside inventree-plugin-ai-toolkit.

Devin Secrets Needed

  • GITHUB_TOKEN may be needed if the test process clones public plugin repos from GitHub at high frequency.

Environment assumptions

  • Host is Windows with Docker Desktop/WSL2 backend.
  • Docker Desktop service may be stopped at session start; start com.docker.service before any docker commands.
  • Repo is at C:\Users\Administrator\repos\inventree-plugin-ai-toolkit (also /workspace in the container).
  • Submodules and plugin clones under plugins/ should already be populated.
  • On Windows, files may be checked out with CRLF. Set core.autocrlf false / core.eol lf and normalize *.sh and plugin frontend/src/**/*.{ts,tsx} before running bash scripts.

Quick start

  1. Start Docker Desktop service if necessary:

    Start-Service -Name com.docker.service
    
  2. Bring up the devcontainer:

    docker compose -f .devcontainer/docker-compose.yml -f .devcontainer/docker-compose.frontend-volumes.yml up -d --build
    
  3. Normalize line endings (run inside the container after submodules/plugin repos are populated):

    docker compose -f .devcontainer/docker-compose.yml -f .devcontainer/docker-compose.frontend-volumes.yml exec -u vscode toolkit bash -c "git config --global core.autocrlf false && git config --global core.eol lf && find /workspace -path '*/.git' -prune -o -path '*/node_modules' -prune -o -name '*.sh' -print0 | xargs -0 -r sed -i 's/\\r$//' && find /workspace/plugins -path '*/node_modules' -prune -o -path '*/frontend/src*' -name '*.ts' -print0 | xargs -0 -r sed -i 's/\\r$//' && find /workspace/plugins -path '*/node_modules' -prune -o -path '*/frontend/src*' -name '*.tsx' -print0 | xargs -0 -r sed -i 's/\\r$//'"
    
  4. Run the post-create setup inside the toolkit container:

    docker compose -f .devcontainer/docker-compose.yml -f .devcontainer/docker-compose.frontend-volumes.yml exec -u vscode toolkit bash -c "cd /workspace && bash .devcontainer/postCreateCommand.sh"
    

Read the full file on GitHub · 81 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. 6d ago First seen · 81 lines · 49 tokens per session scan A 2934412361a4

Subscribe to this mod's changes

inventree-devcontainer-testing is a skill published in the GitHub repository jrobelia/inventree-plugin-ai-toolkit (1 stars, last pushed 19d ago), licensed MIT. It adds 49 tokens to every session and 1,419 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

testing-patterns

Testing patterns for unit, integration, and end-to-end tests. Use when writing tests, setting up test fixtures, or validating RLS enforcement. Routes to existing test conventions.

bybren-llc/safe-agentic-workflow · 39 tokens

test-writer

Write tests with TDD following structured patterns. Ensures consistent AAA structure, proper coverage targets, and framework-specific conventions. Without this skill, tests lack consistent naming, miss coverage targets, and skip anti-pattern checks.

nguyenthienthanh/aura-frog · 47 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