yoke-retrofit

yoke-retrofit is a skill for Claude Code from HECer/yoke. It costs 50 tokens per session (476 once invoked), scanned A, original, MIT.

A setup guide for Yoke, a shared harness that applies the same project behavior to Claude, Codex, and Gemini coding agents.

In plain words
What is it for?
Use it when adding or updating Yoke in a project, choosing a code-graph tool, selecting the coding agents it should support, or enabling its loop and decision settings.
Why use it?
It turns project choices about agents, code navigation, autonomous loops, task running, and decision-making into one repeatable setup command.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions Codex; mentions Gemini CLI.

Part of the yoke plugin — 34 skills, 1 hook shipped together

Good fit Use it when adding or updating Yoke in a project, choosing a code-graph tool, selecting the coding agents it should support, or enabling its loop and decision settings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hecer/yoke/yoke-retrofit
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 HECer/yoke --skill yoke-retrofit
Clone the repo
git clone --depth 1 https://github.com/HECer/yoke

Made for: Claude Code.

Or install yoke, the plugin that ships this one along with the rest of its 34 skills, 1 hook.

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 yoke-retrofit

README.md
[![agentmods](https://agentmods.dev/badge/skills/hecer/yoke/yoke-retrofit/github.svg)](https://agentmods.dev/skills/hecer/yoke/yoke-retrofit)
Your own site
<a href="https://agentmods.dev/skills/hecer/yoke/yoke-retrofit"><img src="https://agentmods.dev/badge/skills/hecer/yoke/yoke-retrofit/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 yoke-retrofit

Your own site · 80×15
<a href="https://agentmods.dev/skills/hecer/yoke/yoke-retrofit"><img src="https://agentmods.dev/badge/skills/hecer/yoke/yoke-retrofit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 476 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.00050 $0.00476
Opus 5 $0.00025 $0.00238
Sonnet 5 $0.00010 $0.00095
Haiku 4.5 $0.00005 $0.00048

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

Security

Grade A, and why

yoke-retrofit 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 3d 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.

canon/skills/yoke-retrofit/SKILL.md · 27 lines

What it actually says

Yoke Retrofit

Set up or update Yoke through the shared yoke setup contract.

  1. Inspect the project and identify the current host (claude, codex, gemini, qwen, opencode, kilo, or pi).
  2. Ask these setup questions one at a time and give a direct recommendation:
    • target agents (recommend the current host; use all for deliberately cross-agent projects),
    • code-graph tool,
    • autonomous loop on/off,
    • default runner (recommend the current host),
    • decision mode: auto or critical.
  3. Recommend the code graph based on this project:
    • Serena is LSP-accurate and best for large typed codebases or systematic symbol refactors where a missed reference is costly. It needs a language server per language.
    • graphify is fast and multimodal, and is best for exploration, migration, onboarding, or mixed code and document repositories. Its graph is an index and can become stale.
  4. Apply the answers without a second round of prompts: yoke setup . --yes --host=<host> --agent=<agents> --code-graph=<choice> --runner=<runner> --decision-policy=<auto|critical> --loop|--no-loop. A human who runs yoke setup . directly receives the same five terminal questions.
  5. Show the generated report and backup paths. Existing files are backed up under .yoke/backup/; settings are merged where supported.
  6. If an old generated CLAUDE.md or GEMINI.md contained project-specific instructions, restore them inside its <!-- yoke:preserve:start --> / <!-- yoke:preserve:end --> block. Preserve blocks survive every later retrofit.

The generated harness includes the provider-neutral yoke-workflow skill. It owns the planning questions, approved-plan handoff, autonomous stories, and critical-decision resume flow.

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. 3d ago Changed · -1 tokens per session 87416c7feecd
  2. 12d ago First seen · 27 lines · 51 tokens per session scan A 6165f3a533e1

Subscribe to this mod's changes

yoke-retrofit is a skill published in the GitHub repository HECer/yoke (2 stars, last pushed 2d ago), licensed MIT. It adds 50 tokens to every session and 476 once invoked, about $0.0003 per session on Opus 5. 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

add-new-agent-support

Add a new agent (tool) support to agent-command-sync following the registry pattern.

skill-mill/agent-skill-porter · 21 tokens

neo4j-document-import-skill

Ingests unstructured and semi-structured documents into Neo4j as a knowledge graph. Use when chunking PDFs, HTML, plain text, or Markdown; extracting entities and relationships from text with an LLM (SimpleKGPipeline, neo4j-graphrag); loading JSON via apoc.load.json; building Document→Chunk→Entity graph structures; or…

neo4j-contrib/neo4j-skills · 187 tokens

neo4j-aura-agent-skill

Manages Neo4j Aura Agents via the v2beta1 REST API — create, list, get, update, delete, and invoke Aura agents backed by an AuraDB instance. Use when configuring Aura Agent tools (CypherTemplate, SimilaritySearch, Text2Cypher), setting system prompts, deploying agents to REST or MCP endpoints, or invoking agents with…

neo4j-contrib/neo4j-skills · 142 tokens

neo4j-graphql-skill

Build and configure a GraphQL API backed by Neo4j using @neo4j/graphql v7 (current) or v5 (LTS). Covers Neo4jGraphQL constructor, getSchema(), assertIndexesAndConstraints(), type definitions with @node, @relationship (IN/OUT/UNDIRECTED), @cypher for custom resolvers, @authorization/@authentication for JWT/JWKS…

neo4j-contrib/neo4j-skills · 169 tokens

neo4j-modeling-skill

Design, review, and refactor Neo4j graph data models. Use when choosing node labels vs relationship types vs properties, migrating relational/document schemas to graph, detecting anti-patterns (generic labels, supernodes, missing constraints), designing intermediate nodes for n-ary relationships, enforcing schema with…

neo4j-contrib/neo4j-skills · 152 tokens

daily-news-report

Scrapes content based on a preset URL list, filters high-quality technical information, and generates daily Markdown reports.

agent-skills-hub/agent-skills-hub · 26 tokens