inceptyon-labs/tenet-skills/tenet-orchestrator

Claude Code and agent skill by inceptyon-labs/tenet-skills

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Runs the full Tenet audit, coordinates dimensions, builds the report, and uploads to dashboard.

Install

npx vskill@latest install inceptyon-labs/tenet-skills/tenet-orchestrator

SKILL.md

The same SKILL.md was published earlier as inceptyon-labs/tenet-skills/tenet-orchestrator.

Tenet Orchestrator

"I build in a twilight world."

The orchestrator is the single entry point for Tenet audits. Users invoke only this skill — it runs the toolchain, spawns one isolated subagent per applicable dimension, aggregates their reports into a single payload, and uploads to the Tenet dashboard.

Purpose

Coordinates the full audit lifecycle: project detection → config validation → deterministic toolchain → one subagent per dimension (parallel, model per tier) → report aggregation → dashboard upload.

The orchestrator itself does no auditing and never reads specialist SKILL.md files into its own context. It is arithmetic and plumbing, which is why it runs on sonnet. Reasoning happens inside the dimension subagents, on the model tier each dimension is assigned (Step 4b).

Language Support Matrix

yaml
support:
native: [all]
note: "The orchestrator delegates to specialist skills. Language support is determined per-dimension."

Toolchain Inputs

The orchestrator runs tenet-toolchain (as a subagent) to produce all toolchain outputs, then spawns dimension subagents that consume them.

Locating the plugin

Specialist skills are run by subagents that read SKILL.md from disk, so the orchestrator needs the plugin's absolute path. Resolve it once, in this order:

bash
PLUGIN_ROOT="${CLAUDE_PLUGIN_ROOT:-}"
if [ -z "$PLUGIN_ROOT" ] || [ ! -f "$PLUGIN_ROOT/skills/tenet-orchestrator/SKILL.md" ]; then
PLUGIN_ROOT=$(find ~/.claude/plugins ~/src ~/Development -maxdepth 6 -path '*/skills/tenet-orchestrator/SKILL.md' 2>/dev/null \
| head -1 | sed 's#/skills/tenet-orchestrator/SKILL.md$##')
fi
[ -f "$PLUGIN_ROOT/shared/verification.md" ] || { echo "Cannot locate tenet-skills plugin root"; exit 1; }

Every path handed to a subagent is built from $PLUGIN_ROOT.

Procedure

Step 0: Parse Arguments

Parse $ARGUMENTS. Both --flag forms and bare words are accepted, in any order, so /tenet-skills:tenet-orchestrator fable no-upload is valid:

ArgumentBare-word formEffect
--judge <model>a bare model name: fable, opus, sonnet, haikuOverride [models].judge for this run only
--worker <model>—Override [models].worker for this run only
--model <model>—Override both tiers
--skip-uploadno-upload, skip-upload, localWrite final-report.json and print the report to the terminal; do not POST to the dashboard
--dry-rundry-runShow which dimensions would run, on which model, and which are skipped and why. Run nothing
--dimensions <a,b,c>dims=a,b,cOnly run the listed dimensions (intersected with applicability)

Model precedence, highest first: command-line argument → [dimensions.<key>].model → [models] tier → built-in default. Print the resolved model per dimension before spawning anything so the cost is visible up front.

Unknown bare words are an error: print the table above and halt. Do not guess.

There is no --setup flag. Setup is a user-invoked skill: /tenet-skills:tenet-toolchain-setup.

Step 1: Detect Project Metadata
bash
# Project slug (kebab-case from directory name)
SLUG=$(basename "$(pwd)" | tr '[:upper:]' '[:lower:]' | sed 's/[^a-z0-9]/-/g' | sed 's/--*/-/g' | sed 's/^-//' | sed 's/-$//')
# Human-readable name (from package.json if available, else directory name)
NAME=$(jq -r '.name // empty' package.json 2>/dev/null || basename "$(pwd)")
# Git metadata
COMMIT=$(git rev-parse --short HEAD 2>/dev/null || echo "unknown")
BRANCH=$(git branch --show-current 2>/dev/null || echo "unknown")
REPO_URL=$(git remote get-url origin 2>/dev/null || echo "")
Step 2: Check for Configuration

If .healthcheck.toml does NOT exist:

  1. Print: "No .healthcheck.toml found. Run /tenet-skills:tenet-toolchain-setup first, review the generated config, then re-run /tenet-skills:tenet-orchestrator."
  2. HALT — do not proceed without config. Do not attempt to invoke the setup skill yourself; it is interactive and user-invoked only.
Step 3: Run Toolchain

Spawn one subagent (Agent tool, model = [models].worker from .healthcheck.toml, default sonnet; see Step 4b) with this prompt:

Read $PLUGIN_ROOT/skills/tenet-toolchain/SKILL.md and follow its procedure exactly against the
repository at $(pwd). Write the outputs it specifies under .healthcheck/toolchain/. Reply with
at most 10 lines: which tools ran, which were skipped and why, and the path of _summary.json.
Do not paste tool output.

This produces:

  • .healthcheck/toolchain/*.json — per-tool normalized findings
  • .healthcheck/toolchain/language-census.json — language breakdown
  • .healthcheck/toolchain/_summary.json — tool execution summary

If the toolchain fails (e.g., a required tool is missing), halt and report the error.

Step 4: Determine Applicable Dimensions

This step only prevents spawning subagents for dimensions that obviously cannot apply. Each specialist also runs its own applicability check in its Step 1 and will write applicable: false if it finds nothing to audit, so when unsure, run it. Decide from language-census.json and cheap file-presence checks (git ls-files | grep -E ...), never from reading source:

DimensionSkip if...
securityNever skipped
correctnessCensus shows no application source language (docs/config/assets only)
complexityNever skipped
solidNever skipped
performanceNever skipped
dependenciesNo manifest file tracked (package.json, requirements.txt, pyproject.toml, go.mod, Cargo.toml, Gemfile, pom.xml, build.gradle*, Package.swift, pubspec.yaml, composer.json, *.csproj)
debtNever skipped
testingNever skipped
docsNever skipped
accessibilityCensus has zero HTML/JSX/TSX/Vue/Svelte files
api-contractNo file matching openapi*, swagger*, *.graphql, schema.gql, or routes?/, api/, controllers?/, handlers?/, trpc in a tracked path
secretsNever skipped
errorsNever skipped
observabilityNever skipped
build-ciNever skipped — missing CI config is itself a critical finding
privacy-dataRarely skipped. Skip only for pure libraries/CLIs with no user, account, email, customer, or profile tables/types (`git grep -lqiE "emailuser_idcustomerprofileaddressphone"` returns nothing)
supply-chain-licenseNo dependency manifest, Dockerfile, or .github/workflows/ tracked
infra-cloudNo *.tf, *.tfvars, Pulumi.*, serverless.y*ml, docker-compose*.y*ml, k8s/, helm/, *.yaml under deploy//infra//manifests/, wrangler.toml, fly.toml, vercel.json, netlify.toml, app.yaml, cdk.json
database-migrationsNo migrations?/, drizzle/, prisma/, alembic/, db/migrate/, *.sql, schema.prisma, schema.rb tracked
release-opsNo Dockerfile, .github/workflows/, package.json with a publish/release script, fastlane/, *.xcodeproj, pubspec.yaml, Cargo.toml with [package], setup.py/pyproject.toml with a build backend

Also check [dimensions] section of .healthcheck.toml for explicit "off" overrides.

If --dimensions flag was passed, intersect with the applicable set.

Log which dimensions are skipped and why.

Step 4b: Resolve Model Tiers

Reasoning quality lives in the dimension subagents, so the model each one runs on is configuration, not something baked into a skill file. Read [models] from .healthcheck.toml, falling back to these defaults:

toml
[models]
judge = "fable" # judgment dimensions: read code, verify, write findings and fix prompts
worker = "sonnet" # toolchain-backed dimensions: mostly arithmetic and pattern import

Tier assignment:

TierDimensionsWhy
judgecorrectness, security, solid, api-contract, privacy-data, errors, performanceThe finding is a judgment about code behaviour. A miss or a false positive is costly.
workercomplexity, dependencies, debt, testing, docs, accessibility, secrets, observability, build-ci, supply-chain-license, infra-cloud, database-migrations, release-ops, toolchainDeterministic tool output plus bounded pattern checks.

Per-dimension override: [dimensions.<key>] model = "<name>" wins over the tier. Unknown model names are passed through unchanged to the Agent tool; if the tool rejects the name, fall back to the tier default and print a one-line warning.

When a newer frontier model ships, change judge in .healthcheck.toml. No skill file changes.

Step 5: Run Dimension Subagents

Spawn one Agent per applicable dimension, all in a single message so they run in parallel. Each gets model from Step 4b and this prompt, with <dimension> and <model tier> filled in:

You are running the Tenet "<dimension>" audit dimension against the repository at $(pwd).
1. Read $PLUGIN_ROOT/skills/tenet-<dimension>/SKILL.md and $PLUGIN_ROOT/skills/tenet-<dimension>/rubric.md.
2. Read every file under $PLUGIN_ROOT/shared/ that the SKILL.md references. Always read
$PLUGIN_ROOT/shared/scan-discipline.md, $PLUGIN_ROOT/shared/verification.md, and
$PLUGIN_ROOT/shared/severity.md even if not referenced.
3. Follow the SKILL.md procedure exactly. Toolchain outputs are already in .healthcheck/toolchain/.
Do not re-run the toolchain. Do not modify any file outside .healthcheck/.
4. Write .healthcheck/reports/<dimension>.json exactly as the SKILL.md specifies.
5. Reply with at most 6 lines: score, applicable, finding counts by severity, and the notes
field. Do not paste findings or file contents into the reply; they are in the JSON.
Report only issues that actually exist on reachable code paths. Zero findings is a valid result.

Concurrency and rate limits. The Agent tool caps concurrent subagents (20 by default) and a burst of 20 audits can exhaust the account's session limit mid-run, killing every agent at once with HTTP 429. Run in two waves: the judge dimensions first (7 agents), then the worker dimensions once those return. If any agent dies with a rate-limit error, stop spawning. Do not retry; report which dimensions completed (their JSON is on disk), which did not, and when the limit resets. Delete .healthcheck/tmp/*-worklog.md for the failed dimensions so a re-run starts clean. --dimensions lets the user re-run only the missing ones.

Dimension subagents are independent. correctness reads .healthcheck/reports/complexity.json when present and falls back to its own path selection when it is not, so it does not need to wait for complexity.

If an Agent fails or returns without writing its report, retry it once. If it fails again, mark the dimension applicable: false with a note and continue.

Each subagent writes its output to .healthcheck/reports/{dimension}.json. The orchestrator reads those files in Step 6 and never reads a specialist's SKILL.md.

Step 6: Aggregate Report

Read all dimension reports and aggregate into the final payload matching the schema in shared/schema.json:

Set orchestrator_version from the plugin manifest, never from a remembered number: jq -r .version "$PLUGIN_ROOT/.claude-plugin/plugin.json".

json
{
"project": {
"slug": "<slug>",
"name": "<name>",
"repo_url": "<repo_url or null>",
"commit": "<short SHA>",
"branch": "<branch>"
},
"run": {
"started_at": "<ISO-8601>",
"completed_at": "<ISO-8601>",
"orchestrator_version": "<version from $PLUGIN_ROOT/.claude-plugin/plugin.json>",
"dimensions_run": ["security", "complexity", ...],
"toolchain_summary": { ... },
"lines_of_code": 18420,
"files_analyzed": 142
},
"dimensions": [ ... ],
"findings": [ ... ]
}

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/inceptyon-labs/tenet-skills/tenet-orchestrator/badge)](https://verified-skill.com/skills/inceptyon-labs/tenet-skills/tenet-orchestrator)

Something wrong with this skill or its page? Tell us.