os-manager — Autonomous Claude Code Harness, Security Matrix & WSL2 Automation Suite
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.
- Repository: https://github.com/0xrizz/os-manager
- Issues & Discussions: https://github.com/0xrizz/os-manager/issues
📄 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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| 0xrizz_os_manager-1.0.0.tar.gz | 380.6 kB | Without provenance | Details for 0xrizz_os_manager-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| 0xrizz_os_manager-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for 0xrizz_os_manager-1.0.0-py3-none-any.whl |
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}
|
Security for 0xrizz-os-manager 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.