From dotnet-dnceng
Query Maestro/BAR dependency flow data using the mstro CLI tool via bash. USE FOR: subscription health checks, build flow tracing, codeflow status, channel discovery, triggering subscription updates — when MCP tools aren't loaded or when scripting with JSON output and jq. Also use when investigating "is this subscription stale", "what's the latest build", "check backflow status". DO NOT USE FOR: tasks where maestro MCP tools are already available in context (prefer flow-analysis or flow-tracing skills when MCP server is loaded). INVOKES: bash (mstro CLI commands with --json output).
npx claudepluginhub lewing/agent-plugins --plugin dotnet-dncengThis skill uses the workspace's default tool permissions.
Query Maestro/BAR data via the `mstro` CLI tool instead of loading MCP tools into context. Same data, same caching, zero context tax — agents discover capabilities progressively through `--help` and `mstro guide`.
This skill should be used when the user asks to "trigger a build", "check build status", "watch a build", "view build logs", "retry a build", "cancel a build", "list builds", "download artifacts", "upload artifacts", "manage secrets", "create a pipeline", "list pipelines", or "interact with Buildkite from the command line". Also use when the user mentions bk commands, bk build, bk job, bk pipeline, bk secret, bk artifact, bk cluster, bk package, bk auth, bk configure, bk use, bk init, bk api, or asks about Buildkite CLI installation, terminal-based Buildkite workflows, or command-line CI/CD operations.
Guides Maven build lifecycles (default, clean, site), phases, goals, profiles, and customization via XML for Java projects. Includes common commands and bindings.
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
Query Maestro/BAR data via the mstro CLI tool instead of loading MCP tools into context. Same data, same caching, zero context tax — agents discover capabilities progressively through --help and mstro guide.
Use this skill when:
jq, grep, or other CLI toolsPrefer MCP-based skills (flow-analysis, flow-tracing) when:
dotnet tool install -g lewing.maestro.mcp
After installation, mstro is available globally. Verify: mstro --help
Three-tier cascade (automatic fallback):
MAESTRO_BAR_TOKEN env var — explicit PATdarc authenticate credentials from ~/.darc/.auth-record-*Run darc authenticate once for persistent credentials.
Don't memorize commands. Discover them:
mstro --help # All commands, one line each
mstro <command> --help # Parameters for a specific command
mstro <command> --schema # JSON response field names (for jq pipelines)
mstro guide # Workflow-organized guide (~3KB)
Before writing jq queries, run --schema to see the response shape:
mstro subscription-health --schema # → shows StaleSubs[].Id, .BuildsBehind, etc.
mstro latest-build --schema # → shows Id, Repository, Commit, etc.
All query commands support --json (structured output) and --no-cache (fresh data).
mstro subscription-health --target-repository https://github.com/dotnet/dotnet --json
mstro latest-build https://github.com/dotnet/runtime --channel-name ".NET 10.0.1xx SDK" --json
mstro codeflow-statuses --json
mstro build-graph <build-id> --json
# Provide --source-repository + --channel-name (auto-resolves latest build)
mstro trigger-subscription <guid> --source-repository https://github.com/dotnet/runtime --channel-name ".NET 10.0.1xx SDK"
# Or provide --build-id directly. Add --force to overwrite stale PR branch.
Use mstro <command> --schema to see all response fields before writing jq queries.
# Count stale subscriptions (StaleSubs[].Id, .BuildsBehind, .SourceRepository, .ChannelName)
mstro subscription-health --target-repository https://github.com/dotnet/dotnet --json | jq '.StaleSubs | length'
# Filter channels by name
mstro channels --json | jq '.[] | select(.Name | contains("10.0"))'
# Get build ID then trace graph
BUILD_ID=$(mstro latest-build https://github.com/dotnet/runtime --json | jq -r '.Id')
mstro build-graph $BUILD_ID --json
Shared SQLite cache at ~/.mstro/cache.db (WAL mode). Cache is shared between CLI and MCP server instances — using the CLI warms the cache for MCP and vice versa.
mstro cache status — show cache statsmstro cache clear — clear all cached data--no-cache on any command bypasses cache