원클릭으로
skill-usage
Record skill invocation intent, linked evidence, validation, outcome, and failures through the nils-cli skill-usage command.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Record skill invocation intent, linked evidence, validation, outcome, and failures through the nils-cli skill-usage command.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Resume and execute implementation work from a plan-tracking GitHub issue that carries issue-hosted source, plan, and execution-state snapshots, preserving progress on the issue when local docs/plans files may be cleaned up.
Use when the user wants to open or continue a GitHub issue as the durable timeline for a discovered problem, investigation, blocker, implementation handoff, or unresolved follow-up loop.
Finalize and close plan-tracking GitHub issues after issue-backed execution is complete and the user or project policy has approved closure.
Open or preview a provider-aware GitHub or GitLab tracking issue for a docs/plans plan bundle, bootstrapping the source doc and plan first when the user has a converged feature discussion but no plan file yet.
Deliver a dispatch-ready plan by sprint: split plan tasks into PR lanes, dispatch subagent work, enforce acceptance gates, and advance through final integration without main-agent implementation.
Close out an existing plan-issue runtime where main-agent owns orchestration and review only, subagents own implementation task lanes, and close gates require approval plus merged PRs.
| name | skill-usage |
| description | Record skill invocation intent, linked evidence, validation, outcome, and failures through the nils-cli skill-usage command. |
Use this skill when a workflow needs a compact, deterministic record of a named skill invocation and its validation or failure handling.
Prereqs:
HEURISTIC_SYSTEM.md and the calling
workflow skill; this CLI does not detect or classify every command failure.agent-out project --topic skill-usage --mkdir
directory when the project has no evidence path.skill-usage available on PATH from nils-cli 0.8.5 or newer.nils-agent-workflow-primitives binary surface with skill-usage.
Verify the actual binary with skill-usage --version.nils-cli checkout that builds nils-agent-workflow-primitives, used only
when the PATH binary is absent or reports a version older than the release that includes skill-usage.--out directory
concurrently. Serialize writes for one record directory and verify after the
final update.Inputs:
init: required --out DIR, --skill TEXT, --intent TEXT, and --user-request-summary TEXT; optional --trigger user-explicit|agent-selected|project-policy|other, repeatable --referenced-file PATH, repeatable --external-source TEXT, --cwd DIR, --started-at TEXT, --validation-waiver TEXT, --force, and --format text|json.link-record: required --out DIR, --type TEXT, and --path PATH; optional --format text|json.record-failure: required --out DIR, --phase preflight|execution|validation|cleanup|delivery, --classification skill-contract|script-bug|missing-dependency|external-service|project-state|user-scope|unknown, --symptom TEXT, --diagnosis TEXT,
--handling TEXT, and --result fixed|worked-around|blocked|accepted-risk; optional --command TEXT, --exit-code CODE,
repeatable --artifact PATH, and --format text|json.record-validation: required --out DIR, --command TEXT, --status pass|fail|skipped, and --summary TEXT; optional --artifact PATH and --format text|json.record-outcome: required --out DIR, --status pass|fail|blocked|worked-around|accepted-risk|skipped, and --summary TEXT;
optional --ended-at TEXT, repeatable --artifact PATH, repeatable --follow-up TEXT, and --format text|json.verify / show: required --out DIR; optional --format text|json.Outputs:
skill-usage.record.json under --out DIR.cli.skill-usage.verify.v1.skill-usage.record.v1.Exit codes:
0: command succeeded; for verify, the skill usage record is complete.1: runtime failure or incomplete/invalid skill usage evidence.64: usage error.Failure modes:
skill-usage is unavailable on PATH and no validated local checkout invocation is being used.skill-usage.record.json; serialize them or split the evidence into separate
record directories.verify finds missing required fields, missing final validation without waiver, missing failure records for non-pass outcomes, or
secret-like values.Required released PATH boundary:
skill-usage --version
Use the PATH command only when it resolves to skill-usage 0.8.5 or newer.
Local checkout fallback boundary:
cargo run --locked --manifest-path /path/to/nils-cli/Cargo.toml \
-p nils-agent-workflow-primitives --bin skill-usage -- --version
Run the Cargo form from the workflow's target directory. It is only a fallback transport for a validated local checkout when the released PATH binary is absent or older than 0.8.5. Do not mix PATH and local checkout evidence claims without stating which source was used.
Required released PATH command:
skill-usage init --out <dir> --skill <skill> --intent <intent> --user-request-summary <summary> [--format json]
skill-usage link-record --out <dir> --type <record-type> --path <path> [--format json]
skill-usage record-failure --out <dir> --phase preflight|execution|validation|cleanup|delivery --classification skill-contract|script-bug|missing-dependency|external-service|project-state|user-scope|unknown --symptom <text> --diagnosis <text> --handling <text> --result fixed|worked-around|blocked|accepted-risk [--format json]
skill-usage record-validation --out <dir> --command <command> --status pass|fail|skipped --summary <summary> [--format json]
skill-usage record-outcome --out <dir> --status pass|fail|blocked|worked-around|accepted-risk|skipped --summary <summary> [--format json]
skill-usage verify --out <dir> [--format json]
skill-usage show --out <dir> [--format json]
skill-usage completion <bash|zsh>
Local checkout fallback command:
cargo run --locked --manifest-path /path/to/nils-cli/Cargo.toml \
-p nils-agent-workflow-primitives --bin skill-usage -- <subcommand> ...
skill-usage init --out <dir> --skill <skill> --intent <intent> --user-request-summary <summary> --format json--out directory serially; do not parallelize
link-record, record-failure, record-validation, or record-outcome
against the same record.skill-usage link-record --out <dir> --type review-evidence --path <path>skill-usage verify --out <dir> --format jsonskill-usage.record.json or duplicate redaction, completeness, or JSON envelope logic in skill-local scripts.review-evidence.json, test-first-evidence.json, or
browser-session.json.docs/runbooks/skills/SKILL_USAGE_RECORDING_V1.md; the CLI owns deterministic writing and
verification only.HEURISTIC_SYSTEM.md and the
calling workflow. Use failures for skill-bound command, script, dependency,
validation, delivery, or external-service failures only after a usage record is
already required.