Agent skill

Entrix

by phodal in phodal/entrix

Set up or repair Entrix guardrail specs in the current repository by discovering real quality signals, generating docs/fitness, and iterating with entrix validation until the result is executable.

MITAuto-check passedAI & LLM Engineering

Install Entrix

skills CLI
$ npx skills add phodal/entrix --skill entrix -a claude-code

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

GitHub CLI
$ gh skill install phodal/entrix entrix --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/phodal/entrix.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/entrix .claude/skills/entrix && 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
entrix
GitHub stars
105
Token cost
~2.8k tokens
SKILL.md length
1,468 words
Files
21
Skills in repo
1
Repo updated
First seen
Licence
MIT

At a glance

Set up or repair Entrix guardrail specs in the current repository by discovering real quality signals, generating docs/fitness, and iterating with entrix validation until the result is executable.

  • Works in 5 steps: Inspect the target repository → Design dimensions from actual surfaces → Write discoverable fitness docs → …
  • The user asks to bootstrap entrix
  • SKILL.md covers Skill Folder Contents, Read Order, Core Rules and Schema Rules, plus 3 more sections
  • Calls cargo, npm and uvx

What it does

Entrix is an agent skill from phodal/entrix. Set up or repair Entrix guardrail specs in the current repository by discovering real quality signals, generating docs/fitness, and iterating with entrix validation until the result is executable. Use when the user asks to bootstrap entrix, add or split fitness dimensions, repair invalid guardrail specs, or make docs/fitness actually runnable.

Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 22 other files (for example `examples/advisory-probe-metric.md`, `examples/ci-scoped-authoritative-metric.md` and `examples/entry-doc-topology.md`).

It sits in AI & LLM Engineering. The repository describes itself as: A Harness Engineering tool for turning quality rules, architecture constraints, and validation steps into executable guardrails. The licence is MIT.

When your agent uses it

  • The user asks to bootstrap entrix
  • Split fitness dimensions
  • Repair invalid guardrail specs
  • Make docs/fitness actually runnable

Example prompts

  • “/entrix”

Requirements

  • Python 3
  • Docker

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Inspect the target repository
  2. Design dimensions from actual surfaces
  3. Write discoverable fitness docs
  4. Validate and iterate before stopping
  5. Typical failure patterns to fix

What it can do on your machine

Read from SKILL.md and the folder at commit 8074925. 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

    Shell commands in SKILL.md call:

    • cargo
    • npm
    • uvx
    • python3
    • just

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

  • Network

    No URLs in SKILL.md. Its commands use npm and uvx, which can reach the network depending on how they are called.

    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

Entrix loads about 2.8k tokens when it runs. Until then it costs about 88 tokens; SKILL.md has 1,468 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~88
When it runs · the whole SKILL.md, loaded when a task matches
~2.8k

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 phodal/entrix at commit 8074925, republished under its MIT licence (© phodal). 1,468 words, ~2,843 tokens.

Download SKILL.mdSave it as .claude/skills/entrix/SKILL.md (or your agent's skills folder). This skill also uses 20 other files; get the full folder from GitHub.
name
entrix
description
Set up or repair Entrix guardrail specs in the current repository by discovering real quality signals, generating docs/fitness, and iterating with entrix validation until the result is executable. Use when the user asks to bootstrap entrix, add or split fitness dimensions, repair invalid guardrail specs, or make docs/fitness actually runnable.
license
MIT

Entrix Skill

Goal: leave the target repository with a working docs/fitness/ configuration that matches real tooling, is discoverable from the repository entrypoint, and passes Entrix validation instead of merely looking plausible.

Entrix uses fitness in the evolutionary architecture sense: an executable check that measures whether a codebase still satisfies a quality or architecture goal. The user-facing description is "quality guardrail".

This skill now uses a small entrypoint plus reusable spec files under specs/. Read those specs instead of improvising schema details.

Skill Folder Contents

  • specs/README.md: second-level map of the available specs
  • specs/schema-frontmatter.spec.md: Entrix-compatible evidence file shape
  • specs/manifest.spec.md: required manifest.yaml shape
  • specs/dimension-boundaries.spec.md: how to split or merge dimensions
  • specs/dimension-*.spec.md: per-dimension guidance
  • examples/: copyable minimal snippets
  • ../../tests/fixtures/skill_regression/: bundled repository profiles used by the skill regression harness

Read Order

For any bootstrap or repair task, read in this order:

  1. target repository AGENTS.md and CLAUDE.md if present
  2. target repository manifests and task runners: package.json, pyproject.toml, Cargo.toml, justfile, Makefile
  3. target repository .github/workflows/**
  4. existing target docs/fitness/** if present
  5. this skill's specs/README.md
  6. only the specific specs/dimension-*.spec.md files needed for the task
  7. matching examples/*.md when entry-document or CI-boundary behavior is ambiguous

Core Rules

  • Use real repository signals only. Do not invent commands.
  • Prefer repository-root-safe wrappers such as just, make, npm run, or cargo --manifest-path ... when a bare tool invocation would depend on a subdirectory working directory.
  • Prefer checked-in scripts and CI-established commands over plausible defaults.
  • For bootstrap output, prefer commands that are runnable in the current local environment, not only commands that look semantically correct from CI or repo structure.
  • Only create a security metric when the repository shows direct evidence for that tool in scripts, CI, or checked-in docs. Do not add common scanners by assumption.
  • If a candidate metric depends on optional local tooling that is not installed and no checked-in wrapper self-bootstraps it, do not leave it as a default fast hard gate. Prefer a locally runnable wrapper, another repo-established signal, or explicit blocker reporting.
  • If a repository's real test or build command is authoritative but requires repo-specific dev dependencies or CI provisioning that are missing locally, do not force it into the default local fast tier. Prefer a locally runnable smoke check plus a CI-scoped authoritative metric. Prefer execution_scope: ci over leaving that command as a default local metric that will fail on a fresh machine.
  • Treat missing compiler/runtime versions the same way. If the repository requires a newer Rust, Node, Python, or similar toolchain than the current machine provides, do not keep those commands as default local metrics unless the user explicitly wants that blocker preserved.
  • Use Entrix-compatible schema only. Do not invent alternate manifest or frontmatter shapes.
  • If weighted dimensions participate in scoring, their file-level weights must sum to exactly 100.
  • If the repository has a real build, package, docker, or CLI smoke signal, consider release_readiness explicitly.
  • If the repository has a contract or schema surface, consider api_contract explicitly.

Schema Rules

Use the standard Entrix shapes only:

  • each evidence file uses YAML frontmatter with:
    • dimension
    • weight
    • tier
    • threshold
    • metrics
  • dimensions use snake_case, for example:
    • code_quality
    • testability
    • release_readiness
    • api_contract
  • manifest.yaml uses:
yaml
schema: fitness-manifest-v1
evidence_files:
  - docs/fitness/code_quality.md
  - docs/fitness/testability.md

Never use:

  • dimensions:
  • metric-level weight
  • pass_threshold
  • bare filenames in manifest.yaml
  • hyphenated dimension ids when the repository already uses Entrix-style snake_case

Workflow

1. Inspect the target repository

Determine the real executable signals from:

  • package manager scripts
  • task runners such as just
  • CI workflows
  • checked-in helper scripts
  • existing docs/fitness/**

Preferred command order:

  1. repository task runner or package scripts already used locally
  2. root-safe commands copied from CI
  3. direct tool commands only when the repo clearly uses them and the working directory is unambiguous
2. Design dimensions from actual surfaces

Common dimension families:

  • code_quality
  • testability or test_coverage
  • security
  • release_readiness
  • api_contract
  • ui_consistency
  • design_system
  • runtime evidence such as observability or performance

Keep one stable concern per file. If the repository already separates concerns, do not collapse them into one vague file.

3. Write discoverable fitness docs

Minimum output for a new repository:

  • docs/fitness/README.md
  • docs/fitness/manifest.yaml
  • docs/fitness/review-triggers.yaml
  • at least code_quality and testability or another clearly justified test dimension

Keep the repository entrypoint short:

  1. if AGENTS.md exists, add or repair a short fitness section there
  2. if CLAUDE.md exists, add or repair the same short fitness section there too
  3. if both exist, keep them consistent instead of updating only one
  4. if neither exists, create a minimal AGENTS.md

Creation rules are strict:

  • do not create a new CLAUDE.md when the repository did not already have one
  • do not create a new AGENTS.md when CLAUDE.md already exists as the sole agent entrypoint unless the user explicitly asks for both
  • if neither exists, create only AGENTS.md

Do not duplicate the whole rulebook into the entrypoint file. The goal is discoverability from every agent entry document the repository already uses, not just the first one you happen to see.

Show full SKILL.md (671 more words)Show less
4. Validate and iterate before stopping

After generating or repairing docs/fitness/, you MUST validate it yourself.

Use the best available Entrix invocation in this order:

  1. entrix ...
  2. uvx --from entrix entrix ...
  3. python3 -m entrix ...

Run:

bash
entrix validate
entrix run --dry-run

If a fast tier exists or the generated commands are cheap, also run:

bash
entrix run --tier fast

If validation fails because of files you wrote, fix them and re-run validation. Do not stop after the first draft.

Mandatory repair loop:

  1. generate or repair docs/fitness
  2. run entrix validate
  3. if it fails, read back manifest.yaml and every evidence file
  4. fix schema, weights, paths, and command locality issues
  5. run entrix validate again
  6. run entrix run --dry-run
  7. if validation passes, run entrix run --tier fast whenever that tier exists or the generated commands are cheap enough to execute locally
  8. if the fast tier fails because of generated command locality or invented signals, repair and re-run validation
  9. if the fast tier fails because a generated metric requires optional tooling that is not locally runnable, replace it with a repo-safe runnable signal, move it out of the bootstrap fast tier, or report the blocker explicitly
  10. if a repository's real test/build command exists but fails only because the local environment lacks repo-specific dev dependencies, keep it out of the default local fast tier and model it with execution_scope: ci or another non-local authority boundary when appropriate
  11. stop only when validation passes and the generated config is runnable, or you have a concrete repository blocker
5. Typical failure patterns to fix

When validation reports 0% total weight or No metrics matched, check for:

  • wrong frontmatter delimiters
  • wrong manifest shape
  • manifest entries using bare filenames instead of repo-relative paths
  • non-standard keys such as pass_threshold
  • missing file-level weight
  • dimension names that do not match Entrix conventions

When generated commands are semantically wrong, check for:

  • root-level command run against a repo whose actual Cargo.toml lives in a subdirectory
  • repo guidance that prefers just test over a raw cargo nextest variant
  • fabricated security tools not actually used by the repository
  • build commands that differ from the repository's real release/build path
  • commands copied from CI that silently depended on a workflow-specific working directory
  • optional toolchain checks that are real in principle but not locally runnable from the target repository without extra undeclared setup
  • real test commands that need dev dependencies the current local environment has not installed, even though CI or contributor docs expect them
  • existing AGENTS.md and CLAUDE.md files where the generated output updated only one of them
  • repositories with only CLAUDE.md where the generated output invented a new AGENTS.md

Quality Bar

The skill is complete only when all of the following are true:

  • docs/fitness/ exists and is coherent
  • docs/fitness/README.md exists
  • manifest.yaml includes schema: fitness-manifest-v1
  • manifest.yaml lists repo-relative evidence file paths
  • every existing repository entry document among AGENTS.md and CLAUDE.md points to the fitness docs consistently
  • no extra agent entry document was created unless the user explicitly asked for it
  • weights sum to 100
  • every metric maps to a real repository command
  • every fast hard gate chosen by the skill is locally runnable, or is called out as a concrete repository blocker
  • commands that are authoritative only in CI or provisioned environments are modeled as such instead of pretending to be default local fast checks
  • default local entrix run does not execute CI-only metrics unless the user explicitly asks for that scope
  • default local entrix run passes as a whole; soft or advisory metrics that are expected to fail locally are CI-scoped, zero-weight, or otherwise modeled so they do not sink the local score below threshold
  • validation has been attempted with Entrix itself
  • the generated config has been exercised beyond dry-run whenever a cheap fast-tier run is available
  • validation failures caused by generated files have been repaired

Avoid

  • leaving fitness undiscoverable from agent entry docs
  • inventing alternate schemas that Entrix does not parse
  • inventing security or coverage tools the repository does not use
  • using raw subdirectory-dependent commands when repo-root-safe wrappers exist
  • stopping after producing files that merely look reasonable

© phodal, MIT. 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 20 other files in skills/entrix of phodal/entrix.

  • SKILL.md
  • examples/advisory-probe-metric.md
  • examples/ci-scoped-authoritative-metric.md
  • examples/entry-doc-topology.md
  • examples/minimal-dimension.md
  • examples/release-readiness-build.md
  • examples/runtime-zero-weight-dimension.md
  • examples/toolchain-boundary-ci-scope.md
  • specs/README.md
  • specs/dimension-api-contract.spec.md
  • specs/dimension-boundaries.spec.md
  • specs/dimension-code-quality.spec.md
  • specs/dimension-design-system.spec.md
  • specs/dimension-engineering-governance.spec.md
  • specs/dimension-release-readiness.spec.md
  • specs/dimension-runtime.spec.md
  • specs/dimension-security.spec.md
  • specs/dimension-testability.spec.md
  • specs/dimension-ui-consistency.spec.md
  • … and 2 more

Open the folder on GitHubat commit 8074925

Compare with similar skills

Entrix 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.

Entrix compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Entrix this skillphodal/entrix105—~2.8kAutomated safety check: PassMIT
Agent BuildershareAI-lab/learn-claude-code78k4 repos~1.2kAutomated safety check: PassMIT
Add Uint Supportpytorch/pytorch104k2 repos~2.3kAutomated safety check: PassCustom licence
LLM Benchmarking with lm-evaluation-harnessOrchestra-Research/AI-Research-SKILLs13k8 repos~3kAutomated safety check: PassMIT
Segment Anything Model GuideOrchestra-Research/AI-Research-SKILLs13k8 repos~3.3kAutomated safety check: PassMIT
1passwordtrpc-group/trpc-agent-go1.9k14 repos~656Automated safety check: PassApache-2.0

Similar skills

  • Agent Builder

    shareAI-lab/learn-claude-code

    Design and build AI agents for any domain. An agent skill from shareAI-lab/learn-claude-code.

    78k GitHub starsUsed in 4 repos~1.2k tokens
    AI & LLM EngineeringAuto-check passed
  • Add Uint Support

    pytorch/pytorch

    Add unsigned integer (uint) type support to PyTorch operators by updating ATDISPATCH macros.

    104k GitHub starsUsed in 2 repos~2.3k tokens
    AI & LLM EngineeringAuto-check passed
  • LLM Benchmarking with lm-evaluation-harness

    Orchestra-Research/AI-Research-SKILLs

    Runs lm-evaluation-harness to benchmark language models on academic suites such as MMLU, GSM8K and HumanEval, compare models and track training checkpoints.

    13k GitHub starsUsed in 8 repos~3k tokens
    AI & LLM EngineeringAuto-check passed
  • Segment Anything Model Guide

    Orchestra-Research/AI-Research-SKILLs

    Guide to using Meta's Segment Anything Model for zero-shot image segmentation with point, box or mask prompts, or automatic mask generation.

    13k GitHub starsUsed in 8 repos~3.3k tokens
    AI & LLM EngineeringAuto-check passed
  • 1password

    trpc-group/trpc-agent-go

    Set up and use 1Password CLI (op). An agent skill from trpc-group/trpc-agent-go.

    1.9k GitHub starsUsed in 14 repos~656 tokens
    AI & LLM EngineeringAuto-check passed
  • Planning With Files

    jarrodwatts/claude-code-config

    Transforms workflow to use Manus-style persistent markdown files for planning, progress tracking, and knowledge storage.

    1.1k GitHub starsUsed in 5 repos~967 tokens
    AI & LLM EngineeringAuto-check passed

Questions about Entrix

What does Entrix do?

Set up or repair Entrix guardrail specs in the current repository by discovering real quality signals, generating docs/fitness, and iterating with entrix validation until the result is executable. Entrix is an agent skill from phodal/entrix. Set up or repair Entrix guardrail specs in the current repository by discovering real quality signals, generating docs/fitness, and iterating with entrix validation until the result is executable.

When should I use Entrix?

Entrix fits situations like: the user asks to bootstrap entrix; split fitness dimensions; repair invalid guardrail specs; make docs/fitness actually runnable.

How do I install Entrix in Claude Code?

Run `npx skills add phodal/entrix --skill entrix -a claude-code`. Or copy the skill folder (skills/entrix in phodal/entrix) into .claude/skills/entrix in your project. Claude Code loads it when a task matches its description.

How do I install Entrix in Codex?

Run `npx skills add phodal/entrix --skill entrix -a codex`. Or copy the skill folder (skills/entrix in phodal/entrix) into .agents/skills/entrix in your project. Codex loads it when a task matches its description.

Can I use Entrix 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 phodal/entrix --skill entrix -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/entrix, .gemini/skills/entrix, .github/skills/entrix and .opencode/skills/entrix in your project.

What does Entrix need to run?

Going by SKILL.md and its folder, Entrix needs the command-line tools its instructions call (cargo, npm, uvx, python3 and just). Our summary lists: Python 3; Docker.

Does Entrix access the network?

SKILL.md contains no URLs. Its commands use npm and uvx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Entrix 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 Entrix use?

Entrix is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Entrix use?

About 2.8k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Entrix?

Skills that share tags, products or a category with Entrix: Agent Builder (shareAI-lab/learn-claude-code, 78k stars), Add Uint Support (pytorch/pytorch, 104k stars), LLM Benchmarking with lm-evaluation-harness (Orchestra-Research/AI-Research-SKILLs, 13k stars) and Segment Anything Model Guide (Orchestra-Research/AI-Research-SKILLs, 13k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Entrix?

phodal (a GitHub user) maintains it in phodal/entrix, which has 105 GitHub stars. The repository was last updated on May 28, 2026.

Source: phodal/entrix on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.