Skip to main content

os-manager — Autonomous Claude Code Harness, Security Matrix & WSL2 Automation Suite

CI Status PyPI Version License: MIT Tests

Run Claude Code autonomously without fear of host destruction.
Open-source governance harness, 4-tier security matrix, auto-sandbox fallback, and background telemetry engine across Linux, WSL2, and macOS by @0xrizz.


⚡ Quickstart (10 Seconds)

Install and configure hooks, guardrails, and slash commands in a single command:

curl -fsSL https://raw.githubusercontent.com/0xrizz/os-manager/main/install.sh | bash

Or install via Python toolchain:

uv tool install 0xrizz-os-manager
osm check

🛡️ Core Features

  • 4-Tier Security Matrix: Deterministically blocks host sabotage (/mnt/c/Windows, /etc/shadow) with hard zero-trust vetoes (Exit Code 2).
  • Auto-Sandbox Fallback: Seamlessly reroutes risky operations (rm -rf, heavy purges) into rootless Podman containers without aborting turns.
  • Workstation Performance: Automated VHDX compaction, zero 9P latency enforcement on ext4, and fast cache cleanup.
  • Background Observability: Built-in Prometheus metrics exporter (127.0.0.1:9100) and nanosecond hook latency tracing.
  • Multi-Agent SSOT Bridge: Zero-copy relative symlinks synchronizing skills across Claude Code, Universal Agent, and Google Antigravity.

🏛️ Harness Architecture

 ══════════════════════════════════════════════════════════════════════════════════════════════════
                                CLAUDE-FIRST AGENT HARNESS TOPOLOGY                                  
 ══════════════════════════════════════════════════════════════════════════════════════════════════
                                               │
 ┌─────────────────────────────────────────────▼──────────────────────────────────────────────────┐
 │ HARNESS CONFIGURATION & GOVERNANCE LAYER                                                       │
 │ • .claude/settings.json (Permissions, Env, Hook Registrations)                                 │
 │ • CLAUDE.md & .claude/rules/ (WSL Boundaries, Safety Tiers, Error Recovery Protocols)         │
 └─────────────────────────────────────────────┬──────────────────────────────────────────────────┘
                                               │
        ┌──────────────────────────────────────┼──────────────────────────────────────┐
        ▼                                      ▼                                      ▼
 ┌──────────────┐                       ┌──────────────┐                       ┌──────────────┐
 │  LIFECYCLE   │                       │    CUSTOM    │                       │ MULTI-AGENT  │
 │    HOOKS     │                       │   COMMANDS   │                       │ INTEROP &    │
 │    ENGINE    │                       │   & SKILLS   │                       │  SUBAGENTS   │
 ├──────────────┤                       ├──────────────┤                       ├──────────────┤
 │•SessionStart │                       │• /diag       │                       │•.claude/     │
 │•PreToolUse   │                       │• /clean      │                       │  skills/     │
 │•PostToolUse  │                       │• /upgrade    │                       │•.agents/     │
 │•PostFailure  │                       │• /snapshot   │                       │  skills/     │
 │•PreCompact   │                       │• /dotfiles   │                       │•~/.gemini/   │
 │•SessionEnd   │                       │• /pair       │                       │  config/     │
 │              │                       │• /harness-   │                       │  skills/     │
 │              │                       │  check       │                       │•.claude/     │
 │              │                       │              │                       │  agents/     │
 └──────────────┘                       └──────────────┘                       └──────────────┘

💻 Custom Slash Commands

  • /diag: Compact Unicode health dashboard card and system status.
  • /clean: Safe space reclamation across APT, UV, PNPM, Bun, and /tmp.
  • /upgrade: Coordinated toolchain and runtime updates.
  • /snapshot: Disaster recovery point-in-time distro backups.
  • /pair: Spawns paired multi-agent Tmux workspace (Claude Code + Antigravity).

👤 Author & Maintainer

Maintained and developed by 0xrizz.


📄 License

This project is licensed under the MIT License. See LICENSE for details.

Metadata

Release files for 0xrizz-os-manager 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for 0xrizz-os-manager 1.0.0
File Size Uploaded
0xrizz_os_manager-1.0.0.tar.gz 380.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for 0xrizz-os-manager 1.0.0
File Interpreter ABI Platform
0xrizz_os_manager-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 390.4 kB

Release files / 0xrizz_os_manager-1.0.0.tar.gz

Download URL 0xrizz_os_manager-1.0.0.tar.gz
Size 380.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d7d4533b9e7f48ab4a8dbcbeb2c295a7a6f3b72d0e9e901b4cb5c054921f0638
BLAKE2b-256 checksum
How to use checksums
51f81eb3f54b4c62e55ba7c2e8a0ba1e211f28501551ead41168d70e42a449d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / 0xrizz_os_manager-1.0.0-py3-none-any.whl

Download URL 0xrizz_os_manager-1.0.0-py3-none-any.whl
Size 9.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4901d9ec74b233852e415e9816976c32839d291f173420c190595e5b21f7f78c
BLAKE2b-256 checksum
How to use checksums
ab24dfffd3a024bf54442212674e44dea7ed5e665165ff73a86644ec05f3dc72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page