MCP Server Builder
anthropics/skills
Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.
Use only when the user explicitly invokes $encode-invariant.
$ npx skills add hoangnb24/repository-harness --skill encode-invariant -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install hoangnb24/repository-harness encode-invariant --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/hoangnb24/repository-harness.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/encode-invariant .claude/skills/encode-invariant && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "encode-invariant" agent skill from https://github.com/hoangnb24/repository-harness/tree/main/.agents/skills/encode-invariant into .claude/skills/encode-invariant/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "encode-invariant", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/hoangnb24/repository-harness/tree/main/.agents/skills/encode-invariantType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add hoangnb24/repository-harness --skill encode-invariant -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install hoangnb24/repository-harness encode-invariant --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/hoangnb24/repository-harness.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/encode-invariant .agents/skills/encode-invariant && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "encode-invariant" agent skill from https://github.com/hoangnb24/repository-harness/tree/main/.agents/skills/encode-invariant into .agents/skills/encode-invariant/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "encode-invariant", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add hoangnb24/repository-harness --skill encode-invariant -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install hoangnb24/repository-harness encode-invariant --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/hoangnb24/repository-harness.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/encode-invariant .cursor/skills/encode-invariant && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "encode-invariant" agent skill from https://github.com/hoangnb24/repository-harness/tree/main/.agents/skills/encode-invariant into .cursor/skills/encode-invariant/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "encode-invariant", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/hoangnb24/repository-harness.git --path .agents/skills/encode-invariant--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add hoangnb24/repository-harness --skill encode-invariant -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install hoangnb24/repository-harness encode-invariant --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/hoangnb24/repository-harness.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/encode-invariant .gemini/skills/encode-invariant && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "encode-invariant" agent skill from https://github.com/hoangnb24/repository-harness/tree/main/.agents/skills/encode-invariant into .gemini/skills/encode-invariant/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "encode-invariant", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install hoangnb24/repository-harness encode-invariantInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add hoangnb24/repository-harness --skill encode-invariant -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/hoangnb24/repository-harness.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/encode-invariant .github/skills/encode-invariant && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "encode-invariant" agent skill from https://github.com/hoangnb24/repository-harness/tree/main/.agents/skills/encode-invariant into .github/skills/encode-invariant/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "encode-invariant", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add hoangnb24/repository-harness --skill encode-invariant -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install hoangnb24/repository-harness encode-invariant --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/hoangnb24/repository-harness.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/encode-invariant .opencode/skills/encode-invariant && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "encode-invariant" agent skill from https://github.com/hoangnb24/repository-harness/tree/main/.agents/skills/encode-invariant into .opencode/skills/encode-invariant/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "encode-invariant", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
encode-invariantUse only when the user explicitly invokes $encode-invariant.
Encode Invariant is an agent skill from hoangnb24/repository-harness. Use only when the user explicitly invokes $encode-invariant. Convert accepted repository rules into native mechanical validation with positive and negative proof. Do not infer policy from conventions, code patterns, tests, defaults, or undocumented preferences.
Its SKILL.md is about 670 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).
It sits in Agent Workflows. The repository describes itself as: Turn any repo into an agent-ready workspace for Claude Code, Codex, Cursor, and other coding agents. The licence is MIT.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 485fd40. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Encode Invariant loads about 668 tokens when it runs. Until then it costs about 70 tokens; SKILL.md has 325 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from hoangnb24/repository-harness at commit 485fd40, republished under its MIT licence (© hoangnb24). 325 words, ~668 tokens.
.claude/skills/encode-invariant/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Turn an accepted rule into a focused guard without creating new product policy.
Read applicable AGENTS.md, docs/WORKFLOW.md, and the complete
encoding pattern. Locate the
repository's product or technical authority and its native validation owner.
Cite the accepted source and restate the exact scope, allowed behavior, forbidden behavior, and authorized exceptions. Stop before edits if authority is absent or materially ambiguous.
Do not promote conventions, code patterns, tests, defaults, tool behavior, or undocumented preferences into policy. An existing check without accepted authority is a mismatch to report, not authority to expand.
Reuse the repository's existing test, build, task, lint, scan, or validation owner. Choose the lowest deterministic layer that sees the complete accepted scope. Avoid a parallel framework or duplicated source of truth.
Make failures actionable: name the violating item, the broken rule, the authority source, and a concrete compliant next action.
Implement only the authorized boundary. Add or run:
Use recoverable fixtures or test mutations for negative proof. Preserve unrelated work and never leave a deliberate violation in product files.
Inspect the checked-in validation and CI paths. Do not install hooks, choose a CI provider, change merge policy, or mutate external branch protection unless the user separately authorizes that action.
Report each level independently:
Source presence is not execution; CI presence is not a required check; a green check is not proof of merge blocking.
Return accepted authority, encoded scope, changed owner, actionable diagnostic, positive and negative results, the four enforcement levels, and unresolved risks or authority gaps.
© hoangnb24, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in .agents/skills/encode-invariant of hoangnb24/repository-harness.
Open the folder on GitHubat commit 485fd40
Encode Invariant next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Encode Invariant this skillhoangnb24/repository-harness | 1.2k | — | ~668 | Automated safety check: Pass | MIT | |
| MCP Server Builderanthropics/skills | 180k | 63 repos | ~2.3k | Automated safety check: Pass | Apache-2.0 | |
| Hook Development for Claude Code Pluginsanthropics/claude-plugins-official | 38k | 10 repos | ~4.1k | Automated safety check: Notes | Apache-2.0 | |
| Using Superpowersfarm-fe/farm | 5.6k | 35 repos | ~1.4k | Automated safety check: Pass | MIT | |
| Executing Plans Inlineobra/superpowers | 297k | 2 repos | ~5.1k | Automated safety check: Pass | MIT | |
| Skill CreatorAzure/azqr | 795 | 89 repos | ~8.2k | Automated safety check: Pass | Apache-2.0 |
anthropics/skills
Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.
anthropics/claude-plugins-official
Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.
farm-fe/farm
A skill your agent uses when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions
obra/superpowers
Has the agent carry out an implementation plan itself, task by task in the current session, keeping a ledger, proving each step with a test and ending with one whole-branch review.
Azure/azqr
Create new skills, modify and improve existing skills, and measure skill performance.
anthropics/claude-plugins-official
Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.
hoangnb24/repository-harness
Use only when the user explicitly invokes $audit-onboarding-proposal.
hoangnb24/repository-harness
Use only when the user explicitly invokes $onboard-repository.
hoangnb24/repository-harness
Use only when the user explicitly invokes $engineering-wisdom.
hoangnb24/repository-harness
Use only when the user explicitly invokes $improve-harness. An agent skill from hoangnb24/repository-harness.
Categories
Use only when the user explicitly invokes $encode-invariant. Encode Invariant is an agent skill from hoangnb24/repository-harness. Use only when the user explicitly invokes $encode-invariant.
Encode Invariant fits situations like: explicitly invokes $encode-invariant.
Run `npx skills add hoangnb24/repository-harness --skill encode-invariant -a claude-code`. Or copy the skill folder (.agents/skills/encode-invariant in hoangnb24/repository-harness) into .claude/skills/encode-invariant in your project. Claude Code loads it when a task matches its description.
Run `npx skills add hoangnb24/repository-harness --skill encode-invariant -a codex`. Or copy the skill folder (.agents/skills/encode-invariant in hoangnb24/repository-harness) into .agents/skills/encode-invariant in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add hoangnb24/repository-harness --skill encode-invariant -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/encode-invariant, .gemini/skills/encode-invariant, .github/skills/encode-invariant and .opencode/skills/encode-invariant in your project.
SKILL.md names no scripts, command-line tools or credentials: Encode Invariant is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Encode Invariant is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 668 tokens (SKILL.md is roughly 2.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Encode Invariant: MCP Server Builder (anthropics/skills, 180k stars), Hook Development for Claude Code Plugins (anthropics/claude-plugins-official, 38k stars), Using Superpowers (farm-fe/farm, 5.6k stars) and Executing Plans Inline (obra/superpowers, 297k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
hoangnb24 (a GitHub user) maintains it in hoangnb24/repository-harness, which has 1,242 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 4, 2026.
Source: hoangnb24/repository-harness on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.