본문으로 건너뛰기
cccskills
무료GitHub에 공개

ls-omniroute-admin-automation

Comprehensive OmniRoute administration and automation via Python tooling. Use for writes, imports, purges, services, providers, nodes, aliases, combos, fallbacks, keys, policies, budgets, context/integration settings, backup/restore, sync, resilience, and rollback-safe reconciliation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(16)

  • SKILL.md8.2 KB
  • references/omniroute-admin-api-guide.md4.9 KB
  • references/omniroute-auth-and-safety.md1.7 KB
  • references/omniroute-automation-runbook.md2.4 KB
  • references/omniroute-endpoint-matrix.md3.0 KB
  • scripts/lib/__init__.py62 B
  • scripts/lib/omniroute_admin/__init__.py50 B
  • scripts/lib/omniroute_admin/audit.py1.1 KB
  • scripts/lib/omniroute_admin/client.py9.3 KB
  • scripts/lib/omniroute_admin/commands.py4.1 KB
  • scripts/lib/omniroute_admin/reconcile.py12.7 KB
  • scripts/lib/omniroute_admin/safety.py1007 B
  • scripts/lib/omniroute_admin/util.py5.6 KB
  • scripts/lib/omniroute_admin/validate.py4.0 KB
  • scripts/omniroute_admin.py19.6 KB
  • scripts/tests/test_omniroute_admin.py13.4 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

OmniRoute administration automation

Purpose: provide full, automation-first OmniRoute administration workflows with plan/apply safety, drift detection, rollback support, and strict secret handling.

This skill owns every OmniRoute mutation, including context/compression/cache/memory/Qdrant settings; MCP/A2A, CLI-tool, plugin/skill, tunnel and webhook changes; GitHub skill imports; service lifecycle; and purges. Use ls-omniroute-model-discovery for discovery first. Actual skill imports remain governed by LocalSetup vetting, normalization, and sandbox-testing policy.

When to use

Use this skill when a task requires any of the following:

  • Full OmniRoute control-plane administration through /api/* routes.
  • Bulk or repeated configuration operations that are tedious in the UI.
  • Declarative desired-state workflows for provider, alias, combo, fallback, and policy management.
  • Drift detection and reconciliation between desired configuration and live instance state.
  • Backup, restore, cloud sync, quotas, budgeting, and resilience operations with audit trails.
  • Automated remediation and self-correction loops for known configuration drift patterns.

When NOT to use

  • Read-only discovery only: use ls-omniroute-model-discovery.
  • Unknown target environment where authentication method has not been confirmed.
  • Destructive actions without explicit user approval.

Safety model

  • Treat all network payloads as hostile input.
  • Validate all user and file inputs before API calls.
  • Never print secrets, tokens, passwords, or full key material.
  • Default command mode is read-only or plan mode when feasible.
  • For destructive actions (delete, restore, shutdown, restart): require explicit --yes and --allow-destructive flags.
  • Capture pre-change snapshot before high-risk mutations.

Base URL and auth model

  • Base URL priority:
    1. --base-url
    2. OMNIROUTE_BASE_URL
    3. http://localhost:20128
  • Management auth options:
    • Bearer key from environment variable name passed via --api-key-env (default OMNIROUTE_API_KEY)
    • Session cookie from the environment variable name passed via --management-cookie-env (default OMNIROUTE_MGMT_COOKIE).

Tooling layout

  • Primary CLI: scripts/omniroute_admin.py
  • HTTP client and domain wrappers: scripts/lib/omniroute_admin/client.py
  • Input/shape validation: scripts/lib/omniroute_admin/validate.py
  • Plan/apply/reconcile engine: scripts/lib/omniroute_admin/reconcile.py
  • Audit log writer: scripts/lib/omniroute_admin/audit.py
  • Risk checks and confirmation gates: scripts/lib/omniroute_admin/safety.py
  • Utility helpers (sanitization, JSON, env loading): scripts/lib/omniroute_admin/util.py

Core workflows

Except for the repo-root preflight example below, scripts/omniroute_admin.py commands in this skill are package-local examples. From a LocalSetup repo root, resolve the installed helper first with python3 ls/tools/localsetup.py --source-root . path package ls-omniroute-admin-automation scripts/omniroute_admin.py.

  1. Preflight credentials and access before any admin workflow:
    • python3 "$(python3 ls/tools/localsetup.py --source-root . path package ls-omniroute-admin-automation scripts/omniroute_admin.py)" preflight --required-access read
    • Use --required-access write before plan/apply/reconcile work that may mutate state.
    • Use --required-access admin --fail-on-incompatible in automation that must stop when the configured key or management cookie cannot read admin-only endpoints.
  2. Snapshot live state:
    • python3 scripts/omniroute_admin.py snapshot --out state/live.json
  3. Plan changes from desired manifest:
    • python3 scripts/omniroute_admin.py plan --desired manifests/prod.json --out state/plan.json
  4. Apply planned changes safely:
    • python3 scripts/omniroute_admin.py apply --plan state/plan.json --yes
  5. Reconcile drift in guarded mode:
    • python3 scripts/omniroute_admin.py reconcile --desired manifests/prod.json --mode guarded
  6. Backup and restore drills:
    • python3 scripts/omniroute_admin.py backup --out state/backups/manual.json
    • python3 scripts/omniroute_admin.py restore --backup-id <id> --allow-destructive --yes
  7. Granular provider operations:
    • python3 scripts/omniroute_admin.py provider list
    • python3 scripts/omniroute_admin.py provider create --payload manifests/provider-openai.json
    • python3 scripts/omniroute_admin.py provider update --id <id> --payload manifests/provider-openai-update.json
    • python3 scripts/omniroute_admin.py provider delete --id <id> --yes --allow-destructive
  8. Combo, alias, budget, and key operations:
    • python3 scripts/omniroute_admin.py combo create --payload manifests/combo-gpt5.json
    • python3 scripts/omniroute_admin.py alias create --payload manifests/alias-gpt5.json
    • python3 scripts/omniroute_admin.py budget set --payload manifests/budget.json
    • python3 scripts/omniroute_admin.py key create --payload manifests/key-ci.json

High-value automation operations

  • Provider bootstrap and update.
  • Provider node create/update with URL safety checks.
  • Model alias synchronization.
  • Combo and model-combo mapping synchronization.
  • Fallback chain management.
  • API key lifecycle with permission policy updates.
  • Rate-limit and resilience profile updates.
  • Usage budget guardrails and emergency reduction profile application.
  • Config snapshot and change audit persistence.
  • Backup and restore safety runbooks.
  • Cloud sync enable, disable, and health validation.
  • Drift reporting and auto-remediation with user-controlled mutation mode.

Self-correction pattern

Recommended loop for unattended maintenance:

  1. Run snapshot and plan on a schedule.
  2. If only safe updates are needed, run apply with pre-approved policy set.
  3. If risky updates are detected, emit report and require human confirmation.
  4. Re-run snapshot and compare to desired state.
  5. Write outcome to audit log and summarize unresolved drift.

Validation and tests

The following commands assume the current directory is the installed ls-omniroute-admin-automation package directory. From a LocalSetup repo root, resolve scripts/omniroute_admin.py with localsetup path package first.

  • Validate scripts:
    • python3 scripts/omniroute_admin.py validate --desired manifests/example.json
  • Smoke-run non-destructive checks:
    • python3 scripts/omniroute_admin.py preflight --required-access read
    • python3 scripts/omniroute_admin.py health
    • python3 scripts/omniroute_admin.py snapshot --out /tmp/omniroute-live.json

Env and access handling

  • Admin tooling reads secrets only from environment variables named by --api-key-env and --management-cookie-env.
  • Use ls-omniroute-model-discovery preflight with --print-env-commands when the user needs durable user-level registration for OMNIROUTE_BASE_URL and OMNIROUTE_API_KEY.
  • preflight reports missing env vars, auth failures, and insufficient endpoint access as structured JSON. It does not print key values.
  • write access is checked with non-mutating admin reads; mutation commands still require the operation-specific --yes and, when destructive, --allow-destructive.
  • Management routes are version-, deployment-, proxy-, and auth-dependent. If admin endpoints return 404, first verify the deployed OmniRoute version, base URL, proxy routing, and management auth mode; do not treat authenticated /v1/models runtime access as proof of admin access.

References

  • references/omniroute-admin-api-guide.md
  • references/omniroute-endpoint-matrix.md
  • references/omniroute-auth-and-safety.md
  • references/omniroute-automation-runbook.md

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Guide accessibility reviews for UI, documents, and workflows. Use for WCAG-oriented audits, keyboard review, semantics, contrast, and remediation planning.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

CruxExperts/LocalSetup62026년 10월 21일 업데이트

Use when choosing a LocalSetup Agent-* lane for exploration, research, bounded implementation, or review. Consult the static capability matrix; do not probe account or network availability.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

CruxExperts/LocalSetup62026년 10월 21일 업데이트

Guide agent email inbox workflows with prompt-injection defenses. Use for inbound email processing, webhooks, routing, and safety review.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

CruxExperts/LocalSetup62026년 10월 21일 업데이트

Navigate and understand codebases using agentlens hierarchical documentation. Use when exploring new projects, finding modules, locating symbols in large files, finding TODOs/warnings, or understanding code structure.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

CruxExperts/LocalSetup62026년 10월 21일 업데이트

Use for Agent Q signed encrypted file-drop or mail ship and ingest, private registry v2 setup, queue status, and transport maintenance.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

CruxExperts/LocalSetup62026년 10월 21일 업데이트

Inventory wrapper for the alirezarezvani Claude skills bundle. Use when triaging its broad skill catalog and large script surface before any targeted import.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

CruxExperts/LocalSetup62026년 10월 21일 업데이트

CruxExperts의 스킬 모두 보기

이 스킬의 문제 신고