Agent skill

Repo Contracts And Boundaries

by hashgraph-online in hashgraph-online/awesome-codex-plugins

A skill your agent uses when turning architecture, layering, ownership, dependency direction, schemas, structural metrics, quality thresholds, baselines, allowlists, or generated quality snapshots…

Apache-2.0Auto-check passed

Install Repo Contracts And Boundaries

skills CLI
$ npx skills add hashgraph-online/awesome-codex-plugins --skill repo-contracts-and-boundaries -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install hashgraph-online/awesome-codex-plugins repo-contracts-and-boundaries --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/hashgraph-online/awesome-codex-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/yfge/agent-harness-skills/skills/repo-contracts-and-boundaries .claude/skills/repo-contracts-and-boundaries && rm -rf skills-src

Use ~/.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/

Facts

Skill name
repo-contracts-and-boundaries
GitHub stars
1.3k
Token cost
~1.2k tokens
SKILL.md length
545 words
Files
4 (incl. references)
Skills in repo
716
Repo updated
First seen
Licence
Apache-2.0

At a glance

A skill your agent uses when turning architecture, layering, ownership, dependency direction, schemas, structural metrics, quality thresholds, baselines, allowlists, or generated quality snapshots…

  • Works in 8 steps: Search for ARCHITECTURE.md, contract… → List protected rules; each rule must be… → If architecture or contract surfaces are… → …
  • Turning architecture
  • SKILL.md covers Overview, When To Use, Inputs Needed and Execution Order, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Repo Contracts And Boundaries is an agent skill from hashgraph-online/awesome-codex-plugins. Use when turning architecture, layering, ownership, dependency direction, schemas, structural metrics, quality thresholds, baselines, allowlists, or generated quality snapshots into repository checks.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `references/build-when-missing.md`, `references/quality-policy.md` and `references/schema-fixture-contracts.md`).

The repository describes itself as: A curated list of awesome OpenAI Codex / ChatGPT plugins, skills, and resources. The 1 Codex Marketplace. See live plugins at: https://hol.org/plugins/best-codex-plugins. The licence is Apache-2.0.

When your agent uses it

  • Turning architecture
  • Dependency direction
  • Structural metrics
  • Quality thresholds

Example prompts

  • “/repo-contracts-and-boundaries”

Workflow steps

8 steps, taken from the first numbered list in SKILL.md.

  1. Search for ARCHITECTURE.md, contract docs, lint scripts, baseline files, and allowlists.
  2. List protected rules; each rule must be checkable by script or review.
  3. If architecture or contract surfaces are missing, bootstrap the minimum files and checker shape from references/build-when-missing.md.
  4. Separate new drift from historical debt: new drift should fail, historical debt should enter a baseline.
  5. Add only metrics tied to a concrete structural risk; keep them automatically collectible and avoid aggregate quality scores.
  6. Design --mode diff for changed files and --mode audit for full-repository reports.
  7. For each violation, output path, rule or metric, current value, threshold, reason, and suggested direction.
  8. Define when baselines or allowlists may change, who owns generated snapshots, and what repayment note is required.

What it can do on your machine

Read from SKILL.md and the folder at commit 3e1456a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Repo Contracts And Boundaries loads about 1.2k tokens when it runs, and up to ~2.4k if it reads all its reference files. Until then it costs about 58 tokens; SKILL.md has 545 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~58
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.4k

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from hashgraph-online/awesome-codex-plugins at commit 3e1456a, republished under its Apache-2.0 licence (© hashgraph-online). 545 words, ~1,160 tokens.

Download SKILL.mdSave it as .claude/skills/repo-contracts-and-boundaries/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
repo-contracts-and-boundaries
description
Use when turning architecture, layering, ownership, dependency direction, schemas, structural metrics, quality thresholds, baselines, allowlists, or generated quality snapshots into repository checks.

Repo Contracts And Boundaries

Overview

Convert architectural and structural-quality intent into checks that prevent new drift instead of relying on repeated prose warnings.

This skill owns both repository contracts and quality gardening because both use the same mechanism: collectible rules, diff gates, audit reports, baselines, and gradual debt reduction. For shared harness terms, see ../../references/harness-patterns.md; when contract files are absent, use references/build-when-missing.md; for schema, fixture, and golden-payload contracts, see references/schema-fixture-contracts.md; for metrics and generated snapshots, see references/quality-policy.md.

When To Use

  • The user asks to define, protect, audit, or encode architecture boundaries, directory ownership, choke points, allowlists, baselines, or contracts.
  • The repository has layering rules, but agents still add bypass calls or wrong dependencies.
  • The user asks for structural metrics, quality reports, debt thresholds, regression budgets, or a gradual cleanup loop.
  • You need to distinguish diff checks from full audit checks.

Inputs Needed

  • Architecture docs or expected layering.
  • Current directory structure and known historical debt.
  • Rules to protect: dependency direction, file size, public entrypoints, data access, interface boundaries, or similar constraints.
  • Existing quality reports, generated snapshots, and CI or scheduled-run policy.

Execution Order

  • First: Read architecture docs, current code, existing checks, reports, and baselines to identify real boundaries and debt.
  • Then: Design mechanical rules, collectible metrics, diff checks, audit reports, baselines, and allowlists.
  • Finally: Output executable contracts, generated evidence, and a gradual convergence strategy.

Step-by-Step Process

  1. Search for ARCHITECTURE.md, contract docs, lint scripts, baseline files, and allowlists.
  2. List protected rules; each rule must be checkable by script or review.
  3. If architecture or contract surfaces are missing, bootstrap the minimum files and checker shape from references/build-when-missing.md.
  4. Separate new drift from historical debt: new drift should fail, historical debt should enter a baseline.
  5. Add only metrics tied to a concrete structural risk; keep them automatically collectible and avoid aggregate quality scores.
  6. Design --mode diff for changed files and --mode audit for full-repository reports.
  7. For each violation, output path, rule or metric, current value, threshold, reason, and suggested direction.
  8. Define when baselines or allowlists may change, who owns generated snapshots, and what repayment note is required.
Show full SKILL.md (195 more words)Show less

Checks

  • Mechanical: each rule can be checked by AST, regex, import graph, path scan, or report script.
  • Baseline: historical debt is explicit and not hidden by a fake green state.
  • Diff: new changes can be blocked cheaply.
  • Exception: allowlist entries have owner, reason, and convergence plan.
  • Metrics: every quality metric is repeatable and represents a real structural risk.
  • Snapshots: generated reports name their source command and cannot silently become stale.
  • Incentives: no aggregate score hides a critical finding.
  • Overbuild: do not use a complex platform when a clear script is enough.

Output Format

markdown
# Repo Contracts And Boundaries

## Detected Mapping
- architecture:
- contracts:
- quality:
- validation:

## Protected Boundaries
-

## Diff Checks
-

## Audit Checks
-

## Baseline / Allowlist Policy
-

## Generated Reports / Snapshots
-

## Garden Loop
-

## Failure Message Shape
-

## Rollout Plan
-

Common Mistakes

  • Skipping baselines, which makes checks permanently red because of historical debt.
  • Running audit only, which still lets agents introduce new drift.
  • Treating architecture advice as a rule when it cannot be mechanically checked.
  • Tracking metrics that cannot be collected repeatably.
  • Publishing a polished total score that hides critical risk.
  • Writing failure messages that do not tell an agent how to fix the violation.

Example Prompts

  • "Turn this project's architecture boundaries into checks."
  • "Design a diff/audit contract checker for this repo."
  • "How should we freeze new dependencies on these historical choke points?"
  • "Track structural debt without inventing a fake quality score."

© hashgraph-online, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (references) in plugins/yfge/agent-harness-skills/skills/repo-contracts-and-boundaries of hashgraph-online/awesome-codex-plugins.

  • SKILL.md
  • references/build-when-missing.md
  • references/quality-policy.md
  • references/schema-fixture-contracts.md

Open the folder on GitHubat commit 3e1456a

Compare with similar skills

Repo Contracts And Boundaries 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.

Repo Contracts And Boundaries compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Repo Contracts And Boundaries this skillhashgraph-online/awesome-codex-plugins1.3k—~1.2kAutomated safety check: PassApache-2.0
Wrdn Effect Schema BoundariesUsefulSoftwareCo/executor4.1k—~392Automated safety check: NotesMIT
Contract Firstaffaan-m/ECC277k1 repos~2.4kAutomated safety check: PassMIT
Dependency Scanningsickn33/agentic-awesome-skills47k1 repos~2.4kAutomated safety check: PassMIT
Dependency Checkruvnet/ruflo74k—~258Automated safety check: PassMIT
Smart Contract Formal Verificationsickn33/agentic-awesome-skills47k1 repos~1.4kAutomated safety check: PassMIT

Similar skills

  • Wrdn Effect Schema Boundaries

    UsefulSoftwareCo/executor

    Normalize unknown or loosely typed data at boundaries with Effect Schema, named guards, or typed adapters.

    4.1k GitHub stars~392 tokensUpdated today
    Auto-check: notes
  • Contract First

    affaan-m/ECC

    Coordinate frontend/backend or service-to-service work through one authoritative machine-checkable contract (OpenAPI, AsyncAPI, Protocol Buffers, or JSON Schema), with generated consumer types and…

    277k GitHub starsUsed in 1 repo~2.4k tokens
    Backend & APIsAuto-check passed
  • Dependency Scanning

    sickn33/agentic-awesome-skills

    Scan package dependencies for known vulnerabilities using Snyk, Dependabot, and OWASP Dependency-Check.

    47k GitHub starsUsed in 1 repo~2.4k tokens
    SecurityAuto-check passed
  • Dependency Check

    ruvnet/ruflo

    Scan project dependencies for known vulnerabilities and CVEs.

    74k GitHub stars~258 tokensUpdated yesterday
    SecurityAuto-check passed
  • Smart Contract Formal Verification

    sickn33/agentic-awesome-skills

    Foundry and Soroban formal invariant verification register: state transition rules, boundary invariant properties, and symbolic execution checks.

    47k GitHub starsUsed in 1 repo~1.4k tokens
    Backend & APIsAuto-check passed
  • Dependency Update

    codewhale-hq/Codewhale

    Read release notes/changelogs, update a defined dependency scope, handle breaking changes, and verify.

    41k GitHub stars~142 tokensUpdated today
    DevelopmentAuto-check passed

More from hashgraph-online/awesome-codex-plugins

All 715 skills in this repo
  • Anime Reaction Gif

    hashgraph-online/awesome-codex-plugins

    Create original anime-style reaction stickers as looping GIFs and MP4 previews, using generated character pose sheets and timed key poses.

    1.3k GitHub stars~922 tokensUpdated today
    Auto-check passed
  • Calibredb

    hashgraph-online/awesome-codex-plugins

    Manage and query Calibre libraries with the calibredb CLI (local paths or Calibre Content server URLs).

    1.3k GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Rust API Test Harness

    hashgraph-online/awesome-codex-plugins

    A skill your agent uses when adding, changing, testing, or debugging Rust HTTP APIs and services, especially when Codex needs black-box integration tests, random-port app startup, real database test…

    1.3k GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Art

    hashgraph-online/awesome-codex-plugins

    Make a studio's game look like something at build time — a cover from a real frame of the game (free), painted covers, backdrops, textures and character plates from image models through the…

    1.3k GitHub stars~2.5k tokensUpdated today
    Auto-check passed
  • Calle

    hashgraph-online/awesome-codex-plugins

    Use CALL-E from Codex through the calle CLI. An agent skill from hashgraph-online/awesome-codex-plugins.

    1.3k GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Game Balance Economy

    hashgraph-online/awesome-codex-plugins

    Balance game difficulty, resources, rewards, probability, progression, economies, and dominant strategies.

    1.3k GitHub stars~618 tokensUpdated today
    Auto-check passed

Questions about Repo Contracts And Boundaries

What does Repo Contracts And Boundaries do?

A skill your agent uses when turning architecture, layering, ownership, dependency direction, schemas, structural metrics, quality thresholds, baselines, allowlists, or generated quality snapshots…. Repo Contracts And Boundaries is an agent skill from hashgraph-online/awesome-codex-plugins. Use when turning architecture, layering, ownership, dependency direction, schemas, structural metrics, quality thresholds, baselines, allowlists, or generated quality snapshots into repository checks.

When should I use Repo Contracts And Boundaries?

Repo Contracts And Boundaries fits situations like: turning architecture; dependency direction; structural metrics; quality thresholds.

How do I install Repo Contracts And Boundaries in Claude Code?

Run `npx skills add hashgraph-online/awesome-codex-plugins --skill repo-contracts-and-boundaries -a claude-code`. Or copy the skill folder (plugins/yfge/agent-harness-skills/skills/repo-contracts-and-boundaries in hashgraph-online/awesome-codex-plugins) into .claude/skills/repo-contracts-and-boundaries in your project. Claude Code loads it when a task matches its description.

How do I install Repo Contracts And Boundaries in Codex?

Run `npx skills add hashgraph-online/awesome-codex-plugins --skill repo-contracts-and-boundaries -a codex`. Or copy the skill folder (plugins/yfge/agent-harness-skills/skills/repo-contracts-and-boundaries in hashgraph-online/awesome-codex-plugins) into .agents/skills/repo-contracts-and-boundaries in your project. Codex loads it when a task matches its description.

Can I use Repo Contracts And Boundaries in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add hashgraph-online/awesome-codex-plugins --skill repo-contracts-and-boundaries -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/repo-contracts-and-boundaries, .gemini/skills/repo-contracts-and-boundaries, .github/skills/repo-contracts-and-boundaries and .opencode/skills/repo-contracts-and-boundaries in your project.

What does Repo Contracts And Boundaries need to run?

SKILL.md names no scripts, command-line tools or credentials: Repo Contracts And Boundaries is instructions for the agent only.

Does Repo Contracts And Boundaries access the network?

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.

Is Repo Contracts And Boundaries safe to install?

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.

What licence does Repo Contracts And Boundaries use?

Repo Contracts And Boundaries is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Repo Contracts And Boundaries use?

About 1.2k tokens (SKILL.md is roughly 4.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.3k tokens, read only when the agent opens those files.

What are the alternatives to Repo Contracts And Boundaries?

Skills that share tags, products or a category with Repo Contracts And Boundaries: Wrdn Effect Schema Boundaries (UsefulSoftwareCo/executor, 4.1k stars), Contract First (affaan-m/ECC, 277k stars), Dependency Scanning (sickn33/agentic-awesome-skills, 47k stars) and Dependency Check (ruvnet/ruflo, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Repo Contracts And Boundaries?

hashgraph-online (a GitHub organization) maintains it in hashgraph-online/awesome-codex-plugins, which has 1,267 GitHub stars. The repository holds 716 skills in this directory. The repository was last updated on October 10, 2026.

Source: hashgraph-online/awesome-codex-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.