harness-ops

Reviewed at commit d788110 New version, not yet reviewed

Caution: Starts unattended Claude Code sessions in auto permission mode, with permission prompts turned off on newer versions, when you run /lanes start, restart or run-once.

Sends data to GitHub (api.github.com) through your gh CLI, only when you use lanes, known-issues create, changelog apply or audit-plugin-landscape

Claude Code operations: audit-skill-visibility (skills the listing budget hides), inventory (all commands, skills, agents, tools, plugins)…

What we checked

Adds about eighteen Claude Code maintenance skills (inventories, audits, telemetry reports, plugin updates, background loop sessions, a terminal driver that records plugin demos) plus small hooks. By default the hooks log which skills you use to .claude/observability in your project, warn when another plugin's hook failed silently and run enabled plugins' prerequisite checks at startup. Skills read ~/.claude, call GitHub through gh and fetch Claude docs when you run them.

Review details

Static review of the source at the pinned commit; not run. Reviewed again in full because the change since 9519cda is too large for a delta (594 files). Command hooks in hooks.json, launched through node exec-bash.mjs (resolves a real bash, never System32/WindowsApps or a relative PATH entry, and spawns the plugin's own script): StopFailure, ConfigChange, InstructionsLoaded, PermissionDenied, PreCompact, PostToolUseFailure (Write|Edit|Bash) and UserPromptExpansion go to audit-event-emitter.sh, PostToolUse (Skill) to skill-usage-audit.sh, Stop to hook-failure-audit.sh (async). SessionStart runs three rows: prerequisites.sh/.ps1 node-notice (prints a notice only when node is missing; PowerShell runs with -ExecutionPolicy Bypass on its own script), new prerequisites-fleet.mjs, which reads enabledPlugins from user, project and managed settings plus installed_plugins.json and, for each enabled installed plugin whose prerequisites.json declares session_probe (harness-ops itself does not), runs that plugin's own lib/prerequisites.mjs probe as a child and prints its notices as one systemMessage, and new refresh-sink-launcher.sh (async), which writes a small launcher script into the plugin data directory that HOOK_TELEMETRY_SINK=@harness-ops resolves to. Telemetry rows only emit when you set HOOK_TELEMETRY_SINK (the reserved @harness-ops value, or a path absolute or relative to the project) and capture event types, tool names, the first word of a Bash command and repo-relative file names, never command bodies or error text; the bundled sink appends them to <project>/.observability/claude (hook-events.jsonl rotated at 10 MB, or sessions/<id>.jsonl). The skill-usage rows (default on, switchable) append skill name, branch and project name to <project>/.claude/observability/skill-usage.jsonl and add that folder to .git/info/exclude (option; scopes user and data-dir available). hook-failure-audit.sh reads the session transcript for hook_non_blocking_error records, keeps a byte cursor and warned-hook markers in the plugin data directory (pruned after 7 days) and shows a systemMessage. The function-hook module register.ts registers nothing unless session_event_log_enabled is set (default off); then it hooks 28 classic.* events and runs session-event-log.sh through $.process.run to append one JSON line per event under <project>/.observability/claude/sessions, with prompt and message content only when session_event_log_content is also on, and session-retention.sh at SessionEnd deletes old session files of its own or hands them to a user-configured pre-prune command (bash -c, detached). Skills (user- or model-invoked): lanes (user-only) runs git pull --ff-only, claude plugin marketplace update and claude --bg -n <lane> or, new, claude -p for run-once, both with --permission-mode auto [--permission-prompts none], can run claude --cloud, and posts lane telemetry comments to an issue in your repo with gh api after a secret-shape scan (publish-gate.mjs); it only prints scheduler entries (schtasks, cron). plugins sync (user-only) runs claude plugin update/install/enable per install_new (default ask) and reorders enabledPlugins keys in ~/.claude/settings.json; its new reset-refresh.sh, which moves ~/.claude/plugins cache and marketplace clones aside and reinstalls, is only printed for you to run. New control-claude-code (user-only, a control file for another plugin's /app-control:drive, defaults pointing at the author's own monorepo) launches claude --restricted --strict-mcp-config with a plugin dir, takes masked screenshots, videos and stream-json logs, and on first use installs @microsoft/tui-test 0.1.1 into the plugin data directory with npm ci from the committed lockfile (--ignore-scripts, then npm audit signatures). New audit-mod-posture runs claude plugin list/validate and reads only the plan from claude auth status; new audit-plugin-landscape makes read-only gh api GET calls for repository ages. behavior-probes live mode (opt-in, dry run by default) runs claude -p in temporary directories in auto/default/dontAsk mode with a budget cap and passes ANTHROPIC_API_KEY/CLAUDE_CODE_OAUTH_TOKEN through; no case bypasses permissions. known-issues files a GitHub issue with gh issue create (default anthropics/claude-code) only after an explicit yes; changelog apply opens PRs; observability reads a local OTEL collector on 127.0.0.1, prunes its own stores, pre-approves only its own build-dashboard.mjs and its context suggests npx -y ccusage (unpinned, not pre-approved, so Claude asks). fetch-docs.sh/docs-cache.sh/fetch-changelog.sh download code.claude.com and platform.claude.com docs and the Claude Code CHANGELOG from raw.githubusercontent.com with curl. inventory may install acorn and eslint-scope with npm ci from its pinned lockfile. audit-install-state lists ~/.claude and marks .credentials.json and daemon keys as never opened. The morning-brief skill was removed (moved to the work-items plugin). Read fully: manifests, hooks.json, register.ts, exec-bash.mjs, all hook scripts, prerequisites-fleet.mjs, prerequisites.mjs, plugin-options.mjs, check-prerequisites.mjs, hook-telemetry-sink.sh, refresh-sink-launcher.sh, session-retention.sh and the skill prompts' front matter; by targeted search: hook-utils.sh, lane-launcher.sh, telemetry-upsert.sh, reset-refresh.sh, sync-run.sh, driver.mjs, probe.py, mod-posture.sh, check-retirements.sh, the Python audit scripts and test files. Not reviewed: scripts/html2md.py and other files left out of the bundle, the npm packages, external CLIs (claude, gh, jq, git, npm, ccusage) and the other plugins whose prerequisite probes the fleet row starts.

What it uses
  • Reads your prompts: yes
  • Sees tool calls: yes
  • Blocks or changes tool calls: no
  • Reads or writes files: yes
  • Runs programs on your machine: yes
  • Calls the model (uses tokens): yes
  • Sends data over the network: yes
  • Stores data: yes
  • Shows something on screen: yes
Hooked events

Claude Code operations: audit-skill-visibility (skills the listing budget hides), inventory (all commands, skills, agents, tools, plugins), audit-install-state (~/.claude), audit-performance (slowness), audit-native-overlap (skills duplicating built-ins), observability (telemetry), known-issues (Claude bugs, status), changelog, behavior-probes, prerequisites, check, machine-profile, plugins (update the fleet), morning-brief, lanes (background loop sessions), setup. Plus opt-in hook event logs.

Made this mod? Add a badge to your README

modsforClaude badge for harness-ops

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/harness-ops.svg)](https://modsforclaude.com/mods/harness-ops/)

← All mods