More screenshots

    Works with the AI Agents you already use

    Agent Skill Card & Preflight Router for Coding Agents

    by Louis Philip

    0

    Route — classify the request into one playbook: feature, bugfix, pr, ui, improve or explore (English + Vietnamese keywords).

    Free

    Security scanned
    Agent Skill Card & Preflight Router for Coding Agents

    Agent Skill Card & Preflight Router for Coding Agents

    Example session with this skill installed

    The balance shows 1204.6 instead of 1204.55. Fix it.

    • Read your context and instructions
    • Compiled the agent card

    Real session, Claude Code, small Python test repo with the router installed and the one-line CLAUDE.md hook.

    → playbook: bugfix · package: src/balance.py · risk: solo · extras: none
    SKILL APPLIED: bugfix @ built-in (references/builtin-playbooks.md read)
    EXTRAS LOADED: none
    INTENT MAP: "fix" (row 4 → bugfix)
    MODEL: claude-sonnet-5-5 · subagents: none
    config: defaults (no .agent-router/config.md)
    
    PREFLIGHT bugfix
    - memory: file memory dir listing → 0 records
    - code-map: Grep "balance" (case-insensitive), excluding .claude/ → src/balance.py:1 format_balance, test_balance.py:2,5. No graph tool, so grep was the search.
    - repo: git status checked · uncommitted changes in .claude/skills/… → left untouched
    - skill: built-in
    - extras: none
    - scope: in scope (user request: fix the balance display)
    - risk: solo · decision: n/a (display formatting only)
    - tests: command: python3 -c "import test_balance; test_balance.test_two_decimals()" (pytest not installed) · baseline: already red
    - bugfix: expected "1204.55", actual "1204.6" · severity S2
    

    Fix: src/balance.py:3 called round(amount, 1), which rounds to one decimal even though the docstring says two. Replaced with f"{amount:.2f}".

    • Baseline → after: test_two_decimals failed before the change and passes after it.
    • Side effects checked: 1204.5 → 1204.50, 0 → 0.00. Float rounding at exact halves noted as a known limitation.
    • Repo state: pre-existing uncommitted files untouched. Nothing committed.
    SKILL CHECK: applied
    LOG: skipped (no log target configured)
    
    test repo with the router installed and the one-line CLAUDE.md

    Connects securely to your tools. The creator never sees your data.

    About this skill

    The problem

    Coding agents are fast, but on small tasks they tend to skip the boring part: they edit before checking git status, guess a root cause instead of proving it, commit without a review, or load random skills because a task "feels big". You only find out after the diff.

    What this skill does

    Every real task goes through three visible steps:

    1. Route — classify the request into one playbook: feature, bugfix, pr, ui, improve or explore (English + Vietnamese keywords). Hard-escalation rules fire on "commit", "still broken", "use skills".
    2. Skill Card — a 5-line card showing the playbook, the part of the codebase, the risk class (solo or pause-Money/Keys/Migration/…) and which extra skills were loaded and why.
    3. PREFLIGHT — a checklist filled with real results before the first edit: memory lookup, code search, git status, scope, risk decision, test command and baseline. On commits it also prints a CODE REVIEW: block with a secret scan.

    What's inside

    • SKILL.md — the router and the output contract
    • references/ — intent map (EN + VI), Skill Card and PREFLIGHT formats, skill-selection policy (max 3 extras, signal-based, with a forbidden list), minimal built-in playbooks
    • config/router.config.example.md — map your own playbooks, packages, risk classes and tools
    • examples/sessions.md — five worked sessions

    Where it comes from

    Extracted from the agent workflow I use daily while building a desktop trading app (Tauri / Rust / React), then generalized for any repository.

    Tested, and one required step

    I tested it with Claude Code on a machine with many installed skills. From its description alone, the agent saw the skill but did not invoke it on small tasks. Add one line to your repo's CLAUDE.md or AGENTS.md (exact text in the README) and it triggered on every edit and commit test, in English and Vietnamese. Read-only questions are correctly skipped.

    Limits

    • It does not write code; it classifies and hands off.
    • It is a behaviour contract, not hard enforcement. Add a pre-edit hook if you need a hard gate.
    • Built-in playbooks are intentionally short.

    Does not write code; it routes and gates. It is a behaviour contract, not hard enforcement (add a pre-edit hook for a hard gate). Needs a one-line CLAUDE.md / AGENTS.md hook to trigger reliably on small tasks. Tested with Claude Code only so far. Built-in playbooks are minimal.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 7 days ago

    • Free with an Agensi account

    Software
    Git

    Permissions

    Terminal / Shell
    Read Files
    Write Files

    The skill itself only reads its own reference files and runs read-only checks (git status, code search, the project's test command). Write and Shell are listed because it gates the edits and commits your agent makes; it never edits or commits on its own. No network access, no secrets.

    Listed7 days ago

    What's inside

    Frequently Asked Questions

    It makes the agent route each task to a playbook, print a Skill Card, and fill a PREFLIGHT with real results (memory lookup, code search, git status, risk class, test baseline) before the first edit or commit. You see what it checked before it changes anything. It is a behaviour contract followed by the agent, not a hard technical lock.

    It is plain SKILL.md plus markdown references, with no scripts or network calls, and it is framework-agnostic. I have tested it with Claude Code. It should work with other SKILL.md agents (Cursor, Codex CLI, etc.), but I have not verified those yet.

    No. The router never writes code. It classifies the task, prints the card and checklist, and hands off to your agent's normal coding work (or to your own playbooks, if you map them in the config).

    Unzip into your skills folder (e.g. ~/.claude/skills/), then add the one-line hook from the README to your repo's CLAUDE.md or AGENTS.md. That line is what makes it trigger reliably on small tasks. Optionally copy config/router.config.example.md to .agent-router/config.md to map your own playbooks, risk classes and test command.

    Changes that touch a risk class (Money, Keys/Secrets, Migration, Data-overwrite, Auth; configurable) are marked pause-<Class>. The agent is told to stop and get your explicit decision before the risky step. On commits it prints a CODE REVIEW block that includes a scan of the staged diff for keys and tokens.

    SKILL.md (router + output contract), five reference files (intent map in English and Vietnamese, Skill Card and PREFLIGHT formats, skill-selection policy, minimal built-in playbooks), a per-repo config template, five worked example sessions, README and CHANGELOG. It is free.

    New in Agents & Orchestration

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.

    Free