resign-knowledge-yaml

resign-knowledge-yaml is a skill for Claude Code, Codex from Cantara/kcp-harness. It costs 0 tokens per session (422 once invoked), scanned A, original, Apache-2.0.

A procedure for re-signing a repository's knowledge file after it has been edited on a pull-request branch. The signature is a proof that the file has not been changed without authorization.

In plain words
What is it for?
Use it after changing knowledge.yaml on a non-main branch to trigger the repository's signing workflow, wait for the updated signature, and pull the signed file into the branch.
Why use it?
An edited file can invalidate its signature and make the repository's checks fail, preventing the pull request from merging.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it after changing knowledge.yaml on a non-main branch to trigger the repository's signing workflow, wait for the updated signature, and pull the signed file into the branch.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cantara/kcp-harness/resign-knowledge-yaml
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Cantara/kcp-harness --skill resign-knowledge-yaml
Clone the repo
git clone --depth 1 https://github.com/Cantara/kcp-harness

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for resign-knowledge-yaml

README.md
[![agentmods](https://agentmods.dev/badge/skills/cantara/kcp-harness/resign-knowledge-yaml/github.svg)](https://agentmods.dev/skills/cantara/kcp-harness/resign-knowledge-yaml)
Your own site
<a href="https://agentmods.dev/skills/cantara/kcp-harness/resign-knowledge-yaml"><img src="https://agentmods.dev/badge/skills/cantara/kcp-harness/resign-knowledge-yaml/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for resign-knowledge-yaml

Your own site · 80×15
<a href="https://agentmods.dev/skills/cantara/kcp-harness/resign-knowledge-yaml"><img src="https://agentmods.dev/badge/skills/cantara/kcp-harness/resign-knowledge-yaml.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 422 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00422
Opus 5 $0.00000 $0.00211
Sonnet 5 $0.00000 $0.00084
Haiku 4.5 $0.00000 $0.00042

Measured 9d ago against content hash f24d6e0e9aa4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

resign-knowledge-yaml scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/resign-knowledge-yaml/SKILL.md · 33 lines

What it actually says

Resign knowledge.yaml

Governed skill: recover from an invalidated knowledge.yaml.sig after editing knowledge.yaml on a PR branch — this repo's own test suite verifies that signature, so an unsigned edit self-blocks its own PR, and a merge to main cannot fix a check that is already blocking the merge.

Preconditions

  • knowledge.yaml was edited on a branch that is NOT main/master (a push to main triggers sign-kcp.yml automatically — this skill is for the PR-branch case, where that push trigger never fires).
  • You have permission to dispatch workflows on this repo; the signing key itself lives in Cantara/.github and is reached via secrets: inherit, not held locally.

Steps

  1. (read) Confirm this is the actual failure: CI red on the manifest-signature check, and knowledge.yaml (not just .sig) was touched in the diff.
  2. (bash) gh workflow run sign-kcp.yml --ref <your-branch> — its workflow_dispatch trigger exists specifically so the manifest can be re-signed against a PR branch on demand, not just against main.
  3. (bash) Wait for the run to finish, then git pull on your branch — the workflow commits the refreshed knowledge.yaml.sig back to the branch it ran against.
  4. (read) Re-run or re-check CI on the PR; confirm the signature check is now green.

Verification

knowledge.yaml.sig on the branch has a new commit from the signing workflow, and the manifest-signature CI check is green on the PR.

Rollback

If the dispatch fails or the signing secret is unavailable to your branch: do not hand-edit knowledge.yaml.sig or weaken signature verification to unblock the PR — page whoever holds the Cantara/.github signing secret instead.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 33 lines · 0 tokens per session scan A f24d6e0e9aa4

Subscribe to this mod's changes

resign-knowledge-yaml is a skill published in the GitHub repository Cantara/kcp-harness (0 stars, last pushed 15d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 422 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

prowler-commit

Creates professional git commits following conventional-commits format. Trigger: When creating commits, after completing code changes, when user asks to commit.

prowler-cloud/prowler · 33 tokens

gh-auth-isolation

Safely manage multiple GitHub identities (EMU + personal) in agent workflows.

github/gh-aw · 20 tokens

comet-github

A routing guide for Comet-related GitHub work. It directs requests about pull requests, issues, CI failures, ideas, and fixes to the appropriate review or implementation process.

rpamis/comet · 72 tokens

github-skill

Work with GitHub via the gh CLI — clone repositories, create/list/merge pull requests, create/list issues, and run any other gh command (API calls, workflow runs, releases, repo administration). List operations return parsed JSON.

zeenie-ai/OpenCompany · 51 tokens

re0-merge

Review and land an external contribution the way this suite does: gate it against the thesis, land it with the author's credit intact, complete a new skill rather than merging it raw, then approve, credit, and explain before closing. Use when reviewing a pull request, as any collaborator or maintainer, not only the…

LilMGenius/paperthin · 70 tokens

nvca-chart-release

Release NVCA Operator chart changes from the native monorepo source to the vendored Helm chart. Use when updating the vendored NVCA Operator chart, changing NVCA image refs, publishing helm-nvca-operator, or validating the chart against a self-managed control plane.

NVIDIA/nvcf · 61 tokens