Skip to content

Latest commit

 

History

History
423 lines (354 loc) · 35.8 KB

README.md

File metadata and controls

423 lines (354 loc) · 35.8 KB

Agent plugins

This tree packages VisionSet as a plugin for coding-agent clients. The plugin starts the local visionset mcp server and ships end-user skills; it holds no dataset logic. The rule, and what it rules out, is An agent plugin wraps the installed CLI.

Three things called "plugin" or "skill"

What Where Who it is for
Entry-point plugins: visionset.formats, visionset.preprocessing, visionset.providers pyproject.toml, installed Python distributions VisionSet itself, at runtime
Maintainer skills .agents/skills/, linked per tool by scripts/setup_agents.sh agents working on this repository
The agent plugin and its end-user skills this tree people using VisionSet from an agent client

setup_agents.sh never links a skill from this tree, and nothing here is loaded by the Python distribution.

Layout

Path What it is
metadata.json The one hand-edited source of the plugin's metadata, including the compatibility range =={VERSION}
../.claude-plugin/marketplace.json, ../.agents/plugins/marketplace.json The repository marketplaces for Claude Code and Codex, generated, validated against schemas/
packages/visionset/ The plugin root. Every client installs this directory, and nothing outside it
packages/visionset/.claude-plugin/plugin.json, .mcp.json Claude Code manifest and server declaration, generated
packages/visionset/.codex-plugin/plugin.json, codex.mcp.json Codex manifest and server declaration, generated
packages/visionset/gemini-extension.json Gemini CLI manifest and server declaration, generated; it must sit at the root of the release archive, so only the archive installs it
packages/visionset/README.md, assets/icon.png The plugin's own README, with the disclosure a directory listing needs, and its listing icon. Hand-written
packages/visionset/runtime/ The launcher, standard library only; bundle.json in it is generated and carries the rendered compatibility range
packages/visionset/runtime/launch.py The command both clients run (python3 -I runtime/launch.py): a prelude that parses on any Python 3, which refuses a Python older than 3.11 and runs launcher.py
packages/visionset/runtime/launcher.py Finds or builds the runtime within a bounded time, re-checks it and supervises visionset mcp
packages/visionset/runtime/discover.py Finds a compatible installed visionset: the VISIONSET_PLUGIN_EXECUTABLE override, then user, project and plugin-cached installs
packages/visionset/runtime/bootstrap.py Builds the plugin-owned runtime when discovery finds nothing: a private virtual environment under the plugin's data directory, populated by its own pip with the pinned visionset
packages/visionset/skills/ End-user skills, shared by every client; see "The skills" below
packages/visionset/reporting/policy.md The reporting policy, generated: the page with its relative links made absolute, so it reads the same from a client's cache. Edit the page and render again
packages/visionset/reporting/issue.py The report skill's helper, standard library only: checks the person's own gh, searches for duplicates, redacts a draft and creates one issue only with the digest of the text the person approved. See A report is published by the person
schemas/ Hand-written schemas for the files the generator emits, each citing its source
tools/ render_manifests.py (generator), build_archive.py (the reproducible Gemini release archive), validate_manifests.py (schema and containment check), validate_skills.py (the skills' rules)
tests/ Contract tests; they run on a bare interpreter and never import visionset

Install

The repository root carries one marketplace file for each client, generated from metadata.json and VERSION like the manifests. Both name agent-plugins/packages/visionset/. On main they pin the VERSION on main, so a GitHub install made between a version bump and the PyPI upload cannot bootstrap: the launcher cannot yet fetch that visionset.

Client Marketplace file Install
Claude Code .claude-plugin/marketplace.json claude plugin marketplace add Robomous/VisionSet, then claude plugin install visionset@visionset
Codex CLI .agents/plugins/marketplace.json codex plugin marketplace add Robomous/VisionSet, then codex plugin add visionset@visionset
Gemini CLI the release archive gemini extensions install https://github.com/Robomous/VisionSet --ref v<npm version>, from 0.0.1b6 (see "Gemini CLI")
Copilot CLI .claude-plugin/marketplace.json, unchanged copilot plugin marketplace add Robomous/VisionSet, then copilot plugin install visionset@visionset (see "Copilot CLI")

A workspace is needed in both (visionset init). Claude Code finds the nearest one at or above the project. Codex does not, so set VISIONSET_WORKSPACE to its absolute path in the environment Codex runs in. Without one the server still starts and its tools answer NOT_A_WORKSPACE; the agent's init_workspace tool creates one in an empty directory. The first start builds the plugin-owned runtime unless a compatible visionset is already installed (see "The plugin-owned runtime"); run python3 -I <plugin root>/runtime/launch.py --prepare first when a client's start timeout is short. Skills are /visionset:<name> in Claude Code and $visionset:<name> in Codex.

What was verified, on Linux x86_64 with Python 3.14 and visionset 0.0.1b5, in isolated profiles (CLAUDE_CONFIG_DIR, CODEX_HOME, HOME and the data directories in a temporary directory, env -i), installing from a clone of this branch added as a marketplace:

Claude Code 2.1.333 Codex CLI 0.172.0
claude plugin validate on the marketplace and the plugin passed n/a
Marketplace added, plugin installed yes yes, copied into $CODEX_HOME/plugins/cache
Six skills offered to the model visionset:annotate, explore, export, ingest, release, setup the same six
A real tools/call of list_projects through the client, answering the temporary workspace's project yes, from a project subdirectory yes, with VISIONSET_WORKSPACE set
The tools served no delete_project, delete_batch, delete_inference_connection or delete_preprocessing_recipe; delete_annotations present the same
No workspace (observed before #1457) server closed: claude mcp list reported CONNECTION_CLOSED, cached as a failure server not started; the launcher said to set VISIONSET_WORKSPACE. Since #1457 the server starts and answers NOT_A_WORKSPACE, checked over stdio only, not through either client
Plugin-owned runtime built from PyPI, no torch, transformers or mlflow in it yes, about 25 s yes, about 10 s with a warm pip cache; a start killed mid-build was cleaned up and rebuilt
A compatible visionset on PATH reused, no runtime created, that environment's package list unchanged yes yes
An incompatible visionset 0.0.1b2 in the real user tool directory ignored and left byte-identical yes, by running the launcher directly, not through the client not run

The model was a local stub that answered with a scripted tool call, so no provider account was used: the client's own discovery, launcher start, MCP handshake and tools/call ran for real, while a model choosing the tool, and any provider-authenticated path, were not verified.

Re-run for #1517 (2026-12-04), on Linux x86_64 with Python 3.13, Claude Code 2.1.337, Codex CLI 0.172.0 and visionset 0.1.0 reused from a virtual environment through VISIONSET_PLUGIN_EXECUTABLE, in isolated profiles with a local clone as the marketplace and a stub model:

Claude Code Codex CLI
Install and plugin validate / plugin list passed, 0.1.0 installed, 0.1.0
Skills offered to the model eight, including visionset:inference the same eight
Launcher start, 96 tools served Connected served on the second model turn
Real list_projects call through the client the project, from a subdirectory; NOT_A_WORKSPACE with no workspace the project with VISIONSET_WORKSPACE; NOT_A_WORKSPACE without

Over the generated launch command of each client, an MCP client script completed initialize and tools/list (no delete_project, delete_batch, delete_inference_connection or delete_preprocessing_recipe), then created a project and schema, ingested three images, approved and started the batch, read an image, added a box and listed it back. list_providers answered, and get_pre_label_plan and propose_annotations refused an unknown connection with INFERENCE_CONNECTION_NOT_FOUND. No propose or pre-label run happened: no connection or weights were installed. The launcher's own runtime build was not exercised in this run.

Not verified, so not claimed

  • The Robomous/VisionSet GitHub form of both commands. The marketplace files only exist on this branch; a local clone was added instead. Claude Code loaded a local directory marketplace's plugin in place rather than from its cache, so the cached copy was not exercised there; Codex ran from its cache copy.
  • Interactive Claude Code, its project-trust and plugin-approval prompts, and Codex's project trust levels. Codex desktop and IDE extensions, and every platform other than Linux x86_64.
  • A real model, including when it chooses these tools or the skills.
  • Claude Code skips a server it has recorded as failing to connect; delete $CLAUDE_CONFIG_DIR/mcp-needs-auth-cache.json or fix the cause and restart. A missing workspace is no longer one.

Gemini CLI

Gemini needs gemini-extension.json at the extension root, and the root of this repository is not that, so it installs from a release asset instead: visionset-gemini-extension-<version>.tar.gz holds the manifest, reporting/, runtime/ and skills/, attached to the GitHub Release by the same tag-bound release as the wheel. 0.0.1b6 is the first release to carry it. Gemini picks an asset by a <platform>. prefix when a release has several, so the archive is attached as linux.visionset-gemini-extension-<version>.tar.gz and darwin.visionset-gemini-extension-<version>.tar.gz, identical bytes. There is none for Windows. The server starts in your working directory, so the nearest workspace is found as in Claude Code; VISIONSET_WORKSPACE and the VISIONSET_PLUGIN_* variables reach it. Gemini starts no extension server in an untrusted folder, so trust the project first. Name the release tag with --ref v<npm version>: without a ref Gemini asks GitHub for the latest release, which is never a prerelease. The source is the full https://github.com/Robomous/VisionSet URL: Gemini 0.71.1 reads Robomous/VisionSet as a local path and refuses it together with --ref. On Windows no asset matches, Gemini falls back to the source tarball and fails with a "configuration file not found" no-manifest error. Skills appear in gemini extensions list.

Gemini CLI 0.71.1
Archive installed (gemini extensions install <extracted dir>), version 0.0.1-beta.5 yes
Six skills listed yes
gemini mcp list from a project subdirectory Connected, after the launcher built the runtime (once Disconnected on the first run, not isolated)
tools/call of list_projects through the manifest's own command yes, by an MCP client, not by Gemini: a model call needs an account
Uninstall removes the extension; plugin data directory and workspace byte-identical
Release asset choice with a wheel and an sdist beside it the function Gemini uses picked the <platform>. asset on Linux and macOS and none on Windows

Not verified: Gemini's own extensions install against a published release (none carries the archive yet), extensions update, a model choosing the tools or skills, macOS, Windows and Linux arm64.

Copilot CLI

Copilot CLI 1.0.117 reads the Claude Code marketplace file unchanged: the same two commands, run against a local clone of this repository rather than Robomous/VisionSet on GitHub, added it and installed the plugin with its six skills. There is no Copilot adapter. Not verified: that Copilot starts the server and makes a tool call (it needs an entitlement that was not available), that it expands ${CLAUDE_PLUGIN_ROOT} (its documentation promises ${PLUGIN_ROOT}), and VS Code. Use the MCP-only configuration in the MCP guide if the server does not start.

Upgrade and uninstall

A new version builds its own runtime beside the old one under the data root; nothing is rewritten in place, and the older runtime stays until the data root is removed. Your own visionset environments and your workspaces are never touched.

Client Upgrade Uninstall What is left to delete
Claude Code claude plugin marketplace update visionset, then claude plugin update visionset@visionset and restart claude plugin uninstall visionset@visionset Nothing: it deletes the plugin's data directory, every runtime with it, unless you pass --keep-data. A --prepare run in a terminal without VISIONSET_PLUGIN_DATA built under the OS default data root instead, which you delete as for Codex
Codex CLI codex plugin marketplace upgrade visionset (a Git marketplace; not verified), then codex plugin add visionset@visionset again codex plugin remove visionset@visionset The data root, ~/.local/share/visionset-agent-plugin on Linux and ~/Library/Application Support/visionset-agent-plugin on macOS, or your VISIONSET_PLUGIN_DATA
Gemini CLI gemini extensions update visionset (not verified) gemini extensions uninstall visionset The same data root as Codex
Copilot CLI as Claude Code, with copilot (not verified) copilot plugin uninstall visionset@visionset (not verified) Not verified; check both data roots

Verified on Linux x86_64 in isolated profiles against a local clone with the version bumped and committed between install and upgrade: Claude Code 2.1.334 and Codex CLI 0.172.0 each installed 0.0.1-beta.5, built its runtime, upgraded to 0.0.1-beta.6, built a second runtime beside the first without changing it, and uninstalled as the table says; the project directory was untouched. The Gemini row is the 0.71.1 evidence above; no Gemini or Copilot CLI was available for this run. Release maintainers: the archive is checked by python3 agent-plugins/tools/build_archive.py --out-dir <empty dir>, which the PyPI workflow runs; it packs only git-tracked files and refuses a symlink, an untracked file or a non-empty directory.

Directory submissions

Installing from this repository's own marketplaces (see "Install") is the only distribution that exists today. This section records what each provider's official documentation, read on 2026-12-05, says about listing the plugin in a provider-run directory, what is prepared, and what only a maintainer can do. Nothing has been submitted, no listing exists and no provider has reviewed the plugin. External acceptance is not part of 0.1.0.

Provider and route Open to this plugin? Prepared here Remaining external gate Next maintainer action
Claude Code, this repository's marketplace Yes, no review: "Once the file is in the repository, the plugin is published, with no submission form" (publish) Marketplace and manifest, validated by claude plugin validate None None; it is the claude plugin marketplace add Robomous/VisionSet route above
Anthropic plugin directory ("Plugin bundle" in the developer portal, https://claude.ai/directory/manage) Yes in principle: third-party plugins are accepted, and a local stdio server is eligible when bundled in a plugin (directory publish). Needs a paid Claude plan and a claude.ai account with a connected GitHub account that has push access Listing fields in plugin.json, a 512 px PNG icon, README.md that states what the plugin runs, sends and fetches, network.hosts, license; claude plugin validate reports no directory warning A human review of a new listing, and an automated security scan that claude plugin validate does not run. The launcher runs pip and installs a package, which the published checklist says is held for a reviewer, so expect a manual review rather than auto-publish. The portal's data-handling and compliance answers, and a contact email A maintainer submits at the portal, from the plugin folder, and answers the data-handling step from the plugin README.md. Confirm there that a plugin in the subfolder agent-plugins/packages/visionset is accepted as one submission; the docs do not say so, and claude plugin validate assumes the repository root is the plugin folder
Anthropic connectors directory No. Remote HTTPS MCP servers only: "A local server can't be submitted on its own; include it in a plugin instead", and local MCPB desktop extensions are no longer accepted (submission) Nothing, by design: VisionSet's MCP server stays local Not applicable None. Do not add a remote server
Codex CLI, this repository's marketplace Yes, no review: codex plugin marketplace add Robomous/VisionSet (build) Marketplace and manifest, verified by an install below None None
OpenAI public plugin directory (https://platform.openai.com/plugins, shared by ChatGPT and Codex) No, for this plugin. The self-serve route is for remote HTTPS MCP servers or skills-only plugins (submission); this one runs a local stdio server Nothing prepared: its required interface fields, composerIcon, logo and capabilities are not written, because no route accepts them The route needs a remote server, which VisionSet will not provide None unless the desktop-only route below opens
OpenAI desktop-only plugin with a local MCP server Not self-serve: "Local MCP submissions are limited to approved partners", confirmed through an OpenAI representative (desktop-only). No public application or criteria were found Nothing prepared: the route's own package (a mcp.json with ${PLUGIN_ROOT}, requires_local_executor, a ZIP) differs from this plugin's, and building it for a program this project is not in would be speculative An OpenAI organization verification and allowlisting by an OpenAI representative; the page also says a ZIP with lifecycle hooks cannot currently be submitted If a maintainer wants this route, contact OpenAI and ask for partner eligibility first; start the packaging only after an answer
Gemini CLI, release archive Yes, no review; unchanged Built and validated in CI, as in "Gemini CLI" None None; first published release still needs checking
Copilot CLI Reads the Claude Code marketplace file; no directory route evidenced Unchanged Not assessed None

Anthropic submission checklist

Done, and each checked by claude plugin validate agent-plugins/packages/visionset (2.1.337), which also runs the directory's metadata checks:

  • plugin.json carries name, description, version, author, license, homepage, repository, keywords, documentationUrl, supportUrl, privacyPolicyUrl, icon and network.hosts, all generated from metadata.json.
  • A square PNG icon of 512 px, under 2 MB, at assets/icon.png (the validator refuses SVG). The directory takes the file as the listing icon only the first time the plugin is saved or submitted, so a later change does not change the listing.
  • README.md in the plugin folder (at least 40 words) says what the plugin runs, fetches and sends, and its permissions.
  • MCP server declared by command and args, launching a file inside the plugin through ${CLAUDE_PLUGIN_ROOT}; no .mcpb, no python3 -c, no npx or uvx.
  • No file over 256 KiB, fewer than 512 files, no compiled or minified code in the plugin.
  • Tools are annotated read-only or destructive by the server, and the four deletion tools are withheld unless --allow-destructive is passed, which the plugin never does.

Left for a maintainer, because only the portal can answer them:

  • The data-handling answers: no personal data is read or stored by the plugin, nothing is sent to a service other than the hosts in network.hosts, and the plugin keeps no data of its own beyond the runtime under its data directory.
  • A contact email, the four acknowledgements, and the Anthropic Software Directory Terms and Policy (policy).
  • Whether the portal wants a standalone privacy page. privacyPolicyUrl points at the telemetry section of the security page, which says VisionSet sends none; the policy requires a link where software collects user data or connects to a remote service, which a local plugin arguably does not.
  • The security scan, the human review and a verified-organization status, none of which can be run or requested from here.

What was verified for #1269

On Linux x86_64 (Python 3.13), Claude Code 2.1.337 and Codex CLI 0.172.0, in isolated profiles (CLAUDE_CONFIG_DIR, CODEX_HOME, HOME and VISIONSET_PLUGIN_DATA in a temporary directory), with this branch as a local-directory marketplace and visionset 0.1.0 reused through VISIONSET_PLUGIN_EXECUTABLE:

Result
claude plugin validate on the marketplace and the plugin passed, with no directory warning
Claude Code: marketplace added, plugin installed 0.1.0, enabled
Claude Code: claude mcp list in a folder with a workspace, and in an empty folder (both marked trusted in the profile) Connected in both
Codex CLI: marketplace added, plugin installed from its cache 0.1.0, manifest with the keywords accepted
An MCP client over the generated launch command: initialize, tools/list, tools/call list_projects 96 tools, none of the four withheld deletions; the workspace answered {"items": [], "total": 0}; an empty folder answered NOT_A_WORKSPACE with a hint and no retry_with
Uninstall: claude plugin uninstall and marketplace remove, codex plugin remove both removed; the workspace was unchanged

Not run, so not claimed: a model choosing the tools or skills, Codex starting the server (the launch command was run by an MCP client, not by Codex), the Claude Code and Codex GitHub forms of the install commands, the launcher's own runtime build, and any directory scan or review.

Working on it

The version is never written here. It is the repository VERSION, mapped to semver the way the frontend packages map it (0.0.1b5 is 0.0.1-beta.5).

python3 agent-plugins/tools/render_manifests.py          # after editing metadata.json, VERSION or docs/content/reporting.md;
                                                         # also writes src/visionset/mcp/reporting.md
python3 agent-plugins/tools/render_manifests.py --check  # exit 1 when a generated file is stale
python3 agent-plugins/tools/validate_manifests.py
python3 agent-plugins/tools/validate_skills.py
python3 agent-plugins/tools/build_archive.py --out-dir /tmp/visionset-gemini  # the Gemini archive
bash scripts/check.sh agent-plugins                      # the tests, ruff and mypy, as CI runs them

Never edit a generated file by hand; change metadata.json or the generator and render again.

The plugin-owned runtime

bootstrap.py keeps its state under one data root: VISIONSET_PLUGIN_DATA, else CLAUDE_PLUGIN_DATA, else the user's data directory followed by visionset-agent-plugin.

Path under the data root What it is
runtimes/<base>-r<n>/venv/ One generation's virtual environment, where <base> is <version>-py<MAJOR><MINOR>-<tag>. Created in place and never moved. A broken generation is superseded by -r<n+1>, never rebuilt in place, and a generation holding any ready.json is never removed. One whose data root moved is superseded too. At most five directories per base
runtimes/<base>-r<n>/.owner, runtimes/<base>-r<n>/ready.json The ownership marker, written first, and the readiness sentinel, written last
runtimes/.trash-<base>-* An unpublished generation moved aside before removal
locks/<base>.lock The cross-process lock, inherited by every process that writes into a generation
logs/<base>.log Redacted output of every setup step, mode 0600
Variable Effect
VISIONSET_PLUGIN_DATA Absolute data root, for operators and tests
VISIONSET_PLUGIN_NO_BOOTSTRAP Any value except 0, false, no or off refuses to create a runtime and prints the manual pipx install command instead
PIP_INDEX_URL, PIP_EXTRA_INDEX_URL, PIP_FIND_LINKS, PIP_NO_INDEX, PIP_CONFIG_FILE and the other allow-listed index and network variables, pip.conf, netrc Honoured as pip honours them. Every other PIP_* variable is dropped, and a pip.conf that sets target, prefix, root, user and similar fails setup with BAD_PIP_CONFIG

A VISIONSET_PLUGIN_DATA inside the project is refused, even when the project is the home directory; CLAUDE_PLUGIN_DATA and the OS default under home are accepted there. A data root whose runtime path pip would have to hand to /bin/sh (it has a space, or its interpreter path is longer than 124 bytes on Linux) is refused with BAD_DATA_DIR when that path holds a character the shell would interpret, such as an apostrophe or $; set VISIONSET_PLUGIN_DATA to a plainer path. After GENERATIONS_EXHAUSTED, remove the superseded runtimes/<base>-r* directories by hand.

The rules, and what the tests prove, are in the decision record's "Settled by bootstrap" section. The real-install tests run on Linux, and one of them builds this checkout's wheel with uv build.

The launcher

launch.py never writes to stdout, which belongs to the MCP protocol; its messages and bootstrap's progress go to stderr, where clients keep a server's log. It never passes --workspace or --allow-destructive. The server gets PYTHONSAFEPATH=1, so a module planted in the project directory is never imported.

Exit Meaning
2 Unsupported OS (anything but Linux and macOS, so Windows too), Python older than 3.11, or an unknown argument
3 No runtime: none found, bootstrap failed or was turned off, another start's build held the lock for 300 s (LOCK_TIMEOUT), the start deadline passed, or the chosen file changed before it started
4 VISIONSET_PLUGIN_EXECUTABLE cannot be used; nothing else is tried
5 runtime/bundle.json is damaged; reinstall the plugin
other The server's own status, 128 plus the signal number when a signal ended it

The runtime is the normal visionset distribution, which includes local inference where the platform supports it. A first build downloads about 3 GB and uses about 5.5 GB on Linux x86_64 (CUDA wheels) and about 130 MB on Apple-silicon macOS, so the install deadline is 1800 s and the lock wait 2400 s. The plugin adds no compatibility logic: a platform the runtime does not support gets typed refusals from the server (list_providers reports them), and the skills tell the agent to report them rather than work around them. Weights are never downloaded by a build.

Run python3 -I <plugin root>/runtime/launch.py --prepare once to build the runtime ahead of time. A first build can take longer than a client waits. A normal start gives up on its own after the launcher's start deadline (2910 s), stopping its pip, and Codex waits up to the 3000 s the declaration asks for, which the generator derives from that deadline. Claude Code waits MCP_TIMEOUT milliseconds (30000 by default), which only the user can raise. A terminal has no CLAUDE_PLUGIN_DATA, so a --prepare build there is reused by Claude Code only when VISIONSET_PLUGIN_DATA names the same directory in the terminal and in Claude Code's environment. Under Codex the server falls back to the user's data directory, but its declaration does not forward XDG_DATA_HOME, so the same holds for a terminal that sets it.

Which workspace. The usual rule applies (VISIONSET_WORKSPACE, then the nearest workspace at or above the server's working directory). Claude Code starts the server in the project, so a workspace there, or above it, is found. Codex starts it in the plugin's own directory, which says nothing about the project and is never searched, so Codex users set VISIONSET_WORKSPACE to the workspace's absolute path in the environment Codex runs in; the launcher says so on stderr when it is missing.

The override. VISIONSET_PLUGIN_EXECUTABLE is used only when it is absolute; it, and the file it links to, lie outside the checkout of the named project and of the directory the client started in; it is a regular executable file; and it, every directory above the file and above the link up to the root, and every symbolic link on the way, is owned by you or root, carries no POSIX access list, and is writable by no one else. Your group may write when no other account belongs to it (the per-user groups of Ubuntu's 002 umask), not when it is shared, like macOS's staff. A directory with the sticky bit, like /tmp, may be writable by everyone, but its owner is still checked. Access lists cannot be read on macOS, so there none is assumed. No binary inside the project's checkout is ever run otherwise, because no client tells a server that the project is trusted.

Codex passes a server almost nothing. Its declaration names, in env_vars, the variables the plugin reads: VISIONSET_WORKSPACE, the VISIONSET_PLUGIN_* variables, the proxy variables and bootstrap's PIP_* allow-list. Anything else the server needs, such as MLflow settings, goes into your own Codex configuration.

A manual visionset server as well as the plugin. In Claude Code the manual entry hides the plugin's server only when both commands are identical; otherwise both run. In Codex a trusted project's [mcp_servers.visionset] replaces the plugin's. Keep one of the two.

The skills

Eight skills ship in packages/visionset/skills/, one directory each. Claude Code finds them without a manifest key and invokes them as /visionset:<name>; Codex reads "skills" from its manifest and invokes them as $visionset:<name>.

Skill Use it for Changes anything
setup Missing tools, a server that will not start, the wrong workspace, which deletions are unavailable No
explore What a workspace, project, batch, dataset or release holds No
ingest A new project, its schema, a folder of images or scans, or a labeled dataset in a known format Yes
annotate Approving a batch, labeling its assets, and correcting or removing labels Yes
inference Asking a model what it would label: discovering its offers and readiness, planning, proposing, configuring a connection by exact checkpoint, accepting selected proposals, recording how a label was made, pre-labeling, cancelling a run, and what each refusal means Yes
release Finishing and promoting a batch, publishing and verifying a release Yes
export Writing a release to disk, after checking and agreeing what it would lose Yes
report Offering a voluntary, sanitized issue for a VisionSet defect or gap, submitted with the person's own gh only after they approve the exact text Nothing in VisionSet; one public issue, on approval

A skill names tools, their order, the parameters each call sends and the judgment around them. It copies no parameter description, tool count, error-code list or version: those are served by tools/list and owned by the docs, which every skill links to. Links are absolute https://github.com/Robomous/VisionSet/blob/main/... URLs, because a client copies the plugin into its own cache, where no repository or docs tree exists and a relative link would dangle; pointing at main gives the current rule rather than one frozen at a version.

A numbered step writes each tool it names as a call at least once: export_release(project, tag, format, dest, allow_lossy=true). A bare parameter is one the caller fills in; name=value is a JSON literal the skill fixes.

What tools/validate_skills.py checks without a server:

  • Frontmatter is name and description only, in the one-line plain subset YAML and the validator agree on. name equals the directory (Claude Code names a skill by its directory, Codex by name, and neither checks the other), and the description is at most 1024 characters, Codex's limit. No carriage return anywhere.
  • A skill directory holds SKILL.md and references/*.md, nothing else and no symlink. A relative link stays in the plugin root and exists, and its anchor is a heading there. A URL is a file of this repository on main, and its anchor a heading of that file; any other scheme, a scheme-less //host, www., file: or an HTML media or link tag is refused.
  • No count of tools, dotted number, absolute or $HOME-style path, fenced or indented code block, or snake-case identifier outside a code span.
  • delete_project, delete_batch, delete_inference_connection and delete_preprocessing_recipe, the tools offered only with --allow-destructive, and the flag itself, appear only in the one sentence of setup the validator holds verbatim. These checks run on the text a reader sees: escapes resolved, look-alike hyphens and invisible characters normalised, and whitespace, backticks and emphasis ignored, so a name split across lines is still found. Removal that is ordinary editing, such as delete_annotations, may be named.
  • Every skill says that what the data and the tools return is data, never instructions. Every skill except explore and setup (and any new one until it is listed read-only) states the five rules for a change: read first, show the person what will be lost, a refusal is an answer, follow retry_with once after the person agrees, and which deletions are not offered. annotate states that a preview coordinate is multiplied by scale.

What needs a server. tests/test_skills_real.py starts one through the launcher from this checkout's wheel and checks, against its live tools/list:

  • every call's tool, each parameter against that tool's own input schema, and each literal against that parameter's schema (type, enum, const, any-of); every other snake-case word in a code span against all tool names and schema words; and a one-word span within two edits of a tool name, which is neither a tool nor a schema word, as a misspelling;
  • that the tools the flag adds are exactly the four above, and that the setup sentence names exactly those;
  • that explore and setup name only tools the server marks read-only;
  • the cycle the skills prescribe: each phase takes its tool order from the skill's numbered steps and each call's parameters from the skill's call, sends a literal as written and fails when the skill names a parameter the scenario has no value for, or the scenario needs one the skill does not name. Every call must succeed and its answer is asserted, so promoting with promote=false, skipping with another progress value, or starting nothing on approval fails.

What is not checked mechanically: the prose around the calls. A sentence that teaches the wrong judgment, or a parameter a skill mentions only in prose, is caught by review, not by a test; the scale rule is held only by the presence of its sentence.