Skip to content

loganvolkers/toolbox-operator

v0.0.0MIT

Pre-release skeleton. Skills and a local MCP server for operators building, testing, planning and running a Toolbox internal developer portal as code.

actions

Lists the actions available on one entity. Use when an agent might change an entity through the portal, and after the server is up.

add-permission

Change who can see or do what in a Toolbox portal. Edits OpenFGA model modules (authz/*.fga, fga.mod), .fga.yaml tests, derivation rules from catalog relations, facets and CODEOWNERS-backed claims. Use when changing permissions, roles, access control, ReBAC, OpenFGA models or fga.yaml tests.

add-scorecard

Add or change a Toolbox scorecard, its CEL rules, levels, waivers or visibility (summary vs details facets and declassification). Use when asked to create standards, maturity levels, production readiness checks or scorecard rules in a Toolbox portal.

assess-brief

Prints the rubric, the entity's facts, the subject hash and the assessment file path for one entity. Use when asked to assess, re-assess, or judge a Toolbox entity, and when a review says an entity is unassessed or stale.

assess-check

Validates a portal's assessment files and lists, per rubric, which entities are fresh, stale or missing. Use when checking assessments for drift, and before trusting a committed judgement.

assess-entity

Assess a Toolbox entity (a rule, scorecard, crate, workflow or anything a portal has a rubric for) against the portal's rubric, and record the judgement as an assessment file or in the portal's database. Use when asked to review, judge or assess standards, scorecards, rules or components, or when a review-* scorecard says an entity is unassessed or stale.

assess-submit

Validates assessment files and pushes them to a running server as assessment records. Use when a portal stores assessments in Postgres rather than in the repository.

author-connector

Write a Toolbox stdio connector (SaaS or otherwise) with the Rust SDK: Source, portal stub, connector test, and a one-shot record dump. Use when creating or fixing a connector binary, or when toolbox connector test needs a portal.

campaign

Prints campaign progress over existing scorecards: how many entities meet the goal, and the paydown since each campaign's recorded start, in entities and in its measure. Use when checking a time-bound focus area, in a repo portal or against a server. With no name, it prints every campaign in one run.

connector-drive

Drives a connector binary over stdio for one resync and prints record NDJSON. Use when dumping what a connector emits without a portal, or instead of hand-writing stdio command JSON.

connector-records

Prints one resync of a portal connector's records as NDJSON, including each lint record's command and slot. Use to see exactly what a tool reported before any rule read it, or to rerun a tool on its own.

connector-test

Runs the connector conformance kit against a connector binary over stdio. Use when a connector crate changed, and before calling that connector done.

derive

Recomputes derived state from fixtures and prints a summary, or writes the reference-format files. Use when checking a portal's derived output, and before regenerating expected files.

describe-portal

Prints a portal's kinds, fields, connectors, scorecards and rules as records. Use when inspecting a portal's model, and when a meta scorecard needs those records.

doctor

Checks that every in-image connector resolves and every declared tool is at its pinned version. Use when a portal should be runnable, and after install.

explain

Explains why a field has its value, or why a rule passes or fails. Use when a score is surprising, and after the server is up.

find-tools

Finds the tools a repository already uses (linters, scanners, formatters, its own check scripts) and decides, candidate by candidate, which belong in the box and through which slot. Use when setting up a repo portal, before writing a new standard or connector extractor, or when asked what Toolbox could carry for a repository.

get

Reads one entity from a running portal, including where each field came from. Use when an agent needs the current value of one id, and after the server is up.

graph

Lists the neighbours of one entity. Use when an agent needs relations around an id, and after the server is up.

install

Clones git packages and downloads released executable connectors, verifies them against toolbox.lock, and unpacks them into the cache. Use when a portal declares github: includes or connectors, before doctor or report, and in CI with --frozen.

mcp

Serves the portal's MCP endpoint over stdio. Use when a harness should call the portal's tools through a local process, and the server is already running.

owner

Says who owns an entity and why, with CODEOWNERS evidence. Use when a change needs an owner, and after the server is up.

plan

Diffs two recomputes of one portal, before and after a manifest change. Use when preparing a portal pull request, and before asking for review of that change.

push

Sends a portal's fixtures to a running server through the ingest API and waits for the snapshot that contains them. Use when a local server should hold the portal's fixture data.

query

Lists entities of one kind that match a CEL filter over entity and scores. Use when an agent needs a set of entities, and after the server is up.

refresh

Asks the connectors behind an entity to re-read it and waits for the fresh snapshot. Use when a source changed and a running portal should catch up.

report

Scores a repository with its portal and prints every scorecard, including evidence for failing rules. Use when checking a repo portal, ratcheting against a committed baseline, or refreshing the published HTML report.

report-ux

Designs and reviews the hosted toolbox report UI whenever the scorecard HTML, catalog browse, or rule-outcome presentation changes. Use when improving report -o html/web, auditing scorecard exploration, or judging whether a VP of engineering can assess portal quality from the static page alone.

review-plan

Read and summarise toolbox plan output for a portal change. Covers model migrations, mapping and identity changes, score deltas, authorization diff, declassifications, notification volume, MCP and agent-plugin surface changes, and tripped gates. Use before opening or reviewing a Toolbox portal pull request.

score

Prints scorecard levels and rule outcomes for one entity. Use when an agent needs the levels of one id, and after the server is up.

scorecard

Prints one scorecard across every entity: level counts, failing rules and evidence. Use when building a work list, and after the server is up. With no name, it lists the scorecards.

search

Finds entities by name or title. Use when the id is not known and a running portal should be searched.

serve

Runs the Toolbox server: the snapshot loop and the REST API. Use when a local portal should answer read commands, and when an in-memory run with fixtures is enough.

test

Recomputes a portal from its fixtures and runs tests/*.test.yaml. Use when scorecard rules, fixtures or expectations changed, and after validate has passed.

token-create

Creates a personal access token for a user and prints it once. Use when a person needs a token for a running portal that stores token hashes in Postgres.

toolbox-authoring

The core workflow for changing a Toolbox internal developer portal repo (kinds, connectors, scorecards, actions, permissions, views). Use whenever editing a repo that contains toolbox.yaml or toolbox.lock, or when asked to add or change anything in a Toolbox portal.

tools-config

Prints an installer's input from a portal's pinned tools - a mise [tools] table, an aqua.yaml package list, or PyPI requirements. Use when a team installs tools with mise or aqua and wants their config to match the portal's pins.

tools-install

Installs a portal's pinned tools (zizmor, actionlint, ruff) by running an installer: mise, uv, pipx or pip. Use when toolbox doctor reports a missing or wrong tool, or to set up CI or a new machine from the portal's own pins.

validate

Validates a Toolbox portal: manifest schema, cross-references, CEL, files and fixtures. Use when a portal manifest or an included file changed, and before trusting the result of a later test or plan.

vendor

Copies a Toolbox package into a portal's packages/ directory, without its tests, so the portal needs no network. Use when CI or an agent can't fetch a github: package, or to pin a package's exact files in the repository.