- JavaScript 94.7%
- Python 2.4%
- HTML 1.5%
- CSS 1.3%
- TypeScript 0.1%
|
All checks were successful
forgegraph/ci CI passed
CI / verify (push) Successful in 2m33s
|
||
|---|---|---|
| .beads | ||
| .forgejo/workflows | ||
| .glass | ||
| collector | ||
| control-plane | ||
| deploy | ||
| docs | ||
| migrations | ||
| public | ||
| scripts | ||
| src | ||
| tests | ||
| .forgegraph.yaml | ||
| .gitattributes | ||
| .gitignore | ||
| .worktreeinclude | ||
| AGENTS.md | ||
| CLAUDE.md | ||
| forge-jobs.yaml | ||
| index.html | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| README.md | ||
| t3-plugin.json | ||
| wrangler.jsonc | ||
| wrangler.status.jsonc | ||
Skillfleet
Skillfleet is the control plane for reviewing and reconciling agent skills, MCP servers, runtime plugins, installer-backed external suites, and configuration profiles across Graham's Tailscale machines. It combines two versioned skill catalogs with redacted local/SSH observation, repository-aware policy, durable plans, and approval-gated atomic application.
The ownership boundary is explicit:
agent-skillsis the public, distributable skill repository.agent-skills-privateis the private, distributable skill repository.- Skillfleet owns catalog precedence, fleet targets, project/tag policy, MCP server, plugin, and typed external-suite definitions, config profiles, observations, and reconciliation.
Run it
pnpm install
pnpm control-plane:generate --catalog agent-skills=/path/to/agent-skills --catalog agent-skills-private=/path/to/agent-skills-private
pnpm dev
pnpm dev serves the dashboard and its same-origin API. The default state directory is .skillfleet/state; observations and plans are written atomically with mode 0600 and are ignored by Git.
The Policy workspace can derive a reusable profile from one current machine observation and preview it against another observed target. The server normalizes the source through the approved control-plane catalog; only managed skill IDs, Hermes plugin IDs, and installer-backed external-suite IDs can enter the saved profile. Unmanaged discoveries remain visible in a quarantine lane but are never persisted as desired state or added to a plan. Project-scoped MCP and credential inference are deliberately outside this workflow.
Derived profiles are durable operator state under .skillfleet/state/derived-profiles, not Git-authored control-plane/profiles/*.json definitions. Creation re-reads the current source observation and requires the preview's SHA-256 observation digest, so a scan invalidates stale save authority. Staging expands the saved IDs into an explicit-only plan for the selected observed target, clears any browser-held approval token, and sends the operator to Changes. Approval, apply, native verification, and rollback then use the existing guarded lifecycle; previewing and saving never mutate a target.
The same lifecycle is available from the local API:
GET /api/derived-profiles
POST /api/derived-profiles/preview
POST /api/derived-profiles
POST /api/derived-profiles/:id/plans
At startup, Skillfleet resolves the one fleet entry representing the current host from the OS hostname and, when available, Tailscale self identity. Only that entry is observed and changed locally; every other fleet entry is reached through SSH. SKILLFLEET_LOCAL_MACHINE_ID can make the selection explicit, but it must name a configured machine and agree with hostname or Tailscale identity. Missing, ambiguous, and mismatched identities fail closed before scanning or applying changes.
Read-only inventory and plan review are available from the CLI:
pnpm fleet:scan
pnpm fleet:state
pnpm fleet:usage
pnpm plan:stage ./changes.json
pnpm plan:approve <plan-id> <actor>
Application requires the one-time token returned by approval and explicit catalog checkout roots. Tokens are passed through the environment and are never persisted in plaintext:
SKILLFLEET_PUBLIC_CATALOG=/path/to/agent-skills \
SKILLFLEET_PRIVATE_CATALOG=/path/to/agent-skills-private \
SKILLFLEET_APPROVAL_TOKEN=<one-time-token> \
pnpm plan:apply <plan-id>
# The same token can roll back a successfully applied plan.
SKILLFLEET_PUBLIC_CATALOG=/path/to/agent-skills \
SKILLFLEET_PRIVATE_CATALOG=/path/to/agent-skills-private \
SKILLFLEET_APPROVAL_TOKEN=<one-time-token> \
pnpm plan:rollback <plan-id>
Quality gates:
pnpm test
pnpm build
Current scope
- Fleet dashboard for
labnuc,vanuc,gmacko-mini,labtop, andbob@hetzner-bob - Read-only local and Tailscale SSH observation of Codex, Hermes, Claude Code, Cursor, and Grok skill footprints, user-level MCP registrations, Hermes plugins, installer-backed suite revision/health, repository-owned MCP bindings, and repositories. Codex observations come from its native
skills/listprotocol; Hermes observations use its native skill and plugin commands. Both retain only redacted counts, IDs, provenance aliases, enablement, version, and load-error health. External-suite evidence retains only the suite ID, exact revision, and native-health boolean. Filesystem discovery is reported as a degraded fallback rather than runtime proof. - Snapshot redaction that omits config values, MCP arguments, URLs, and absolute home paths while retaining bounded agent, server-ID, config-alias, and repository-relative binding metadata
- Aggregate LLM usage observations with explicit source health, session/model buckets, and reported input, output, and cache tokens
- Repository fact inference for TypeScript, React, mobile, deployment, infrastructure, Unity, and ForgeGraph-managed projects
- Matrix rows pivoted by machine, tag, or project
- Machine-derived profile preview, unmanaged quarantine, durable save, and explicit-only staging
- File-backed project groups, tag inheritance, and machine memberships in
control-plane/policy.json - Projects represented as individual repositories or repository groups
- Skill catalog with colored tags, provenance, and agent compatibility
unslopshown as a locked, always-on quality skill- Automatic
ForgeGraph + TypeScript → anti-sloppolicy - Durable dry runs with explicit approval, one-time in-memory tokens, sequential target verification, automatic rollback on failure, and manual rollback
- Atomic shared-skill release switching, agent-scoped Codex, Hermes, Claude, Cursor, and Grok MCP registration, reversible Hermes plugin allowlisting, and pinned external-suite install/disable with native Codex verification
- Responsive desktop, tablet, and mobile layouts
Live verification on 2026-08-21 upgraded hetzner-bob from Hermes 0.18.2 to 0.20.4 and reduced the native Python security audit from 89 findings to zero across 120 components. A follow-up doctor pass removed inactive Teams and Google Chat mappings whose legacy composite toolsets no longer exist, patched the upstream nanoid@^3 override and its two lock entries from 3.3.17 to 3.3.18, and upgraded the virtual environment from pip 26.1.2 to 26.2.1 after OSV began reporting PYSEC-2026-3721. Both npm workspace audits and the native Python audit then returned zero findings, and hermes doctor reported all checks passed. Post-restart evidence confirmed five exact managed bundled plugins, the separately registered and authenticated OpenAI Codex model provider, a 15-tool Kubernetes MCP connection constrained by --read-only, --disable-destructive, and --disable-multi-cluster, an active Telegram bot identity, DDGS 9.15.0, config schema v38, and active gateway/dashboard services. Rollback evidence includes the checksum- and zip-validated full state archive, two updater snapshots, the original source SHA, a labeled pre-cleanup state snapshot, an exact package-file archive, and wheels for both pip versions. The seven-line npm patch is a host-local runtime exception until upstream pins nanoid@^3 at 3.3.18 or newer; it is not Skillfleet desired state. Vanuc's previously observed TCP/22 timeout remains an explicit coverage gap rather than invented state.
LLM usage observations
Additional labnuc intelligence sources are documented in CLIAPIProxy and Phoenix, including verified versions, API access boundaries, Phoenix trace activity and retention, and overlap with existing usage observations. Opt-in endpoint adapters collect separate gateway and trace snapshots for the dashboard; these counters never enter provider usage totals. GET /api/v1/services exposes the latest normalized observation per machine and service, with explicit freshness and coverage.
Fleet scans persist a provider-neutral usage snapshot beside each machine observation. GET /api/usage, the dashboard, and the T3 Fleet surface summarize the same records. Known counters are reported as lower bounds with complete, partial, or unknown coverage, so Cursor's unknown tokens never erase known Codex, Claude, or Grok totals. The persistence boundary only accepts aggregate counters, coarse model buckets, date windows, and enum-derived source health. Prompts, responses, account or session identifiers, secrets, raw paths, arbitrary model names, and remote diagnostic prose are rejected. Skillfleet does not infer prices.
Versioned endpoint collectors also emit periodic aggregate inventory snapshots for configured agents, installed skills, MCP bindings, and repositories. The cloud fleet API projects the newest count for each resource kind with explicit coverage health. Detailed server IDs and repository-relative binding metadata remain in the stricter read-only observer path until the cloud inventory ledger gains an equally constrained detail schema.
The current probe adapters support:
- Codex session JSONL: the final cumulative
total_token_usagerecord per session, associated with the latest precedingturn_contextmodel. - Claude project JSONL: cumulative
message.usagesnapshots collapsed once per stable response identity, using the latest timestamped snapshot or safe component-wise maxima when ordering is unavailable. Unique session IDs are counted separately. - Grok
.grok/sessions/**/updates.jsonl: only_x.ai/session/updateturn_completedrecords, with explicit token counters and rawcostUsdTicks. MissingcostIsPartialremains unknown and therefore partial; ticks are never converted to currency. - Cursor
.cursor/acp-sessions/*/meta.jsonand.cursor/projects/*/agent-transcripts/*/*.jsonl: activity-only session/date coverage and a coarse model bucket when ACP metadata explicitly provides one. Agent transcript content is never parsed; project transcripts use file modification time as reconstructed activity evidence. Titles, working directories, identifiers, prompts, and responses are ignored; source health remains partial and every token counter remains unknown.
The probe defaults to provider-owned Codex, Claude, Cursor ACP, and Grok data roots under the target home directory. Tests use only synthetic fixtures; no user transcripts are copied into Skillfleet.
Provider JSONL is streamed line by line with durable per-file watermarks. Large source sets advance through bounded, restart-safe discovery pages, reporting partial coverage while a sweep is in progress and complete coverage only after reaching the current end. Cursor and source identities are opaque digests; provider paths and content are not persisted. Each completed provider pass also updates an owner-only local coverage record. The next heartbeat projects those constrained states into a current cloud table, so the dashboard can distinguish a complete sweep, an in-progress sweep, an activity-only adapter, a missing source, and a degraded scan instead of treating an old partial rollup as permanent. Machines with no record for a provider are not assumed to have that provider configured; an offline machine with a prior record remains a visible coverage gap. Append-only cloud history and incremental rollups remain distinct from the endpoint cursor, so the current summaries are not presented as provider billing records.
Privacy-reviewed session learning
The learning plane uses an explicit content boundary distinct from aggregate telemetry. Endpoint collectors may locally select a bounded session excerpt when a constrained marker fires, such as a retry loop, tool failure, human correction, successful pattern, or skill/MCP opportunity. Before staging, the collector replaces secrets, email addresses, and sensitive absolute paths, caps the excerpt at 12,000 characters, and sends only digest identities plus the redacted excerpt and redaction counts.
No expert model receives an excerpt automatically. The dashboard shows the exact redacted text and its SHA-256 digest. Approval binds that digest, the selected providers, and a retention policy. Approved jobs run locally through Claude print mode, Grok headless mode, or an ephemeral read-only Codex app-server thread. Prompts travel over stdin or JSON-RPC rather than command-line arguments; provider subprocesses receive an explicit environment allowlist. Reviews must match a narrow structured schema and the approved candidate identity before the control plane records them.
With insights-only retention, D1 deletes the excerpt after every approved provider has returned and retains only the digest, redaction counts, approval metadata, and normalized recommendations. Longer retention is rejected until automatic expiry exists. Privileged approval remains fail-closed until the Cloudflare Access MFA step-up verifier is configured. Endpoint collectors poll exact approved jobs and run the selected providers through bounded transports. Reviews are spooled without excerpts for restart-safe delivery and paid-run deduplication. Codex and Claude collectors now extract only newly appended, bounded turn text in memory, apply the marker and redaction policy, and stage a candidate before atomically advancing the source watermark. A failed stage therefore replays safely, while raw turns never enter the collector database or telemetry batches. Grok transcript extraction and external skill-discovery quarantine remain separate rollout slices.
Bob and OODA workflow outcomes
Bob and OODA can append strict normalized records to explicit local JSONL journals. Skillfleet accepts only terminal agent-run counters, categorized tool invocations, and engineering outcomes. Session, project, and resource references are SHA-256 pseudonyms; task text, prompts, responses, raw identifiers, and paths are rejected. Endpoint collectors tail these journals through the same durable watermark and signed spool used for provider telemetry.
The Queue consumer stores objective fields in workflow_events, while GET /api/v1/workflows returns bounded summaries grouped by machine, source, and project digest. The dashboard Workflows view shows run success, blocked runs, tool calls, passed engineering outcomes, dropped-record coverage, and evidence windows. These summaries are the objective input to the independent evaluation plane; model verdicts remain separate and preserve disagreement.
Workflow-to-provider correlation reports only matched, ambiguous, missing, or partial linkage states and candidate counts. It never copies token totals into a workflow run. Privileged operators may stage strict objective-only evaluation jobs; collectors can fetch only jobs bound to their machine and run the requested Codex, Claude, and Grok judges through no-tools, no-network, bounded transports. The job digest binds the objective metrics, correlation counts, provider set, and prompt version. Each paid provider verdict and completed aggregate is stored durably on the endpoint, survives restart, and retries delivery without repeating completed model calls. A complete provider set must return before the job can close, while model verdicts remain unable to overwrite objective fields.
Bob usage insights
Usage history and Bob insights tracks closed hourly gateway and trace observations, keeps overlapping sources separate, and feeds a dedicated authenticated read to Bob. Bob produces a daily 8 a.m. Detroit-time report and deduplicated alerts for high error rates or unusual usage. Missing history and instrumentation gaps remain explicit.
Hermes operator brief
GET /api/v1/hermes/brief is a dedicated service-to-service read for Bob's Hermes operator. It returns only the current machine count, collector health, bounded machine attention, and categorized Hermes request counters. Content, identities, paths, models, request digests, and individual usage events are omitted. The endpoint does not reuse the human dashboard authorization or any machine collector credential; it requires its own HERMES_OPERATOR_READ_SECRET Worker secret and fails closed when the binding is absent.
Provision one independently generated secret into the Skillfleet Worker as HERMES_OPERATOR_READ_SECRET, and put the same value in Bob as SKILLFLEET_HERMES_READ_SECRET. Bob also needs the non-secret SKILLFLEET_ORIGIN_URL=https://llm.gmac.io plus the host's existing machine-scoped Cloudflare Access identity in SKILLFLEET_ACCESS_CLIENT_ID and SKILLFLEET_ACCESS_CLIENT_SECRET. Access authenticates the request at the edge; the separate operator secret authorizes only this constrained Worker route. HERMES_USAGE_EXPECTED_MACHINES names the producer machines required for complete coverage, and HERMES_USAGE_FRESHNESS_SECONDS bounds how long their newest evidence remains current; missing configuration is unknown, while missing or stale configured producers are partial. A source deployment and those runtime bindings are prerequisites for live /today coverage; checked-in code alone is not deployment proof.
T3 Code projection
This repository is also an installable T3 Code plugin. Its managed runtime uses the native line-delimited plugin protocol to project Fleet, Policy, Changes, project verification, and the reconciliation workflow from the same Skillfleet backend:
pnpm t3:plugin
The T3 bridge does not own another database or copy approval state. Scans, plan staging, approval, application, and rollback delegate to the Skillfleet backend. The approval capability is retained only in the managed process that requested it and never appears in a protocol response. If that process restarts, execution is blocked until a fresh plan is staged and approved.
T3 Code currently launches managed plugins with their repository checkout as the working directory and does not inject host-managed plugin settings into the process. Set SKILLFLEET_STATE_ROOT, SKILLFLEET_PUBLIC_CATALOG, and SKILLFLEET_PRIVATE_CATALOG in the T3 server environment when the plugin must share state and apply plans from canonical catalog checkouts. SKILLFLEET_LOCAL_MACHINE_ID may also be set when an explicit, runtime-validated fleet identity is preferred. Fleet state, read-only scans, and dry-run staging do not require catalog paths. A plan that deploys skills does: missing catalog input fails before a target adapter is invoked.
Control-plane operations
The checked-in control-plane/ directory is the desired-state source of truth. Catalog checkouts are compiler inputs; generated projections contain source revisions but never local checkout paths.
# Inspect managed MCP definitions without resolving credentials
pnpm mcp:list
pnpm mcp:show gitea-mcp
# Validate and atomically admit a reviewed MCP definition
pnpm mcp:upsert /path/to/server.json
MCP manifests may contain secretRefs and configRefs. Inline environments, headers, passwords, tokens, API keys, private keys, and secret values are rejected. Target preflight checks required reference names before making any change; the target environment supplies their values.
Hermes plugin manifests live under control-plane/plugins/. They pin the native bundled plugin name and version, Hermes ownership, runtime prerequisites, hooks, and reviewed effect class. Reconciliation targets plugins only to Hermes, preserves unrelated YAML, and marks each managed allowlist entry so verification and rollback are exact. Required Hermes environment references are checked by name in ~/.hermes/.env without copying values into a plan. Python prerequisites are pinned and verified in the Hermes virtual environment before configuration changes; dependency installation and reversible plugin enablement remain separate operational proof boundaries.
External-suite manifests live under control-plane/suites/. The first adapter models gstack's official setup contract at an exact upstream commit. Code binds that adapter to the official repository, setup entrypoint, and exact reviewed argument vector at both the control-plane and target boundaries. It runs with an isolated installer home and an allowlisted environment, keeps browser/runtime assets inside the Skillfleet release, and owns only the declared canonical link and generated Codex paths. Any unowned gstack-* collision blocks before mutation. Enable, upgrade, and disable write rollback state before moving live paths; an interrupted retry restores that journal before reapplying. Codex skills/list must resolve the required generated skills through the approved checkout before the transaction is accepted, and rollback restores the exact prior checkout and entries.
See docs/control-plane.md for the durable contract.
Skill catalogs
The public repository currently contributes 150 skills and the private repository contributes 26. Skillfleet adds 5 directly managed MCP definitions, 5 Hermes plugins, 1 installer-backed external suite, and 7 config profiles for 194 managed resources. Imported skills retain pinned provenance:
- Theo Browne’s tstack
- Cursor pstack
- Matt Pocock's skills
- Dillon Mulroy's anti-slop
- Expo's framework and EAS skills
- Anthropic's web app testing skill
- Cloudflare's platform skills
- Microsoft's Playwright CLI skill
- Supabase's Postgres best practices
- Turso's SQLite-compatible database skill
The public catalog includes all 9 tstack skills and all 58 pstack skills, with pstack’s 23 playbooks and supporting tools. Select the tstack or pstack config profile to stage a complete collection, or select individual skills. Profiles match only their explicit project tag, so adding them does not select the new collections for existing repositories. tstack supports Codex and Claude Code; the original pstack workflows target Cursor, with portable principles retaining their cross-agent support. pstack workflows that name native subagents require the official Cursor pstack plugin to register them; catalog publication does not install that plugin. Fleet application still uses the normal staged-plan approval and verification flow.
Tool-backed suites such as gstack are not represented as static catalog skills. The external-suite lifecycle clones the approved pin into a plan release, invokes the official typed adapter, switches only declared outputs, verifies the resulting skills through Codex itself, and retains exact rollback evidence. A SKILL.md file alone is not treated as proof of runtime availability.
The interactive design source is in ~/.gstack/projects/skillfleet/designs/fleet-skill-manager-20260813/finalized.html.