Leon Coding Agent
leon-ai/leon
Has Leon's agent investigate, change and verify code in a repository with its file, search and shell tools, staying inside the scope the owner authorized.
Run a standalone read-only rules compliance gate against changed files or a git ref.
$ npx skills add unxed/f4 --skill aif-rules-check -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install unxed/f4 aif-rules-check --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/unxed/f4.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/aif-rules-check .claude/skills/aif-rules-check && 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 "aif-rules-check" agent skill from https://github.com/unxed/f4/tree/main/.agents/skills/aif-rules-check into .claude/skills/aif-rules-check/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "aif-rules-check", 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/unxed/f4/tree/main/.agents/skills/aif-rules-checkType 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 unxed/f4 --skill aif-rules-check -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install unxed/f4 aif-rules-check --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/unxed/f4.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/aif-rules-check .agents/skills/aif-rules-check && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "aif-rules-check" agent skill from https://github.com/unxed/f4/tree/main/.agents/skills/aif-rules-check into .agents/skills/aif-rules-check/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "aif-rules-check", 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 unxed/f4 --skill aif-rules-check -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install unxed/f4 aif-rules-check --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/unxed/f4.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/aif-rules-check .cursor/skills/aif-rules-check && 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 "aif-rules-check" agent skill from https://github.com/unxed/f4/tree/main/.agents/skills/aif-rules-check into .cursor/skills/aif-rules-check/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "aif-rules-check", 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/unxed/f4.git --path .agents/skills/aif-rules-check--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 unxed/f4 --skill aif-rules-check -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install unxed/f4 aif-rules-check --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/unxed/f4.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/aif-rules-check .gemini/skills/aif-rules-check && 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 "aif-rules-check" agent skill from https://github.com/unxed/f4/tree/main/.agents/skills/aif-rules-check into .gemini/skills/aif-rules-check/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "aif-rules-check", 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 unxed/f4 aif-rules-checkInstalls 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 unxed/f4 --skill aif-rules-check -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/unxed/f4.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/aif-rules-check .github/skills/aif-rules-check && 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 "aif-rules-check" agent skill from https://github.com/unxed/f4/tree/main/.agents/skills/aif-rules-check into .github/skills/aif-rules-check/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "aif-rules-check", 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 unxed/f4 --skill aif-rules-check -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install unxed/f4 aif-rules-check --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/unxed/f4.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/aif-rules-check .opencode/skills/aif-rules-check && 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 "aif-rules-check" agent skill from https://github.com/unxed/f4/tree/main/.agents/skills/aif-rules-check into .opencode/skills/aif-rules-check/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "aif-rules-check", 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.
aif-rules-checkRun a standalone read-only rules compliance gate against changed files or a git ref.
Aif Rules Check is an agent skill from unxed/f4. Run a standalone read-only rules compliance gate against changed files or a git ref. Use when you need a dedicated project-rules check without a full review or verify pass.
Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/RULES-CHECK-CONTRACT.md`).
It sits in Development, covering Agent instruction files. It works with Git. The repository describes itself as: dual pane like a charm. The licence is BSD-3-Clause.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 772edc7. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
ReadGlobGrepBash(git *)AskUserQuestionFrom allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
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.
Aif Rules Check loads about 2.4k tokens when it runs, and up to ~2.8k if it reads all its reference files. Until then it costs about 47 tokens; SKILL.md has 1,086 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 unxed/f4 at commit 772edc7, republished under its BSD-3-Clause licence (© unxed). 1,086 words, ~2,377 tokens.
.claude/skills/aif-rules-check/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Run a standalone read-only rules gate for project rules. This command checks rule compliance only; it does not replace /aif-review or /aif-verify.
references/RULES-CHECK-CONTRACT.md first.FIRST: Read .ai-factory/config.yaml if it exists to resolve:
paths.rules_filepaths.rulespaths.planpaths.planslanguage.uigit.enabledgit.base_branchrules.baserules.<area> entriesworkflow.plan_id_format (default: slug) — used by the optional branch-based plan-context lookup in Step 2.3.
Active values: slug and sequential. Plan context may be a root full-plan
file or direct child ultra index.md; numbered lookup covers both shapes.
timestamp and uuid are reserved values and currently behave like slug.
Treat any unknown value as slug.If config is missing or partial, use defaults:
paths.rules_file: .ai-factory/RULES.mdpaths.rules: .ai-factory/rules/paths.plan: .ai-factory/PLAN.mdpaths.plans: .ai-factory/plans/git.enabled: truegit.base_branch: detect the repo default branch from git metadata; fall back to main only when detection is unavailablerules.base: .ai-factory/rules/base.mdworkflow.plan_id_format: slugIf paths.rules_file is missing from config, default to .ai-factory/RULES.md instead of treating config as incomplete.
If git.base_branch is missing from config, resolve the repository default branch from git metadata when possible; use main only as the final fallback.
Read .ai-factory/skill-context/aif-rules-check/SKILL.md - MANDATORY if the file exists.
This file contains project-specific rules accumulated by /aif-evolve from patches,
codebase conventions, and tech-stack analysis. These rules are tailored to the current project.
How to apply skill-context rules:
Enforcement: Before presenting the final report, verify it against all skill-context rules and fix any drift.
Resolve two inputs before checking any rule:
If the user provided a git ref:
Validate it first:
git rev-parse --verify <argument>If valid, use:
git diff --name-only <argument>...HEAD
git diff <argument>...HEADIf invalid, ask:
AskUserQuestion: `<argument>` is not a valid git ref. What should I check instead?
Options:
1. Check staged / working-tree changes
2. CancelWithout arguments:
git diff --cached --name-only
git diff --cachedgit diff --name-only
git diffgit.enabled = true, fall back to branch diff:git diff --name-only <resolved-base-branch>...HEAD
git diff <resolved-base-branch>...HEADIf there are still no changed files, return WARN rather than a hard failure.
Load rule sources in this order:
paths.rules_file artifactrules.base filerules.<area> files from config that clearly match the changed scopeArea rules are optional and scoped:
WARN, not FAIL.If no rules sources resolve, return WARN rather than a hard failure.
Optional plan context: use the active plan file only when it helps interpret scope or area relevance; absence of a plan is never a failure.
Plan resolution order:
/aif-plan,
/aif-implement, and /aif-improve:git branch --show-current (git mode only);branch_stem = current branch with every / replaced by -
(for example feature/user-auth → feature-user-auth).<branch_stem>:workflow.plan_id_format = sequential, glob both
paths.plans/[0-9][0-9][0-9][0-9]_<branch_stem>.md and
paths.plans/[0-9][0-9][0-9][0-9]_<branch_stem>/index.md; Read every
directory candidate and retain it only when it contains exactly one
<!-- aif:plan-mode:ultra -->, then pick the highest-numbered valid
artifact and warn when multiple valid candidates exist; prefer ultra if
both shapes share the highest prefix;paths.plans/<branch_stem>/index.md and
paths.plans/<branch_stem>.md; Read the directory entrypoint first, ignore
it unless it contains exactly one ultra marker, and warn/prefer ultra if
both valid shapes exist.paths.plans: count root *.md full plans and
direct child */index.md entrypoints containing
<!-- aif:plan-mode:ultra -->; exclude
the resolved fast-plan path and never count phase files.paths.plan.For ultra, read index.md first and only the linked phase files relevant to the
changed area when extra scope detail is needed. Do not fail the rules check
because a plan artifact is missing or ambiguous.
An automatically discovered directory entrypoint counts only when it contains
exactly one <!-- aif:plan-mode:ultra -->; ignore unrelated */index.md files.
Read the changed files from the resolved scope and compare them against the resolved rules.
Classification rules:
PASS when at least one applicable rule was checked and no clear violations were found.WARN when no applicable rules were resolved, the evidence is ambiguous, or there are no changed files to evaluate.FAIL when an explicit hard rule is clearly violated by the inspected diff or changed files.Only return FAIL when an explicit hard rule is clearly violated by the inspected diff or changed files.
Evidence rules:
WARN.WARN, not FAIL.This command is read-only: do not edit RULES.md, rules/base.md, rules.<area>, plan files, or source code.
If rules are missing, stale, or need refinement:
/aif-rules <rule text> for axioms/aif-rules area:<name> for area-specific rulesUse the exact verdict semantics and section order from references/RULES-CHECK-CONTRACT.md.
Required content:
aif-gate-result fenced JSON blockWhen useful, suggest the next best workflow:
/aif-review for broader code review/aif-verify for full plan-completeness verification/aif-rules when the underlying rules need to be captured or correctedMachine-readable gate result:
aif-gate-result JSON block after the human-readable rules report."gate": "rules".PASS -> pass, WARN -> warn, and FAIL -> fail."blocking": true|false; set it to true only for explicit hard-rule violations that produce a human FAIL."blockers": [."affected_files": [."suggested_next": { to /aif-rules when rules should be added or clarified, /aif-fix when code must change, or null when no allowed next command fits./aif-review in the JSON suggested_next.command; it may appear only in human-readable workflow suggestions.{
"schema_version": 1,
"gate": "rules",
"status": "warn",
"blocking": false,
"blockers": [],
"affected_files": [],
"suggested_next": {
"command": "/aif-rules",
"reason": "Rules are missing or ambiguous for the changed scope."
}
}Schema reminder: "status": "pass|warn|fail", "blocking": true|false, "blockers": [, "affected_files": [, "suggested_next": {.
© unxed, BSD-3-Clause. 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 (references) in .agents/skills/aif-rules-check of unxed/f4.
Open the folder on GitHubat commit 772edc7
Aif Rules Check 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 |
|---|---|---|---|---|---|---|
| Aif Rules Check this skillunxed/f4 | 243 | — | ~2.4k | Automated safety check: Pass | BSD-3-Clause | |
| Leon Coding Agentleon-ai/leon | 18k | — | ~1.1k | Automated safety check: Pass | MIT | |
| Release Docs SyncUfoMiao/zcf | 6.1k | — | ~4k | Automated safety check: Pass | MIT | |
| CommitLennartHennigs/Button2 | 565 | — | ~562 | Automated safety check: Pass | MIT | |
| Commit And PR389ds/389-ds-base | 294 | — | ~1k | Automated safety check: Pass | Custom licence | |
| ReleaseYesterday-AI/paperclip-plugin-company-wizard | 186 | — | ~1.6k | Automated safety check: Pass | MIT |
leon-ai/leon
Has Leon's agent investigate, change and verify code in a repository with its file, search and shell tools, staying inside the scope the owner authorized.
UfoMiao/zcf
Compares code changes since the last Git tag with the multilingual docs and CLAUDE.md, then updates them or only reports mismatches with --check-only.
LennartHennigs/Button2
Stage and commit current changes for Button2 — checks for needed CHANGELOG/README/CLAUDE.md updates, creates a branch if on master, writes a commit message, and commits
389ds/389-ds-base
Commit and open a PR the 389-ds-base way — "Issue NNNN - summary" subject, Bug Description/Fix Description body, Fixes:/Relates: trailer, AI-attribution trailer, and squash-merge etiquette.
Yesterday-AI/paperclip-plugin-company-wizard
Prepare a new release by updating CHANGELOG.md, verifying documentation (README.md, CLAUDE.md, AGENTS.md, ROADMAP.md, docs/), bumping patch version in package.json, building, and suggesting publish…
LennartHennigs/ESPRotary
Stage and commit current changes for ESPRotary — checks for needed CHANGELOG/README/CLAUDE.md updates, creates a branch if on master, writes a commit message, and commits
unxed/f4
Comprehensive documentation guide for Golang projects, covering godoc comments, README, CONTRIBUTING, CHANGELOG, Go Playground, Example tests, API docs, and llms.txt.
unxed/f4
Golang code style conventions — line length and breaking, variable declarations, control flow clarity, when comments help vs hurt.
unxed/f4
Comprehensive guide for Go database access — parameterized queries, struct scanning, NULLable columns, transactions, isolation levels, SELECT FOR UPDATE, connection pool, batch processing, context…
unxed/f4
Security audit checklist based on OWASP Top 10 and best practices.
unxed/f4
Go (Golang) naming conventions — covers packages, constructors, structs, interfaces, constants, enums, errors, booleans, receivers, getters/setters, functional options, acronyms, test functions, and…
unxed/f4
Golang concurrency design — goroutine lifecycle and leak prevention, channels and select, channel ownership and direction, sync.Mutex/RWMutex/sync.Map/sync.Once/atomics, errgroup, singleflight…
Works with
Categories
Run a standalone read-only rules compliance gate against changed files or a git ref. Aif Rules Check is an agent skill from unxed/f4. Run a standalone read-only rules compliance gate against changed files or a git ref.
Aif Rules Check fits situations like: you need a dedicated project-rules check without a full review; tasks that involve Agent instruction files.
Run `npx skills add unxed/f4 --skill aif-rules-check -a claude-code`. Or copy the skill folder (.agents/skills/aif-rules-check in unxed/f4) into .claude/skills/aif-rules-check in your project. Claude Code loads it when a task matches its description.
Run `npx skills add unxed/f4 --skill aif-rules-check -a codex`. Or copy the skill folder (.agents/skills/aif-rules-check in unxed/f4) into .agents/skills/aif-rules-check 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 unxed/f4 --skill aif-rules-check -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/aif-rules-check, .gemini/skills/aif-rules-check, .github/skills/aif-rules-check and .opencode/skills/aif-rules-check in your project.
Going by SKILL.md and its folder, Aif Rules Check needs the command-line tools its instructions call (git). Its frontmatter pre-approves these tools: Read, Glob, Grep, Bash(git *), AskUserQuestion.
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. 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.
Aif Rules Check is published under the BSD-3-Clause licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.4k tokens (SKILL.md is roughly 9.5k 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 419 tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Aif Rules Check: Leon Coding Agent (leon-ai/leon, 18k stars), Release Docs Sync (UfoMiao/zcf, 6.1k stars), Commit (LennartHennigs/Button2, 565 stars) and Commit And PR (389ds/389-ds-base, 294 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
unxed (a GitHub user) maintains it in unxed/f4, which has 243 GitHub stars. The repository holds 36 skills in this directory. The repository was last updated on October 10, 2026.
Source: unxed/f4 on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.