by GenseeAI
Runtime safety for AI coding agents with real-time enforcement, system-event monitoring, and long-horizon provenance. Supports Claude Code, Codex, Antigravity, Omnigent on native macOS and Linux.
# Add to your Claude Code skills
git clone https://github.com/GenseeAI/gensee-crateLast scanned: 6/26/2026
{
"issues": [
{
"type": "npm-audit",
"message": "esbuild: esbuild enables any website to send any requests to the development server and read the response",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "vite: Vite Vulnerable to Path Traversal in Optimized Deps `.map` Handling",
"severity": "high"
},
{
"type": "npm-audit",
"message": "vitepress: Vulnerability found",
"severity": "medium"
},
{
"file": "README.md",
"line": 77,
"type": "remote-install",
"message": "Install command (remote install script piped to a shell — review the source before running): \"curl -fsSL https://raw.githubusercontent.com/GenseeAI/gensee-crate/main/scripts/\"",
"severity": "low"
}
],
"status": "WARNING",
"scannedAt": "2026-06-26T07:53:51.805Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}gensee-crate is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by GenseeAI. Runtime safety for AI coding agents with real-time enforcement, system-event monitoring, and long-horizon provenance. Supports Claude Code, Codex, Antigravity, Omnigent on native macOS and Linux. It has 104 GitHub stars.
gensee-crate returned warnings in SkillsLLM's automated security scan. It has no critical vulnerabilities, but review the flagged issues in the Security Report section before adding it to your workflow.
Clone the repository with "git clone https://github.com/GenseeAI/gensee-crate" and add it to your Claude Code skills directory (see the Installation section above).
gensee-crate is primarily written in Rust. It is open-source under GenseeAI on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh gensee-crate against similar tools.
No comments yet. Be the first to share your thoughts!
Requires a passing catalog security scan. Resolve the flagged issues and resubmit to enable featuring.
Gensee Crate helps you:
gensee watch beside an
agent or launch an agent in a sandbox with gensee run with additional safety.
Manage policy with gensee policy and inspect activity in the local dashboard.Preliminary AgentCanary benchmark results show Gensee Crate improving defense rate across memory poisoning, long-horizon, and prompt-injection threat types with low runtime overhead.

One command installs Gensee Crate and checks or installs its command-line
prerequisites on macOS. At the end, the installer can configure supported agent
hooks for active safety policy enforcement, lets you choose GENSEE_HOME, and
lets you keep the bundled default policy or create an editable local policy:
curl -fsSL https://raw.githubusercontent.com/GenseeAI/gensee-crate/main/scripts/install_oss.sh | bash
For non-interactive installs that should configure Claude Code, Codex, and Antigravity hooks:
curl -fsSL https://raw.githubusercontent.com/GenseeAI/gensee-crate/main/scripts/install_oss.sh | GENSEE_CONFIGURE_CLAUDE=1 GENSEE_CONFIGURE_CODEX=1 GENSEE_CONFIGURE_ANTIGRAVITY=1 bash
Install platform prerequisites first.
On macOS:
xcode-select --install
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source "$HOME/.cargo/env"
brew install jq
On Ubuntu/Debian Linux:
sudo apt update
sudo apt install -y build-essential pkg-config libssl-dev jq nftables git
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source "$HOME/.cargo/env"
Build the CLI from source:
git clone https://github.com/GenseeAI/gensee-crate.git
cd gensee-crate
cargo build -p gensee-crate-cli
The binary is now at target/debug/gensee. For convenience, either add that
directory to your PATH, or install gensee globally:
cargo install --path crate/gensee-crate-cli # puts `gensee` on PATH
Gensee stores its local state under ~/.gensee by default. Set GENSEE_HOME to
override it, and use the same GENSEE_HOME for watch, hooks, run,
timeline, and the dashboard so the signals appear together. GENSEE_HOME is
the Gensee data store, not the agent project/workspace folder:
export GENSEE_HOME="$HOME/.gensee"
For hook-based agents, there are two paths to keep straight:
GENSEE_HOME: where Gensee records hooks, alerts, timelines, policies, and
dashboard data. Use the same value across Claude Code, Codex, Antigravity,
Omnigent sidecars, gensee watch, gensee timeline, and the dashboard when
you want one combined view.~/.claude/settings.json, Codex uses ~/.codex/hooks.json,
and Antigravity defaults to global ~/.gemini/config/hooks.json. Antigravity
also supports workspace-local .agents/hooks.json when you pass --hooks.Avoid pointing GENSEE_HOME at the project workspace root. A repo-local store
such as $PWD/.gensee-dev is convenient for development, while
$HOME/.gensee-<agent> is better for long-running sidecars such as Omnigent so
Gensee does not watch its own store writes.
The local store can include redacted prompts, commands, paths, policy alerts,
and lineage data. Fresh telemetry stores are encrypted at rest by default with a
local key in $GENSEE_HOME/gensee.key. Keep that key private and do not share
it with store snapshots; sharing the key and store together gives readers access
to the telemetry. Existing plaintext development stores remain readable rather
than breaking hooks; move or remove the old GENSEE_HOME to start a fresh
encrypted store. Set GENSEE_STORE_ENCRYPTION=0 only for local debugging
stores.
/proc
process attribution, fanotify sensitive-path enforcement, seccomp launcher
profiles, and cgroup/nftables network controls.cargo) and jq.pkg-config, OpenSSL headers, nftables, and git.Install the required command-line tools on macOS:
xcode-select --install
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source "$HOME/.cargo/env"
brew install jq
Install the required command-line tools on Ubuntu/Debian Linux:
sudo apt update
sudo apt install -y build-essential pkg-config libssl-dev jq nftables git
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source "$HOME/.cargo/env"
To capture prompt/tool intent and enforce the safety policy,
configure your agent's hooks to call the matching gensee hook endpoint. The
installer offers Claude Code, Codex, and Antigravity setup. To run the setup
step later for Claude Code:
gensee setup claude-code --gensee-home "$GENSEE_HOME"
If your team requires Claude Code traffic to pass through an inspecting LLM gateway, configure that during the same setup step:
gensee setup claude-code \
--gensee-home "$GENSEE_HOME" \
--anthropic-base-url https://llm-gateway.example.com \
--anthropic-auth-token "$GATEWAY_TOKEN"
For local screening/blocking, start the bundled gateway and point Claude Code at it:
GENSEE_HOME="$GENSEE_HOME" \
GENSEE_BIN="$PWD/target/debug/gensee" \
GENSEE_GATEWAY_TOKEN="local-gateway-token" \
ANTHROPIC_UPSTREAM_API_KEY="$ANTHROPIC_API_KEY" \
node scripts/anthropic_gateway.mjs
./target/debug/gensee setup claude-code \
--gensee-home "$GENSEE_HOME" \
--anthropic-base-url http://127.0.0.1:8787 \
--anthropic-auth-token local-gateway-token
Or for Codex:
gensee setup codex --gensee-home "$GENSEE_HOME"
Or for global Antigravity hooks:
gensee setup antigravity --gensee-home "$GENSEE_HOME"
For workspace-local Antigravity hooks instead, pass an explicit workspace hook path:
gensee setup antigravity \
--gensee-home "$GENSEE_HOME" \
--hooks /path/to/workspace/.agents/hooks.json
If you are running from a source checkout instead of an installed binary:
./target/debug/gensee setup claude-code --gensee-home "$GENSEE_HOME"
./target/debug/gensee setup codex --gensee-home "$GENSEE_HOME"
./target/debug/gensee setup antigravity --gensee-home "$GENSEE_HOME"
The setup commands back up the previous hook settings, update
~/.claude/settings.json, ~/.codex/hooks.json, or
~/.gemini/config/hooks.json by default, and use the absolute path to the
gensee binary you invoked. Fully restart Claude Code or Antigravity after
changing hook config. Open /hooks in Codex to review and trust the hook
command before testing enforcement. Full manual config and what gets recorded
(plus redaction details) are in
docs/claude-code-hooks.md,
[docs/codex-support.md](docs/codex-support.md