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,584 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 tests through a plugin's test-all.sh script.

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

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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,584 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.01584
Opus 5.5 $0.00020 $0.00634
Sonnet 5.5 $0.00010 $0.00317
Haiku 4.5 $0.00005 $0.00158

Measured 27d ago against content hash f9c8e7944995, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 27d 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 · 91 lines

How it starts

The opening of the file, as written. The whole thing — 91 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 may not be running; verify the daemon answers docker info first (Quick start step 1).
  • Repo root is the folder containing .devcontainer/; it mounts as /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. Ensure the Docker daemon is up — docker info must exit 0. If it fails, start Docker Desktop and wait for the engine (~30-90 s cold):

    Start-Process "C:\Program Files\Docker\Docker\Docker Desktop.exe"
    docker info 2>$null | Out-Null
    while ($LASTEXITCODE -ne 0) { Start-Sleep 2; docker info 2>$null | Out-Null }
    

    bash equivalent:

    if ! docker info >/dev/null 2>&1; then
      ("/c/Program Files/Docker/Docker/Docker Desktop.exe" &)
      for i in $(seq 1 90); do docker info >/dev/null 2>&1 && break; sleep 2; done
    fi
    

    Start-Service com.docker.service alone does not start the engine — the app must run.

  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$//'"
    

Read the full file on GitHub · 91 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. 27d ago Changed · +10 lines f9c8e7944995
  2. 1mo 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 27d ago), licensed MIT. It adds 49 tokens to every session and 1,584 once invoked, about $0.0002 per session on Opus 5.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 · 156 tokens

ai-test-planner

Plan and write the tests for a feature, bottom-up. Everything that code or the CLI can verify (pure logic, API endpoints, DB constraints, auth/role rules) is tested without a browser. UI end-to-end tests come last and cover only what the lower layers can't. Use when the user asks to plan tests, write tests, or add…

arcasilesgroup/ai-engineering · 95 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 · 147 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 · 136 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 · 169 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 · 131 tokens