Skip to content
Back to skills

Odylith Security Hardening

ASecurity

Before acting on a durable error, escaped defect, failed mechanism, failed simulation, bad generated artifact, semantic drift, quality-gate miss, latency breach, architecture decision, validation result, or release-risk learning, search Casebook and related governance truth first. Read prior failed mechanisms, failed fix attempts, rejected approaches, guardrails, and validation history; do not repeat a fix path that already failed. Capture new mechanism-level learning in Casebook or Compass, and

  • 36 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 12, 2026
ai-agentspythonrustgobashrailssecurity

Works with

  • claude code
  • cli

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add odylith/odylith --skill odylith-security-hardening --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Odylith Security Hardening?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Odylith Security Hardening
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/odylith-odylith-security-hardening-odylith/badge)](https://www.skillsdirectory.com/skills/odylith-odylith-security-hardening-odylith)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Security Hardening

## Governance-Learning Default
Before acting on a durable error, escaped defect, failed mechanism, failed simulation, bad generated artifact, semantic drift, quality-gate miss, latency breach, architecture decision, validation result, or release-risk learning, search Casebook and related governance truth first. Read prior failed mechanisms, failed fix attempts, rejected approaches, guardrails, and validation history; do not repeat a fix path that already failed. Capture new mechanism-level learning in Casebook or Compass, and update Radar or plans, Registry, and Atlas when the learning changes planned work, component contracts, or flows.

## CLI-First Non-Negotiable
- CLI-first is non-negotiable for both Codex and Claude Code. Remove all hand-authoring for places where Odylith CLI should be doing the heavy-lifting. When an Odylith CLI command exists for an operation, you must call the CLI command and you must not hand-edit governed files the CLI owns. Hand-authoring governed truth where a CLI exists is a hard policy violation, not a stylistic preference. The authoritative policy, CLI surface enumeration, allowed hand-edit surfaces, and failure-mode handling live in `odylith/agents-guidelines/CLI_FIRST_POLICY.md`, anchored by Casebook learning `CB-104`. The rule travels through routed `spawn_agent` leaves on Codex and Task-tool subagents on Claude Code, so delegated work inherits the same contract.

Use this skill when a task changes Odylith's runtime trust boundary,
release-asset verification, workflow supply-chain posture, daemon/process
lifetime, or the documented security contract across consumer, dogfood, and
detached `source-local` lanes.

## Lane Boundary
- Consumer lane:
  - keep `./.odylith/bin/odylith` on a verified managed runtime
  - do not rely on insecure local-release or Sigstore-bypass env vars
- Product-repo maintainer mode:
  - pinned dogfood proves the shipped runtime
  - detached `source-local` is the explicit live-source development posture
  - local hosted-release overrides are allowed only for bounded maintainer
    rehearsal

## Default Flow
- identify the active lane and the exact trust boundary first
- inspect the launcher, runtime trust anchor, release-asset verification, and
  long-lived process paths before editing
- harden code and docs together so the written contract matches the enforced
  boundary
- preserve the narrow `0.1.0`/`0.1.1` upgrade-escape compatibility path
  without weakening the modern trusted-runtime contract
- update Casebook, Radar, Registry, and Security Posture truth when the
  security contract changes materially
- verify no Odylith-owned Python processes remain after the command or timeout
  path finishes

## Canonical Commands
```bash
./.odylith/bin/odylith version --repo-root .
./.odylith/bin/odylith doctor --repo-root . --repair
./.odylith/bin/odylith reinstall --repo-root . --latest
./.odylith/bin/odylith context-engine status --repo-root .
pytest tests/unit/install/test_runtime.py tests/unit/install/test_release_assets.py tests/integration/install/test_manager.py -q
pytest tests/unit/runtime/test_odylith_context_engine_daemon_hardening.py tests/unit/runtime/test_auto_update_mermaid_diagrams.py tests/unit/runtime/test_sync_cli_compat.py -q
```

## Rules
- Fail closed on ambiguous runtime or release trust.
- Prefer immutable workflow/action pins over floating tags.
- Do not describe detached `source-local` as a secure immutable lane.
- Keep process-lifetime fixes honest: no retry loop or timeout path is done
  until the owned Python process exits.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.