sdtk-ops-kit
v0.2.4
Published
Skill-driven operations toolkit for deployment, verification, monitoring, incident response, backup, security, compliance, and cost discipline.
Maintainers
Readme
sdtk-ops-kit
Skill-driven operations toolkit for deployment, verification, monitoring, incident response, backup or recovery, security, compliance, and cost discipline.
Package
- Package:
sdtk-ops-kit - CLI:
sdtk-ops - Latest published version lookup:
npm view sdtk-ops-kit version
Install
npm install -g sdtk-ops-kitThen verify the installed command:
sdtk-ops --version
sdtk-ops --helpIf you need the exact latest published version number, run:
npm view sdtk-ops-kit versionUpdate Existing Installation
Use the public update command when sdtk-ops-kit is already installed and you want the newest published package line.
sdtk-ops update --check-only
sdtk-ops update --runtime claude --project-path ./my-projectCodex user-scope variant:
sdtk-ops update --runtime codex --scope user --project-path ./my-projectProject-local Codex refresh is also supported, but only when you intentionally launch the runtime with the explicit local CODEX_HOME=<project>/.codex contract. Native .codex/skills auto-discovery is still not claimed.
Then verify:
sdtk-ops --version
sdtk-ops runtime status --runtime claude --project-path ./my-projectImportant truth:
sdtk-ops updatestill usesnpm install -g sdtk-ops-kit@<target>as the package refresh mechanismupdate --check-onlyis non-destructive and prints the planned commands onlyinit --forcerefreshes managed project filesruntime install --forcerefreshes managed runtime assets- existing ops evidence is not rewritten automatically
Supported Command Surface
SDTK-OPS keeps a deliberately small CLI surface.
| Command | Purpose |
|---|---|
| sdtk-ops help | Show the supported command surface and routing guidance |
| sdtk-ops init | Copy shared project files and prepare runtime installation |
| sdtk-ops update | Refresh the installed package line and optionally rerun bounded managed-file/runtime refresh steps |
| sdtk-ops runtime install | Install runtime assets for Claude or Codex |
| sdtk-ops runtime status | Check installed runtime assets |
| sdtk-ops runtime uninstall | Remove runtime assets cleanly |
Not supported:
sdtk-ops generate- workflow-first commands such as
sdtk-ops deploy,sdtk-ops incident, orsdtk-ops monitor
Runtime Matrix
| Runtime | Project Scope | User Scope | Notes |
|---|:---:|:---:|---|
| Claude | Yes | Yes | Default scope is project |
| Codex | Yes | Yes | Default scope is user; project-local installs require the explicit local CODEX_HOME=<project>/.codex contract |
Important truth:
- Claude supports
projectanduserscope. - Codex defaults to
userscope and supportsprojectscope only through the explicit localCODEX_HOME=<project>/.codexcontract. - Codex installs collision-avoiding
sdtk-ops-*skill names.
Remove Runtime Assets vs Remove the Package
runtime uninstall removes only the SDTK-OPS-managed skill folders for the selected runtime and scope.
It does not delete .claude/, .claude/skills/, $CODEX_HOME/, or $CODEX_HOME/skills/, because those roots may contain non-SDTK user assets.
Use runtime cleanup first:
sdtk-ops runtime uninstall --runtime claude --scope project --project-path ./my-project
sdtk-ops runtime uninstall --runtime claude --scope user
sdtk-ops runtime uninstall --runtime codex --allUse npm uninstall separately when you also want to remove the globally installed CLI package:
npm uninstall -g sdtk-ops-kitThat npm command removes the package only. It does not remove runtime assets already copied into Claude or Codex skill directories.
Quick Start
1. Initialize a project
sdtk-ops init --runtime claude --project-path ./my-projectinit copies:
AGENTS.mdsdtk-spec.config.jsonsdtk-spec.config.profiles.example.json
2. Install runtime assets
Claude project scope:
sdtk-ops runtime install --runtime claude --scope project --project-path ./my-projectClaude user scope:
sdtk-ops runtime install --runtime claude --scope userCodex user scope:
sdtk-ops runtime install --runtime codex --scope userCodex project-local scope, only when you intentionally launch with CODEX_HOME=<project>/.codex:
sdtk-ops runtime install --runtime codex --scope project --project-path ./my-projectProject-local Codex installs remain bounded explicit-local support. Native .codex/skills auto-discovery is not claimed.
3. Choose the right skill journey
Use ops-discover when the correct operational path is unclear.
Canonical journeys:
- deployment:
ops-plan -> ops-infra-plan -> ops-container -> ops-ci-cd -> ops-deploy -> ops-monitor -> ops-verify - incident:
ops-incident -> ops-debug -> ops-deploywhen rollback or corrective rollout is needed, thenops-monitor -> ops-verify - monitoring:
ops-plan -> ops-monitor -> ops-verify - backup or recovery:
ops-plan -> ops-backup -> ops-verify
Always close work with ops-verify.
DEV-Run Intake Contract
When operationalization begins from SDTK-CODE, the only canonical intake artifact is:
docs/dev/OPS_HANDOFF_[FEATURE_KEY].json
SDTK-OPS consumes that frozen contract as input.
It does not redefine the schema, rename fields, or move the canonical handoff path.
Ready-path intake:
- inspect
handoff_status - if status is
READY_FOR_SDTK_OPS, start fromsuggested_next_ops_path.start_with - treat
suggested_next_ops_path.suggested_chainas the default route unless fresh evidence requires a bounded reroute - close accepted work with
suggested_next_ops_path.close_with, normallyops-verify
Blocked-path intake:
- if status is
BLOCKED_FOR_SDTK_OPS, the handoff is still inspectable - inspect
open_blockers,code_evidence_refs, and the prerequisite fields before choosing the next step - do not treat blocked handoff state as normal ready-path execution
Minimum OPS evidence expectations for this wave:
- record the consumed handoff path and
handoff_status - record whether the chosen first OPS step followed or overrode
suggested_next_ops_path, and why - record checked prerequisites, assumptions, dependencies, observability requirements, and rollback or recovery expectations
- record journey-specific operational evidence
- record final
ops-verifycloseout evidence
This wave does not define a final OPS evidence schema and does not implement QA bridge logic.
Product Boundary
SDTK-OPS is the downstream operations product in the SDTK-SPEC -> SDTK-CODE -> SDTK-OPS family.
It is:
- skill-driven
- operations-focused
- suitable for deployment, verification, monitoring, incident response, backup, security, compliance, and cost work
It is not:
- a workflow-first CLI like
SDTK-CODE - a generator product
- a provider-pack catalog
- a Kubernetes or cloud-platform package
Package Validation
Maintainers validating a release candidate from source can run:
npm run build:payload
npm run verify:payload
npm test
npm run pack:smokeThose commands validate payload integrity, runtime behavior, and isolated packed-package smoke before publish.
Documentation
- Usage guide:
https://github.com/codexsdtk/sdtk-toolkit/blob/main/products/sdtk-ops/governance/SDTKOPS_TOOLKIT_USAGE_GUIDE.md
- Installation runbook:
https://github.com/codexsdtk/sdtk-toolkit/blob/main/products/sdtk-ops/governance/installation-runbook.md
- Product boundary doc:
https://github.com/codexsdtk/sdtk-toolkit/blob/main/products/sdtk-ops/toolkit/SDTKOPS_TOOLKIT.md
