Shield360 CLI
The shield360 CLI is a single Go binary that connects your local tooling to a Shield360 instance. Today it ships first-class observability for AI coding agents - Claude Code, Cursor, and Codex - by wiring into each vendor’s hook system, normalizing events onto OpenTelemetry’s gen_ai.* and Shield360’s coding_agent.* semantic conventions, and exporting them via OTLP to your collector.
It talks only to your Shield360 endpoint. There is no managed cloud - your telemetry stays on your infrastructure.
What you can do today
Section titled “What you can do today”shield360 collector enrols a machine with your install key and reports AI usage, spend and application time to Shield360. No proxy and no certificate.
Wire Claude Code, Cursor, or Codex into Shield360 with one idempotent command per vendor - no SDK, no code changes in your repos.
Set your OTLP endpoint, API key, environment, and content-capture mode in a single config file or via environment variables.
shield360 coding launch bootstraps the plugin and execs your agent in one step - telemetry on from the first turn.
shield360 doctor prints the resolved config, dials your OTLP endpoint, and lists installed plugins so you can confirm everything is wired up.
Command groups
Section titled “Command groups”| Command | Purpose |
|---|---|
shield360 collector | Enrol this machine and report AI usage, application time and (by policy) browsing and network activity |
shield360 coding | Install, launch, and manage coding-agent telemetry (Claude Code, Cursor, Codex) |
shield360 configure | Write persistent settings to ~/.config/shield360/config.env |
shield360 doctor | Diagnose config, OTLP reachability, and installed plugins |
shield360 version | Print the CLI version and build commit |
How it works
Section titled “How it works”Coding agent (Claude Code / Cursor / Codex) +-- fires hook events (SessionStart, PreToolUse, Stop, ...) | vshield360 coding hook --vendor=<v> --event=<name> (invoked by the host plugin manifest) +-- normalizes to gen_ai.* / coding_agent.* semantic conventions +-- tier-1 secret redaction +-- 5s hard timeout, always exits 0 (never blocks the developer) | vOTLP/HTTP --> your Shield360 collector --> /agents pageThe hook is the CLI’s hot path - invoked once per agent event. It is crash-isolated: a 5-second hard timeout with ~3 seconds reserved for OTLP flush, and it always exits 0 even when telemetry fails, so a broken pipeline never blocks your coding session.